Sign inGet started
Paper · arXiv

Copying Under Repetition: From Prefix Matching to Position Hashing

Frontier LLMs can copy random text almost flawlessly, yet they often overrun or truncate long blocks of repeated characters. In repeated strings, matching local content no longer reliably identifies where copying should continue or when it should stop. Nevertheless, we show that a two-layer transformer with $O(\log\log N)$-bit precision and $O(\log N/\log\log N)$ width can copy every string up to a chosen design horizon $N$ and terminate correctly under arbitrary repetition. We use RoPE-style rotations of attention values and outputs (VO-rotations) with small prime periods to encode distances from delimiter anchors modulo those primes. By the Chinese Remainder Theorem, these periodic enco...

AuthorsAnxin Guo, Tianlong Huang, Chenxiao Yang et al.
Primary categorycs.LG
Published19 October 2026
Last updated at source19 October 2026
cs.LGcs.CL
Embed this entry
<iframe src="https://silytics.si/embed/item/2d4df17f-f55b-4a67-bca4-3052c04b9284" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

Popularity, last 2 days

0 now. Counts as reported by the source, snapshotted daily by Silytics.

Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 21 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.