Metraipolis › archive › dc_551b3d5ad757

Late Attention Layers Alone Can Copy Entity Tokens, but Not Without Attending to Their Context — arXiv:2609.35663

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.35663
License (as archived)
CC0-1.0
Archived
2026-10-07T21:53:47.143Z
SHA-256 of the archived text
a72f2cb27794ef03891a15079793ffe0fefb51701c914f103fe33c8a00bf6c75
Stable URL of this page
https://metraipolis.com/documento/dc_551b3d5ad757

How to cite

Late Attention Layers Alone Can Copy Entity Tokens, but Not Without Attending to Their Context — arXiv:2609.35663 — arXiv (en), https://arxiv.org/abs/2609.35663 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_551b3d5ad757 (Metraipolis archive dc_551b3d5ad757, sha256 a72f2cb27794ef03891a15079793ffe0fefb51701c914f103fe33c8a00bf6c75)
BibTeX
@misc{dc551b3d5ad757,
  title = {Late Attention Layers Alone Can Copy Entity Tokens, but Not Without Attending to Their Context — arXiv:2609.35663},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.35663},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_551b3d5ad757; sha256 a72f2cb27794ef03891a15079793ffe0fefb51701c914f103fe33c8a00bf6c75},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.35663. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Large language models (LLMs) reliably perform entity copying, in which a model copies tokens referring to an entity, termed entity tokens, from the prompt into its output to answer a question. Although entity copying is straightforward for most LLMs, existing research does not provide a systematic account of which layers specialize in this fundamental task or how other tokens in the same sequence, termed context tokens, influence the model's ability to copy the entity tokens. To address these questions, we conduct experiments on Qwen3-8B using two novel methods: genie-in-a-bottle, which controls exactly which layers can participate in an entity-copying task, and attention lobotomy, which cuts off specific tokens' attention to entity tokens without affecting the remaining attention distribution. We find that two distinct groups of layers in the second half of the model are both necessary and sufficient for entity copying. Moreover, in addition to the decoding position's attention to entity tokens, context tokens' attention to entity tokens also proves necessary for copying the exact tokens, even though context tokens do not store entity information themselves unless they satisfy particular semantic properties. Our findings establish the critical role of late layers in entity copying under the guidance of context tokens, calling for future work on how models propagate and consume entity information.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-29 in cs.CL).
Categorie arXiv: Computation and Language (cs.CL).
Pagina del lavoro: https://arxiv.org/abs/2609.35663 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-07T21:27:08.698Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-09-29?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).