potentialpaper

Frontier Language Models Struggle to Copy: Text Can Be Better Viewed in 2D

Haodong Wen, Yiran Zhang, Yingfa Chen, Kaifeng Lyu

SPIGM @ ICML 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We reveal surprising fact that even the most advanced LLMs can fail to copy and further propose a 2D positional encoding to solve copy

Abstract. While large language models (LLMs) can solve advanced reasoning problems in seconds, we show that even frontier models fail to perform a much simpler operation: exactly copying an input string that lies well within their context windows. We attribute this failure to positional encodings in Transformer architectures, whose inductive bias favors copying through a shortcut based on matching local contexts rather than carefully locating the corresponding input positions. To address this issue, we introduce 2D-RoPE, which organizes text into a 2D grid rather than a 1D sequence and assigns each token a row ID and a column ID. Under this view, copying becomes simply retrieving input tokens at a fixed column offset, which makes the task easy to learn. In synthetic copy experiments, shallow Transformers with 2D-RoPE achieve perfect copying at input lengths hundreds of times longer than those seen during training, whereas standard positional encodings fall far behind. We further show that the advantage of 2D-RoPE language models on copy tasks consistently holds in large-scale pretraining on DCLM with model sizes up to 1.41.4B parameters.

Overall, our results suggest that viewing text in 2D can benefit language modeling, and we hope this encourages future work to further explore the potential of 2D positional encodings. Our code is available at \href{https://github.com/hhhhhh-925/copy-2dRoPE}{https://github.com/hhhhhh-925/copy-2dRoPE}.

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 paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

FromAToBDateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
9 May 2026FoGen @ ICML 2026submittedFoGen @ ICML 2026Accepted · Poster—[1]
9 May 2026SPIGM @ ICML 2026submittedSPIGM @ ICML 2026Accepted · Poster—[1]
Their titles, abstracts and, where both have a PDF, the text.Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:48 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

Two strong accepts and one reject. Going with the majority here.

The core contribution is solid: identifying a genuine failure mode in frontier LLMs (copy degrades with repeated local patterns) and offering a simple architectural fix in 2D-RoPE. The diagnosis is well supported, the solution is clean, and the synthetic experiments show impressive length generalization. Table 1's pretraining results on DCLM at 1.4B are a nice touch that moves it beyond toy experiments.

R1's concerns have some weight. The evaluation is narrow, mostly synthetic copy probes and NIAH. Broader language modeling benefits aren't really shown. R3 makes a fair point that 2D-RoPE relies on line breaks to define rows, which makes the solution feel somewhat brittle. If the text to copy isn't naturally line-separated, the method's advantage may diminish. The auto version partly addresses this but isn't well explored.

That said, I think the diagnosis alone is valuable enough for a poster. The paper identifies something important and non-obvious about how RoPE-based models handle copy, and the 2D view is a creative direction. The authors should expand the limitations discussion to address when 2D-RoPE is and isn't helpful, and tone down any claim that this is a general language modeling improvement.

Accept (poster).

Area Chair wrhF · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

Two strong accepts and one reject. Going with the majority here.

The core contribution is solid: identifying a genuine failure mode in frontier LLMs (copy degrades with repeated local patterns) and offering a simple architectural fix in 2D-RoPE. The diagnosis is well supported, the solution is clean, and the synthetic experiments show impressive length generalization. Table 1's pretraining results on DCLM at 1.4B are a nice touch that moves it beyond toy experiments.

R1's concerns have some weight. The evaluation is narrow, mostly synthetic copy probes and NIAH. Broader language modeling benefits aren't really shown. R3 makes a fair point that 2D-RoPE relies on line breaks to define rows, which makes the solution feel somewhat brittle. If the text to copy isn't naturally line-separated, the method's advantage may diminish. The auto version partly addresses this but isn't well explored.

That said, I think the diagnosis alone is valuable enough for a poster. The paper identifies something important and non-obvious about how RoPE-based models handle copy, and the 2D view is a creative direction. The authors should expand the limitations discussion to address when 2D-RoPE is and isn't helpful, and tone down any claim that this is a general language modeling improvement.

Accept (poster).

Reviewer xEcJOpenReview ↗
Rating
5/6
Confidence
3/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 paper diagnoses a real issue in copying texts even in Frontier Language Models - especially when there are repeating substrings in the source text to copy. The explores why this may happen, and proposes a new positional encoding strategy to solve this (2D-rope). The idea is to track 2D co-ordinate positional index - such as a (row index, column index), where the row index resets on "line-breaks". The idea is that if the text to copy constitutes a specific row say i, then copying simply becomes a matter of capturing the specific row i, and then looking at the same column as the output position/column. The removes the need for more complex operations to get to the right position which can require knowledge of the input length and such. The paper explores both rule-based "line-break" detection (example characters like "\n") and also auto-RoPE2D where the model auto-learns implicit line-breaks in a data dependent manner.

Strengths and weaknesses

Strengths

  • The diagnosis of copy-struggle is important and relevant. Copying of substring (example for grounding, tool calls etc.) can be very practical and important for a lot of tasks. While there are previous tasks exploring copy showing Transformers work well in comparison to SSMs, this paper shows that frontier Transformers can still struggle especially when there are repeating substrings which can confound the model.
  • The proposed methods RoPE-2D and Auto-RoPE-2D are interesting and creative.

Weaknesses

  • Baselines are mainly RoPE, other positional encodings like DAPE/TAPE (or any good representative of contextual positional encoding) are not considered.
  • I am not totally convinced whether 2D is the right direction. This relies on the idea of some form of "line-break" that is implicitly or explicitly present. But that doesn't seem to be always the case for any copy context. For instance, a task like "'858655782859859' - what are the 4th-7th characters in the previous string?" -- the part to copy is not within any clear line-break. Even implicit line-break doesn't exist for auto-mode especially in a causal context, because we can change the trailing query to ask for different character slice. Even if we treat the quotations as line-breaks, it still seems to devolve to the original 1D-RoPE situation in effect within the '858655782859859' row - although 2D may be still overall still a bit better than baselines. This makes me feel like the solution is rather brittle, and closer to a "hack" rather than a principled direction. That said, I still do think the solution is interesting enough and the diagnosis is important enough for publication. Also, even if it may not completely solve copy and all possible algorithmic variants of it, 2D may be generally useful as the idea of line-break is quite natural in natural language contexts and other cases (even code). So I don't want to block the paper for this; but I do urge to introduce more discussions on this on a dedicated limitation/future work section (also refer it from the main paper if possible).
Questions

n/a

Limitations

Yes, but could be expanded (weakness 2).

Final justification

Most of the core weaknesses have been addressed or at least suggestions have been provided for future work. I maintain my already positive score.

Formatting concerns

n/a

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Dear Reviewer xEcJ,

We sincerely appreciate your acknowledgment that "the diagnosis of copy-struggle is important and relevant." and that the proposed methods RoPE-2D and Auto-RoPE-2D “are interesting and creative.” Your comments are invaluable, and we hope this response addresses your concerns and provides further clarification about our paper.

W1: Baselines are mainly RoPE, other positional encodings like DAPE/TAPE (or any good representative of contextual positional encoding) are not considered.

A: Thank you for pointing this out. We have added direct comparisons with CoPE, DAPE, and RePo in the revised version. These methods provide representative contextual or input dependent alternatives to standard positional encodings.

  1. Our original comparison already covers several standard positional encodings. In the synthetic experiments, we compare 2D RoPE with RoPE, ALiBi, NoPE, and RNoPE using both one layer and twelve layer Transformers. These methods represent rotary encoding, relative attention bias, no explicit positional encoding, and hybrid attention. Across different architectures and data distributions, 2D RoPE consistently shows much stronger length generalization.

  2. We now additionally compare with 3 contextual positional encodings: CoPE, DAPE, and RePo under our copy task setup. All three methods achieve perfect accuracy within the training length range of 1 to 100. However, their performance drops sharply immediately beyond this range. On lengths from 101 to 200, CoPE obtains accuracies of 0.5, 0.7, and 0.5 on the Imbalanced, Random, and Repeat Flip distributions. DAPE obtains 0.2, 0.3, and 0.3, while RePo obtains zero on all three distributions. From length 201 onward, all three methods obtain zero accuracy across all distributions. In contrast, the twelve layer 2D RoPE model maintains perfect copying at lengths far beyond those seen during training.

These additional results show that the observed advantage is not specific to a comparison with RoPE or other fixed positional encodings. Contextual positional information alone also fail to learn copy.

COPE [1] (nlayer=12n_{\mathrm{layer}}=12)

Interval Imbalanced Random RepeatFlip
1–25 1.0 1.0 1.0
26–50 1.0 1.0 1.0
51–100 1.0 1.0 1.0
101–200 0.5 0.7 0.5
201–400 0.0 0.0 0.0
401–800 0.0 0.0 0.0
801–1600 0.0 0.0 0.0
1601–3200 0.0 0.0 0.0
3201–6400 0.0 0.0 0.0
6401–12800 0.0 0.0 0.0

DAPE [2] (nlayer=12n_{\mathrm{layer}}=12)

Interval Imbalanced Random RepeatFlip
1–25 1.0 1.0 1.0
26–50 1.0 1.0 1.0
51–100 1.0 1.0 1.0
101–200 0.2 0.3 0.3
201–400 0.0 0.0 0.0
401–800 0.0 0.0 0.0
801–1600 0.0 0.0 0.0
1601–3200 0.0 0.0 0.0
3201–6400 0.0 0.0 0.0
6401–12800 0.0 0.0 0.0

RePo [3] (nlayer=12n_{\mathrm{layer}}=12)

Interval Imbalanced Random RepeatFlip
1–25 1.0 1.0 1.0
26–50 1.0 1.0 1.0
51–100 1.0 1.0 1.0
101–200 0.0 0.0 0.0
201–400 0.0 0.0 0.0
401–800 0.0 0.0 0.0
801–1600 0.0 0.0 0.0
1601–3200 0.0 0.0 0.0
3201–6400 0.0 0.0 0.0
6401–12800 0.0 0.0 0.0

[1] DAPE: Data-Adaptive Positional Encoding for Length Extrapolation

[2] Contextual Position Encoding: Learning to Count What's Important

[3] RePo: Language Models with Context Re-Positioning

W2: I am not totally convinced whether 2D is the right direction. This relies on the idea of some form of “line break” that is implicitly or explicitly present.

A: We thank the reviewer for this thoughtful comment. We agree that rule based 2D RoPE relies on linebreaks and is not intended as a complete solution for every possible text structure. We would like to clarify what the current results establish and how we view the longer term direction.

  1. The simple 2D construction through line breaks already provides substantial benefits beyond line separated copying. Line breaks are natural structural markers in books, scientific documents, source code, lists, tables, and many other forms of text. Our results show that using this simple structure is useful not only for the controlled copy task. Table 1 shows that 2D RoPE improves performance on NIAH. Our new long context language modeling experiments further show substantially lower perplexity than RoPE on PG19, ArXiv, and GitHub as the context length increases. These results demonstrate that a simple line based structural prior can provide meaningful benefits on natural language, scientific documents, and code. Please also see our response to W1 and W3 for Reviewer njz7 for the complete results.

  2. We believe that learning the two dimensional positions automatically is the more promising long term direction. The purpose of rule based 2D RoPE is to demonstrate that injecting a simple structural prior can change the positional geometry of a task and substantially improve length generalization. In the copy setting, it converts a source to target relation that changes with sequence length in one dimension into a fixed relative displacement in two dimensions. Both theoretical and empirical results provide evidence that 2D coordinates are useful, even when they are constructed using a simple predefined rule.

  3. We introduce Auto 2D RoPE as a proof of concept for learning the 2D coodinates from the context automatically. Auto 2D RoPE generates coordinate updates from token representations rather than relying on a predefined linebreak token. In our experiment, we replace the newline separator with another token. Rule based 2D RoPE can no longer identify the row boundary and largely loses its length generalization advantage. In contrast, Auto 2D RoPE learns a useful positional structure and continues to generalize to longer inputs. This provides initial evidence that the dependence on predefined line breaks can be relaxed. The method and results are described in Section 5.3 and Appendix H.

  4. A complete development of Auto 2D RoPE is beyond the scope of the present paper. A practical version would require efficient CUDA or Triton kernels, large scale pretraining, and systematic evaluation on copying, long context language modeling, and broader downstream tasks. This would constitute a substantial research project in its own right. We therefore intentionally present Auto 2D RoPE as an initial demonstration, while focusing this paper on identifying the limitation of standard one dimensional positional encodings and establishing two dimensional positional encoding as a promising alternative through theory and experiments. We will make this scope and the corresponding future directions explicit in the revised version.

  5. We will clarify both the scope and the open questions in the revision. We will add a dedicated limitations and future work discussion explaining when the line break construction is appropriate, when rule-based 2D RoPE may lose its advantage, and how Auto 2D RoPE could be developed into a more general method for learning structural coordinates. A systematic study of automatically inferred positional structures across broader text formats and pretraining settings is an important direction for future work.

Reviewer xEcJ · CommentOpenReview ↗

Clarification on the limitation

One point of clarification, regarding weakness 2, I was not merely suggesting an issue with rule-based 2D rope, but something that may be fundamental limit (for copying in causal context) for the whole 2D direction altogether (no matter how refined auto-2D becomes). The point is that Auto-2D still need to learn some implicit 2D structure from the data. But in some copy-context such structure may not exist.

For instance if a copy task is framed like this ""'858655782859859' - what are the 4th-7th characters in the previous string?" (as is the task is simple, but you can imagine scaled up versions - that start to become more trouble), there is no internal line-break-like structure in '858655782859859' - instead what would be a good place to "line break" (e.g. from character 4-7 perhaps) depends on contexts that follows it (not available for causal models).

I am not arguing that Auto2D still cannot be generally useful and work in the kind of copy-tasks explored, but that it may be possible to create copy-task-variants adversarially where this whole 2D direction (even in its ideal form) fails or offer not as much of an advantage over baseline.

This is not to ask for what's beyond your scope, but this could be something more explicitly discussed (even if I am missing something here, would be good to discuss in the paper what is missed and how auto-2D may in principle be able to overcome such tasks as well).

Besides that, thank you for the additional baselines.

Authors · CommentOpenReview ↗

Response to the Additional Comment

A: We thank the reviewer for this interesting clarification, and we apologize that our earlier response deviated somewhat from the intended point. Our previous reply was written jointly with the AC‘s initial meta review (R3) in mind, which focused on the dependence of rule based 2D RoPE on line breaks. We are glad to address the more fundamental question raised here.

  1. We agree that adversarial copy variants exist, and we view the underlying limitation as a property of causal modeling rather than of the 2D direction alone. One can indeed construct copy variants in which no useful 2D structure can be assigned in advance. In the reviewer's example, the position that would be useful for a token in the source string is determined only by the query that appears at the end of the sequence. A causal model must assign the coordinate of each token using only the tokens before it, so no causal coordinate assignment can anticipate this structure, no matter how refined Auto 2D RoPE becomes. However, we note that this constraint applies to positional encodings in general. Any positional mechanism in a causal model, including standard RoPE and contextual methods, can only compute the position of a token from the preceding context. The difficulty of query dependent structure is therefore a limitation shared by causal architectures, rather than a weakness specific to the 2D formulation.

  2. Such tasks can potentially be handled through intermediate generation, such as chain of thought. The coordinates of prompt tokens are fixed causally, but the tokens generated by the model receive new coordinates, and generation happens after the entire prompt, including the query, is visible. The model can therefore first rewrite the source string in a format that matches the query, for example writing one character per row or breaking the string at the requested boundaries, and then answer by retrieving from the rewritten text at a fixed relative displacement. Intuitively, the model does not need to guess the right structure in advance. It can build the right structure after reading the question. Importantly, this rewriting step is itself a verbatim copy with reformatting, which is exactly the operation that 2D RoPE makes reliable. In this sense, the causal limitation applies to single pass retrieval over the original prompt, while the 2D mechanism remains useful once intermediate generation is allowed. This view is also consistent with prior results showing that intermediate generation strictly increases the expressive power of Transformers.

  3. We will add this discussion to the revision. We will include a dedicated discussion of the limitations of the 2D direction, covering the query dependent structure identified by the reviewer, the boundary between what causal coordinate assignment can and cannot capture, and how intermediate generation may overcome such cases in principle. We also sincerely thank the reviewer for acknowledging our additional baseline comparisons and for this exchange, which has helped us characterize the scope of the 2D direction much more precisely.

Reviewer xEcJ · CommentOpenReview ↗

Thank you. The points make sense to me.

Reviewer njZ7OpenReview ↗
Rating
5/6
Confidence
5/5
Quality
4/4
Clarity
4/4
Significance
3/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper argues that frontier LLMs fail at exact copying tasks, especially when inputs contain repeated local patterns. It tests binary string copying and Python-list conversion from synthetic sensor sequences, and reports that frontier models such as GPT-5.5, Opus 4.7, Gemini 3.1 Pro, and more lose accuracy as length and repetition increase. The authors’ explanation is that standard Transformer positional encodings encourage a mix of position-based copying and local-context matching. Repeated substrings make local matches ambiguous. Their proposed fix is 2D-RoPE, in which tokens get row and column ids, so copying can become same-column retrieval. They support this with synthetic experiments, theory, and pretraining experiments showing better copy and NIAH results than RoPE baselines.

Strengths and weaknesses

Strengths

  • (S1) The paper identifies a clear failure mode and demonstrates it convincingly. Exact copying is a basic operation often assumed to be handled by frontier LLMs, and the paper shows systematic failures on inputs within the context length. The binary-copy and Python-list conversion tasks are simple enough that failures are easy to interpret.

  • (S2) The proposed explanation is supported by multiple kinds of evidence. The authors describe a plausible context-matching mechanism and support it with attention visualizations, synthetic training experiments, and expressivity results.

  • (S3) 2D-RoPE is a simple solution with clear empirical gains on the identified problem. Assigning row and column positions makes the intended copy alignment explicit, and the experiments show strong length generalization compared with other PE schemes in the synthetic setting. The pretrained model results in Table 1 also suggest that the effect can persist beyond toy models.

Weaknesses

  • (W1) The main evaluations are highly controlled: The hardest tasks are constructed to contain repeated local structure, which is exactly the condition under which the proposed failure mechanism should appear. This is a useful comparison, but it leaves open how often the issue matters in less curated real-world copy/formatting tasks.

  • (W2) The method depends on an induced 2D structure. Standard 2D-RoPE relies on line breaks to define rows and columns. This is natural for the paper’s copy setting: tables, lists, and code-like text, but less clearly applicable to free text or inputs where the relevant alignment is not marked by explicit separators. Auto-2D-RoPE partly addresses this, but is not widely explored in the paper.

  • (W3) The evidence for broader language-model benefits is limited. The paper reports common-sense reasoning, NIAH, and copy results, but the strongest improvements are on tasks related to copying (which can be solved by, e.g., tool calls). The claim that 2D positional structure benefits language modeling more generally requires broader evaluation.

Questions
  • (Q1) Can the authors sharpen the expressivity claim for RoPE? Theorem 3.2 shows that a two-layer RoPE transformer can represent length-generalizing copy, while the experiments show that trained RoPE models often do not learn it. Is there a formal or empirical characterization of why optimization prefers the observed context-matching / locator-style solution over the constructive position-based RoPE solution?

  • (Q2) What is the precise task class for which 2D-RoPE should give a positional advantage? The method works naturally when source and target tokens share column indices, as in line-separated copying. Can the authors characterize what happens when the output format inserts, deletes, groups, or reorders tokens, so that source-target alignment is no longer from the same column?

Limitations

yes

Final justification

The rebuttal addressed my concerns regarding long-context evaluation by presenting new long-context PPL results on natural corpora. The optimization explanation and several issues with theory presentation/completeness remain unresolved and need to be corrected. I maintain my score because I place more weight on the convincing empirical evidence, which remains intact despite these limitations.

Formatting concerns

No.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Dear reviewer nj27,

We sincerely thank you for your interest in the failure of exact copy for frontier models and for your appreciation of the 2D-RoPE. We are pleased to hear that "this paper identifies a clear failure mode and demonstrates it convincingly." Moreover, we are grateful for the acknowledgment that the 2D-RoPE "is a simple solution with clear empirical gains on the identified problem". Below, we address the specific concerns and questions raised in the review.


W1 & W3: The main evaluations are highly controlled. This is a useful comparison, but it leaves open how often the issue matters in less curated real-world copy/formatting tasks. The evidence for broader language-model benefits is limited.

A: Thank you for your question. We would like to give further clarification.

  1. We actually construct the python list conversion benchmark, which models a common agent workflow: a user provides raw experimental measurements, and the model must convert them into a structured Python object that can be passed directly to plotting, numerical analysis, or downstream code. This operation requires the model to preserve every value and its order exactly. Moreover, repeated patterns arise naturally in this setting rather than being added only as an artificial feature. Measurements from physical systems often exhibit periodic or approximately periodic behavior because the underlying process involves oscillation, rotation, vibration, or other recurring dynamics. Consequently, locally similar subsequences are common in real experimental data, precisely where a context-matching copying strategy can become unreliable. Our experiments show that even the most frontier models still struggle with this seemingly simple task.
  2. We have further supplemented the evaluation results of 2D-RoPE and other PE models with language modeling PPL results on PG-19 (long books corpus), ArXiv, and GitHub (subsets of the Pile corpus). The experimental results, shown below, indicate that 2D-RoPE has considerably better length generalization than RoPE (lower PPL on context lengths above 4K). Please also see our response to W1 and W3 for Reviewer njz7 for the complete results.

PG-19 (long books)

Model 1K 2K 4K 8K 16K
2D-RoPE 15.97 17.09 17.12 17.67 44.10
H-RoPE 15.85 16.92 18.70 43.45 108.85
RoPE 15.75 16.81 19.82 54.59 159.46

ArXiv

Model 1K 2K 4K 8K 16K
2D-RoPE 8.14 7.67 7.21 6.87 7.77
H-RoPE 8.08 7.58 7.95 21.64 94.01
RoPE 7.97 7.58 8.53 43.01 285.03

GitHub

Model 1K 2K 4K 8K 16K
2D-RoPE 8.00 4.81 4.73 5.82 15.54
H-RoPE 7.87 4.75 4.91 13.93 55.02
RoPE 7.90 4.73 5.16 25.14 187.44

W2: The method depends on an induced 2D structure. Auto-2D-RoPE partly addresses this, but is not widely explored in the paper.

A: Thanks for your comment. As you mentioned and acknowledged, 2D-RoPE constructs the 2D position IDs through the linebreak token, and that is why we developed a more flexible and learnable position encoding--Auto 2D-RoPE. As shown in Figure 3 and Figure 6, Auto-2D-RoPE achieves strong length generalization on the binary copy task. Moreover, the second subfigure of Figure 5 shows that this advantage persists when the newline token is replaced by a non-line-break separator, demonstrating that Auto-2D-RoPE does not rely on explicitly specified line breaks to recover a useful 2D positional structure.

We also agree that an automatic way to construct the 2D structure is not fully explored. However, given that this paper already contains a substantial amount of revealing the failures in the copy task, an analysis of their causes, as well as the introduction and analysis of 2D-RoPE, we believe that further exploration of more flexible 2D position encodings may be beyond the scope of this paper and is better left for future work.


Q1: Can the authors sharpen the expressivity claim for RoPE? Theorem 3.2 shows that a two-layer RoPE transformer can represent length-generalizing copy, while the experiments show that trained RoPE models often do not learn it. Is there a formal or empirical characterization of why optimization prefers the observed context-matching / locator-style solution over the constructive position-based RoPE solution?

A: Thanks for your comment. We agree that a thorough understanding why RoPE fails to learn copy is a interesting research topic. However, analyzing the training dynamics of Transformers in theory is often technically very challenging. Previous theoretical analyses of Transformer training dynamics have typically been limited to narrow regimes, such as layer-wise training, absolute position encoding, and treating Q⊤KQ^\top K as a single parameter matrix, etc. Therefore, further theoretical work in this area may be better left for future research.

Q2: What is the precise task class for which 2D-RoPE should give a positional advantage? The method works naturally when source and target tokens share column indices, as in line-separated copying. Can the authors characterize what happens when the output format inserts, deletes, groups, or reorders tokens, so that source-target alignment is no longer from the same column?

A: Thank you for this question. The relevant task class is broader than exact same-column copying. The key condition is that the correct source token for each output token lies at a fixed relative 2D displacement (Δr,Δc)(\Delta_r,\Delta_c) that does not depend on the input length. Same-column copying is only the special case Δc=0\Delta_c=0.

Indeed, our theoretical template can be

(A1,…,Aa,s,B1,…,Bb,s),(A_1,\ldots,A_a,s,B_1,\ldots,B_b,s),

where a,b≥2a,b\geq 2 may be arbitrary fixed constants. The source and target copies of sis_i may therefore have a nonzero fixed column offset determined by aa and bb. Empirically, our LLM experiments in Section 5 for copying also don't require copying from the same column.

Reviewer njZ7 · CommentOpenReview ↗

Reply to authors' rebuttal

I thank the authors for their detailed response. I will maintain my score.

Reviewer 6MnZOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
2/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 a failure mode in frontier LLMs: exact copying. The authors show that several frontier models perform poorly on synthetic copy tasks, such as Binary Copy and Python List Conversion, even when the input is well within the context window. The paper argues that this failure is tied to the positional encoding, RoPE. In particular, the authors suggest that standard 1D positional encodings, such as RoPE.

The paper proposes 2D-RoPE, which views text as a 2D grid induced by line breaks. Tokens receive both a row ID and a column ID, so copying across rows can be implemented by attending to the token in the same column. The paper supports this proposal with synthetic copy experiments, pretrained language model experiments on DCLM, evaluations on copy and NIAH RoPE.asks, and several theoretical results comparing their version to the original.

Strengths and weaknesses

Strengths

  • The paper identifies a failure mode: frontier models and some open source models struggle with simple in-context operations like copying that should be trivially within reach.
  • The proposed 2D-RoPE method is evaluated not only on synthetic probes but also through pretraining on DCLM, with gains on both copy and NIAH tasks.
  • The empirical setup uses clean, controlled tasks: Binary Copy (reproduce a 0/1 sequence) and Python List Conversion (convert a comma-separated list into a Python list) that isolate the phenomenon of interest.

Weaknesses

  • The method reads as a short term solution rather than a long term solution. As shown in Figure 1, 2D-RoPE improves over baselines but is still not perfect.
  • The tasks are realistic enough. The paper should demonstrate that the method (after improvement) yields gains on more realistic tasks rather than synthetic copy probes.
  • The theoretical results distract from the core contribution. Including all three theoretical results dilutes the focus of the paper.
  • The method does not appear to handle copying across line breaks. The proposed approach does not seem to account for how to copy after a line break, which is a basic case that any robust copy mechanism must address.
Questions
  1. How should the results be interpreted in light of recent work on RoPE mechanisms, especially work arguing that RoPE can support robust positional attention via high-frequency components? Is 2D-RoPE enabling a fundamentally new mechanism, or mostly making an existing RoPE-style positional mechanism easier to learn?

  2. Were all frontier-model experiments conducted through APIs? If so, how can the authors rule out confounds from hidden prompt processing, context compaction, tokenizer behavior, system prompts, output postprocessing, or other serving-stack effects?

  3. In Theorem 3.1, the contradiction appears to depend on an inequality labeled Eq. (2). I found this step difficult to verify. Could the authors explicitly derive how the relevant line in the proof implies Eq. (2), including all assumptions used in that transition? Theorem 3.2 appears to use a different prompt template or setup than Theorem 3.1. How does this change the takeaway? If the positive expressivity result relies on a more structured prompt, then it is not clear that it directly resolves the limitation shown in Theorem 3.1.

  4. In Theorem 4.1, how should we reason about the case where the model has just output a line break and then needs to continue copying from the corresponding post-line-break position in the source? Does the construction handle copying arbitrary multi-line strings, or only the simpler case where the source and target are separated into two clean rows?

  5. Appendix theorem L.5 appears to contain an unfinished TODO. What is the intended statement and proof? This should be completed or removed before publication

Limitations

Can the authors highlight the limitations of this work?

Final justification

See official comment.

Formatting concerns

NA

5 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Dear reviewer 6MnZ,

We thank you for your feedback and for acknowledging that “the proposed 2D-RoPE method is evaluated not only on synthetic probes but also through pretraining on DCLM, with gains on both copy and NIAH tasks.” We believe the reviewer’s main concerns stem from the limited evaluation of our methods’ broader benefits for language modeling and the unclear role of our theory. We address the two key weaknesses below and are confident that these clarifications, along with the supplementary material, resolve the primary reasons for the negative score.

W1: The method reads as a short-term solution rather than a long-term solution. As shown in Figure 1, 2D-RoPE improves over baselines but is still not perfect.

A: We thank the reviewer for this comment. We suggest that the results in Figure 1 should not be interpreted in isolation. We do not claim that 2D RoPE is already a complete solution to every form of copying. However, our empirical and theoretical results demonstrate its strong performance in controlled settings and provide a substantial advantage in more realistic settings.

  1. 2D RoPE reaches perfect accuracy in binary copy (the left subfigure in Figure 1). In our binary copy experiments, 1-layer 2D RoPE models maintain perfect accuracy at test lengths more than 1,000 times the maximum training length, while 12-layer models remain perfect up to about 100 times the training length. The models are trained only on the imbalanced distribution and also generalize to uniform and recursive flip strings. This demonstrates both length generalization and distribution generalization.

  2. In the Python list conversion experiment, 2D RoPE also achieves perfect accuracy on lists up to three times longer than those used for finetuning. We have made these complete results clearer in the revised version.

  3. Figure 1 evaluates generalization across both length and distribution shifts. For binary copy, the model is finetuned only on imbalanced strings and is then evaluated on longer inputs from the structurally different recursive flip distribution. This tests both length and distribution generalization. For Python list conversion, the model is trained only on lists containing 50 to 150 data points and is evaluated on lists containing up to 500 data points. Although 2D RoPE does not reach 100 percent accuracy at every extreme test length, it maintains a large and consistent advantage over all evaluated frontier models and standard RoPE models.

  4. Finetuning a larger standard model does not close this gap. We finetune Qwen3 8B on the same imbalanced binary copy data and with the same setup used for our pretrained models. Despite having substantially more parameters, Qwen3 8B still fails to generalize reliably beyond the training lengths. This suggests that the improvement from 2D RoPE is not simply due to model scale or additional finetuning. The positional structure itself plays an important role.

We therefore view 2D RoPE not as a temporary patch that merely improves a benchmark score, but as evidence for a broader architectural principle.

W2: The tasks are not realistic enough. The paper should demonstrate that the method (after improvement) yields gains on more realistic tasks.

A: For realistic tasks, we have added evaluations of 2D-RoPE, H-RoPE, and RoPE on PG-19 (a book corpus by Rae et al. (2020)), ArXiv papers, and GitHub code. The latter two datasets are subsets of the Pile dataset (Gao et al., 2020). We compare the models using language modeling perplexity as a function of context length. Due to space constraints, we report only the results for the 1.4B pre-trained models, but the results for other checkpoints are similar.

PG-19 (long books)

Model 1K 2K 4K 8K 16K
2D-RoPE 15.97 17.09 17.12 17.67 44.10
H-RoPE 15.85 16.92 18.70 43.45 108.85
RoPE 15.75 16.81 19.82 54.59 159.46

ArXiv

Model 1K 2K 4K 8K 16K
2D-RoPE 8.14 7.67 7.21 6.87 7.77
H-RoPE 8.08 7.58 7.95 21.64 94.01
RoPE 7.97 7.58 8.53 43.01 285.03

GitHub

Model 1K 2K 4K 8K 16K
2D-RoPE 8.00 4.81 4.73 5.82 15.54
H-RoPE 7.87 4.75 4.91 13.93 55.02
RoPE 7.90 4.73 5.16 25.14 187.44

2D-RoPE models have comparable perplexity as RoPE models on sequences within the training context length (2K), length but has notably lower perplexity on contexts beyond the training context (4K and beyond).

Our new perplexity analysis suggests a more specific explanation for the long context advantage of 2D-RoPE. On ArXiv with an 8K context length, we group tokens by their row or column index and compute the average token perplexity within each group. When grouped by row index, RoPE and 2D-RoPE perform similarly at small row indices, but RoPE perplexity increases sharply as the row index grows, while 2D-RoPE remains relatively stable. H-RoPE shows an intermediate trend. This indicates that the advantage of 2D-RoPE is concentrated in generalization along the row coordinate. In contrast, the column grouped results do not show that 2D-RoPE generalizes better to unseen large column indices. Its advantage is clear for common column positions, but becomes much smaller and less consistent for very large columns.

PPL by column index

Col. index 0–225 226–450 451–675 676–900 901–1125 1126–1350 1351–1575 1576–1800
RoPE 82.30 66.46 57.50 43.98 17.80 12.05 16.27 7.81
H-RoPE 47.96 38.26 34.45 24.90 14.21 12.17 17.64 8.57
2D-RoPE 14.53 9.94 11.98 10.39 8.23 12.12 16.52 9.76

PPL by row index

Row index 0–15 16–31 32–47 48–63 64–79 80–95 96–111 112–126
RoPE 15.55 13.84 13.11 36.06 183.80 334.96 431.64 468.95
H-RoPE 15.18 13.76 11.73 15.77 64.55 201.81 208.81 190.02
2D-RoPE 16.05 14.53 11.26 7.63 11.00 20.54 11.10 12.94

These results suggest that 2D-RoPE converts a single token-level extrapolation problem into two more structured problems, and the main benefit comes from the row coordinate. Within the 2K training context, examples with a high density of linebreak tokens can already expose the model to relatively large row indices. Moreover, the row index increases only when a line break is encountered, so it grows much more slowly than the 1D token index. Even when an 8K or 16K document contains unseen row indices, the required extrapolation distance along the row axis can therefore be much smaller than the token-level extrapolation required by standard RoPE. The column coordinate can still extrapolate poorly for unusually long lines, which is consistent with the absence of a clear advantage at large column indices. This more specific row-based explanation is consistent with the substantially lower overall perplexity of 2D-RoPE on long sequences from PG-19, ArXiv, and GitHub. We will include this grouped row and column analysis, together with the corresponding discussion, in the revised version.

W3 & General Clarification of Theory: The theoretical results distract from the core contribution. Including all three theoretical results dilutes the focus of the paper.

A: Thank you for raising this concern. We respectfully disagree that the theoretical part is a distraction. It is essential to the paper’s central argument and is directly motivated by the empirical observations. We would like to clarify the role of each theoretical result below:

  1. The theory in Section 3 helps explain the observed failure of models using RoPE. In 1D coordinates, the correct source token lies at an offset that changes with the input length. Our results show that a 1-layer Transformer with a shift-invariant positional encoding cannot directly implement this copying rule, while a 2-layer Transformer using RoPE can represent it by constructing additional positional features. This distinction is important. The result shows that deeper models can represent the copying task but still fail to learn a solution with the capability of generalizing to longer sequences. Under the one-dimensional positional structure, the relative offset between a source token and its corresponding target token changes with sequence length. This directly motivates 2D RoPE, which makes the source-to-target relative offset fixed across different sequence lengths.

  2. The theory in Section 4 then explains why this 2D-RoPE design can succeed. The expressivity result shows that a one-layer 2D RoPE Transformer can directly implement the position-based copying rule. The global minima analysis goes one step further by showing, in a controlled learning setting, that length generalization is not limited to a specially constructed parameter choice. Constrained global minimizers of the population loss learn a solution that generalizes beyond the training lengths. These results together establish a clear theoretical separation between 1D and 2D-RoPE and explain why the fixed relative displacement introduced by 2D-RoPE remarkably improves length generalization.

  3. We also acknowledge that several typographical and organizational issues made the theory harder to follow than intended, especially the statement and presentation of the global minima analysis for 2D-RoPE. In the next revision, we will carefully correct the notation and statements, reorganize the proofs, and make the logical progression clear.

Due to word limit, we provide our responses to W4 and Q1–Q5 in separate official comments below

Authors · CommentOpenReview ↗

Additional Response to Reviewer 6MnZ [1/2]

W4: The method does not appear to handle copying across line breaks. The proposed approach does not seem to account for how to copy after a linebreak.

A: We thank the reviewer for raising this point. The scope where 2D-RoPE can still work depends on whether the source–target displacement remains fixed after introducing internal line breaks.

  1. 2D RoPE can directly handle copying with any fixed number of line breaks, even when each line is much longer than those seen during training. Suppose the source contains a fixed number of lines and the output preserves the same line structure. Corresponding source and target tokens then retain the same column coordinate, while their row coordinates differ by a fixed constant. Copying is therefore still retrieval at a fixed relative 2D displacement. This is the same mechanism as in our original task, where the line break between the source and target creates two aligned rows. The argument also extends to any fixed multiline template; what matters is that the relative row and column offsets do not depend on the input length.

  2. For less regular formats, we introduce Auto-2D-RoPE. If the number or placement of line breaks varies across examples, rule-based 2D-RoPE does not necessarily preserve a single fixed source–target row offset. Auto-2D-RoPE is designed for this more flexible setting: rather than treating every newline according to a hard-coded rule, it learns how the two positional coordinates should evolve from token representations. Our experiment replacing the newline separator with another token shows that Auto-2D-RoPE can recover useful 2D structure even when the predefined line-break rule is unavailable. We agree, however, that our current results do not establish a general solution for arbitrary multiline transformations, and we will state this limitation explicitly.

  3. The basic copy task already exposes a clear gap between standard positional encodings and 2D RoPE. Theoretically, a 1-layer Transformer with any shift-invariant positional encoding, including RoPE, ALiBi, and NoPE, cannot represent binary copy even for all strings of length at most five. In contrast, a 1-layer Transformer with 2D-RoPE can represent the correct copying rule and generalize to much longer sequences. The experiments show the same clear difference. Models using standard positional encodings fail rapidly beyond the training length, while 2D-RoPE maintains perfect copying far beyond the lengths seen during training.

Thus, 2D-RoPE does support copying across line breaks when they induce a length-stable 2D alignment. Arbitrary, input-dependent multiline alignment is a broader problem, and Auto-2D-RoPE is a step toward solving this problem.


Q1: Is 2D-RoPE enabling a fundamentally new mechanism, or mostly making an existing RoPE-style positional mechanism easier to learn?

A: We thank the reviewer for this question. Our answer is nuanced: 2D-RoPE uses the same rotary operation as RoPE, but it is not merely a frequency rescaling or another modification of a 1D positional encoding. Its key change is to assign each token a two-dimensional coordinate derived from textual structure. This enables a direct positional retrieval mechanism that is unavailable to a one-layer Transformer with standard 1D shift-invariant positional encodings. We clarify the gap between 2D-RoPE and RoPE in the following 2 aspects.

  1. The theory identifies a clear mechanistic and expressivity separation. Under a 1D representation, the correct source token lies at an offset that varies with the input length, whereas 2D-RoPE converts this relation into a fixed relative displacement between aligned rows and columns. Our theoretical results formalize this distinction: a one-layer Transformer with a standard shift-invariant PE cannot solve the binary copy task, while a one-layer 2D-RoPE Transformer can represent—and, in our stylized learning setting, learn—a length-generalizing copying rule. Since a two-layer RoPE Transformer can also represent copying, this is not an absolute impossibility for RoPE; rather, it shows that 2D-RoPE makes the desired positional mechanism directly available, while RoPE requires additional layers to construct and recover the length-dependent alignment.

  2. The empirical results show that this distinction matters in practice. In our synthetic experiments, 2D-RoPE exhibits a large and consistent length-generalization gap over all tested standard 1D positional encodings, including RoPE, ALiBi, NoPE, and RNoPE. This gap appears in both one-layer and 12-layer models and across uniform, imbalanced, and recursive-flip distributions. It also persists after realistic pretraining on DCLM: across models from 350M to 1.4B parameters, replacing 1D RoPE with 2D-RoPE substantially improves copying and Python-list conversion while maintaining comparable pretraining loss, validation loss, and general language performance.

Therefore, we would characterize 2D-RoPE as introducing a new coordinate-based retrieval mechanism, rather than a new attention operator. Its advantage comes from changing the geometry of the task: a length-dependent 1D alignment becomes a fixed relative displacement in 2D. Deep RoPE models can in principle emulate the resulting behavior, but 2D-RoPE makes that behavior substantially more direct and learnable.

Q2: Were all frontier-model experiments conducted through APIs? If so, how can the authors rule out confounds from hidden prompt processing, context compaction, tokenizer behavior, system prompts, output postprocessing, or other serving-stack effects?

A: Yes, all frontier-model experiments are conducted through APIs. We agree that black-box API evaluations cannot completely rule out these effects. However, we want to argue the following two points:

  1. Our main goal of these experiments is to point out an important issue in modern large language models: frontier models cannot do copying well. To our best knowledge, this is the first paper that points out this problem. No matter how the details of these models are, our experiments have successfully proved such a result: the deployed frontier systems available to users do not reliably perform exact copying. Moreover, we can find failures in several independent providers, model families, and copy tasks. This makes a single provider-specific artifact unlikely and establishes the practical conclusion that currently deployed frontier systems are unreliable at copying.
  2. Although there are some details that we cannot fully control, we did the following to minimize observable confounds and make the comparison fair. We disclose the complete system and user prompts in the paper, where we can see that different models use the same user prompt. We use temperature 0 whenever supported. Tokenizer behavior is controlled explicitly. For Recursive-Flip copying, we chose either {0,1} or {000,111} so that each logical binary unit corresponds to one token for the evaluated model (therefore, different models share the same token numbers). For the imbalanced task, all models received the same alphabet {" a"," b"}, both of which are single tokens in every tested tokenizer. We will provide more details of our API experiments in the revised version.

Q3: In Theorem 3.1, the contradiction appears to depend on an inequality labeled Eq. (2). I found this step difficult to verify. Could the authors explicitly derive how the relevant line in the proof implies Eq. (2), including all assumptions used in that transition? Theorem 3.2 appears to use a different prompt template or setup than Theorem 3.1. How does this change the takeaway? If the positive expressivity result relies on a more structured prompt, then it is not clear that it directly resolves the limitation shown in Theorem 3.1.

A: Thanks for your careful reading, and we would love to give detailed clarification of our theory.

  1. Before explaining Eq. (2), we first provide some intuition behind the proof of Theorem 3.1. Intuitively, 1-layer transformer fails to copy since copying requires retrieval at a length-dependent offset rather than a fixed offset. Thus, the failure of one-layer models reflects a lack of capability for processing length-dependent tasks.
  2. Actually, Eq. (2) comes from comparing the two inequalities in line 957, and the two inequalities in line 957 are just applying Eq. (1) for considering (s1,i1),(s2,i2)(s_1,i_1),(s_2,i_2). Here Eq. (1) comes from rewriting the definition of correct copying in our theoretical setting in Appendix I. We will explain it more in the final version. We find the confusion may come from the typo in Eq. (2). The correct version here is
exp⁡(f(6,q(0),k(0)))Δ(0)+exp⁡(f(4,q(0),k(1)))Δ(1)<exp⁡(f(6,q(0),k(1)))Δ(1)+exp⁡(f(4,q(0),k(0)))Δ(0).\exp(f(6,q_{(0)},k_{(0)}))\Delta_{(0)}+\exp(f(4,q_{(0)},k_{(1)}))\Delta_{(1)}<\exp(f(6,q_{(0)},k_{(1)}))\Delta_{(1)}+\exp(f(4,q_{(0)},k_{(0)}))\Delta_{(0)}.

We will change it to the correct inequality in the final version. 3. Actually, both results can be generalized to a general prompt template. We apologize for this confusion. We can consider a generalized template parameterized by a positive integer pair (a,b)(a,b). Under this template, a full copy example is the sequence

(A1,⋯ ,Aa,s,B1,⋯ ,Bb,  s),(\mathtt{A}_1,\cdots,\mathtt{A}_a,s,\mathtt{B}_1,\cdots,\mathtt{B}_b,\;s),

where s∈{0,1}+=⋃k≥1{0,1}ks \in \{0, 1\}^+ = \bigcup_{k\ge 1} \{0, 1\}^k is a binary string to be copied, and LLMs are asked to autoregressively reproduce the second occurrence of ss. The tokens A1,⋯ ,Aa\texttt{A}_1,\cdots,\texttt{A}_a form a fixed prefix and B1,⋯ ,Bb\texttt{B}_1,\cdots,\texttt{B}_b a fixed delimiter (with B1=<\n>\texttt{B}_1=<\backslash n>) that marks the end of the source string and the start of the copy. All of A1,⋯ ,Aa,B1,⋯ ,Bb\texttt{A}_1,\cdots,\texttt{A}_a,\texttt{B}_1,\cdots,\texttt{B}_b are distinct tokens outside {0,1}\{0,1\}, so that they can serve as positional anchors without being confused with the binary content. Both Theorems 3.1 and 3.2 work for a,b≥2a,b\geq 2. We will provide theorems with the general structure in the final version.

Authors · CommentOpenReview ↗

Additional Response to Reviewer 6MnZ [2/2]

Q4: In Theorem 4.1, how should we reason about the case where the model has just output a linebreak and then needs to continue copying from the corresponding post-line-break position in the source? Does the construction handle copying arbitrary multi-line strings, or only the simpler case where the source and target are separated into two clean rows?

A: The template in Theorem 4.1 is motivated by a common copy workflow of the form $<Input>: s\texttt{<Input>: } s$ $<Output>: s,\texttt{<Output>: } s,$ where a linebreak separates the source string from the generated copy. More generally, as discussed in W2, our construction applies to the template $(A1,…,Aa,s,B1,…,Bb,s)(A_1,\ldots,A_a,s,B_1,\ldots,B_b,s)$ for arbitrary fixed a,ba,b, with B1=<\n>B_1=<\backslash n>. The source and target strings therefore do not need to start at exactly the same column: their column difference may be any fixed offset determined by aa and bb, and the construction adjusts the query rotation accordingly. The current theorem, however, assumes that ss itself contains no line-break tokens because otherwise the fixed-offset construction in Theorem 4.1 does not directly apply. We will clarify this scope in the revision. Auto-2D-RoPE provides one possible direction toward handling more general layouts by learning 2D coordinates automatically, but a complete theoretical treatment of arbitrary multi-line copying remains an interesting future direction.

Q5: Appendix theorem L.5 appears to contain an unfinished TODO. What is the intended statement and proof? This should be completed or removed before publication

A: We apologize for this typo. The correct version of this theorem is the following: Assume that the 2D-RoPE frequency βi∼i.i.d.Unif[0,2π]\beta_i\overset{i.i.d.}{\sim}Unif[0,2\pi] for ∀i∈[d/2]\forall i \in[d/2]. Under Assumptions L.2-L.4, with probability at least 1−O(1d)1-O(\frac{1}{d}) over the randomness of β\beta, there exists M0>0M_0>0 such that for all M>M0M>M_0, the one-layer 2D-RoPE Transformer with parameter θL,M∗\theta_{L,M}^* can correctly copy all binary strings with length at most Ld/2L^{\sqrt{d}/2}. The proof is in Appendix L.2. We will polish it in the revision. The main idea is to introduce the function

fL(Q,K,V):=min⁡s,i,∣s∣≤L{gs,i+(Q,K,V)−gs,i−(Q,K,V)},f_L(Q,K,V):=\min_{s,i,|s|\leq L}\{ g_{s,i}^+(Q,K,V)-g_{s,i}^-(Q,K,V) \},

which acts as a surrogate for studying the margin between the attention logits assigned to correct and incorrect tokens. We first show that a small value of fL(Q,K,V)f_L(Q,K,V) leads to a lower bound on the population loss. We then construct a feasible parameter configuration with a large value of fL(Q,K,V)f_L(Q,K,V) and a small population loss. Comparing these two bounds shows that every constrained global minimizer must have a sufficiently large value of fL(Q,K,V)f_L(Q,K,V) when MM is sufficiently large. Finally, concentration properties of the random 2D-RoPE frequencies allow us to convert this lower bound on fL(Q,K,V)f_L(Q,K,V) into correct copying at lengths far beyond the training range

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

Missing a submission?

Loading the discussion…