Manuscript Offprint

arXiv:2608.23809

Discovering Cross-Language Reasoning Invariance in LLMs with Geometry-Invariant Sparse Autoencoders

Igor Bogdanov, Changcheng Huang

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Multilingual language models can solve the same mathematical reasoning problem in different languages, but it remains unclear whether they rely on shared internal features or on language-specific computations that only produce similar outputs. We study this question in five models from four architecture families using the Multilingual Grade School Math (MGSM) dataset, with problems solved independently in English, German, French, Spanish, Russian, and Chinese, retaining only problems with valid reasoning traces in all six languages and replaying those traces through the model to record internal representations at multiple layers. For each model, we first use Centered Kernel Alignment (CKA) to identify layers with strong cross-language alignment. At each selected layer, we train two sparse autoencoders: a baseline reconstruction-only model and a contrastive variant introduced in this work, the Geometry-Invariant Sparse Autoencoder (GI-SAE). GI-SAE supplements the reconstruction loss with an Information Noise-Contrastive Estimation (InfoNCE) loss that trains the encoder to produce similar feature activations for traces of the same problem, regardless of language or token position. We then test whether the resulting shared features are functionally interchangeable by swapping shared feature values between languages during the model's forward pass and measuring the resulting change in output (causal patching), quantified by Kullback-Leibler (KL) divergence per shared feature. Although GI-SAE yields higher CKA and Jaccard similarity at nearly every layer, higher geometric similarity does not consistently imply greater functional interchangeability across languages. We find that cross-language feature sharing is strongly model- and architecture-dependent in this sample and appears at different depths in different models. GI-SAE primarily amplifies cross-language structure already present in each model: the pattern is model-specific, with progressive strengthening in Qwen, no functional benefit in already-saturated Gemma, and mixed layer-dependent effects in Llama and Phi.

1. Introduction

Multilingual large language models solve mathematical reasoning problems across languages, but whether they develop shared internal representations for reasoning, or merely produce correct answers via language-specific computations, remains an open question. The distinction has practical consequences: shared representations would allow a single interpretability analysis to cover all languages, while language-specific computations would require separate analysis for each language.

Three gaps remain in this literature: to our knowledge, no study has tested whether cross-language shared features are functionally interchangeable (substituting values preserves behavior); sharing has not been compared across model families under a common protocol; and it is unknown whether geometric metrics (CKA, Jaccard) reliably predict functional interchangeability.

We address these gaps by training two top-K SAEs (Gao et al., 2025) at each layer of each model: a baseline SAE (reconstruction only) and a geometry-invariant SAE (GI-SAE) (van den Oord et al., 2019) that adds an InfoNCE contrastive loss encouraging similar feature activations across languages for the same problem. We test functional interchangeability via causal patching: swapping shared feature values between languages and measuring KL divergence per shared feature.

Across five models from four families (78 layer observations, two SAEs each), we find that GI-SAE improves geometric similarity nearly everywhere but improves functional interchangeability only where baseline sharing is moderate. Geometric similarity alone does not guarantee functional

1^{1}Department of Systems and Computer Engineering, Carleton University, Ottawa, ON, Canada. Correspondence to: Igor Bogdanov igorbogdanov@cmail.carleton.ca.

Mechanistic Interpretability Workshop at the 43rd International Conference on Machine Learning, Seoul, South Korea, 2026. Copyright 2026 by the author(s).

interchangeability.

We contribute a causal measurement framework for testing whether cross-language SAE features are functionally interchangeable; GI-SAE, a top-K SAE with an InfoNCE objective; and a five-model, six-language empirical study showing that baseline shared fraction stratifies GI-SAE outcomes: 83% win rate in the convergent profile (95% CI [64, 93]), no systematic benefit in the low-sharing profile, and 6% in the saturated profile.

References (33)