Reproduce “Separating Tongue from Thought: Activation Patching Reveals Language-Agnostic Concept Representations in Transformers” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Clément Dumas, Chris Wendler, Veniamin Veselovsky, Giovanni Monea, Robert West
This paper identifies causal evidence that multilingual Large Language Models (LLMs) like Llama 2 form language-agnostic concept representations, which are processed distinctly from language-specific information during text generation. Using activation patching, the study demonstrates that averaging these conceptual representations across languages improves translation performance and enables natural language generation.
Key insights
- LLMs exhibit a layered processing mechanism where output language information is resolved in earlier layers (0-16), followed by the abstraction and resolution of the core concept information in later layers (16-31).
- Averaging concept representations across different source languages significantly improves translation performance, providing causal evidence that concept representations are largely independent of specific language encodings.
- The language-agnostic mean representations are rich enough to be directly 'usable' by the model for complex natural language generation tasks, such as defining concepts.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.