- Rating
- 5
- Clarity
- 3
- Confidence
- 2
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
This paper studies fresh-symbol generalization in template-based classification tasks. The main question is whether a transformer can classify examples based on the abstract template rather than the concrete token names. The authors analyze this problem using regularized kernel logistic regression in the transformer-kernel regime. The main result decomposes the learned predictor into an ideal template-level classifier and a finite-sample perturbation caused by accidental token overlaps in the training data. The paper represents these overlaps using a colored collision graph and proves margin-transfer guarantees for fresh-symbol classification. The theory is supported by synthetic template experiments with one-layer transformers.
Strengths and weaknesses
Strengths
-
The problem is well motivated. Understanding whether models rely on abstract structure instead of concrete token names is important for studying transformer reasoning and robustness.
-
The theoretical framework is interesting. The decomposition into an ideal template-level classifier and a collision-induced perturbation gives a clear way to separate the abstract template from finite-sample token effects.
-
The paper is well written and easy to follow. The synthetic experiments provide useful support for the theory and help show how the proposed ideas behave in a controlled setting.
Weaknesses
-
The connection to real-world scenarios is limited. The theory is mainly developed for synthetic template tasks and the one-layer frozen-feature transformer-kernel regime. While this setting is clean, it is not clear how directly the results apply to practical language-model settings. The paper would be stronger if the authors discussed how the collision graph idea may affect real-world tasks and, if possible, included a real-world or semi-realistic experiment where train and test examples follow the same template but use different symbol names.
-
The assumptions should be explained more clearly for non-expert readers. The paper relies on token symmetry, kernel logistic regression, and frozen-feature one-layer transformers. These assumptions make the analysis possible, but it would be useful to explain more directly when these assumptions are reasonable and when they may fail.
Questions
See Weaknesses.
Limitations
Yes.
Paper formatting concerns
N.A.
Final justification
The authors addressed my concerns, and I kept my positive rating.
We thank the reviewer for the positive assessment and agree that the paper should explain its assumptions in plain language and validate the collision mechanism on a less stylized task. We have therefore implemented a semi-realistic experiment in which the relation words and latent family rules are fixed, while person names are designated nuisance symbols and are globally fresh at test time, Experiment (A). We also set up a more theory alligned experiment where we showcase that collision graph rather than rho guides the properties, Experiment (B).
Experiment A. Binary kinship experiment. Experimental setting (binary kinship, fresh names). We evaluate a semi-realistic Yes/No grandparent task: the input is a two-link parent chain in either of two sentence orders, and the label is whether a queried person is the grandparent (fixed answer tokens Y/N; six templates with probabilities 1/4, 1/8, 1/8, 1/4, 1/8, 1/8). Train/val/test share templates but use disjoint name alphabets; the train alphabet size equals the number of training samples n. We sweep n ∈ {16, 64, 256, 1024, 4096} with Adam (lr 1e−4), 1000 epochs, batch size 1024, two seeds. Architecture: depth-2 transformer, width 1024, 16 heads, dropout 0; we compare untied vs tied embedding/unembedding, each with optional KQ and/or VO identity residuals scaled by ×100. Metric: fresh-test accuracy at the best validation-loss epoch (mean ± SEM over seeds).
Here we observe similar patterns to the synthetic task: frozen-feature transformers can generalize on fresh symbols, but multipliers on K-Q or V-O level attention are essential for speeding up the learning process, otherwise vanilla transformer without a multiplier requires large amounts of data to improve. Since this semi-realistic kinship task has more templates and is more complicated, the accuracy rises slower than the synthetic task, but the pattern still holds as long as it is a template task, which is also fundamental for our theory.
Experiment B. Matched-ρ collision
To isolate collision-graph geometry, we hold fixed the six natural-language grandparent templates, sample size n=600, class balance, vocabulary construction, collision-edge count, and ρ/Bρ (= 0.03), and compare only dispersed vs clustered name collisions. Labels are ±1; we train a tied emb/unemb transformer with KQ×100 and VO×100 (width 1024, depth 2, 16 heads, dropout 0) using logistic loss softplus(−y f), where f = (logit_YES − logit_NO)/√d. Fresh val/test use 240/600 examples with unseen names. Selection: maximize fresh-val accuracy (ties: signed margin, then lower logistic loss). Adam lr 1e−4, 200 epochs, batch 128, five seeds. We report fresh-test accuracy, mean signed margin, and the certificate Bλ♯ at δ = 0.2 on a frozen random-feature map (ridge λ = 1e−2).
Even with limited amount of training samples, different collision graph patterns will lead to significantly different performance. A dispersed graph is more favorable in terms of higher average signed margin and accuracy on test data.