Elamur Research

Evaluating Syntactic Generalization in Transformer-Based Models Using Korean Honorific Agreement

Paper · 2025 · Nayoung Kwon and Seongmin Mun

Summary

An honorific suffix on a Korean verb can be grammatically acceptable or unacceptable depending on who performs the action. When a sentence mentions several people, the person whose status matters is the subject of that verb. Kwon and Mun use this property to ask whether two Korean Transformer systems, KoBERT and KoGPT-2, can follow a syntactic dependency when the words offer competing clues. Their test focuses on the suffix -si-. A subject who can appropriately receive the honorific can license the suffix, but the presence of an honorifiable person elsewhere in the sentence is insufficient. The suffix is optional with an honorifiable subject. The experiment keeps it present so that every judgment tests whether its use is licensed.

The authors construct Korean sentences with two noun phrases and vary which one supplies the subject of an embedded verb. NP1 is the main-clause subject. NP2 is a main-clause object. In NP1 control, the relevant person is NP1, even though NP2 is closer to the embedded verb. In NP2 control, the relevant person is NP2. Both constructions occur with all combinations of honorifiable and non-honorifiable nouns. The dataset contains 1,336 NP1-control sentences and 5,304 NP2-control sentences, with 90% used for training and 10% reserved for testing. The authors evaluate binary grammaticality judgments and examine self-attention from the embedded verb to the two nouns, before and after supervised fine-tuning.

KoGPT-2 generally classified the sentences more accurately and improved after training in both constructions. KoBERT showed no statistically significant improvement across NP1-control sentences and declined across NP2-control sentences. Both improved in a particularly difficult condition, where an honorifiable NP2 intervened between a non-honorifiable NP1 and the marked verb. In the test accuracy comparison across training states, KoBERT rose from 45.3% to 61.8% and KoGPT-2 from 52.4% to 72.8%. Both still made more errors when the two nouns differed in honorifiability. The noun that grammar makes irrelevant could influence judgments of acceptable sentences as well as judgments of violations.

The attention analysis looks at 400 sentences both systems classified correctly and 56 both classified incorrectly. After fine-tuning, KoGPT-2 gave the appropriate noun more relative attention on correct than on incorrect NP1-control trials. The corresponding comparison was inconclusive for NP2 control, and fine-tuned KoBERT showed no such relationship in either construction. The study therefore finds some sensitivity to syntactic structure in the judgments, with a narrower correspondence between attention and correct performance. Differences in tokenization, parameter count, and pretraining data leave open how much of the gap between the two systems comes from their architectures.

Deep dive: Evaluating Syntactic Generalization in Transformer-Based Models Using Korean Honorific Agreement

Korean honorific agreement tests whether KoBERT and KoGPT-2 can identify the subject that licenses a verb and whether their attention follows that relation. · about 33 minutes to read

The problem and its context

Agreement as a test of structure

A sentence presents its words in an order, while the relations among those words depend on which phrases belong together. A verb can have a subject that appears some distance away, with another plausible subject in between. A system that predicts well when subjects and verbs are close together may succeed by associating the verb with the nearest noun. The same behavior becomes revealing when proximity and grammatical role point to different nouns. Agreement offers a way to arrange that conflict deliberately. The form on the verb constrains which properties its subject can have, so there is a grammatical consequence to choosing the wrong noun.

The distinction matters for claims about what a language model has learned. Success on sentences with familiar combinations of words can arise from knowledge of those combinations. Evidence for a broader generalization requires cases in which those associations provide incomplete or misleading guidance. In an agreement experiment, a researcher can keep the words and feature contrasts comparable while varying which noun supplies the relevant feature. The result can then be examined condition by condition. The question is whether judgments follow the role of the noun as its role changes, and whether a noun outside that relation interferes.

The paper situates this question in earlier research suggesting that Transformers encode aspects of syntax. It cites work examining the structure recoverable from word representations and work probing where linguistic information is available inside BERT. Such studies motivate looking for syntax in a system that lacks a component explicitly assigned to represent it. A representation that carries information about structure and a grammaticality decision that depends on that information are separate observations. The Korean experiment addresses the behavioral question through controlled judgments and asks a more specific internal question about where a verb directs attention. A Structural Probe for Finding Syntax in Word Representations · Open Sesame: Getting inside BERT’s Linguistic Knowledge

Earlier findings gave reasons to expect both success and interference. The authors describe Goldberg’s English agreement tests as evidence that BERT could track relevant dependencies. They also cite a multilingual result reporting accuracy above 90% across 26 languages alongside weaker performance with agreement attractors and longer dependencies. An attractor is a noun that offers a plausible agreement feature in spite of being outside the dependency under test. Prior work discussed in the paper found that such nouns could expose dependence on particular lexical items. Other studies suggested that BERT could encode substantial syntactic information and still rely on shortcuts, with GPT-2 sometimes showing behavior more consistent with structure. Assessing BERT’s Syntactic Abilities

The authors also frame the experiment as a contribution beyond the main focus on English and other well-resourced languages. They describe Korean as a low-resource language in this setting and cite its share of web content as less than 1%. Korean offers a different grammatical test as well as a different data setting. Its typical subject–object–verb order places the nouns before the embedded predicate in the construction used here. Its morphology lets a verb carry a distinct suffix for subject honorification. These properties allow the study to look at how a system identifies the relevant person when a verb's visible marking must be licensed through a clause relation.

