paper-with-me

Papers

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

2026-07-17 · Haodong Wen, Yiran Zhang, Yingfa Chen, Kaifeng Lyu arxiv

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

📄 PDF Abstract BibTeX arXiv:2607.16072

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Frontiers in Intelligent Colonoscopy

2024-10-22 · Ge-Peng Ji, Jingyi Liu, Peng Xu, Nick Barnes 외

Colonoscopy is currently one of the most sensitive screening methods for colorectal cancer. This study investigates the frontiers of intelligent colonoscopy techniques and their prospective implications for multimodal me…

Image CaptioningImage ClassificationLanguage Modeling+3

Stress-Testing Long-Context Language Models with Lifelong ICL and Task Haystack

2024-07-23 · Xiaoyue Xu, Qinyuan Ye, Xiang Ren

We introduce Lifelong ICL, a problem setting that challenges long-context language models (LMs) to learn a sequence of language tasks through in-context learning (ICL). We further introduce Task Haystack, an evaluation s…

In-Context LearningNavigate

Are Vision Language Models Cross-Cultural Theory of Mind Reasoners?

2025-12-19 · Zabir Al Nazi, GM Shahariar, Md. Abrar Hossain, Wei Peng arxiv

Theory of Mind (ToM) - the ability to attribute beliefs and intents to others - is fundamental for social intelligence, yet Vision-Language Model (VLM) evaluations remain largely Western-centric. In this work, we introdu…

Alignment Whack-a-Mole : Finetuning Activates Verbatim Recall of Copyrighted Books in Large Language Models

2026-03-21 · Xinyue Liu, Niloofar Mireshghallah, Jane C. Ginsburg, Tuhin Chakrabarty arxiv

Frontier LLM companies have repeatedly assured courts and regulators that their models do not store copies of training data. They further rely on safety alignment strategies via RLHF, system prompts, and output filters t…

All Code, No Thought: Current Language Models Struggle to Reason in Ciphered Language

2025-10-10 · Shiyuan Guo, Henry Sleight, Fabien Roger arxiv

Detecting harmful AI actions is important as AI agents gain adoption. Chain-of-thought (CoT) monitoring is one method widely used to detect adversarial attacks and AI misalignment. However, attackers and misaligned model…