Sparse Autoencoders Can Capture Language-Specific Concepts Across Diverse Languages

Lyzander Marciano Andrylie, Inaya Rahmanisa, Mahardika Krisna Ihsani, Alfan Farizki Wicaksono, Haryo Akbarianto Wibowo +1 more
7/15/2025
cs.CL

Official code: LyzanderAndrylie/language-specific-features (1 star, last commit 2026-02-23).

Abstract

Understanding the multilingual mechanisms of large language models (LLMs) provides insight into how they process different languages, yet this remains challenging. Existing studies often focus on individual neurons, but their polysemantic nature makes it difficult to isolate language-specific units from cross-lingual representations. To address this, we explore sparse autoencoders (SAEs) for their ability to learn monosemantic features that represent concrete and abstract concepts across languages in LLMs. While some of these features are language-independent, the presence of language-specific features remains underexplored. In this work, we introduce SAE-LAPE, a method based on feature activation probability, to identify language-specific features within the feed-forward network. We find that many such features predominantly appear in the middle to final layers of the model and are interpretable. These features influence the model's multilingual performance and language output and can be used for language identification with performance comparable to fastText along with more interpretability. Our code and complete figures are available at https://github.com/LyzanderAndrylie/language-specific-features

View on arXivView PDF

Code Implementations(1)

Implementation of "Sparse Autoencoders Can Capture Language-Specific Concepts Across Diverse Languages"

12HTML, ShellFeb 7, 20258 months ago

Similar Papers

Cite this paper

@article{andrylie2025sparse,
  title  = {Sparse Autoencoders Can Capture Language-Specific Concepts Across Diverse Languages},
  author = {Lyzander Marciano Andrylie and Inaya Rahmanisa and Mahardika Krisna Ihsani and Alfan Farizki Wicaksono and Haryo Akbarianto Wibowo and Alham Fikri Aji},
  year   = {2025},
  eprint = {2507.11230},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.11230v3}
}

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/2507.11230.svg)](https://codeofpaper.com/paper/2507.11230)

Discussion