What the honorific suffix contributes

The paper illustrates the contrast with simple sentences before moving to embedded clauses. A verb describing a mother crying can use the honorific suffix, and a form without the suffix is also acceptable. When the subject is a child of the kind treated as non-honorifiable in the examples, the suffixed form is judged unacceptable. The contrast isolates the direction of the requirement. An honorifiable subject permits the suffix. A verb that carries the suffix needs a subject that permits it. Accordingly, a task that presented unmarked and marked verbs together would raise a different question from the one studied here.

The social meaning of respect still matters, since it determines which people are treated as eligible for honorification in the materials. Syntax determines whose eligibility matters. The authors cite earlier work on the structural accessibility of Korean subjects and on how people respond to violations. In particular, prior work reported a P600 response to honorific disagreement. The paper compares this response with signals reported for agreement violations involving number or person in English and Spanish. It uses the comparison to motivate treating honorific agreement as a grammatical dependency in spite of the role of social information in the feature itself.

An embedded predicate sharpens the distinction between knowing a noun’s feature and finding the noun whose feature counts. The main clause contains a subject and an object. Either can supply the understood subject of the embedded action, depending on the construction. The main subject might be the person who closed a door, or it might be the person who instructed someone else to close it. The order in which the people are mentioned can remain the same across those interpretations. The grammatical role each person has with respect to the lower verb changes.

That is useful when a noun such as “teacher” can be recognized as honorifiable from its identity. Recognizing that feature is part of solving the task. If the teacher is the person addressed and a child is the person understood to have closed the door, however, the teacher’s honorifiability cannot license the suffix on “close.” Placing the teacher closer to the embedded verb makes a recency-based choice especially tempting. In a different construction the addressed person is the one understood to close the door, and the same honorific feature becomes decisive. The test asks whether the judgment changes with the construction as well as with the nouns.

Why examine attention too?

Attention supplies weights used when building a contextual representation of a token. Earlier studies discussed by the authors found recurring linguistic patterns in those weights. That gives a reason to examine connections from the marked verb to the possible subjects. If the verb preferentially draws on the structurally appropriate noun, the attention pattern may offer evidence that a particular linguistic relation matters to its representation. If the preference stays fixed even when the correct subject changes, its interpretation becomes harder. The internal measure is therefore posed as something to investigate alongside performance.

The paper also draws on work questioning whether attention weights explain a system’s decisions. An attention map describes how a component distributes weight. Whether that distribution tracks a grammatical relation, and whether the relation bears on the final classification, are further questions. A grammaticality score can tell the authors whether a correct decision was made. An attention contrast can tell them whether the marked verb favored either noun within the comparison they chose. Examining their correspondence in the same materials makes it possible to identify cases where the two measures diverge. Attention is not Explanation · Is Attention Interpretable?

The method, step by step

Identify the subject of the embedded action

The materials use a main clause with a subject, an object, and a predicate introducing an embedded action. The authors call the noun phrases NP1 and NP2 in their order of occurrence. NP1 is the subject of the main clause. NP2 is an object, which can be direct or indirect. The critical verb, VERB1, is the embedded predicate and occurs before the main predicate, VERB2. The authors use control to distinguish the constructions by the identity of the embedded subject. In each case the embedded action is understood as having a subject supplied by one of the two overt noun phrases.

In NP1 control, both the main-clause action and the embedded action are attributed to the person denoted by NP1. In the paper’s illustration involving a door, one person tells another that the speaker performed the closing. The addressee lies between the speaker and the embedded verb in the Korean sentence. The speaker’s status determines whether the honorific on that verb is acceptable. An honorifiable addressee has no licensing role there. For this construction, a heuristic that simply chooses the closest noun would select the wrong person.

In NP2 control, the main-clause subject tells the object to perform the embedded action. In the corresponding illustration, the addressee is the one expected to close the door. This gives NP2 the embedded subject role, so its eligibility for honorification determines the label. Proximity and structural role agree in this construction. The person who gives the instruction remains the main-clause subject and can still carry a salient honorific feature. That feature allows the authors to test for interference from an ineligible noun in a different position relative to the actual subject.

The two constructions allow the experiment to reuse the same structural question with a different answer. Selecting NP1 every time would follow the main-clause subject, and selecting NP2 every time would follow the closest noun. Each position can be the correct one somewhere in the dataset. The experimental label therefore depends on identifying the controller in that particular construction and then checking the controller’s feature. The authors use this design to ask how much a system’s sensitivity to honorific marking depends on the relation between the noun and the embedded clause.

Cross the noun features with the constructions

The authors mark honorifiable nouns with H and non-honorifiable nouns with NH. They use both possibilities for NP1 and for NP2. When the feature pair is written as H–NH, the left side describes NP1 and the right side describes NP2. The feature notation records whether each referent can receive subject honorification under the assumptions of the experiment. It gives no indication by itself of which noun is the embedded subject. That second piece of information comes from the construction.

The embedded verb carries -si- in every item. In an H–H sentence, the suffix is acceptable in either construction, because either candidate subject can license it. In an NH–NH sentence, the suffix is unacceptable in either construction, because neither can license it. For H–NH, the sentence is acceptable under NP1 control and unacceptable under NP2 control. For NH–H, the sentence is unacceptable under NP1 control and acceptable under NP2 control. The mixed-feature sentences are where resolving the controller changes the judgment.

