Metraipolis › archive › dc_3ea620b1f395

Scaling Attention Head Analysis via Gradient-Based Attribution in Context-Aware Machine Translation — arXiv:2609.28117

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.28117
License (as archived)
CC0-1.0
Archived
2026-10-08T09:13:22.670Z
SHA-256 of the archived text
36aa23905fa1b2945e4dce937692738c7d055bdb78567b7e49904bb05afa5ab6
Stable URL of this page
https://metraipolis.com/documento/dc_3ea620b1f395

How to cite

Scaling Attention Head Analysis via Gradient-Based Attribution in Context-Aware Machine Translation — arXiv:2609.28117 — arXiv (en), https://arxiv.org/abs/2609.28117 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_3ea620b1f395 (Metraipolis archive dc_3ea620b1f395, sha256 36aa23905fa1b2945e4dce937692738c7d055bdb78567b7e49904bb05afa5ab6)
BibTeX
@misc{dc3ea620b1f395,
  title = {Scaling Attention Head Analysis via Gradient-Based Attribution in Context-Aware Machine Translation — arXiv:2609.28117},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.28117},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_3ea620b1f395; sha256 36aa23905fa1b2945e4dce937692738c7d055bdb78567b7e49904bb05afa5ab6},
  year = {2026}
}

Archived text

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

In this paper, we introduce a gradient-based head attribution strategy where the Token-level Max-Margin loss is backpropagated to the attention maps. This framework enables a large-scale causal analysis of attention heads, making it suitable for LLMs. We evaluate our method on the task of disambiguation in Context-aware Machine Translation, where we analyze 50 phenomena across 4 models and 4 language directions. We empirically show the alignment of our method with the effects of increasing the attention scores of token-to-token relations on three models and two language directions, ensuring the robustness of our method. Our analysis reveals the presence of the "general-purpose" attention heads that improve the model's performance when attending to different relations. We find that the average attention a head assigns to a relation does not necessarily relate to the model's performance, which suggests that the models developed redundancies during training in terms of the head functions.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-24 in cs.AI).
Categorie arXiv: Computation and Language (cs.CL) ; Artificial Intelligence (cs.AI).
Pagina del lavoro: https://arxiv.org/abs/2609.28117 — 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-08T08:13:26.753Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-24?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).