cs.CLOct 13, 2026

Copy-Paste Language Models

Authors: Nathan Godey, Yoav Artzi

Organizations: Cornell University New York City, USA

Abstract

Transformers are intuitively considered to be efficient at copying from their inputs. We actually show that the ability of LLMs to copy in context can be improved through explicit modeling. We propose Copy-Paste Language Models (CPLMs), which add a lightweight Copy-Paste head to the conventional language modeling (LM) head. CPLMs improve training efficiency, downstream performance, and offer new operating points in long-context and retrieval setups. We validate our approach by pretraining models from 135M to 1.7B parameters, showing improvements across all scales and backbones with negligible training and inference overheads. We explain the success of CPLMs by showing that they partially mitigate the LM head gradient bottleneck through an alternative gradient path.

Figures & tables

Appendix figures & tables22 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Copying Under Repetition: From Prefix Matching to Position Hashing

    Oct 19, 2026Anxin Guo, Tianlong Huang, Chenxiao Yang +1TransformerRepetition in Language Generation

  2. Late Attention Layers Alone Can Copy Entity Tokens, but Not Without Attending to Their Context

    Sep 28, 2026Muyu He, Yuchen Liu, Ran Tao +1Memorization in Language ModelsLLM Interpretability