This setup also allows direct comparisons in which the identity and feature of the controller stay fixed. Within NP1 control, H–H and H–NH are both grammatical. Replacing the honorifiable NP2 with a non-honorifiable one changes a possible distraction while keeping the correct label. Similarly, NH–NH and NH–H are both ungrammatical. Replacing the intervening non-honorifiable NP2 with an honorifiable one adds a potential source of apparent licensing. These are the comparisons used later to ask whether fine-tuned classification still depends on the irrelevant noun.

The paper describes the test items as lexically matched across the conditions in which honorific features are manipulated. The aim is to keep other components of the sentences comparable while changing the features under study. A difference in classification across such a contrast is more informative than a comparison between unrelated sets of acceptable and unacceptable sentences. In particular, the authors can examine a penalty for an intervening noun while holding the true licensing decision constant. They treat the resulting labels as grammatical judgments about the particular use of the embedded honorific.

From Korean control constructions to judgments and attention

The steps in order.

From Korean control constructions to judgments and attentionStep 1: Choose the embedded subject through the control construction1. Choose the embedded subject through the control constructionStep 2: Vary honorifiability on both noun phrases2. Vary honorifiability on both noun phrasesStep 3: Label each marked verb by its controller’s feature3. Label each marked verb by its controller’s featureStep 4: Split the sentences for training and testing4. Split the sentences for training and testingStep 5: Compare judgments before and after fine-tuning5. Compare judgments before and after fine-tuningStep 6: Extract attention from the embedded verb to both nouns6. Extract attention from the embedded verb to both nounsStep 7: Compare attention preferences on shared successes and errors7. Compare attention preferences on shared successes and errors

Train a classifier for each pretrained system

The dataset counts are 1,336 for NP1 control and 5,304 for NP2 control. The authors describe the imbalance as reflecting distributional patterns in Korean. The training portion contains 90% of the data and the test portion 10%. The task is text classification with a binary label for each sentence. Each system receives a Korean sentence whose embedded verb is already marked and predicts whether its use of the honorific is grammatical. The target is the judgment for the whole sentence.

KoBERT has 92 million parameters and follows the bidirectional BERT design. Its pretraining uses masked language modeling and next-sentence prediction. Masked language modeling asks the system to use surrounding context to recover hidden input, and bidirectional processing lets a contextual representation draw on tokens on either side of its position. The classification procedure uses token embeddings for token identity, position embeddings for order, and segment embeddings that can distinguish sentence segments. The paper gives 0 and 1 as the segment indicators. The grammaticality labels are stored separately from the tokenized sentence for supervised training. BERT

For tokenization, the input is divided into the units that the system’s vocabulary represents. The KoBERT procedure uses its own tokenizer and indexes tokens through that vocabulary. Sentences are padded or truncated to a maximum length of 256 tokens. Padding gives shorter inputs the length expected by the procedure, and truncation caps longer ones at the stated maximum. The authors specify a batch size of 16, a random seed of 42, epsilon of 8e–8, and a learning rate of 0.0001 for the KoBERT setup. The classifier is implemented with BertForSequenceClassification in Hugging Face Transformers. Transformers

KoGPT-2 has 125 million parameters. The authors use KoGPT-2-base-v2 and implement classification with GPT2ForSequenceClassification and PreTrainedTokenizerFast. GPT-2 uses byte-pair encoding, a form of subword tokenization, in contrast to the WordPiece scheme the paper associates with BERT. The paper also distinguishes their pretraining objectives. GPT-2 predicts causally, using earlier tokens when processing a position. Its input procedure does not rely on the special [CLS] and [SEP] markers discussed for BERT. The overall training setup is described as similar, with input handling and architecture differing between the systems.

Both classifiers are fine-tuned for 30 epochs. An epoch is a pass through the training data, and fine-tuning uses the grammaticality labels to adapt the pretrained systems to this task. The authors present Epoch 1 as the pretrained comparison point and Epoch 30 as the fine-tuned point. The reported contrast concerns those two states as defined in the paper. Performance after training is evaluated on sentences held out from supervised training. The paper also makes the experimental data and analysis code available through OSF.

Measure which candidate receives attention

The attention analysis uses VERB1 as the point from which to measure. For each sentence, the authors extract weights directed from this embedded verb to NP1 and to NP2. The choice of direction matters. They are asking what the representation at the verb draws from the candidate subjects. They do not use the reverse direction, which would ask how strongly each noun position attends to the verb. A stronger relative preference for the actual subject would be consistent with the idea that the verb’s representation follows the agreement relation.

Attention is computed over tokenized inputs. The paper describes attention matrices spanning 12 layers and 12 heads. Heads provide different sets of attention weights, and layers process successive representations. The linguistic analysis, however, is expressed in terms of noun phrases and predicates. A single linguistic unit can occupy several token positions, and variable splits can make a comparison sensitive to details of the tokenization. The authors report occasional inconsistencies with whitespace in the syllable-based tokenization used in this part of the study. They adapt a procedure from Mun and Shin to retain the clause units NP1, NP2, VERB1, and VERB2 for interpretation.

The authors compare relative shares of attention because the raw weight scales differ between the implementations. Their denominator is the attention from VERB1 to the two candidate nouns taken together. This answers how the measured weight on those candidates is divided. It deliberately leaves the rest of the sentence outside the denominator. A preference on this measure can be strong when both candidates receive little weight compared with other positions. The ratio is therefore a targeted description of a competition between two nouns.

