paper-with-me

홈 › Papers

Causal Language Control in Multilingual Transformers via Sparse Feature Steering

2025-07-17 · Cheng-Ting Chou, George Liu, Jessica Sun, Cole Blondin, Kevin Zhu, Vasu Sharma, Sean O'Brien arxiv

Deterministically controlling the target generation language of large multilingual language models (LLMs) remains a fundamental challenge, particularly in zero-shot settings where neither explicit language prompts nor fine-tuning are available. In this work, we investigate whether sparse autoencoder (SAE) features, previously shown to correlate with interpretable model behaviors, can be leveraged to steer the generated language of LLMs during inference. Leveraging pretrained SAEs on the residual streams of Gemma-2B and Gemma-9B, we identify features whose activations differ most significantly between English and four target languages: Chinese, Japanese, Spanish, and French. By modifying just a single SAE feature at one transformer layer, we achieve controlled language shifts with up to 90\% success, as measured by FastText language classification, while preserving semantic fidelity according to LaBSE (Language-Agnostic BERT Sentence Embedding) similarity. Our analysis reveals that language steering is most effective in mid-to-late transformer layers and is amplified by specific attention heads disproportionately associated with language-sensitive SAE features. These results demonstrate the promise of sparse feature steering as a lightweight and interpretable mechanism for controllable multilingual generation.

📄 PDF Abstract BibTeX arXiv:2507.13410

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

LangFIR: Discovering Sparse Language-Specific Features from Monolingual Data for Language Steering

2026-04-04 · Sing Hieng Wong, Hassan Sajjad, A. B. Siddique arxiv

Large language models (LLMs) show strong multilingual capabilities, yet reliably controlling the language of their outputs remains difficult. Representation-level steering addresses this by adding language-specific vecto…

Generation-Step-Aware Framework for Cross-Modal Representation and Control in Multilingual Speech-Text Models

2026-01-24 · Toshiki Nakai, Varsha Suresh, Vera Demberg arxiv

Multilingual speech-text models rely on cross-modal language alignment to transfer knowledge between speech and text, but it remains unclear whether this reflects shared computation for the same language or modality-spec…

Text Generation

First-Token Broadcasters: Mechanistic Origins of Language Identity and Distributed Robustness in Transformers

2026-06-21 · Arjun Pillai, Christian Hoang, Anjelo Jann Laroza arxiv

Why do multilingual language models sometimes generate in the wrong language, and why is this so hard to fix? We introduce Language Identity Head Ablation (LIHA), a causal intervention that zeros each attention head indi…

Multilingual Steering by Design: Multilingual Sparse Autoencoders and Principled Layer Selection

2026-05-21 · Yusser Al Ghussin, Daniil Gurgurov, Tanja Baeumel, Josef van Genabith 외 arxiv

Sparse autoencoders (SAEs) enable feature-level mechanistic interpretability and activation steering in large language models (LLMs), but SAE-based language control remains unreliable in multilingual settings: most SAEs …

Language IdentificationMachine Translation

Transformers with Sparse Attention for Granger Causality

2024-11-20 · Riya Mahesh, Rahul Vashisht, Chandrashekar Lakshminarayanan

Temporal causal analysis means understanding the underlying causes behind observed variables over time. Deep learning based methods such as transformers are increasingly used to capture temporal dynamics and causal relat…