Reproduce “Tracing Multilingual Representations in LLMs with Cross-Layer Transcoders” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Abir Harrasse, Florent Draye, Punya Syon Pandey, Zhijing Jin, Bernhard Schölkopf

The authors trace multilingual language-model processing with Cross-Layer Transcoders and attribution graphs to follow feature influences across layers. They find multilingual features concentrated in middle layers and language-specific features later. GPT-2 trained without English shows an entropy peak at layers 5–6, supporting shared middle-layer organization without English. This pattern is absent in four-layer TinyStories models and may not generalize.

Key insights

  • A consistent U-shaped layer-wise entropy pattern was discovered: early and late layers exhibit language-specific features, while middle layers form a shared, language-agnostic multilingual space, a property independent of English dominance.
  • Language decoding is primarily driven by small sets of high-frequency, language-specific features located in the late layers, which linearly encode language identity and can be causally manipulated to shift output language.
  • Performance disparities in non-English languages are mechanistically attributed to factors like tokenizer bias leading to sub-tokenization, which weakens early-layer connections to semantic clusters and impacts downstream activation strength.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.