R₁ = A₁ ÷ (A₁ + A₂) × 100

R₁ is NP1’s percentage share of the attention measured on the two candidate nouns in a trial. A₁ is the measured weight from VERB1 to NP1, and A₂ is the measured weight from VERB1 to NP2. The plus sign combines those weights. Division gives the fraction allocated to NP1, and multiplication by 100 expresses that fraction as a percentage. The subscripts identify the noun phrases by their positions in the paper’s notation.

R₂ = A₂ ÷ (A₁ + A₂) × 100

R₂ is NP2’s percentage share for the same trial. A₂ is the attention weight from VERB1 to NP2, while A₁ is the corresponding weight to NP1. The plus sign again gives the combined candidate weight. The division this time uses NP2’s weight as the numerator, and multiplication by 100 expresses the share in percent. Both ratios use the same set of attention targets.

D = R₁ − R₂

D is the signed attention difference for the trial. R₁ and R₂ are the percentage shares for NP1 and NP2. The subtraction places NP1 first, so a positive score favors NP1 and a negative score favors NP2. Equal shares give a neutral score. The unit is the percentage-point difference between the two shares. The structural interpretation of the sign depends on the construction. A positive score fits the subject relation in NP1 control, while a negative score fits it in NP2 control. The magnitude describes the strength of the relative preference.

Connect the measurements to sentence outcomes

The attention sample contains sentences on which the two classifiers agree in their success or failure. There are 400 sentences both label correctly and 56 both label incorrectly. This lets the authors compare the systems’ attention on common material within each outcome group. The comparison asks whether the balance of attention to the nouns changes with sentence type and with the correctness of the classification. It does not require assigning a grammatical interpretation to all attention edges in the sentence.

The statistical analyses treat sentence-level correctness and attention preference differently. For classification the response is binary on each trial, so the authors use a generalized linear mixed-effects analysis with a binomial specification. This can estimate how the probability of a correct judgment varies by condition. For attention, the score is a signed numerical response, and the authors use linear mixed-effects regression. Both kinds of analysis include a sentence-level random intercept so that repeated observations for a sentence can share a baseline. The analysis is implemented in R 4.2.1, with lme4 used for fitting the mixed-effects analyses. Fitting Linear Mixed-Effects Models Using lme4

In the detailed classification analysis, the fixed effects are system identity, control type, the feature of NP1, and the feature of NP2. The authors include interactions among them. An interaction is relevant here because the influence of a noun feature is expected to change when the noun becomes the controller. The analysis comparing training states instead uses system, epoch, and control type. It asks whether improvement between the stated checkpoints depends on the system or construction. For attention, the fixed effects are system, control type, and whether the sentence was classified correctly.

The predictors are sum-coded, so their contrasts are centered across their levels. The paper says it considered a maximal random-effects structure and simplified it for convergence, meaning that the fitted procedure had to arrive at a stable solution. It reports pairwise comparisons with a Holm adjustment when interpreting combinations of conditions. The adjustment addresses multiple comparisons by making the evidence needed for individual claims depend on the set of tests. In reading the results, the estimated contrasts and the descriptive accuracies serve different purposes. The accuracies show the size and direction of the observed differences, and the statistical tests address their support under the analysis.

Experiments and results

What the test accuracy measures

Classification accuracy is the proportion of evaluated sentences assigned their correct binary label. Correctly accepting a licensed honorific and correctly rejecting an unlicensed one both count. The comparison has a baseline for each system in the state the authors call pretrained, with the corresponding fine-tuned classifier evaluated on the same kind of task. KoBERT and KoGPT-2 also serve as the architectural comparison. The matched feature conditions make it possible to read the aggregate accuracy alongside cases that place different demands on subject identification.

The paper’s test results are reported by control type and by the four combinations of noun features. For H–H and NH–NH, a correct label is compatible with either choice of subject, because the candidates share a feature. In those cells, accuracy says whether the system handles the resulting sentence and label, with limited leverage on the mechanism. The mixed-feature cells tighten the interpretation. Choosing the wrong noun there amounts to checking the wrong feature, and a successful classifier must find some way to account for the difference between the constructions.

Accuracy also has to be read in light of how frequently each construction occurs in the materials. NP2 control is the larger category, and the paper reports advantages for it in its analyses across conditions. A useful reading of the experiment works from the overall comparisons to the control types and then to the noun-feature combinations. This makes it possible to distinguish a broadly successful classifier from one that performs particularly well when the choice of controller is decisive. It also shows how some individual cells can move in a different direction from an aggregate.

Performance at the pretrained checkpoint

In the authors’ analysis of the pretrained state, the reported mean accuracy is 89.7% for KoGPT-2 and 81.1% for KoBERT. They also report 87.6% for NP2 control and 76.8% for NP1 control. In the latter construction, the relevant noun has an intervening phrase between it and the verb. The difference between constructions is consistent with greater difficulty in that configuration. The effect of control type interacts with the features on the two noun phrases, so the location of the controller alone gives an incomplete account of the pattern.

The results appendix gives descriptive test means of 89.8 for KoGPT-2 and 81.2 for KoBERT, on the percentage accuracy scale. These are the appendix entries used to compare the descriptive means across checkpoints. The paper’s discussion gives its own means alongside the statistical analysis. Keeping the two sets of reported values in their respective contexts is especially important where the paper gives slightly different values for specific cells as well.

