When Symbol Names Should Not Matter: A Logistic Theory of Fresh-Symbol Classification
Wenjie Guan, Jelena Bradic
NeurIPS 2026
Abstract. Template tasks have emerged as a clean testbed for asking whether transformers reason with abstract symbols rather than concrete token names. We study the fixed-label classification version of this problem, where train and test examples share latent templates but may use disjoint vocabularies. Unlike next-token prediction, the model need not emit unseen symbols; it must learn a decision rule invariant to symbol renaming. We analyze regularized kernel logistic classification in the transformer-kernel regime. Our 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. We encode these overlaps by a colored collision graph and prove high-probability margin-transfer guarantees for fresh-symbol classification. This perspective extends template-based analyses to logistic classification and refines scalar diversity conditions: vocabulary size controls the average rate of collisions, but collision geometry controls whether the ideal classification margin is preserved. More broadly, the same perturbation framework applies to abstraction-augmented inputs, yielding a general margin-versus-collision criterion for identifying when prompting strategies improve fresh-symbol generalization. Synthetic template experiments illustrate the predicted roles of regularization, sample size, and transformer-kernel structure.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:46 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This submission is currently leaning toward acceptance. The reviewers generally agree that the paper studies an interesting and well-motivated problem and provides a technically meaningful extension of fresh-symbol generalization from regression to classification. In particular, the colored collision graph offers a useful refinement over scalar diversity measures, and the decomposition between the ideal template margin and finite-sample collision effects provides valuable theoretical insight.
The main reservations come from Reviewer 1mZf and the authors should address the reviewer's concerns before acceptance.
Final justification
After discussion the ratings are 5, 4 and 3, with two reviewers keeping positive scores and one holding at borderline reject.
1mZf keeps a borderline reject on the grounds that token symmetry still fails after joint training and that the gap to practice remains, and acknowledges being unable to verify the new theorem. That is a fair reservation about a theory paper, but the authors state the limitation openly and the new material narrows rather than papers over the gap.
I therefore recommend acceptance as a poster. The revision should include the full proof of the new theorem, the impossibility argument, the two new experiments, and the introductory rewrite the authors promised, since the presentation issues 1mZf identified are real.
Read meta-review
Meta-review
This submission is currently leaning toward acceptance. The reviewers generally agree that the paper studies an interesting and well-motivated problem and provides a technically meaningful extension of fresh-symbol generalization from regression to classification. In particular, the colored collision graph offers a useful refinement over scalar diversity measures, and the decomposition between the ideal template margin and finite-sample collision effects provides valuable theoretical insight.
The main reservations come from Reviewer 1mZf and the authors should address the reviewer's concerns before acceptance.
Final justification
After discussion the ratings are 5, 4 and 3, with two reviewers keeping positive scores and one holding at borderline reject.
1mZf keeps a borderline reject on the grounds that token symmetry still fails after joint training and that the gap to practice remains, and acknowledges being unable to verify the new theorem. That is a fair reservation about a theory paper, but the authors state the limitation openly and the new material narrows rather than papers over the gap.
I therefore recommend acceptance as a poster. The revision should include the full proof of the new theorem, the impossibility argument, the two new experiments, and the introductory rewrite the authors promised, since the presentation issues 1mZf identified are real.
- Rating
- 5/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
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.
Final justification
The authors addressed my concerns, and I kept my positive rating.
Formatting concerns
N.A.
2 comments
Thanks for your reply! My concerns have been addressed, and I decide to retain my positive score.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 4/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- theory
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper studies fresh-symbol generalization for template classification, where train and test share latent templates but use disjoint vocabularies, so the model must learn a rule invariant to renaming. In the one-layer frozen-feature regime, training only the unembedding becomes kernel logistic regression, and they analyze the ridge-regularized classifier. The key move is to split the learned predictor into an ideal template-level classifier plus a finite-sample perturbation from accidental token collisions, encoded by a colored collision graph, and to bound the gap to the ideal scorer by the minimum of five graph certificates.
Strengths and weaknesses
I think this is careful and thoughtful theory, I read it closely but did not reverify every appendix proof. What I liked most is the refinement of Boix-Adserà et al.: moving from a scalar diversity parameter to a colored collision graph, and showing that two schemes with matched ρ can still generalize very differently, is a clean point that the figure makes well. The analysis also looks substantial rather than a port of the regression result, since logistic loss has no linear system and they go through an entropy dual to get the bound at all.
My hesitations are about reach and validation. Everything is in the one-layer frozen-feature regime, so representation learning, arguably the reason transformers generalize across symbols at all, is out of scope, and the tie to real transformers runs through prior work. More importantly, the experiments do not test the central claim. The certificates are computed on hand-built tasks, and the learning curves study K-Q and V-O multipliers, which is a different question from whether collision geometry predicts margin in a trained model. The main text is also dense and rushed in places.
Questions
- Can the main prediction be tested on a trained model, by taking the benign and clustered schemes from Figure 1, which match on ρ but differ in geometry, training the one-layer transformer on each, and seeing whether accuracy tracks the certificate rather than ?
- How much survives outside the frozen-feature regime? Even a small experiment with the one-layer transformer trained end to end, showing where the kernel and the trained model agree and diverge, would help.
- The abstraction criterion is first order in . How tight is the linearization in the regimes these methods actually use, and is there a simple task where you can show both a helpful and a harmful abstraction?
Limitations
Yes
Final justification
I recommend acceptance, an interesting and solid paper.
Formatting concerns
no major formatting issues.
2 comments
Rebuttal
We proceed by answering the 3 questions laid out in the "Questions" section.
Response to Q1.
Here we will prove a proposition that shows that color-sensitive collision structure changes the exact optimized fresh margin rather than only a post hoc certificate. We also ran an additional numerical experiment.
Margin Separation Fix an even integer and numbers . Let and be one-wildcard templates with labels and . The substitution token is uniform on , so . Let $ e_+,e_-,u_1,u_2,u_\star $ be mutually orthonormal and define
For a sample of size , let minimize
Consider
Both samples have observations of each label and occurrences of each concrete token. In both, the token- observations form one and the token- observations form another. Hence the complete uncolored collision graph is in both cases. Only the assignment of template colors to those components differs.
Let be the unique solution of
Let denote the minimum signed training margin and the minimum signed margin on .
Proposition For the two samples above,
Consequently,
Thus and the entire uncolored graph do not determine the exact optimized fresh margin.
Proof Sketch. The ridge term makes the objective -strongly convex, hence the minimizer is unique. Components orthogonal to $ \operatorname{span}{e_+,e_-,u_1,u_2} $ do not affect the training scores and must vanish.
For , define
Then has one positive minimizer, . Implicit differentiation gives $T_\lambda'(c) $ and we can conclude that is strictly decreasing.
For the balanced sample, write
The objective is invariant under $ (p_+,p_-,r_1,r_2)\mapsto(-p_-,-p_+,-r_1,-r_2).$
Uniqueness therefore gives and . With ,
every training and fresh signed margin is , and
The objective reduces to , proving the balanced formula.
For the clustered sample, let
\begin{equation} v_+ =\sqrt{\alpha},e_++\sqrt{\beta},u_1, \qquad v_-=\sqrt{\alpha},e_-+\sqrt{\beta},u_2. \end{equation}
These vectors are orthogonal with squared norm . If and are the two signed training margins, the least-norm vector realizing them has squared norm
The objective becomes
The coordinates solve identical strictly convex problems, so $ s_+=s_-=T_\lambda(\alpha+\beta). $
The fresh direction is orthogonal to , and therefore only the template part transfers, giving the factor . Finally,
because as .
Additional Numerical Experiment We set up a new experiment corresponding to the benign and clustered substitution schemes from Figure 1 while matching , the templates, sample size, training-vocabulary size, class proportions, and template counts. For each paired seed, we will use the same one-layer architecture, initialization, optimizer, index/minibatch order, training budget, and regularization, and train: the frozen-body, head-only model analyzed in the paper; and the same one-layer transformer end to end. Evaluation will use a large test set with a vocabulary disjoint from the training vocabulary. We will report fresh accuracy, signed margin, and logistic loss, together with training margin/loss, Bλ♯, the scalar-diversity proxy Bρ, dmax, the centered collision operator norm, and the color-pair/block statistics. Signed margin and logistic loss will be the primary outcomes because 0–1 accuracy may saturate even when the robustness gap is substantial. See response Example (B) of Reviewer KDYh.
Q2 See response to Reviewer 1mZf.
Q3 This is indeed an interesting question. Impact of and whether an abstraction is useful or harmful, is all about the resulting properties of the quotient space. We derived a simple proposition that is generic and provide two examples: one helpful and one harmful.
Let , , and let be a symmetric path on with
Write
Choose
Then Weyl's inequality and the fundamental theorem of calculus give,
Let
Put
The exact logistic constant is
Define
and
Theorem. The path is on , and
For every template and ,
Let be any finite valid augmented certificate at strength ; it may be the minimum of nonsmooth route functions and may switch active routes. Define
Then abstraction is certified helpful whenever
and certified harmful whenever
Proof sketch - a sequence of Taylor expansions and chain rules on the solution of the KKT condition using implicit function theorem. (mostly algebra)
Harmful and Harmful Abstraction
Consider two balanced templates with labels , for example
Let be orthonormal. For , define the following unit-norm template features:
and
Both paths are at zero and keep the feature norms exactly equal to one. Set
Their template matrices are
The label direction has eigenvalue in the helpful path and in the harmful path.
Proposition Let the template frequencies be . For the two paths above, the quotient minimizers are
Moreover,
$ y_a(g_\eta^{\mathrm H})_a \ge y_a(g_0)_a, $
$ y_a(g_\eta^{\mathrm D})_a\le y_a(g_0)_a, $
for both templates. If every concrete realization of a template is assigned the corresponding feature in the helpful or harmful path, then the empirical and ideal kernels coincide and the collision certificate is zero. The helpful/harmful statements are therefore exact certified-margin statements at every .
Thanks to the authors for their replies. My questions have been answered, so I’ve decided to keep my rating.
- Rating
- 3/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies fresh-symbol classification, where the class labels depend on templates which the training set fully covers, but the actual symbols used in the templates can be unseen during training. The setup largely follows from Boix-Adsera et al. 24, and this work can be considered as an extension from regression to classification.
Formal setup:
- The analysis considers 1-layer Transformers with a trainable output layer and frozen weights otherwise.
- The estimator uses ridge kernel logistic regression. The regularizer is defined with a template matrix , which is well-defined due to token symmetry, i.e. the classification label only depends on the template.
Main results: The paper first shows a result for kernel logistic regression (Sec 3). The analysis uses a colored collision graph defined over the templates, where the colors correspond to template indices. The paper shows that a benign collision graph and a large ideal template margin implies a good margin on the learned model. In particular:
- (Thm 3.2) The deviation from the learner to the minimizer is bounded by a collision certificate w.h.p..
- The collision certificate is chosen to be the min of 5 certificates (i.e. curvature-spectral, degree-action, block-density, Hoeffding–ANOVA, and bias–fluctuation), which makes the certificate tighter than a worst-case proxy introduced in prior work.
- (Thm 3.3) The collision certificate itself is small w.h.p..
The paper then discusses results specific to Transformers, showing that abstract prompting (as an additional abstraction channel) is helpful only when it increases the template margin more than it disturbs the finite-sample certificate.
Empirically, the paper shows that 1-layer Transformers are able to perform fresh-symbol classification on a two-template binary classification and the majority. Further, adding regularizations to the Transformer kernels via KQ or VO multipliers (i.e. adding an identity matrix) helps improve learning efficiency.
Strengths and weaknesses
Strengths:
- The paper studies an interesting reasoning task of fresh-symbol classification. This extends prior work on fresh-symbol regression.
- The results clarify the diversity in tokens (as stated in prior work) is not sufficient, and that the focus should instead be on the collision geometry.
- The paper separates the perturbations to the ideal template margin from finite-sample effects, and provides a mental picture for understanding Transformer practices such as abstract prompting.
Weaknesses:
-
The results are stated for Transformers with mostly frozen weights, and only the output embedding is trained. In practice, when the weights are trained, unseen tokens will likely raise challenges due to untrained embeddings on these unseen tokens. In particular, token symmetry would not hold.
-
The writing has a lot of room for improvement, and many notations or concepts can be introduced and explained more clearly.
- Sec 1.1: some notations are undefined, e.g. ; collision graph not clearly explained, e.g. unclear what "wildcard" is.
- Substitution map is insufficiently specified. Reciting the definition in Boix-Adsera would be clearer.
- Line 155: what does "jointly fresh" mean?
- line 166: how are the colors defined for the templates?
==========================
Update regarding the contribution type: The weaknesses listed above apply to "General" contribution type too. In particular, my concerns listed under Weakness and Limitations become greater when considering the contribution under "General" (than under "Theory"), given the difference from practice. This includes simplified Transformer, frozen embedding weights, and experiments limited to synthetic setups only.
Questions
- How could the results be adapted to apply to trainable weights?
Limitations
The paper discusses the limitations of the analyses:
- The Transformer analyzed has 1-layer and frozen weights.
- The empirical evaluation is limited to synthetic settings which may miss nuances in natural languages.
- The results omit challenges in optimization.
Final justification
The authors provide new results with a proof sketch in the rebuttal, which is appreciated and partially addresses my concerns about frozen embeddings.
However, I'd remain the score of borderline reject since my concerns remain that:
- The assumption about token symmetry would not hold after joint training and needs to be explicitly considered, which the rebuttal also confirms.
- There is a big gap to practice. This includes a simplified Transformer in the analysis and experiments limited to synthetic setups only.
- I appreciate the new theorem in the rebuttal and the promised writing improvement (which need significant changes), though I cannot verify them.
Formatting concerns
N/A
2 comments
Rebuttal
We agree that the submitted theorem does not by itself cover an arbitrarily trained Transformer. In particular, after end-to-end training, token symmetry need not survive, and an input-embedding row that is never used in training need not be aligned with the learned representation. The revision will therefore make a sharper statement: we will prove exactly what part of the collision argument survives for a fully trained body, add explicit terms for the failure of symmetry and for unseen-row shift, and prove that some such term is mathematically unavoidable.
The theorem below allows the Transformer body and all seen-token embeddings to be trained, assumes no token-renaming symmetry at the terminal iterate, and replaces symmetry by explicit within-domain representation spread, seen-to-fresh alignment, collision, and optimization terms; a companion impossibility theorem shows why no uniform result can hold for completely unconstrained unseen embedding rows.
Theorem Let an arbitrary training algorithm return a terminal feature map $ \Psi_T:\mathcal X\longrightarrow\mathcal H, \ K_T(x,x')=\langle\Psi_T(x),\Psi_T(x')\rangle . $ The map may depend on the complete training sample and on the concrete token names. Assume only the following.
(A1) Bounded terminal features. For every training, test, and reference input used below, $ |\Psi_T(z)|^2\leq K_*<\infty. $
(A2) Template coverage. The training data are $ (X_i,Y_i,\tau(i)) $, where , , and every template is represented. Write .
(A3) Reference geometry, not symmetry. Choose fixed seen-domain feature centers and fresh-domain feature centers , independently of the labels, with norms at most . Define $ N_{bc}=\langle u_b,u_c\rangle, \ R_{ab}=\langle v_a,u_b\rangle, $ and assume the finite nondegeneracy condition . No equality of and , and no permutation invariance of , is assumed.
(A4) Geometric defects definitions. Let , , and be any predeclared exception masks; the original collision indicators are one choice, while setting every mask to zero gives an all-pairs result. For a fresh test point of template , define
$ \varepsilon_{\mbox{ss}}= \max_{\substack{i\neq j:,C_{ij}=0}} \bigl|K_T(X_i,X_j)-N_{\tau(i),\tau(j)}\bigr|, $
An empty maximum is defined as zero. Set $ d_{\max}=\max_i\sum_{j\neq i}C_{ij}, \ d_0=\sum_i C_{0i}. $ Thus the theorem does not assume that these defects are small; it states exactly how large defects degrade the fresh margin.
(A5) Terminal head. Let
and define the fresh reference score $ S_a^f=e_a^\top RN^{-1}g^s. $ Either refit the ridge-logistic head to the terminal features, or let the returned head $\widetilde w_T $ satisfy $ |\nabla J_T(\widetilde w_T)|\leq\eta_{\mathrm{head}}, $ where
Then, for ),
Moreover, with $ \tau_a = \left|e_a^\top(R-N)N^{-1}g^s\right|, $ we have the margin decomposition
Hence
The existing small-ridge quotient-margin theorem in the submission supplies the left-hand margin ; the new result identifies the additional price of representation learning. Exact token symmetry is only the special case in which and the nonexceptional defects vanish.
Explicit trainable-weight rates. The preceding theorem is not a relabeling of the problem. Suppose, for example, that the trained body is locally Lipschitz in its embedded input: $ | F_{\Theta_T}(Z)-F_{\Theta_T}(Z') | $ $ \leq $ $ L_T \ |Z-Z'|_F,$
where is bounded by the terminal spectral norms of the attention and MLP maps. Suppose each template contains at most wildcard occurrences, seen token embeddings lie within radius of their role centers, fresh rows lie within radius of their fresh role centers, and corresponding seen and fresh role centers differ by at most . Taking and to be the terminal features of the corresponding center-filled templates gives
A direct expansion of inner products then yields
These are genuine rates in terminal weight norms and embedding dispersion; they do not assume a correct prediction or a positive fresh margin. They also expose the reviewer's proposed failure mode: because an unseen row may remain at initialization while seen rows move, can be large, in which case the theorem correctly predicts that fresh-symbol transfer may fail. Conversely, equivariant architectures, shared or interchangeable embedding parameterizations, embedding resets, or sufficiently small embedding drift make these terms small. Under exact renaming equivariance they are zero even though all shared weights are trained.
Crucial inequality and proof sketch. Let , , , , and
The proof turns on the deterministic entropy-dual stability inequality
This inequality contains no symmetry assumption. Its proof uses the Bernoulli-entropy dual, whose Hessian is bounded below by , to obtain $ |c_G-c_M|_2$
$\leq \frac{1} {4\lambda\sqrt n} |G-M|_{\mathrm{op}}. $
Uniqueness makes the minimizer for block constant; its first-order equations are exactly the quotient equations defining , and its cross-domain score is . The definitions above imply
$ \leq \delta_{\mathrm{diag}}+(n-1)\varepsilon_{\mathrm{ss}} +(2K_*-\varepsilon_{\mathrm{ss}})d_{\max}, $
and $ |k_x-m_a|2^2$ $\leq (n-d_0)\varepsilon{\mathrm{fs}}(x)^2+4K_*^2d_0. $
Substitution proves the score bound. The quotient first-order condition gives , which controls , while -strong convexity of gives the optimization term.
Why an unconditional theorem is impossible. For an untied input embedding row corresponding to a token absent from training, the data-loss gradient is identically zero. With rowwise quadratic decay the trajectories of all shared weights and all seen rows are therefore independent of the initial value of . Whenever the terminal fresh-score map is nonconstant on an equal-norm sphere one may choose two equal-norm unseen rows that generate the same complete training transcript and the same regularized objective path but different fresh scores. Thus no theorem based only on the observed training run can uniformly determine the prediction on an arbitrary unseen row. This negative result shows that the new assumptions are necessary rather than artifacts of the proof.
Subject to acceptance, we will incorporate the complete line-by-line proof of the new theorem, the Lipschitz/embedding-rate corollary, the optimization-residual argument, and the unused-row impossibility theorem into the revision.
Clarification of concepts
We also greatly appreciate the reviewer for careful reading and pointing out these ambiguities. Subject to acceptance, we will revise the introduction to define all notation more coherently and make the terminology align with the formal definitions in Section 2. We address each point below.
About informal theorem in Sec 1.1 We thank the reviewer for pointing this out. Our goal was to present the main message of the paper early in the introduction. However, we agree that the current presentation introduces several quantities before they have been intuitively explained, making the theorem unnecessarily difficult to parse. We also agree that some notations do not clearly match those which are formally defined in later sections, for example, actually corresponds to the budgets defined in Section 3, with detailed formula in Appendix C. In the camera-ready version, we will simplify the statement of the informal theorem, use consistent notation, and briefly define each quantity, so that readers can understand the high-level message without referring to later sections.
Reciting the definitions in Boix-Adsera We agree with the reviewer. We will restate their formal definition of key concepts including "wildcards" and "substitution maps".
About joint freshness We agree that this terminology should be introduced explicitly. Our intent was that "jointly fresh" means that every symbol appearing in the pair of examples is fresh relative to the training vocabulary, ensuring that the kernel depends only on the underlying templates through token symmetry. We agree that this interpretation is not made explicit where the term is first introduced.
About colored collision graph The color of each vertex is given by the corresponding template of the -th sample. That's why we include the template index mapping in the definition of collision graph. We will make this correspondence explicit in the figure caption.
Generally, we will revise the introduction to include a running example illustrating templates, substitution maps, fresh symbols, and the colored collision graph before presenting the formal definitions. We believe this will substantially improve readability without changing the technical content of the paper.
Comments on the paper
1 comment
Dear Reviewers,
Thank you again for the time and care you have put into your reviews. Please read through all of the author responses and consider whether they adequately address the concerns raised in your review. Where appropriate, please continue the discussion with the authors and update your assessment accordingly.
Thank you for your continued engagement and careful consideration.
AC
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
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.