acceptodds
Published as a conference paper at NeurIPS 2026

Position Without Positional Embeddings: A Directional Mechanism in NoPE Transformers

Matan Avitan, Ido Nachum, Yanai Elazar, Yoav Goldberg

Abstract

Autoregressive transformers with no positional embeddings (NoPE) can recover absolute position. A common explanation is that causal attention creates a position-dependent variance signal, but this account is incomplete because LayerNorm removes per-token scale, so a viable mechanism must encode position in *direction*, not magnitude. We describe the most compact mechanism with two-layer NoPE transformers that accurately extract position. In Layer1, prefix averaging creates a shared beginning of sequence (BOS)-direction component. In Layer2, the attention's output-value matrix maps the and contributions into two distinct directions, and a position-dependent attention weight acts as a mixing coefficient that interpolates between them. The resulting directional trajectory is linearly decodable for position. Interestingly, we show two transformer variants that converge to the same theoretical mechanism and instantiate it when trained to predict position.

Keywords:
Sydney

Reviews

Among:
Shape:
123456this paper, Top 24%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.67 over 3 reviews, above 76% of the others.
Reviewer_1JgNOpenReview ↗
Rating
5
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
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:

  1. 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.

  2. 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.

  3. 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:

  1. 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.

  2. 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
  1. Does the proposed two-direction circuit mathematically imply the adjacency pattern reported by Zuo et al.?

  2. 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.

Paper formatting concerns

no concerns.

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.

Reviewer_jKbLOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
2
Quality
2
Significance
2
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.

Paper formatting concerns

No concerns about the format.

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.

Reviewer_sT2wOpenReview ↗
Rating
5
Clarity
3
Confidence
5
Originality
4
Quality
4
Significance
3
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

Paper 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.

Final justification

The Authors have, to my view responded for the comments raised by the Reviewers. I will keep my original score.

Comments on the paper

1 comment
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

  1. The paper successfully identifies theoretical gaps in existing explanations of emergent positionality.
  2. The authors move beyond purely observational probing by proposing a theoretically motivated approach.

Weaknesses (Addressed in Rebuttal)

  1. The approach is validated only on shallow toy models explicitly trained to predict position, severely limiting its practical relevance to actual language models.
  2. 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.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.