The most difficult cell in the pretrained test tables is NP1 control with NH–H. Here the subject of the embedded verb is non-honorifiable, and the intervening noun has precisely the feature needed to make the marked verb appear acceptable if the wrong noun is consulted. KoBERT has 45.3% accuracy in this cell and KoGPT-2 has 52.4% in the appendix and the checkpoint comparison. The earlier results discussion gives 52.3% for KoGPT-2 in the same condition. All of these reports describe substantial difficulty with rejecting the marked verb when an eligible but structurally irrelevant noun intervenes.

The NP2-control comparison with H–NH also requires rejecting an honorific verb in the presence of an honorifiable noun. The honorifiable noun in this case is NP1, and it precedes the actual controller. Here the pretrained discussion reports 92.4% for KoGPT-2 and 76.7% for KoBERT. The respective values in the appendix’s descriptive test table are 92.5 and 76.8. The contrast with NP1 control is strongest for KoGPT-2. It handled the incompatible subject much more successfully when the honorifiable distractor was outside the stretch from the controller to the verb.

A different mixed-feature case favored KoBERT. Under NP1 control with H–NH, the distant subject is honorifiable and the intervening noun is non-honorifiable. The verb is grammatical. KoBERT reached 81.3% and KoGPT-2 69.5%, with the comparison reported at p < .0001. The authors report that the other pretrained condition comparisons favor KoGPT-2, with ps < .03. This exception gives an important qualification to the overall result. Before fine-tuning, KoGPT-2’s advantage was sensitive to which feature the intervening noun carried and to whether the correct answer was acceptance or rejection.

The remaining NP1-control cells help put those mixed-feature outcomes in context. With H–H, the pretrained test table lists 89.1 for KoBERT and 93 for KoGPT-2. With NH–NH it lists 84.2 and 98.4, respectively. These are percentage accuracies on sentences for which the choice between the two candidates does not change the label. The consistently stronger outcomes in these cells than in NH–H explain why an aggregate can look strong while leaving a substantial weakness in evaluating the dependency under conflicting cues.

What changes with fine-tuning

In the analysis across training states, the reported overall accuracies are 92.4% for KoGPT-2 and 80.9% for KoBERT. Across systems and checkpoints, the paper reports 88.5% for NP2 control and 79.3% for NP1 control. Averaging across the conditions in this analysis gives 85.4% at the pretrained checkpoint and 88.0% after fine-tuning. The authors find that the change between checkpoints varies by system and construction. The pooled increase is therefore only one part of the training result.

The appendix comparison below uses the descriptive test means for each checkpoint. It displays the individual training trajectories more directly. KoGPT-2’s mean rises to 95.1, whereas KoBERT’s entries are close across the checkpoints. The star marks the highest setting on the reported accuracy scale.

KoBERT and KoGPT-2 mean accuracy on the Korean honorific agreement test

Fine-tuning raises KoGPT-2’s mean test accuracy while KoBERT’s mean stays close to its pretrained result.

KoBERT and KoGPT-2 mean accuracy on the Korean honorific agreement testKoBERT pretrained: 81.2KoBERT pretrained81.2KoBERT fine-tuned: 80.8KoBERT fine-tuned80.8KoGPT-2 pretrained: 89.8KoGPT-2 pretrained89.8KoGPT-2 fine-tuned (this paper): 95.1KoGPT-2 fine-tuned (this paper)95.1
The numbers
System or settingaccuracy %
KoBERT pretrained81.2
KoBERT fine-tuned80.8
KoGPT-2 pretrained89.8
KoGPT-2 fine-tuned (this paper)95.1

The pairwise analysis gives stronger support for an improvement in KoGPT-2 than the pooled figures alone can convey. Its gains are significant in NP1 control, with z = −8.21 and p < .001, and in NP2 control, with z = −9.95 and p < .001. The sign of the test statistic depends on the order of the contrast. The direction of change comes from the reported accuracy comparison. For KoBERT, the NP1-control result is z = 1.20 and p = .23. In NP2 control the authors report a decline, with z = 4.01 and p < .001.

Improvement in both constructions for KoGPT-2 coexists with substantial variation across cells. In its fine-tuned NP1-control results, the test appendix gives 98.4 for H–H and 99.4 for NH–NH. In H–NH, where the marked verb is licensed in spite of the intervening non-honorifiable noun, it gives 79.6. In NH–H, where the intervening noun could appear to license a violation, the value is 72.8. All are classification accuracies in percent. The mixed-feature cases remain much harder even after the construction-level gains.

KoBERT’s NP1-control results show why a small overall change can coexist with improvement on a particular difficulty. Its accuracy in NH–H rises to 61.8%. In H–NH, the fine-tuned test table gives 74.1 compared with 81.3 in the pretrained table. The table also gives 86.5 after training for H–H and 79.6 for NH–NH, both lower than their pretrained entries. The author-reported result of no significant overall NP1-control improvement is compatible with movement in these different directions within that construction.

Test accuracy with an intervening honorifiable noun in ungrammatical NP1-control sentences

Both classifiers improve in the hardest feature configuration, with fine-tuned KoGPT-2 attaining the highest accuracy.

