Position Without Positional Embeddings: A Directional Mechanism in NoPE Transformers
Matan Avitan, Ido Nachum, Yanai Elazar, Yoav Goldberg
NeurIPS 2026
TL;DR. We identify a circuit that extracts position of tokens in NoPE Transformers, and show that trained models implement this circuit.
Abstract. Autoregressive Transformers without positional embeddings (NoPE) can recover absolute position. A common explanation is that the causal attention can create a position-dependent variance signal, but this ignores LayerNorm which removes per-token scale. We identify a two-block mechanism that encodes position in the attention weight on a shared beginning-of-sequence (BOS) token. Because BOS participates in every prefix, the first attention layer writes the BOS direction into every position. The first block’s MLP with its succeeding LayerNorm then makes the BOS share nearly constant across later tokens while keeping it distinct at BOS. In the second block, each additional token contributes roughly the same amount to the attention denominator, so the share of attention paid to BOS decreases monotonically and predictably with position. This weight follows k/(k + i) at position i, for a fixed k. The attention output mixes the BOS value with the values of later tokens. Projecting this mixture onto the BOS direction makes the weight readable by downstream layers. We verify the mechanism is not only theoretical but also emerges in trained NoPE transformer decoders, both when trained with a position-prediction loss and with a next-token-prediction language modeling loss. This is demonstrated by measurement and intervention-based experiments on three trained models.
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:45 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
Summary
This paper investigates how NoPE can recover absolute token positions. The authors identify a research gap in the literature and propose a five-step circuit mechanism to explain this phenomenon.
Strengths
- The paper successfully identifies theoretical gaps in existing explanations of emergent positionality.
- The authors move beyond purely observational probing by proposing a theoretically motivated approach.
Weaknesses (Addressed in Rebuttal)
- The approach is validated only on shallow toy models explicitly trained to predict position, severely limiting its practical relevance to actual language models.
- The submission lacks a necessary limitations section.
Summary of Authors' Response
During the rebuttal period, the authors provided additional experiments, further analysis, and a summary of the missing limitations section, which adequately addressed the major weaknesses mentioned above.
Summary of Key Reasons for Final Recommendation
The paper provides interesting insights into how Transformers can recover absolute position without explicit positional embeddings. While reviewers initially raised valid concerns, the authors' rebuttal fully addressed these weaknesses. The reviewers reached a consensus that the paper is of interest to the community and that the theoretical and empirical analysis is strong.
Final justification
The paper provides interesting insights into how Transformers can recover absolute position without explicit positional embeddings. While reviewers initially raised valid concerns, the authors' rebuttal fully addressed these weaknesses. The reviewers reached a consensus that the paper is of interest to the community and that the theoretical and empirical analysis is strong. Therefore, I recommend Accept (poster).
Read meta-review
Meta-review
Summary
This paper investigates how NoPE can recover absolute token positions. The authors identify a research gap in the literature and propose a five-step circuit mechanism to explain this phenomenon.
Strengths
- The paper successfully identifies theoretical gaps in existing explanations of emergent positionality.
- The authors move beyond purely observational probing by proposing a theoretically motivated approach.
Weaknesses (Addressed in Rebuttal)
- The approach is validated only on shallow toy models explicitly trained to predict position, severely limiting its practical relevance to actual language models.
- The submission lacks a necessary limitations section.
Summary of Authors' Response
During the rebuttal period, the authors provided additional experiments, further analysis, and a summary of the missing limitations section, which adequately addressed the major weaknesses mentioned above.
Summary of Key Reasons for Final Recommendation
The paper provides interesting insights into how Transformers can recover absolute position without explicit positional embeddings. While reviewers initially raised valid concerns, the authors' rebuttal fully addressed these weaknesses. The reviewers reached a consensus that the paper is of interest to the community and that the theoretical and empirical analysis is strong.
Final justification
The paper provides interesting insights into how Transformers can recover absolute position without explicit positional embeddings. While reviewers initially raised valid concerns, the authors' rebuttal fully addressed these weaknesses. The reviewers reached a consensus that the paper is of interest to the community and that the theoretical and empirical analysis is strong. Therefore, I recommend Accept (poster).
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The authors study how Transformers without explicit positional embeddings recover absolute token position. They argue that previous variance-based explanations are incomplete because LayerNorm largely removes token-wise magnitude differences. Instead, they propose a directional, two-layer circuit. In the first layer, approximately uniform prefix averaging injects a shared beginning-of-sequence (BOS) component into every token representation. In the second layer, the OV transformation maps BOS and non-BOS contributions toward distinct directions, while a position-dependent attention weight on BOS controls the interpolation between them. Position can consequently be decoded from the resulting low-dimensional trajectory. The proposed work derives this mechanism analytically and evaluates it in a controlled single-head model, where most parameters are frozen, and in a fully trained two-layer, 12-head model. Both models achieve near-perfect positional decoding and exhibit the predicted BOS anchoring, directional separation, decreasing BOS attention, and approximately two-dimensional positional trajectory. Rank-constrained interventions further show that retaining the two dominant directions of the second-layer OV output preserves most decoding performance.
Strengths and weaknesses
Strengths:
-
The paper proposes a clearly specified circuit hypothesis and derives concrete empirical predictions. This is an interesting, and theoretically-motivated approach, which goes beyond simply probing for positional information. The authors specify an end-to-end computational account involving prefix averaging, BOS anchoring, OV-direction separation, a position-dependent mixing coefficient, and a downstream readout. In my opinion, this approach provides a substantially stronger mechanistic contribution than demonstrating decodability alone.
-
The progression from a controlled toy setting to a more expressive trained model is well designed. The restricted toy model permits clean attribution of individual circuit components, while the fully trained multi-head model tests whether the same mechanism emerges when alternative solutions are available. The observation that both models converge toward a similar BOS-anchored geometry is valuable.
-
More generally, I believe the paper to be well-structured and clear, accompanied with nice illustrations that clarify the concepts embedded in the text.
Weaknesses:
-
The relationship to alternative accounts of emergent positionality is underdeveloped. In particular, Zuo et al. (https://aclanthology.org/2025.coling-main.632.pdf) propose that causal prefix aggregation creates an adjacency geometry in which nearby token representations have greater cosine similarity than distant ones. This explanation is also directional and survives normalization, making it closely related to the present account. The paper should clarify whether the BOS-to-nonBOS interpolation produces the adjacency pattern, whether adjacency is a distinct mechanism, or whether both are different geometric descriptions of the same prefix-aggregation process.
-
The evidence is limited to shallow models trained explicitly to predict position. Even the “larger” experiment remains a two-layer Transformer, rather than a pretrained language model in which positional information emerges incidentally while optimizing next-token prediction. Consequently, while this research convincingly demonstrates that the proposed circuit can emerge, it provides little evidence that it is the mechanism used by practical NoPE language models.
Questions
-
Does the proposed two-direction circuit mathematically imply the adjacency pattern reported by Zuo et al.?
-
How robust is the mechanism when the model is not trained with direct supervision on absolute position? Does the same BOS-dependent interpolation arise in NoPE models trained exclusively with a language-modeling objective, and is it used causally by the model rather than merely being available to a probe?
Limitations
No, the paper should at least discuss the limitations in terms of task specificity and architectural scope.
Final justification
The authors addressed all my concerns. They propose a sound analysis that has both practical and theoretical value, which is a combination that is often lacking in our community.
Formatting concerns
no concerns.
2 comments
I thank the authors for their clear and comprehensive response. In light of their rebutal, I will raise my score to 5. I believe this paper is interesting for the community that focuses in a deep understanding of these models, rather than just the plain and old benchmark compute-power-based beating frenzy we are used to. Congratulations.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 2/4
- Clarity
- 3/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies how NoPE (no positional embedding) autoregressive transformers can recover absolute position despite lacking explicit positional information. The authors point out that the prior variance-based explanation is incomplete under LayerNorm, and propose a directional mechanism: in a two-layer transformer, Layer 1's uniform attention injects a shared BOS anchor into every position, Layer 2's OV matrix separates BOS and nonBOS into distinct directions, and a position-dependent BOS attention weight creates a directional interpolation that a linear head can decode. They validate this on two model variants (controlled single-head and fully-trained 12-head) and provide causal evidence via OV-subspace rank interventions.
Strengths and weaknesses
Strengths
1. Well-motivated gap identification: This paper identifies that Chi et al. (2023)'s variance-based explanation breaks down under LayerNorm, and provides a directional alternative that is compatible with normalized representations.
2. Causal intervention beyond correlation: The OV-subspace bottleneck experiment in Section 5 goes beyond observational probes by surgically retaining/ablating SVD directions, providing causal evidence that the position signal is concentrated in a rank-2 subspace.
Weakness
1. The mechanism is an over-formalization of trivial phenomena. For example, in Step 2's condition (i) (directional separation) is nearly guaranteed in high-dimensional space, two different inputs through a linear transformation will almost surely produce non-parallel outputs. Condition (ii) (directional coherence) is simply the law of large numbers in high dimensions: weighted averages of many approximately random vectors concentrate around the mean direction. And Step 3's observation that BOS attention weight decreases with position is a basic property of softmax, adding positive terms to the denominator makes the fraction smaller. None of these require any special "conditions" to hold. So the novelty is still questionable for me.
2. No connection to real NoPE LLMs. The mechanism is only validated on toy 2-layer models explicitly trained to predict position. Whether actual NoPE language models (trained on next-token prediction at scale) use the same mechanism is entirely undiscussed, limiting practical relevance.
Questions
The Main question is about the weakness I proposed above:
For weakness 1: I hope the authors could clarify which step of the mechanism is extra novel, i.e., under what conditions it might fail to hold, or whether alternative position-encoding mechanisms exist that the model did not converge to. If all steps are inevitable consequences of the architecture, what is the contribution?
For weakness 2: I hope the authors could validate the mechanism on a NoPE model trained with next-token prediction (rather than a position-prediction objective), or at least discuss why conclusions from the toy setting would transfer to practical scenarios.
Limitations
Do not contain a limitation discussion part.
Final justification
During the rebuttal time, the author provided with a new trained model to justify their paper's practical value and also provide with the limitation, I am fine with increase the score.
Formatting concerns
No concerns about the format.
2 comments
Thank you for your constructive review! We address your concerns below.
W1: Is the mechanism an over-formalization of trivial phenomena?
No. Position becomes decodable through a composition of five ingredients, only one of which is architectural, and the mechanism fails if any component is removed.
This is the most complete deterministic account of positional encoding in NoPE transformers. It covers a full mechanism, both in theory, and one that is empirically learned by a trained model.
W2: No connection to real NoPE LLMs
Thank you for raising this point. We constructed a new experiment testing this hypothesis, showing the mechanism also emerges in a language model. This comment helped strengthen our paper!
We trained two NoPE GPT-2-style transformers on OpenWebText with a next-token-prediction objective. NoPOS uses ordinary sequences, without the BOS token, while NoPOS-BOS prepends the BOS token.
The proposed circuit emerges in both variations. Below, γ is the fitted exponent of the anchor (BOS-attending, second layer) head's schedule, α_{i,BOS} ∝ i^γ, the slope of log α against log i. The ideal 1/i schedule is γ = −1.
| NoPOS | NoPOS-BOS | |
|---|---|---|
| Position probe R², blocks 0–5 | .63 / .98 / .98 / .97 / .97 / .52 | .92 / .99 / .98 / .98 / .97 / .36 |
| Second-layer anchor heads | 5 (γ ∈ [−1.21, −0.38]) | 1 (γ = −0.966) |
| Anchor BOS-attention bias | 0.8–14.7× | 18.2× |
NoPOS-BOS concentrates anchoring into a single head that is almost exactly the
idealized head of the theory: α ∝ i^−0.97 ≈ 1/i, score ratios stable across
positions and sequences, and 18× attention bias onto the anchor.
The mechanism is also causally used by the model, and disrupting its components substantially increases cross entropy loss (CEL).
To quantify the causal effect of the mechanism, we rebuild each head's second-layer output as α·w_BOS + (1−α)·w_nonBOS + η and measure next-token loss (NoPOS-BOS, clean Mean Absolute Error (MAE) 3.08 and loss 3.622):
| intervention | MAE | Δ CEL |
|---|---|---|
| none (clean) | 3.08 | 0 |
| η → 0 | 59.4 | +1.28 |
| α·w_BOS + (1−α)·w_nonBOS → 0 | 40.2 | +1.42 |
| α → position-wise mean | 3.32 | +0.007 |
| η → constant norm | 2.90 | +0.038 |
| η → shuffled across sequences | 3.26 | +0.278 |
| η → position-wise mean | 1.86 | +0.117 |
Removing either major component increases the model’s own CEL by more than 1.0, showing that these components are causally used rather than merely detectable by a probe. Conversely, averaging the sequence-specific residual η improves position prediction while only slightly increasing CEL, indicating that position is encoded by the deterministic BOS-interpolation mechanism rather than by sequence-specific content.
Limitations
We will add a Limitations section, here’s its summary.
Results cover LayerNorm decoder-only NoPE transformers at d=768 with at most 6 layers. Although other architectures may exhibit different mechanisms, many of the theoretical insights we derive are not specific to the architecture studied here, thus the mechanism could be also learned by different architectural variants that contain two consecutive layers with an asymmetrical attention-like mechanism, LayerNorm, an MLP, and an initialization scheme that induce an almost orthogonal embedding matrix.
I thank the authors for their detailed response. I appreciate the effort made during the rebuttal period, particularly the additional experiments with two NoPE GPT-2-style transformers trained on OpenWebText. My concerns have been addressed, and I am happy to raise my score accordingly.
- Rating
- 5/6
- Confidence
- 5/5
- Quality
- 4/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 4/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The Manuscript describe how autoregressive transformers contain positional information by using 5 step circuit. In the first step the system relies on beginning of sequence token (BOS) that starts rotating in a circle after new tokens are added. its magnitude decays in the attention according to a harmonic series. The full cycle of actions in the circuit are described in the Appendix A and in Chapter 3.
Using two extra layers in the proposed architecture of the transformer, it becomes obvious that the positional encoding has a clear intrinsic positional component. In the presented architecture the positional encoding uses direction of the embedding vector as the major features for token position. The Manuscript brings a valuable explainability component into the behavior NoPE transformers.
Strengths and weaknesses
The Manuscript provides an ablation study of what is really needed in transformers with causal attention. The Authors have taken the step forward by showing that the autoregressive transformers implicitly have the information of the location of the tokens without the need of added positional embedded explicitly before going to the attention layers. This is a very good add to the understanding of relevant features used in LLMs.
To be more specific, the Manuscript provides understanding on why an one layer circuit cannot produce the positions, and that a two layer version can --utilizing direction as the critical feature..
Questions
I am wondering about the computational load of the 5 step circuit compared with a rather simple positional encoding. What Is the tangible benefit for making the change? Would improvement of the quality of infrerence when using the 5 step circuit bring a strong rationale to use the architecture?
Limitations
Yes
Final justification
The Authors have, to my view responded for the comments raised by the Reviewers. I will keep my original score.
Formatting concerns
The derivation of the 5-step circuit is separated into the Appendix A and into the chapter 3. Jumping from one place to the other is a bit irritating. On the other hands the Figures used are very good.
1 comment
Thank you for your accurate assessment of our paper, and your supportive review!
On computational load versus the tangible benefit of explicit positional encoding
Note that the purpose of the work is to draw a robust explanation of the mechanism that encodes position in NoPE transformer. As such, we did not modify the vanilla architecture, hence, didn’t add any computational overload.
We now show that our theoretical mechanism also instantiates in a real NoPE language model, with the standard next-token-prediction loss.
The complete circuit emerges without position supervision (anchor head at α ∝ i^−0.97, 18× BOS bias, second-layer probe R² 0.99) and is causally used by the model, since altering the mechanism raises next-token cross-entropy by 1.28 to 1.42 from a clean 3.62. On the other hand, magnitude-matched edits increase the loss at most by 0.28 points. Details are in our replies to 1JgN and jKbL.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Thank you for your constructive review! We address your concerns below.
Q1 / W1: Does the two-direction mechanism imply Zuo et al.'s adjacency pattern?
Yes, immediately. The two accounts agree on this prediction but differ in what they claim. Zuo et al. report an observed property of the representations. We give the mechanism that produces them, step by step.
Adjacency follows in one line from Eq. (11). The Layer-2 attention output is a mixture of two fixed directions controlled by a single scalar,
o_i^(2) ≈ α_{i,BOS}^(2)·w_BOS + (1 − α_{i,BOS}^(2))·w_nonBOS + b_attn^(2),
and α_{i,BOS}^(2) decreases monotonically with i. Nearby positions have nearby α, therefore nearby representations have higher cosine similarity. That is the pattern Zuo et al. report, and we are glad to state it explicitly.
We therefore read the two as different levels of description rather than competing claims. We will cite and position Zuo et al. properly in Related Work and note the adjacency corollary in Sec. 3.
Q2 / W2: Does the mechanism arise under a pure LM objective, and is it used causally rather than merely being available to a probe?
Yes to both. We trained two 6-layer, 12-head, d=768 NoPE transformers (LayerNorm, GPT-2 BPE, L=128) on OpenWebText with a pure next-token-prediction objective and no position supervision anywhere.
NoPOSuses sequences without BOS prepended, whileNoPOS-BOSprepends BOS (20K iters, LR 3e-4, final val loss 3.63).Emergence. The full circuit appears in both. Below, γ is the fitted exponent of the anchor head's schedule, α_{i,BOS} ∝ i^γ, the slope of log α against log i. The ideal 1/i schedule is γ = −1.
NoPOSNoPOS-BOSThe empirical results match the theory. Position peaks immediately after the second block, decays slowly, and is discarded at the final block.
NoPOS-BOSconcentrates anchoring into a single head that is almost exactly the idealized head of the theory: α ∝ i^−0.97 ≈ 1/i, score ratios stable across positions and sequences, and 18× attention bias onto the BOS token. Remarkably, the learned anchor head closely matches the theoretical prediction, with γ=-0.966, nearly the ideal 1/i schedule.Causal use, in exactly the sense you ask. We rebuild each head's second-layer output as α·w_BOS + (1−α)·w_nonBOS + η. The two directions are the ones defined in Eq. (4), the OV image of BOS and the average OV image of the non-BOS tokens. α interpolates between the 2 directions and η is the residual, varying per sequence.
We performed causal intervention on our mechanism and measured with a frozen probe (fit on clean activations, applied zero-shot), and the model's own next-token loss. For
NoPOS-BOS, clean MAE 3.08 and loss 3.622:Yes. Our evidence indicates that the position information is not merely present in the representation but is causally used by the model. Specifically, the two destructive edits raise CEL by more than 1.0 each, whereas every magnitude-matched edit raises it by at most 0.28, which answers the causal half of your question. This shows that disrupting the mechanism has a uniquely large causal effect on the model performance, which isn’t observed in a controlled experiment.
At the same time, after taking η → 0 a probe refit on the edited states still recovers position at MAE 6.06. Therefore, the information has not left the representation, it has moved into direction the original readout does not look at, and the model's later layers cannot follow it there because they were trained against the original mechanism.
The last row is a sub-mechanism in its own right. The position-wise mean of η depends on i alone, so it can be absorbed into the layer bias, and the second-layer output becomes a deterministic function of position. That deterministic version encodes position better than the learned one, MAE 1.86 against 3.08 clean, because dropping the per-token fluctuation drops content variance that only blurs the readout. It costs 0.117 CEL, which is what that fluctuation was carrying for the rest of the model rather than for position. Set against η → 0 at 1.28 CEL, the same pair prices the deterministic part of η at 1.16 CEL. A cue read off sample-specific noise would degrade under this edit rather than sharpen.
We will add a Limitations section in the revised paper.