Disentangling meaning from language in LLM-based machine translation

Théo Lasnier, Armel Zebaze, Djamé Seddah, Rachel Bawden, Benoît Sagot
2/4/2026
cs.CL

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

Mechanistic Interpretability (MI) seeks to explain how neural networks implement their capabilities, but the scale of Large Language Models (LLMs) has limited prior MI work in Machine Translation (MT) to word-level analyses. We study sentence-level MT from a mechanistic perspective by analyzing attention heads to understand how LLMs internally encode and distribute translation functions. We decompose MT into two subtasks: producing text in the target language (i.e. target language identification) and preserving the input sentence's meaning (i.e. sentence equivalence). Across three families of open-source models and 20 translation directions, we find that distinct, sparse sets of attention heads specialize in each subtask. Based on this insight, we construct subtask-specific steering vectors and show that modifying just 1% of the relevant heads enables instruction-free MT performance comparable to instruction-based prompting, while ablating these heads selectively disrupts their corresponding translation functions.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 5 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{lasnier2026disentangling,
  title  = {Disentangling meaning from language in LLM-based machine translation},
  author = {Théo Lasnier and Armel Zebaze and Djamé Seddah and Rachel Bawden and Benoît Sagot},
  year   = {2026},
  eprint = {2602.04613},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.04613v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.04613.svg)](https://codeofpaper.com/paper/2602.04613)

Discussion