Test accuracy with an intervening honorifiable noun in ungrammatical NP1-control sentencesKoBERT pretrained: 45.3KoBERT pretrained45.3KoBERT fine-tuned: 61.8KoBERT fine-tuned61.8KoGPT-2 pretrained: 52.4KoGPT-2 pretrained52.4KoGPT-2 fine-tuned (this paper): 72.8KoGPT-2 fine-tuned (this paper)72.8
The numbers
System or settingaccuracy %
KoBERT pretrained45.3
KoBERT fine-tuned61.8
KoGPT-2 pretrained52.4
KoGPT-2 fine-tuned (this paper)72.8

KoGPT-2’s fine-tuned NP2-control results include 98.8 for H–H, 97.1 for H–NH, 94.4 for NH–H, and 97.8 for NH–NH, all from the test appendix on the percentage accuracy scale. In H–NH, where the misleading honorifiable noun comes before the controller, fine-tuned KoBERT reaches 79.2. Its NP2-control changes are mixed across the feature pairings. For instance, the NH–NH entry goes from 84.6 to 78.5 while H–NH goes from 76.8 to 79.2. The significant decline for the construction as a whole thus permits improvements in individual conditions, just as the gain for the hardest NP1-control condition permits declines elsewhere.

The diagnostic difficulty is the combination of a long dependency in the surface sequence and a noun with the feature that the marked verb requires. The results suggest that KoGPT-2 learns to judge many of these sentences more successfully after supervised training. Even in the more successful system, accuracy remains sensitive to a feature that a structurally faithful decision would ignore. The article’s two kinds of outcome therefore need to be read together. Fine-tuning helps the classifier solve the task, while the distractor comparisons show where the learned behavior still departs from the licensing rule.

Attention at the pretrained checkpoint

The attention sample comprises 456 shared-outcome trials, of which 104 are NP1 control and 352 NP2 control. The authors examine whether the relative attention preference changes with construction and with correctness. Since a positive score favors NP1, a positive mean averaged across both constructions gives no straightforward measure of overall structural alignment. The same preference can be appropriate on some trials and point to the competing noun on others.

At the pretrained checkpoint, KoGPT-2 has a mean attention difference of 76.8, with a standard error of 0.55. KoBERT’s corresponding mean is −1.6, with a standard error of 1.48. These are attention differences on the shared-outcome analysis, on the scale defined by subtracting the candidate shares. The mean for correct trials across systems is 38.7, with a standard error of 2.84, and the mean for incorrect trials is 0.29, with a standard error of 8.89. Standard errors here express uncertainty in the estimated means. The interactions show why the pooled means cannot be used on their own to associate a noun preference with a correct answer.

Pretrained KoGPT-2 gives NP1 more relative attention in NP2 control than in NP1 control, with t(192) = −1.97 and p = .05. That direction is the reverse of what the authors expect from attention that specifically tracks the embedded subject. In NP2 control, the appropriate noun is NP2. The correct-versus-incorrect comparison for KoGPT-2 is t(192) = 0.45 and is reported as nonsignificant. A strong overall NP1 preference thus appears alongside relatively successful classification and gives limited information about why the judgments are correct.

KoBERT shows a different pattern. It directs relatively more weight to NP2 on errors than on correct trials, with t(192) = −4.45 and p < .0001. Its comparison across constructions is t(192) = 0.90 and is reported as nonsignificant. The greater preference for NP2 on errors might reflect distractor interference, as the authors suggest. Since NP2 is the actual subject in one construction, the finding needs the control-type context before the attention direction can be interpreted grammatically. The pretrained analysis provides no consistent indication that either system changes attention to reflect the identity of the controller.

Attention after fine-tuning

After fine-tuning, KoGPT-2’s mean attention difference is −41.9, with a standard error of 3.65. KoBERT’s mean is 0.95, with a standard error of 1.91. The pooled mean for correct judgments is −19.9, with a standard error of 2.72, while the mean for errors is −24.3, with a standard error of 6.11. Across systems and outcome groups, NP1 control has a mean of −1.69 with a standard error of 5.56, and NP2 control has a mean of −26.1 with a standard error of 2.66. The latter comparison is in the direction expected if attention distinguishes the constructions. Its interpretation depends on which system and outcome group contributes the pattern.

The authors find a three-way interaction between system, control type, and correctness. In the fine-tuned KoGPT-2 results for NP1 control, the system directs significantly more relative attention to NP1 on correct than on incorrect trials, with t = −6.40 and p < .0001. The noun receiving the stronger relative preference on correct trials is the actual subject. The authors describe the error pattern as a shift toward NP2. This is the case where attention gives the clearest signal consistent with the licensing relation and with successful judgment.

The corresponding KoGPT-2 comparison for NP2 control yields t = −0.27 and p = .789. The paper reports only n = 6 errors for that comparison and suggests that the small count limits its ability to detect a difference. In fine-tuned KoBERT, the outcome comparisons show no comparable modulation in either construction, with ps > .78. Thus the relationship observed in fine-tuned KoGPT-2’s NP1-control data is specific to a system, a training state, and a construction. The attention difference is most informative when all of those conditions are retained in the interpretation.

The change in the pooled KoGPT-2 attention score between the pretrained and fine-tuned states shows that training can alter where the embedded verb puts its relative weight. The construction-specific comparisons answer the grammatical question more directly. A pooled shift towards NP2 can be consistent with the predominance of NP2-control trials. Evidence for selective alignment comes from seeing attention favor the correct noun in the relevant condition, and from relating that preference to classification. The paper finds that conjunction in NP1 control after training, with a weaker basis for generalizing it to other cases.

