Manuscript Offprint
arXiv:2610.07676Exact-Solution Volume and Length Generalization in Transformers
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
ABSTRACT
Research on transformer expressivity shows whether a transformer is capable of solving a given task, but gives little indication of whether the solution, if learned, is generalizable to longer input lengths. We study this question through normalized exact-solution volume (NESV): the fraction of a bounded parameter region that achieves an exact solution on every input of length n. For fixed-width, single-layer transformers with log n-scaled attention, we establish asymptotic bounds on NESV for four tasks: FIRST ( ), MAJORITY ( ), INDEX ( ), and PARITY (0). These results are consistent with previous empirical results: the faster the exact-solution volume decays with input length, the harder it is to length-generalize on that task. Looking deeper into INDEX, our volume analysis reveals two error sources that grow with n. Consequently, we study a transformer model that would structurally eliminate one of the terms, theoretically improving the NESV bound to , and empirically achieving 85% accuracy when tested at the training length, compared with the 60% accuracy of the original model. We conclude that volume analysis may be a useful approach to identify concrete sources of length sensitivity and thus provide insights into task-specific model refinements.
1 INTRODUCTION
Theoretical work on the expressivity of transformers (cf. the survey by Strobl et al., 2024) can be seen as a prelude to the study of learnability by transformers, since the existence of a transformer and parameters that solve a given problem is a prerequisite for a transformer to learn to solve the problem. But the existence of a single point in parameter space does not tell us much about whether that point is actually learnable. In this paper, following Kover et al. (2026), we ask a more difficult question: given that a problem is solvable by a transformer with some parameters, how large is the set of successful parameters? While Kover et al. (2026) arrived at somewhat pessimistic conclusions, we look at single-layer transformers with log n-scaling and find that, the volume of the set of successful parameters, as a function of the sequence length n, provides a way to quantify the difficulty of length-generalization in various problems.
The drive for looking beyond expressivity is also visible in experiments on simple sequence tasks. Chiang & Cholak (2022) construct exact transformers for FIRST (whether the first symbol is a 1) and PARITY (whether the number of 1's is odd), but report that standard training fails on PARITY, and that FIRST does not necessarily extrapolate to longer inputs without log n-scaling. Hahn & Rofin (2024) report that fitted PARITY solutions become much sharper as input length grows than fitted solutions for FIRST and MAJORITY (whether there are more 1's than 0's). Thus, tasks that are all expressible can behave differently under training and length extrapolation.
Such findings motivate examining the geometry of the parameter sets that implement a task. In related work on loss landscapes, Chiang et al. (2023) argue that the geometry and volume of low-loss regions can explain part of neural-network generalization without relying entirely on the implicit bias of gradient descent. We study a related exact-solution quantity at each finite input length. For a fixed task and architecture, we restrict the trainable parameters to a bounded region and measure the fraction that correctly solves the task on every input of length n. We call this quantity the normalized exact-solution volume (NESV). Its dependence on n describes how the full set of exact solutions changes as the
Table 1: NESV bounds and mean accuracy at the maximum training length for the four tasks. The models , , and are described in Section 2.2, while is described in Section 4.2.
| Task | Model | |||||||
|---|---|---|---|---|---|---|---|---|
| Positional () | General () | Sinusoidal () | Normalized () | |||||
| NESV | Acc. (%) | NESV | Acc. (%) | NESV | Acc. (%) | NESV | Acc. (%) | |
| FIRST | 100.0 | 0 | 51.12 | 0 | 55.06 | 100.0 | ||
| MAJORITY | — | 92.7 | 82.6 | 87.5 | — | 92.7 | ||
| INDEX | 59.6 | 0 | 51.9 | 0 | 50.2 | 85.1 | ||
| PARITY | 0 | — | 0 | — | 0 | — | 0 | — |
computation is required to handle longer inputs. With uniform sampling over the bounded parameter region, this is the probability of sampling an exact solution. Comparing this baseline with empirical training results can help distinguish the effects of initialization and optimization from the nature of the task and the selected transformer model in terms of learnability.
We consider four binary classification tasks on binary strings. FIRST returns the first input symbol, whereas INDEX returns the symbol at a position specified by one of the input tokens. MAJORITY returns whether more than half of input symbols are 1's, whereas PARITY returns whether the number of 1's is odd. We refer to the first pair as positional tasks, and the second pair as counting tasks.
We conduct our analyses on the simplest models suited to solve the corresponding problems. In all cases, we only consider single-layer transformers. For the positional tasks, we use a model with positional encoding where the Query and Key maps only depend on token positions and the Value map only depends on the tokens themselves (following the form of the construction of Bhattamishra et al. (2024)). For the counting tasks, the positions of the tokens are irrelevant, so we primarily use a model without positional encoding. We also examined a model with sinusoidal positional encoding .
See Table 1 for a summary of the asymptotic bounds obtained with respect to input length . Under the positional model , the NESV for INDEX is , while FIRST has constant NESV. The sinusoidal model has volume 0 for both. Under the position-free model , the NESV for MAJORITY is . Under the sinusoidal model , the NESV for MAJORITY is instead . PARITY has a zero NESV whenever for both models, being the width of the transformer. This is a direct consequence of the standard one-dimensional capacity of shallow ReLU networks (Arora et al., 2018) in the finite-length setting, and is consistent with the broader result that no one-layer, one-head transformer computes PARITY across all lengths (Kozachinskiy et al., 2026b).
We train those tasks under the same protocol. The empirical results are in line with our NESV analysis: the task-model pair whose NESV shrinks faster as grows shows worse length generalization. The only counterexample was that, under the general sinusoidal model, MAJORITY trains as well as under the position-free model , although the former's volume shrinks faster with .
Among the tasks we examine, INDEX demonstrates particularly bad length generalization (60% average accuracy at ten times training length) despite being expressible (Kozachinskiy et al., 2026a). Our NESV analysis reveals the underlying mechanisms. Exact retrieval of a designated position requires that position to receive enough attention, so its attention score must remain within a constant of the maximum attention score. Expressing the difference in attention scores between neighboring positions as a function of reveals two key error components, one proportional to and another proportional to , which are the sources of failing length generalization.
Guided by this analysis, we modify the model so that the error term proportional to no longer grows with input length. This is called the normalized positional model. The NESV improves from to . In our experiments, the modified model also generalizes substantially better on INDEX, achieving an average accuracy of percent at ten times the training length.
Taken together, the results show that expressivity alone can conceal qualitatively different parameter-space behavior. Volume analysis, on the other hand, may offer another useful tool to further identify the computational constraints responsible for learning behaviors and offer insight for task-specific model refinements.
2.1 TASKS AND EXACT-SOLUTION VOLUME
For , write and let . We study
For INDEX, the tokens , which we call data tokens, are followed by a single token, which we call the index token, encoding . We refer to this as right-hand sequence INDEXing. For the other tasks, there is an index token for consistency's sake, but it is fixed.
Definition 1 (Normalized exact-solution volume, NESV). For a task T and transformer model A, let be the parameters for which the output is strictly correct on every length-n input, and on every index k. For a fixed parameter bound , define
Equivalently, (1) is the probability of obtaining a correct solution when each scalar parameter is sampled independently and uniformly from . Unless stated otherwise, and the hidden width of the FFNN, , are fixed as grows. Throughout, log denotes the natural logarithm; and denote the Euclidean and maximum-coordinate norms. Throughout, and the constants implicit in the subscripted asymptotic notation such as may depend on and , but never on ; may change from line to line.
2.2 TRANSFORMER MODELS
We consider only single-layer transformers. Let denote the -th data token and let denote the index token. The query, key, and value maps have the form , , . Writing , , , the attention output is
The log n factor was proposed by Chiang & Cholak (2022) and Nakanishi (2025) and has been used in practice in Qwen (Bai et al., 2023). Chen et al. (2026) provide additional theoretical justification for this choice. In this paper, this choice is natural since we study positional tasks such as INDEX, where attention must continue to select a particular position as the number of competing positions grows with the input length. We omit the factor in conventional log n scaling because d is constant in n and does not affect the asymptotic bounds in n.
The self-attention is followed by a feed-forward network (FFNN) classifier with hidden width h:
where , , , .
The two coordinates of are indexed by the labels , and the predicted label is . When the input needs to be explicit, we write and .
We do not use residual connections or layer normalization. Adding them could alter the size and geometry of the exact-solution set; we leave this extension for future work.
In this paper, we consider four models. We describe three of them here; the fourth, , we leave for Section 4.2.
In the general model , the data tokens are , and the index token is . The maps are unrestricted affine maps, so , , and . So has trainable scalar parameters.
We also examined a model, , with a sinusoidal positional encoding .
For the positional tasks, we use the positional model . The data token at position j and the index token encoding k are
(where is the two-dimensional zero vector). For FIRST, the index is fixed at . For INDEX, the index is supplied as part of the input. Because and grow without bound in the input length, allowing them to propagate through the network would like lead to instability; positional-encoding choices are known to strongly affect length extrapolation (Kazemnejad et al., 2023). Accordingly, we constrain the model to have the form of the index-lookup construction of Bhattamishra et al. (2024):
where , (and is the zero matrix). This model has trainable scalar parameters.
3 NESV BOUNDS AND LENGTH GENERALIZATION
We first establish the volume bounds for the four tasks and then compare such results with those of length-generalization experiments.
3.1 MAIN RESULT
Theorem 1 (NESV bounds). Fix and . As ,
(4)
n odd
(6)
Proof sketch. For FIRST, one can choose parameters such that the attention score decreases quadratically away from position one. A fixed neighborhood of these parameters preserves that decrease, and the resulting concentration of attention lets the classifier return the first symbol for all sufficiently large lengths. The neighborhood does not shrink with n, thus ensuring a constant NESV bound.
However, the same argument cannot be used for INDEX, because the attention score must peak at for every possible , and small errors that are harmless at one position can be amplified at another. We examine the two relevant error sources in Section 4.
In the position-free model , a word is represented only by its number of 1's. For MAJORITY, the output changes only once, between counts and . These counts differ by just one, so the interval that separates them narrows as n increases. Consequently, placing the decision boundary between them requires increasingly precise parameter choice.
For PARITY, by contrast, every increment in the count must flip the output. A fixed number of hidden ReLU units cannot provide arbitrarily many flips in output. The upper bound of zero, meaning that PARITY is not solvable by the class of transformers considered here, is consistent with previous theoretical results (Kozachinskiy et al., 2026b) and experiments (Chiang & Cholak, 2022; Hahn & Rofin, 2024).
The complete proofs of the four bounds, including the technical details omitted from the INDEX proof sketch in Section 4.1, are given in Appendix A.
For detailed results related to the sinusoidal model , see Appendix C.
3.2 EXPERIMENT
To compare these bounds with empirical results, we train the FIRST, INDEX, and MAJORITY models with hidden width . We use 20 random seeds per task and draw a fresh batch at each update, sampling its length uniformly from ; for MAJORITY, we use only odd lengths. The main results use . Checkpoints are selected using validation data at length , without inspecting longer inputs, and tested on random examples at lengths up to 511. Additional experiments on , which give similar results, are in Appendix D.
Table 1 shows that FIRST remains accurate at the longest test length (under ), MAJORITY retains substantial accuracy (under ), and INDEX falls much closer to chance (under ). These observations agree with the ranking of the three volume bounds.
We found the results of INDEX particularly interesting. Despite the task being expressible and learnable on lengths up to 51, it showed poor length generalization, much worse than that of MAJORITY. We take a closer look at this task in the next section.
4 THE INDEX TASK
We first revisit the volume argument from the previous section, to identify the parameter combinations responsible for the n-dependent decay. We then modify the model to control one of these combinations structurally and compare the resulting theoretical and empirical behavior.
4.1 LENGTH-SENSITIVE COMPONENTS OF THE ATTENTION SCORE
Recall that, in the positional model . The attention score is
We compare the scores at position and position . The expansion will produce the following quantities used repeatedly in later proofs, so we introduce some notations for future convenience.
Now consider position . The score gap of this position is
We want this gap to be negative. The coefficient controls the curvature of the score around the indexed position, while measures its first-order drift and therefore whether the score remains centered at ; we want it to be zero. Because and are multiplied by and , small errors in these parameter combinations can be amplified at large (i.e., at large ).
4.1.1 SKETCH OF LOWER BOUND
See Section A.2.1 for the full proof of the lower bound.
Let and consider the solution (which we call the center):
We want to find a region around the center that still solves the problem. The volume of this region will serve as our lower bound. At this center, , , and the score gap is
In a sufficiently small neighborhood of the center, we may restrict
while allowing , , , and (the second coordinates of and , resp.) to vary over fixed-width intervals independent of . Every parameter choice in this region then satisfies for every and every nonzero such that . Under the log attention scale, the total attention outside the indexed position then tends to zero as uniformly in . Hence, for all sufficiently large , the indexed position receives at least a fixed fraction of the total attention, uniformly over all inputs and indexes. We may then restrict and to fixed-size neighborhoods, independent of , such that, for some constant independent of , for every input . To produce a exact solution, only the width of the interval and need to depend on . Therefore the constructed set of exact solutions has normalized volume
4.1.2 SKETCH OF UPPER BOUND
See Section A.2.2 for the full proof of the upper bound.
For each indexed position , compare a constant word with a word that differs from it only at position . These two inputs must be assigned different labels. We consider two cases. Let . In any correct solution, we will have , but if , we call the solution small-margin; otherwise, we call it large-margin.
Take any one of the inequalities ; there are 4n such inequalities in total. Fix arbitrary values of , and . As varies, the margin of the inequality varies with slope one. To satisfy , needs to lie in an interval of length . Thus the set of small-margin solutions has normalized volume at most .
For every large-margin solution, changing only the symbol at position from to must change the predicted label from to . By the definition of a large-margin solution, for each of the two words in this comparison, . Since the , viewed as a function of the attention output is Lipschitz, this is impossible if the attention assigned to position is too small. Hence the indexed position receives at least an inverse polynomial amount of attention. The softmax formula in (2) then implies that lies within a constant of the maximum score. Comparing it with the two neighboring scores in (10) gives , where is independent of . Since every coordinate of lies in , both and are bounded independently of . Hence, for , , and thus . Let . Since , we have . Because each term on the left is and , this gives . Moreover, . Using in this identity gives . Repeating the same argument gives
We used the fact
whenever are sufficiently small (for detailed proof see Section A.2.2, Lemma 3). Apply this fact to (15) and adding the small-margin volume would give the upper bound .


Figure 1: Scale-normalized drift coefficients and mean OOD accuracy for trained positional INDEX models. Markers indicate the maximum training length N.
4.1.3 EXPERIMENTAL ANALYSIS
We next check whether and identified by the volume proof track the behavior of trained models. In (10), controls the error term whose effect grows quadratically with , while controls the error term whose effect grows linearly with . For a model trained up to maximum length , we therefore consider the quantities and , allowing models trained at different maximum lengths to be comparable. Across the 100 positional models trained at five maximum lengths, smaller values of both quantities are associated with higher mean accuracy on unseen lengths; see Fig. 1. Ranking the models separately within each maximum training length gives correlations of for and for . Both have under permutation tests that preserve the five training-length groups. The training and evaluation protocol is given in Sections D.2 and D.3, and the coefficient analysis is detailed in Section D.4.
The above analysis suggests a direct architectural change: instead of relying on training to place two free coefficients inside shrinking intervals, control one of the length-growing error terms through the model itself.
4.2 THE NORMALIZED MODEL
We introduce a modified positional model, denoted . It uses the same input vectors, value map, ReLU classifier, and trainable positional parameters as . We split the computation of the attention score into two channels: a linear channel that does not depend on the coordinate of the keys' positional encoding, and a quadratic channel that depends only on the coordinate. In the quadratic channel, we modify the queries as follows. Define the fixed smooth map
The linear and quadratic positional channels are
Thus the linear channel uses the full query , whereas the quadratic channel applies F to the index-dependent contribution ak. The attention score is
The attention weights are obtained by applying the same log n-scaled softmax to (19); the values and the one-hidden-layer ReLU classifier are unchanged. The normalization introduces no new trainable parameters, so has the same parameter dimension and uses the same as .
This modification could be applied to a general transformer by excluding from the position encoding at position but adding an additional term directly into the attention score, with f being a scalar-valued function whose output remains bounded. We leave exploration of this more general setting for future work.
The map is approximately the identity near the origin, but its output has norm strictly smaller than one. Consequently, the component of the query that depends on and is multiplied with no longer grows linearly with . To make this precise, suppose first that and write . Retaining and from (9), define
Then the modified quadratic and linear coefficients are
Thus,
Moreover,
Thus the drift in (10) is replaced by a linear term and a bounded error . Only the coefficient remains to be confined to an interval of width .
Theorem 2 (NESV of INDEX under ). For and .
Proof. The proof follows the same strategy as that of the INDEX bounds for the positional model in Section 4.1. The full proof is given in Appendix B.
Compared with the original positional model, selective normalization removes one shrinking direction from the volume calculation. In , the two effective constraints have widths and ; in , the saturation of the quadratic query channel leaves only the constraint. The improvement from to therefore follows from the same score-level mechanism identified by the original proof.
4.3 LENGTH-GENERALIZATION EXPERIMENTS
We train and under the same protocol, using paired seeds, the same training batches, and identical initial values for all parameters shared by the two models. The main comparison uses classifier width , maximum training length , and 20 seeds.
As shown in Fig. 2, the original model degrades rapidly beyond the training range, whereas the selectively normalized model retains substantially higher accuracy. At length 511, approximately ten times the maximum training length, mean accuracy increases from 60% for to approximately 85% for . Experiments with maximum training lengths show similar results and are reported in Section D.5.
Taken together, the coefficient analysis and the architectural intervention give two complementary forms of evidence. The original volume proof identifies the parameter combinations whose effects grow with the index k, and those combinations are associated with the behavior of trained models. Selectively normalizing the quadratic query channel removes the faster-growing contribution, enlarges the exact-solution volume from to , and improves extrapolation in the model for which the volume calculation is carried out.
5 RELATED WORK
The INDEX task has been studied many times before. Bhattamishra et al. (2024) give an efficient one-layer construction in which the data appear before the indexed INDEX, as in our right-hand

Figure 2: Length generalization on INDEX for the positional and models trained up to N = 51. Shading shows 95% bootstrap confidence intervals.
INDEX task. This differs from left-hand INDEXing, where the INDEX appears before the data and the answer is produced later (Kozachinskiy et al., 2025; 2026a). One-layer constructions for related right-hand function-evaluation problems are also studied by Strobl et al. (2025).
A line of work related to our normalized model controls attention by normalizing query-key interactions. QKNorm -normalizes complete query and key vectors and learns the attention scale (Henry et al., 2020), while scaled cosine attention likewise removes dependence on their magnitudes (Liu et al., 2022). Separately, approaches to length extrapolation often modify the positional contribution to attention, for example by adding distance-dependent score biases (Press et al., 2022) or by designing relative position encoding to improve attention resolution beyond the training lengths (Sun et al., 2023). Our , on the other hand, does not normalize the full query or key vectors, nor the quadratic positional coordinate . Instead, it applies a fixed smooth bounded map to the index-dependent query component in the quadratic positional channel.
Another related line of work studies which functions occupy large or stable regions of transformer parameter space. Hahn & Rofin (2024) connect Boolean sensitivity to transformer norms and perturbation behavior, while Kover et al. (2026) study the parameter-space geometry of transformers computing Boolean functions. Empirical work on simplicity bias likewise suggests that the parameter-to-function map favors some Boolean functions over others (Bhattamishra et al., 2023). Our volume measure tracks how volume changes with sequence length, rather than assigning a single complexity or sensitivity measure to the target task. For INDEX, such analysis not only shows that the volume decreases with longer input lengths, but also isolates the sources of such shrinkage.
6 DISCUSSION AND LIMITATIONS
Initialization and optimization Parameter-space volume depends on the distribution placed on the parameters. Equation (1) assumes a uniform distribution over a box of size 2B in the raw coordinates. But initialization and optimization can concentrate strongly on particular parts of parameter space, so differences in exact-solution volume might not translate exactly into differences in accuracy. Tightening the correspondence would therefore require combining the present analysis with the distributions over parameters induced by initialization and optimization.
Depth Our theoretical results concern fixed-width, one-layer, one-head transformers. This restriction can matter qualitatively. Bhattamishra et al. (2024) show examples where two-layer transformers of logarithmic size solve problems for which one-layer transformers require linear size. The parameter constraints governing length generalization may therefore change substantially with depth, and extending the volume analysis to deeper transformers is an important next step.
7 CONCLUSION
Parameter-space volume is useful not only for measuring how exact solutions change with input length, but also for revealing why they change. On the INDEX task, our volume analysis isolates the length-sensitive components, suggesting a modification to the model itself that improves length extrapolation. This suggests a broader use of volume analysis as a diagnostic for transformer model refinement, especially task-specific ones.
REPRODUCIBILITY STATEMENT
The baseline architectures, parameter prior, and strict-correctness criterion are defined in Section 2. The architecture is defined in Section 4.2, and the fixed-sinusoidal MAJORITY model is defined in Section C.1. The complete volume arguments, experimental protocol, checkpoint-selection rule, evaluation-bank construction, and supplementary results are presented in the appendix.
AI USE STATEMENT
In this work, we used generative AI tools to aid literature exploration, assist in the writing of proofs (prose editing, LaTeX preparation, proofreading), create or modify scientific figures, and edit code (for experiments). We have not used generative AI tools to develop theoretical models or conceptual frameworks, formulate mathematical claims, provide critical ingredients for proving mathematical claims, propose or refine hypotheses, design or provide feedback on research methodology or experiments, or assist with translation. We have reviewed all AI-assisted work and take responsibility for the final content of this work, including text, claims or artifacts produced with the aid of generative AI.
REFERENCES
Raman Arora, Amitabh Basu, Poorya Mianjy, and Anirbit Mukherjee. Understanding deep neural networks with rectified linear units. In Proceedings of the International Conference on Learning Representations (ICLR), 2018. URL https://openreview.net/pdf?id=B1J_rgWRW.
Jinze Bai, Shuai Bai, Yunfei Chu, Zeyu Cui, Kai Dang, Xiaodong Deng, Yang Fan, Wenbin Ge, Yu Han, Fei Huang, Binyuan Hui, Luo Ji, Mei Li, Junyang Lin, Runji Lin, Dayiheng Liu, Gao Liu, Chengqiang Lu, Keming Lu, Jianxin Ma, Rui Men, Xingzhang Ren, Xuancheng Ren, Chuanqi Tan, Sinan Tan, Jianhong Tu, Peng Wang, Shijie Wang, Wei Wang, Shengguang Wu, Benfeng Xu, Jin Xu, An Yang, Hao Yang, Jian Yang, Shusheng Yang, Yang Yao, Bowen Yu, Hongyi Yuan, Zheng Yuan, Jianwei Zhang, Xingxuan Zhang, Yichang Zhang, Zhenru Zhang, Chang Zhou, Jingren Zhou, Xiaohuan Zhou, and Tianhang Zhu. Qwen technical report, 2023. URL https://arxiv.org/abs/2309.16609.
Satwik Bhattamishra, Arkil Patel, Varun Kanade, and Phil Blunsom. Simplicity bias in transformers and their ability to learn sparse Boolean functions. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics, pp. 5767–5791, 2023. doi:10.18653/v1/2023.acl-long.317.
Satwik Bhattamishra, Michael Hahn, Phil Blunsom, and Varun Kanade. Separations in the representational capabilities of transformers and recurrent architectures. In Advances in Neural Information Processing Systems, volume 37, 2024. doi:10.52202/079017-1135.
Shi Chen, Zhengjiang Lin, Yury Polyanskiy, and Philippe Rigollet. Critical attention scaling in long-context transformers. In Proceedings of the International Conference on Learning Representations (ICLR), 2026. URL https://openreview.net/forum?id=7SLtElfqCW.
David Chiang and Peter Cholak. Overcoming a theoretical limitation of self-attention. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics, pp. 7654–7664, 2022. doi:10.18653/v1/2022.acl-long.527.
Ping-yeh Chiang, Renkun Ni, David Yu Miller, Arpit Bansal, Jonas Geiping, Micah Goldblum, and Tom Goldstein. Loss landscapes are all you need: Neural network generalization can be explained without the implicit bias of gradient descent. In Proceedings of the International Conference on Learning Representations (ICLR), 2023. URL https://openreview.net/forum?id=QC10RmRbZy9.
Michael Hahn and Mark Rofin. Why are sensitive functions hard for transformers? In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics, pp. 14973–15008, 2024. doi:10.18653/v1/2024.acl-long.800.
Alex Henry, Prudhvi Raj Dachapally, Shubham Shantaram Pawar, and Yuxuan Chen. Query-key normalization for transformers. In Findings of the Association for Computational Linguistics: EMNLP 2020, pp. 4246–4253, 2020. doi:10.18653/v1/2020.findings-emnlp.379.
Amirhossein Kazemnejad, Inkit Padhi, Karthikeyan Natesan Ramamurthy, Payel Das, and Siva Reddy. The impact of positional encoding on length generalization in transformers. In Advances in Neural Information Processing Systems, volume 36, pp. 24892–24928, 2023. URL https://proceedings.neurips.cc/paper_files/paper/2023/hash/4e85362c02172c0c6567ce593122d31c-Abstract-Conference.html.
Blanka Kover, Alexandra Butoi, Anej Svete, Michael Hahn, and Ryan Cotterell. Understanding the parameter space geometry of transformers encoding boolean functions. In Proceedings of the International Conference on Machine Learning (ICML), 2026. URL https://arxiv.org/pdf/2606.08768.
Alexander Kozachinskiy, Felipe Urrutia, Hector Orellana, Tomasz Steifer, German Pizarro, Matias Fuentes, Francisco Meza Vasquez, Cristian Buc Calderon, and Cristobal Rojas. Strassen attention, split VC dimension and compositionality in transformers. In Advances in Neural Information Processing Systems, volume 38, pp. 10718–10749, 2025. doi:10.52202/085713-0327.
Alexander Kozachinskiy, Vicente Opazo, and Felipe Urrutia. Indexing: The beginning and the end, 2026a. URL https://arxiv.org/abs/2607.22361.
Alexander Kozachinskiy, Tomasz Steifer, and Przemyslaw Walega. Parity, sensitivity, and transformers, 2026b. URL https://arxiv.org/abs/2602.05896.
Ze Liu, Han Hu, Yutong Lin, Zhuliang Yao, Zhenda Xie, Yixuan Wei, Jia Ning, Yue Cao, Zheng Zhang, Li Dong, Furu Wei, and Baining Guo. Swin Transformer V2: Scaling up capacity and resolution. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 12009–12019, 2022. doi:10.1109/CVPR52688.2022.01170.
Ken M. Nakanishi. Scalable-softmax is superior for attention, 2025. URL https://arxiv.org/abs/2501.19399.
Ofir Press, Noah A. Smith, and Mike Lewis. Train short, test long: Attention with linear biases enables input length extrapolation. In Proceedings of the International Conference on Learning Representations (ICLR), 2022. URL https://openreview.net/forum?id=R8sQPpGCv0.
Lena Strobl, William Merrill, Gail Weiss, David Chiang, and Dana Angluin. What formal languages can transformers express? A survey. Transactions of the Association for Computational Linguistics, 12:543–561, 2024. doi:10.1162/tacl_a_00663.
Lena Strobl, Dana Angluin, and Robert Frank. Concise one-layer transformers can do function evaluation (sometimes), 2025. URL https://arxiv.org/abs/2503.22076.
Yutao Sun, Li Dong, Barun Patra, Shuming Ma, Shaohan Huang, Alon Benhaim, Vishrav Chaudhary, Xia Song, and Furu Wei. A length-extrapolatable transformer. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 14590–14604, 2023. doi:10.18653/v1/2023.acl-long.816.
A PROOFS OF THE BASELINE NESV BOUNDS
This appendix proves the four baseline bounds in Theorem 1.
A.1 FIRST
The lower bound constructs fixed neighborhoods of parameters independent of input length that gives exact solutions to the task. The upper bound follows from symmetry between the two labels.
Proof of the FIRST bound in Theorem 1. Choose and set
with and . We call this set of the center. Put , , . At the center, and . By continuity, there is a fixed positive-volume neighborhood of on which
For with , the key bias cancels and
(27)
Consequently, throughout this fixed positional-parameter neighborhood,
Restrict to a fixed neighborhood on which
For all sufficiently large , (28) gives . If and , the total attention masses on the two symbols satisfy
Convexity of the value perturbation in (29) therefore gives
Choose , , , as follows. Take the first two rows of to be and , with both corresponding biases equal to . Set every remaining row of to zero and its bias to . In , give output row zero coefficient on hidden unit zero and output row one coefficient on hidden unit one, with all other entries zero; set . The first two hidden units are active throughout a sufficiently small neighborhood of (29), whereas the remaining units are inactive, and
Thus (31) gives a correct-logit margin of at least that at the center. Allow to vary over a sufficiently small fixed neighborhood of 0. This does not affect the attention weights, since is added to every attention score. Together with the fixed neighborhoods chosen above for , , and , this gives a set of normalized volume , independent of .
For the upper bound, swap the two rows of and the two entries of , leaving every other coordinate unchanged. This is a measure-preserving involution of the raw parameter cube. It maps the exact solutions of FIRST to the exact solutions of the complementary task . The two exact-solution sets are disjoint, so each occupies at most one half of the cube. In particular, the NESV is .
A.2 INDEX
We use the notation from Section 4.1. Thus the attention score at position j is
and
For , the score gap at position is
where
A.2.1 LOWER BOUND
Choose and consider the solution (which we call the center):
At this point,
and hence
To obtain a positive-volume family around this point, consider the local coordinate map
We call the untransformed coordinates and the transformed coordinates. For fixed , the Jacobian of is
The determinant is nonzero at (37). The inverse function theorem therefore gives a fixed neighborhood on which is one-to-one and the Jacobians of and are bounded. Hence there are constants , independent of , such that every measurable set in the transformed-coordinate neighborhood satisfies .
Restrict
while restricting the remaining transformed coordinates to fixed-width intervals independent of n sufficiently close to the center that
For every , these conditions imply
Indeed, the contribution of to is at most , and the three contributions to are bounded by , , and , respectively. Therefore, for every nonzero integer with ,
Under the attention scale, the total attention outside the indexed position is consequently at most
(46) which tends to zero as uniformly in the index k and over all positional parameters in the local neighborhood above satisfying (42) and (43).
Set , , and take the parameter values
For all sufficiently large , (46) makes the indexed position receive at least of the total attention. If , the coordinate of the attention output exceeds the other coordinate by at least , even if every other token has symbol . With the chosen parameters, the first two hidden units are active and, for , the -th unit outputs . The corresponding row of multiplies this quantity by , so . The common term cancels between the two logits, and therefore . This margin is uniform over all inputs and indexes, so there exists fixed neighborhoods independent of of , , , , , that produce exact solutions. The key bias may also vary over a fixed neighborhood because it cancels from the attention weights.
The two intervals in (42) contribute normalized widths of orders and , whereas all other coordinates vary over intervals of width independent of n. Therefore
A.2.2 UPPER BOUND
For each indexed position , compare a constant word with a word that differs from it only at position . These two inputs must be assigned different labels. We consider two cases. Let . In any correct solution, we will have , but if , we call the solution small-margin; otherwise, we call it large-margin.
Take any one of the inequalities ; there are 4n such inequalities in total. Fix arbitrary values of , and . As varies, the margin of the inequality varies with slope one. To satisfy , needs to lie in an interval of length . Thus the set of small-margin solutions has normalized volume at most .
For every large-margin solution, changing only the symbol at position from to must change the predicted label from to . By the definition of a large-margin solution, for each of the two words in this comparison, . Since the , viewed as a function of the attention output is Lipschitz, this is impossible if the attention assigned to position is too small. To see this, let be the constant- word and let be the word obtained by changing only position to . Because the query and key maps read only positional coordinates, the two words have the same attention weights. Their attention outputs therefore satisfy
SO
Moreover, ReLU is 1-Lipschitz, each row of has -norm at most 2B, and the difference between rows and of has -norm at most 2hB. Hence
(50)
The first difference is greater than and the second is less than , so
Hence the indexed position receives at least an inverse polynomial amount of attention. The softmax formula in (2) then implies that lies within a constant of the maximum score. Indeed,
(52) and therefore
for all sufficiently large , where is independent of . For every interior index , comparing with the two neighboring scores in (10) gives
and
Thus
where is independent of . Since every coordinate of lies in , both and are bounded independently of . Hence, for , , and thus . Let . Since , we have . Because each term on the left is and , this gives . Moreover, . Using in this identity gives . These preliminary bounds make
(57)
uniformly for . Equation (56) then gives . Repeating the same argument, now using these improved bounds, gives
We used the fact whenever are sufficiently small.
Lemma 3 (Joint two-slab estimate). Let be independent and uniform on . There are constants , depending only on , such that, whenever ,
Proof. Scaling changes only the constant, so take . Fix , and set
The second constraint defines a slab in with normal vector . One coordinate of this vector has magnitude at least a constant multiple of , so, after fixing the other three coordinates, the allowed fraction of the remaining coordinate is at most
To estimate the first constraint at fixed radius . Write
where . If is the angle between and , then
For fixed , the fraction of angle satisfying the first constraint is at most
The angular density contains the factor , therefore integrating over bounds the angular fraction by
(65) because when , . The radial volume element for is proportional to . Enlarging the cube to a fixed ball and combining (61) and (65), the required probability is at most a constant times
Assume . If , split the integral at and to obtain
(67)
If , split instead at and . Rescaling restores and proves the lemma.
Applying the above lemma to (58), the large-margin solutions have normalized volume : the entries of are independent parameter coordinates, and all remaining coordinates integrate out. Adding the small-margin volume gives
Together with (47), this proves the INDEX claim in Theorem 1.
A.3 MAJORITY
In the position-free model , every input with the same number of ones produces the same attention output. The proof therefore reduces MAJORITY to a one-dimensional sequence indexed by the count and measures how much of the parameter space places the decision boundary between the two central counts. Let
and define the query-key score contrast
All zero tokens share one score and all one tokens share another, so the total attention mass on the one tokens and the attention output are exactly
Thus the inputs reduce to possible count levels. Throughout this subsection, write . For an attention scale and a score contrast , let
where . The counts and are the two adjacent levels at which the majority label changes.
Lemma 4 (Central attention gap). For ,
Moreover,
Proof. Substitute into (71) and subtract to obtain (73). Dividing its denominator by and using gives (74). The maximum is attained at . For the integral, set . Then
Therefore
For fixed values of all parameters except , exact correctness requires to place the decision threshold between the two central count levels. Define the bias-free logit difference
Lemma 5 (Output-bias fiber). Condition on every raw parameter except . The set of values of that can extend the conditioned coordinates to an exact MAJORITY solution has length at most
Proof. Correctness on the count-m and count- levels requires
Thus must lie in
whose length is when this difference is positive. ReLU is 1-Lipschitz, each row of has -norm at most 2B, and the difference between the two rows of has -norm at most 2hB. Hence is -Lipschitz in . Moreover, , so
Multiplying the two bounds proves the claim.
To average the fiber length over the query and key parameters, we use a uniform density bound for X.
Lemma 6 (Density of the score contrast). Under the uniform raw-cube measure, the random variable has a density satisfying
Proof. Write . Each coordinate of is the difference of two independent uniform variables and has triangular density bounded by . Conditional on , choose a coordinate with magnitude and condition on the other coordinate of . Scaling gives
Since is uniform on ,
Averaging proves the result.
By Fubini's theorem and Lemmas 4 to 6,
(87)
Since , this is .
For the matching lower bound, we need a positive mass of score contrasts on which the central gap is of order 1/n and a fixed-volume set of the remaining parameters that turns this gap into a correct bias interval.
Lemma 7 (Lower contrast mass). There is a constant such that, for all sufficiently large ,
Proof. Write and . Restrict to
These independent events have probabilities at least 1/4, 1/4, and 3/8. Conditional on them, the inequality
asks that lie in an interval of length at least , centered in . If , the interval lies in , where the triangular density of is at least . Hence
Taking proves the lemma.
Lemma 8 (Positive-volume monotone decoder family). There are constants and a set of values of of normalized volume at least such that the bias-free logit difference along is affine with derivative at least for all . For every parameter choice in this set, may vary over an interval of length at least
while preserving exact MAJORITY correctness.
Proof. Let and choose so that
Give one hidden unit first-layer row and bias , make every other hidden unit strictly inactive, and set the difference between output rows on the active hidden unit to . Set the other output-row differences and to zero. Along the value segment, define
For these parameter values,
The active pre-activation lies in , while every other pre-activation equals . A fixed open raw-coordinate box around these parameter values therefore preserves the activation pattern, keeps affine with derivative at least , and keeps inside . Take and let be the normalized volume of this box. For parameters in the box, the interval
has length at least and lies in the raw bias range. Since both and are increasing, every gives a negative logit difference and every gives a positive one. Thus all count levels are classified correctly.
On the event in (88), , so (74) gives .
Restrict the to the set in Lemma 8. The remaining bias interval then has normalized length . Multiplying this length by the contrast event and the fixed parameter box volume gives
Together with (87), this proves the MAJORITY claim in Theorem 1.
A.4 PARITY
For PARITY, the count reduction in (71) gives a sequence of points along the value segment on which the required label flips. The proof compares the resulting number of sign changes with the number of activation changes available to a one-hidden-layer ReLU classifier. If , then
Since every count-t attention output has the form , all such outputs lie on the line segment joining and . Parameterize this segment by , and define the difference between the two output logits along it by
This is a continuous piecewise-affine function of p, and each hidden preactivation can change sign at most once.
Proof of the PARITY bound in Theorem 1. If , every count level has the same attention output, so exact parity is impossible. Otherwise, exact parity makes alternate in sign. By continuity, for each , choose a zero . For each , the interval contains , where is nonzero. If no hidden pre-activation changed sign in this interval, the activation pattern would be fixed and would be affine there. An affine function that vanishes at both endpoints is identically zero, contradicting . Hence each of the disjoint intervals contains a point at which a hidden ReLU pre-activation changes sign. Since each hidden pre-activation changes sign at most once, this requires . Therefore the exact-solution set is empty whenever .
B PROOF OF THE INDEX BOUND
This appendix proves Theorem 2. Recall the fixed map
and the positional score
with and as in (9). Then,
Whenever ,
Since is collinear with a,
Moreover,
B.1 LOWER BOUND
Use the same positional center as in (37). At this point, is orthogonal to , and hence
Thus
and therefore,
Work in a fixed neighborhood of this center on which . The map is smooth there. Replace the raw coordinate by , keeping as the other coordinates. Since
the corresponding coordinate change is locally invertible, with Jacobian and inverse Jacobian bounded on a sufficiently small fixed neighborhood. Thus boxes in these transformed coordinates and their preimages in the original coordinates have volumes within fixed multiplicative constants, independent of n. Shrink the fixed intervals for the other transformed coordinates so that throughout the neighborhood
By (105), for every ,
Furthermore, (106) and (111) give
Here we used that .
Now restrict the only shrinking transformed coordinate by
For every , equations (111), (113), and (114) imply
Therefore, for every nonzero integer with ,
(116)
Under the log n attention scale, the total attention outside position k is at most
which tends to zero uniformly in and in the parameters in the neighborhood above. Thus the same fixed neighborhoods of used in the baseline INDEX lower bound preserve a positive logit difference for the correct label, and may vary over a fixed neighborhood because it cancels from the attention weights. The transformed coordinate varies over an interval of width , whereas vary over fixed-width intervals. Boundedness of the local Jacobian then gives
B.2 UPPER BOUND
Use the same 4n inequalities as in the original INDEX upper bound. The same output-bias argument shows that exact solutions for which one of these margins lies in have normalized volume . For every remaining exact solution, the indexed position receives at least attention in each constant-word/single-change comparison. Hence its score lies within a constant of the maximum score, uniformly in . Comparing the indexed position with its two neighbors in (104) gives
Since and the parameters are bounded, there exists a constant such that
It follows from (119) that
for another constant .
Split the raw parameter cube according to whether
Because consists of two independent raw coordinates, the normalized volume of this part is at most the area of a radius- disk divided by , and hence is . On its complement, take . For all sufficiently large , is interior and . By (106),
(123)
because . Boundedness also gives . Equation (121) at therefore forces
for .
Conditional on ,
so (124) defines a slab in the independent variable with normal . Choose a coordinate with and fix the other coordinate of . The allowed values of lie in an interval of length at most , up to a constant depending only on and . Thus the normalized volume is at most
Enlarging the square for a to a fixed-radius disk and integrating in polar coordinates on the complement of (122) gives
(127)
All remaining raw coordinates integrate out. Adding the small-a region and the small-margin region gives
Together with (118), this proves Theorem 2.
C FIXED SINUSOIDAL ENCODING ON MAJORITY
This appendix analyzes the fixed-frequency sinusoidal MAJORITY model used in the discussion.
C.1 MODEL AND MATCHED BOUND
Let be odd, let , and define
The frequency is fixed at one and is not a trainable coordinate. The query, key, and value maps are unrestricted affine maps from to , the attention multiplier is , and the output is the same width-h one-hidden-layer ReLU classifier as in Section 2. We denote this architecture by . All scalar parameters are bounded in .
Theorem 9 (Fixed-sinusoidal MAJORITY volume). For every fixed B > 0 and ,
Write the columns of and as
and define
(132)
The common key-bias and symbol-zero score contributions cancel, so the attention weights are
For , introduce the algebraic extensions
Then on the cube and on binary inputs.
C.2 THE NECESSARY POSITIONAL COMPENSATION
Let and . After multiplying the logit difference by the positive denominator , the resulting function is continuous and piecewise affine in . For an activation pattern , define
(136)
and
Lemma 10 (Positional compensation). Outside a set of raw-cube measure zero, every exact solution at a sufficiently large odd length has an activation pattern such that and
(138) while
The constants are uniform over the bounded raw parameter cube, including when and are arbitrarily small but nonzero.
Proof. Exclude first the finite union of sets on which one of the affine pieces defined below vanishes at ; each is null by slicing along . On activation pattern , the denominator-scaled logit difference is an affine function , where
Fix with . Preserving , , , and , one can move to a point with at most four fractional coordinates. Rounding those coordinates to words with respectively and ones and using exact correctness forces a zero of one affine piece within four coordinate changes. Applying this to the centrally symmetric convex body generated by and using the elementary convex-body slab bound yields, for some ,
where . The fixed phases are equidistributed because for each fixed nonzero integer . Applied to the sequence , the first inequality in (141) first bounds , then a compactness argument forces and to approach zero, and finally the first two discrete Fourier modes of the second-order Taylor expansion give
To return to the raw parameters, put and . Direct substitution gives
Since , (141) and (142) imply and . Hence , , and . Using proves (138), and the bound on proves (139).
C.3 VOLUME INTEGRATION
Proof of Theorem 9. For the upper bound, fix one of the finitely many activation patterns and condition on q, the two symbol key columns, and all value and classifier coordinates except , leaving the two positional key columns unconditioned. Each coordinate of (138) restricts one independent positional key column to a slab whose conditional normalized width is at most
The two columns use disjoint raw coordinates. After they are fixed, (139) restricts to an interval of normalized length . Summing over and integrating , whose density under the uniform square measure is proportional to , gives
(145)
For the lower bound, restrict the value and classifier coordinates to a fixed positive-volume open box on which the bias-free logit difference has the form for every attainable attention output, with constants and satisfying . Such a box is obtained from an interior center with , , , and one uniformly active hidden unit. Set
At this centered bias, the exact logit difference is
If and , a uniform first-order expansion of (147) gives with and . Therefore the numerator has the MAJORITY sign and magnitude bounded below by a positive constant, while ; an interval preserves strict correctness on every input.
It remains to measure a full-dimensional set satisfying these conditions. Restrict the query bias to
For sufficiently small , the symbol key columns may vary over their full raw squares while . Conditional on these choices and on the decoder box, the two coordinates of the compensation condition restrict one entry of each positional key column to an interval of length ; fixed-width restrictions on the other entries keep these intervals inside the raw cube. Their joint normalized mass is therefore , and the admissible output-bias interval contributes . Since the query-cone measure after integrating is a constant multiple of ,
(149)
Every restricted raw coordinate varies over an interval of positive width and every unrestricted coordinate integrates out, so this is a full-dimensional lower bound. Together with (145), it proves the theorem.
D EXPERIMENTAL DETAILS AND SELECTED ADDITIONAL RESULTS
This appendix specifies the experimental protocol used for the main-text comparisons and reports the additional results referenced in the discussion of sinusoidal positional encoding.
D.1 REPORTED MODELS AND BENCHMARK PROVENANCE
The baseline positional implementation is the model from Section 2, with quadratic positional coordinates , and the selectively normalized implementation is from Section 4.2. For the baseline MAJORITY experiment, we use the unrestricted affine NoPE implementation of . The additional sinusoidal MAJORITY control is the fixed-frequency general model defined in Section C.1.
We use the same 20 seeds, 2000–2019, at each maximum training length
Training and qualification did not have access to the test banks, and every newly trained checkpoint was selected and frozen before its test evaluation.
D.2 TRAINING, SELECTION, AND INITIALIZATION
Training uses Adam with learning rate , , , numerical stabilizer , no weight decay, batch size 256, and gradient-norm clipping at one. Each update uses a fresh batch of independent uniformly random bits. For INDEX, the index is sampled uniformly from the positions in the sampled sequence. For FIRST and INDEX, one data length is sampled uniformly from per batch. For MAJORITY, the sampled length is uniform over the odd integers in that range. Computation uses float64. At data length , attention scores are multiplied by , without an additional factor.
Every run is trained for at most 30,000 updates and is validated every 500 updates on a fixed bank of 1,000 examples at length N. Training stops after three consecutive perfect validations. The selected checkpoint maximizes validation accuracy; ties are resolved first by lower cross-entropy and then by the earlier update. No input longer than N is used in checkpoint selection.
For the and models, the vectors are initialized from centered normal distributions with standard deviations , , , , , respectively. Other parameters use Xavier-uniform initialization and their biases are zero. pairs use identical initial tensors and the same training streams. For and , content query/key blocks and the bounded sinusoidal positional blocks use Xavier-uniform initialization, while shared value, bias, and classifier blocks are copied from the paired seed.
D.3 EVALUATION BANKS, METRICS, AND UNCERTAINTY
For a maximum training length N, the common test grid is
At each test length, all seeds and model variants for the same task use the same saved bank of 1,000 examples. For FIRST, the first bit is exactly balanced and the remaining bits are random. For MAJORITY, 500 random strings are paired with their complements. For INDEX, each of 500 random string-query pairs is paired with the complemented string and the same query.
Test accuracy is the fraction correct on one saved bank. The longest-test statistic is the mean across the 20 seeds at . For coefficient analyses and other OOD summaries, the seed-level mean OOD accuracy is the equal-weight mean across the five test lengths strictly greater than N. Confidence intervals are pointwise percentile 95% intervals.
D.4 Coefficient Analysis
The coefficient analysis uses the 100 selected INDEX checkpoints on : 20 seeds at each of the five values of N in (150). For each checkpoint, we compute
directly from the learned parameters.
To avoid treating differences among the five training maxima as evidence for a coefficient association, we rank each coefficient magnitude and the seed-level mean OOD accuracy separately within each value of , and then pool the within- ranks. The resulting correlations are for and for . The two-sided permutation test uses 10,000 permutations and shuffles ranks only within the same value of ; both tests give .
D.5 SELECTED RESULTS ACROSS MAXIMUM TRAINING LENGTHS
Table 2 reports the longest-test results. Each entry is the mean percentage accuracy across 20 seeds, followed by its pointwise 95% seed-bootstrap interval.
D.6 SINUSOIDAL POSITIONAL ENCODING ON MAJORITY
Relevant results on the performance of compared to on MAJORITY is displayed in Table 3.
Table 2: Accuracy at the longest tested length . Entries are percentages, with pointwise seed-bootstrap intervals in parentheses.
| FIRST () | MAJORITY () | INDEX () | INDEX () | ||
|---|---|---|---|---|---|
| 11 | 111 | 100.0 (100.0–100.0) | 83.8 (78.0–89.4) | 57.2 (55.9–58.6) | 63.4 (62.7–64.1) |
| 21 | 211 | 100.0 (100.0–100.0) | 91.3 (86.2–95.3) | 55.2 (54.1–56.5) | 74.1 (68.8–79.9) |
| 31 | 311 | 100.0 (100.0–100.0) | 87.1 (82.6–91.5) | 59.2 (58.3–60.0) | 90.6 (85.6–95.4) |
| 41 | 411 | 100.0 (100.0–100.0) | 88.5 (84.2–92.2) | 55.1 (54.5–55.8) | 84.4 (78.1–90.6) |
| 51 | 511 | 100.0 (100.0–100.0) | 82.6 (77.6–87.5) | 59.6 (58.6–60.6) | 85.1 (80.2–90.1) |
Table 3: Mean OOD accuracy on MAJORITY for and general models. Entries are percentages, averaged equally over the five test lengths above , with confidence intervals in parentheses.
| NoPE General | Sinusoidal General | |
|---|---|---|
| 11 | 91.6 (88.1–95.0) | 95.3 (93.6–96.8) |
| 21 | 95.1 (91.8–97.6) | 93.8 (91.5–95.9) |
| 31 | 92.9 (90.0–95.6) | 91.2 (88.2–94.0) |
| 41 | 93.4 (90.6–95.8) | 91.5 (88.7–94.1) |
| 51 | 89.8 (86.2–92.9) | 92.9 (90.0–95.6) |
D.7 SANITY CHECKS FOR ON OTHER TASKS
We also compared to on FIRST and MAJORITY. For FIRST, both positional models achieve mean accuracy at for every in (150).
For our setup of MAJORITY, and are equivalent, hence producing same results for every seed.