- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 2
- Quality
- 3
- Significance
- 2
Read review
Summary
The paper studies how positional encoding affects prompt-order sensitivity. For one layer of linear attention, it bounds the change in the query output after the examples are permuted. The bound scales roughly as k/N, where k is the Cayley distance of the permutation and N is the context length. The paper considers one-hot encoding and RoPE on linear regression and a stable linear dynamical system. It tests the scaling on synthetic models (LR and DS tasks) and reports prediction-change rates for three Qwen2.5 model sizes on the Subj dataset.
Strengths and weaknesses
Prompt-order sensitivity is an important and well-studied problem. It is useful to study the role of positional encoding and the sensitivity of LLMs on a specific set of tasks. The paper gives explicit bounds for one-hot encoding and RoPE. It also considers both an order-invariant task and an order-sensitive task. The synthetic experiments recover the trends in k and N predicted by the theory.
The bounds also suggest useful directions for future work. It would be interesting to test them more extensively across model families and study how their constants vary with architectural choices such as hidden dimension and weight norms. For RoPE-based models, the dependence on the displacement term \Theta_\text{RoPE}(\pi) may also help study positional tasks, where the model must retrieve an item from a queried position, and identify limits caused by rotary phase structure. This would require showing that the bounds are tight or non-vacuous in realistic models, but the current analysis provides a possible starting point.
My main concern is the framing of the contributions. Lemma 5 of Hahn, ``Theoretical Limitations of Self-Attention in Neural Sequence Models'' (TACL 2020), already shows that changing one input symbol changes the output of a fixed-depth soft-attention transformer by O(1/N). A permutation with Cayley distance k is a composition of k transpositions, and each transposition changes the contents of two positions. Applying Hahn's lemma to these changes and using the triangle inequality therefore appears to give an O(k/N) bound. This paper does not cite or distinguish itself from that result. The 1/N factor is also built directly into the definition of linear attention and is discussed for softmax attention in the discussion section ("Toward softmax attention and multiple layers".).
The related work is incomplete. The paper does not compare carefully with Lu et al. (2021) [16] on order sensitivity in in-context demonstrations, even though it uses the same Subj dataset. The choice of the natural-language task is also insufficiently motivated. Does Subj represent a typical use case for testing order sensitivity?
Finally, the statement in lines 27-30 is imprecise. Permutation equivariance does not mean that every output remains unchanged; it means that the outputs are permuted together with the inputs. In the paper's specific setting, equivariance implies invariance of the query readout only because the permutation moves the demonstrations while leaving the query position fixed. This argument also assumes that other sources of order information, such as a causal mask, are absent. This should be stated explicitly, especially because causal masking is another source of order information absent from the theory.
Questions
I would like to know how Theorems 3.1-3.4 differ from Lemma 5 of Hahn (2020), and why that lemma does not already give the O(k/N) result. Can the authors provide a matching lower bound or show that the numerical bounds are useful for trained models, for example by explaining how they depend on parameter choices and hidden size in the Qwen family? Can they isolate positional encoding from causal masking (not mentioned in the paper), recency bias, majority-label bias, and attention dispersion? Of course, the authors are welcome to respond to the other points raised above.
Limitations
No. The limitations checklist states that the paper discusses its limitations in the conclusion. However, Section 6 only summarizes the results and does not discuss the main restrictions of the analysis. Finally, the claim that PE is a central mechanism is not isolated experimentally from causal masking or other known sources of order sensitivity (in particular for the LLMs experiments).
Paper formatting concerns
No.
Final justification
Thank you for pointing this out (Contribution type). My assessment in the review was based on the correct contribution type and therefore remains unchanged; however, I mistakenly selected the wrong contribution type in the review form. I have now corrected that selection so that it matches the authors’ reported contribution type and the criteria used in my review.
After considering the authors’ response, the other reviews, and the discussion, I increase my score.
W1 & Q1: The authors clearly distinguished their main results from the classical (O(1/N)) sensitivity result for transformers established by Hahn. This comparison better highlights the novelty and distinct contribution of their results. I also appreciate the clarification of how Theorems 3.1 and 3.4 differ from the standard (O(1/N)) sensitivity bound. W2: The authors explained why their results provide a “quantitative, mechanism-level characterization” of the phenomenon identified by Lu et al. This clarification substantially improved my understanding of the paper’s contribution relative to that work. W3: The authors acknowledged that the permutation-equivariance statement requires greater precision and indicated that they will clarify it in the revised manuscript. Q2: The authors provided a concrete family of models for which the expected sensitivity matches the asymptotic (1/N) bound, addressing my question about the relevance and tightness of the theoretical result. Q3: The authors clarified that causal masking is absent from both the theoretical results and the experiments, which resolves my concern about whether the effects of positional encodings were isolated from those of masking.
Meta-review
The reviewers agree that the paper is clearly presented and that prompt-order sensitivity is an important problem. However, concerns were raised about the novelty of the k/N scaling relative to existing Transformer stability results. The authors should carefully clarify how the main theorems differ from previous work. They should also distinguish more clearly between stability of the model output and stability of ICL performance, and clarify the scope and need of the simplifications of their model (e.g. one-layer linear-attention setting, the nonstandard one-hot positional encoding, and the absence of causal masking). Moreover, the authors should better isolate positional encoding from other sources of order sensitivity.