What the ablations show

The paper reports no component ablations, and instead uses controlled noun-feature contrasts, comparisons across checkpoints, and attention analyses conditioned on construction and judgment outcome.

Changing a noun that should have no effect

The most direct control on a lexical shortcut keeps the controller’s honorific feature stable and changes the other noun. In NP1 control with an honorifiable NP1, both H–H and H–NH should be accepted. Comparing their accuracies tests whether a non-honorifiable intervening noun makes a licensed verb harder to accept. In NP1 control with a non-honorifiable NP1, both NH–NH and NH–H should be rejected. Comparing those cases tests whether an honorifiable intervening noun makes an unlicensed verb harder to reject. Together the comparisons ask whether classification is invariant to a feature that the rule treats as irrelevant.

The authors use Welch’s two-sample tests in this follow-up. Welch’s test compares means while allowing the groups to have different variances. For H–NH against H–H, the paper reports t(1089.3) = 5.60 for KoBERT and t(679.16) = 10.87 for KoGPT-2, both with p < .001. The authors report lower accuracy when the features differ. The sentence has a valid subject for the honorific in both cases. Its lower accuracy in the mixed condition therefore shows a penalty associated with the changed feature on NP2.

For NH–H against NH–NH, the reported results are t(1075.9) = −6.57 for KoBERT and t(635.37) = −14.25 for KoGPT-2, again with p < .001. The mixed condition is harder here too. The non-honorifiable controller makes the verb unacceptable in both groups. The honorifiable intervening noun in the mixed group offers a feature that could license the suffix if assigned to the wrong noun. The tests show systematic interference after fine-tuning, including in the more successful classifier.

The two comparisons provide more information together than either would alone. The rejection contrast shows a misleading feature present on a noun that cannot license the suffix. The acceptance contrast shows interference even when the grammatically relevant feature is present and the intervening noun lacks it. A simple preference to accept any sentence containing an honorifiable noun would have difficulty accounting for the second result as well as the first. The findings establish sensitivity to the irrelevant noun in both directions while leaving the exact decision rules of the classifiers open.

Different positions for a comparable distraction

Another comparison concerns where the distracting noun occurs. In the hardest NP1-control case, a non-honorifiable controller comes first, followed by an honorifiable distractor. In the comparable NP2-control violation, the honorifiable distractor comes first, followed by a non-honorifiable controller. The contents of the grammatical conflict are similar. The controller cannot license the suffix, and the other noun can in principle receive the honorific. The main difference for the authors’ interpretation is whether the distracting noun intervenes in the sequence linking the controller to the marked verb.

KoGPT-2’s strong pretrained performance on the NP2-control violation and weak performance on the NP1-control violation show that the mere presence of an honorifiable noun cannot account for its errors. The position and role of that noun matter. KoBERT also finds the intervening configuration harder, although its success is lower than KoGPT-2’s on the nonintervening violation. The authors relate the pattern to earlier work on attractors and dependency length. In these materials, the construction changes together with the linear position of the controller, so the comparison describes their combined effect.

The same comparison guards against taking high accuracy on NP2 control as sufficient evidence of abstract subject identification. In the NP2-control sentences the correct noun is the closest candidate to the embedded verb. Both structural identification and a nearest-noun rule can therefore succeed, including in the presence of an earlier honorifiable distractor. NP1 control pulls these accounts apart. The especially informative cases are those in which applying the closest noun’s feature changes the binary label. Those cases leave both classifiers with measurable error after training.

Where the training gains and attention gains overlap

Comparing checkpoints under the same sentence conditions reveals that additional supervision changes which cases a classifier handles. KoGPT-2 improves across the control types and in the particularly difficult NP1-control violation. KoBERT improves in that one violation condition while losing accuracy in other conditions. Training gains on a specific diagnostic are evidence about behavior on that diagnostic, and the rest of the results show how far the improvement extends. In particular, the continued feature-mismatch penalty shows that exposure to labeled examples did not make KoGPT-2’s decisions fully invariant to the noncontroller.

The attention comparisons control the sentence set in another way. Within the shared-outcome subset, both systems have the same classification outcome on a given sentence, letting the authors look for differences in how the systems distribute attention on the same successes and errors. Before training, KoGPT-2 has a prominent NP1 preference even in the construction whose subject is NP2. After training, its correct NP1-control judgments tend to go with more relative attention to the appropriate subject. This comparison gives a more specific account of when the change in attention can be interpreted syntactically.

The comparison with KoBERT shows the limits of that account. It can classify many sentences correctly, and its attention still shows no comparable relationship with classification outcome after fine-tuning. KoGPT-2 also lacks an established correct-versus-incorrect contrast in NP2 control. Hence the attention analysis identifies one setting in which the measured preference and good behavior coincide. The controlled feature manipulations provide more direct evidence of when the systems follow or depart from the licensing relation because those manipulations change a defined part of the grammatical input.

Limitations

Limits the authors identify

Architecture, system size, and pretraining conditions vary together. The authors identify this as a major difficulty for interpreting the comparison. KoBERT and KoGPT-2 differ in how they process context and in their pretraining objectives. Their parameter counts also differ. The advantage observed for KoGPT-2 is compatible with the authors’ interpretation that autoregressive processing can support more robust tracking of the dependency. A comparison between these particular systems gives no isolated estimate of the contribution of that processing direction.

The authors also flag tokenization as a possible influence, including differences in the prevalence of the unknown token [UNK]. The number and identity of token pieces affect what information is available to the classifier and how attention weights can be assigned to a noun or a verb. For the attention analysis, whitespace-related splitting sometimes complicated the mapping from tokens to linguistic units. Preserving the noun and predicate units helps make that analysis readable. The authors leave open how much the underlying representation and the measured attention depend on tokenizer behavior.

The pretraining corpora are another possible source of the gap. The paper mentions differences such as the balance of written and spoken language styles. Fine-tuning both systems on the same task does not equate the experience they brought to it. Lexical matching within the experimental materials reduces the chance that an incidental difference among the test sentences explains a condition effect. It does not establish what either system encountered during pretraining or how frequently a particular noun or construction appeared in its earlier data.

The paper also acknowledges a sample constraint in the attention comparison. The very small error group for fine-tuned KoGPT-2 in NP2 control limits the power of that correct-versus-incorrect test. Consequently, the result is inconclusive about whether the attention difference there tracks correct responses. The strong NP1-control contrast is good evidence about the selected trials in that condition. A broader account that holds across constructions requires attention evidence from error groups with enough examples to estimate such differences.

Limits of the task and the inference

The classification task holds the honorific suffix fixed. This makes the licensing test clean, since every sentence asks whether the same kind of marked verb is acceptable. The fact that the marker is optional is linguistically important, but the experiment does not measure when a system would choose to use it while producing Korean. It also does not measure how a system would respond to context that changes the social appropriateness of honorifying a person. The evidence concerns the judgments of constructed sentences with the roles and features defined by the materials.

The held-out test establishes performance on sentences reserved from supervised training under the reported split. The paper does not report a separate split designed to introduce wholly new lexical inventories or new control constructions. Accuracy on held-out sentences is therefore evidence of generalization within this experimental setup. Stronger claims about independence from lexical familiarity require knowing how training and test items are related at the level of words, templates, and constructions. The matched feature manipulation is still diagnostic of lexical interference, since it reveals a reliable effect from the wrong noun even in the controlled setting.

The comparison between NP1 and NP2 control also combines grammatical role and linear layout. In NP1 control the embedded subject lies before the other noun. In NP2 control it is the second noun, closer to the verb. The experiment can show that these configurations differ in difficulty and that the intervening feature matters. It cannot independently assign the difficulty to linear distance, the intervening noun, or other properties of the constructions. The within-construction comparisons are narrower. They vary the noncontroller’s honorifiability in a fixed structural layout and can more directly attribute a difference to that feature contrast.

The attention sample excludes sentences where one system succeeds and the other errs. The restriction gives the authors common correct and incorrect groups, which makes their comparison interpretable on matching sentences. It also means the attention results do not directly describe cases responsible for one system outperforming the other on an individual item. An association in the shared outcomes cannot establish how attention behaves on those omitted disagreements or how prevalent the same pattern is throughout the test data.

The attention difference itself gives a relative preference among selected targets. It does not preserve the amount of total weight going to those targets relative to the rest of the sentence. It also describes weights on a particular direction of attention, from the verb to the nouns. A successful classifier can use information represented elsewhere, and the observed association between weight preference and correctness does not establish that changing the weight would cause the classification to change. The experiment uses attention as a sign that can agree with the structural analysis in some conditions. Its results give that sign a limited reach.

Finally, the paper names Epoch 1 as its pretrained point and Epoch 30 as its fine-tuned point. The interpretation of gains should follow those labels and the supervised comparison as documented. The reported checkpoints do not resolve which intermediate stage of training brought about the changes in success or attention. This matters most for the narrow correspondence found after training. The experiment shows that it is present at the later checkpoint in the difficult NP1-control condition. It does not establish when that relationship emerged or whether it persisted throughout training.

What came after

No subsequent citing study is documented, so the follow-up remains the research direction proposed by the authors. They suggest testing whether explicit syntactic supervision helps with the feature interference that survives fine-tuning. Training on treebanks, which are corpora annotated with grammatical structure, would give a system examples that mark relations the experiment requires it to infer. The authors also propose examining architectures with explicit provisions for structure. In both cases, Korean honorific agreement supplies a way to test whether a system continues to distinguish a licensing subject from a nearby noun carrying an attractive but irrelevant feature.

The proposed follow-up also separates two outcomes that the paper shows can come apart. One is more reliable judgment across control constructions and across languages with different grammatical properties. The other is an internal representation whose relation to the correct grammatical dependency can be interpreted consistently. The authors leave both as empirical questions. Their attention result in fine-tuned KoGPT-2 identifies a concrete condition for comparison, while the persistent errors with mismatched noun features show what a more robust account of the dependency would need to explain.

Cite

Cite as Nayoung Kwon and Seongmin Mun. 2025. Evaluating Syntactic Generalization in Transformer-Based Models Using Korean Honorific Agreement. Proceedings of the 39th Pacific Asia Conference on Language, Information and Computation.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{kwon2025evaluating,
  title = {{Evaluating Syntactic Generalization in Transformer-Based Models Using Korean Honorific Agreement}},
  author = {Nayoung Kwon and Seongmin Mun},
  booktitle = {Proceedings of the 39th Pacific Asia Conference on Language, Information and Computation},
  year = {2025},
  url = {https://aclanthology.org/2025.paclic-1.3/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/kwon-2025-evaluating-syntactic-generalization-transformer-based/