Research Papers 论文研究 4h ago Updated 22m ago 更新于 22分钟前 46

Discovering Cross-Language Reasoning Invariance in LLMs with Geometry-Invariant Sparse Autoencoders 利用几何不变稀疏自编码器发现LLM中的跨语言推理不变性

Researchers investigated whether multilingual LLMs rely on shared cross-language features or language-specific computations when solving the same math problems A novel Geometry-Invariant Sparse Autoencoder (GI-SAE) was introduced, combining reconstruction loss with InfoNCE contrastive loss to encourage language-invariant activations GI-SAE successfully amplifies cross-language feature alignment (higher CKA and Jaccard similarity), but geometric similarity does not guarantee functional interchang 研究多语言LLM是否依赖共享特征解决不同语言的数学问题,而非仅产生相似输出的语言特定计算 提出GI-SAE(几何不变稀疏自编码器),结合重建损失与信息噪声对比估计损失,使编码器产生跨语言一致的激活 通过特征交换实验验证共享特征的功能可互换性,发现几何相似性高并不必然意味着功能可互换 跨语言特征共享呈现模型和架构依赖性,GI-SAE在不同模型中效果差异显著:Qwen增强、Gemma无功能收益、Llama和Phi呈混合层依赖效应

62
Hot 热度
72
Quality 质量
65
Impact 影响力

Analysis 深度分析

TL;DR

  • Researchers investigated whether multilingual LLMs rely on shared cross-language features or language-specific computations when solving the same math problems
  • A novel Geometry-Invariant Sparse Autoencoder (GI-SAE) was introduced, combining reconstruction loss with InfoNCE contrastive loss to encourage language-invariant activations
  • GI-SAE successfully amplifies cross-language feature alignment (higher CKA and Jaccard similarity), but geometric similarity does not guarantee functional interchangeability
  • Cross-language reasoning invariance is model- and architecture-dependent, with strong effects in Qwen, no benefit in Gemma, and mixed results in Llama and Phi
  • Feature swapping experiments using KL divergence revealed that shared geometric structure alone is insufficient for functional equivalence across languages

Why It Matters

This research directly addresses a fundamental question in multilingual AI: whether models truly share reasoning mechanisms across languages or merely produce similar outputs through divergent internal computations. For AI practitioners building multilingual systems, understanding whether cross-language feature sharing exists—and which architectures support it—has implications for model efficiency, transfer learning, and interpretability. The GI-SAE methodology also offers a new tool for probing multilingual representation alignment beyond surface-level metrics.

Technical Details

  • Dataset and Setup: Evaluated five models from four families (Qwen, Gemma, Llama, Phi) on the Multilingual Grade School Math (MGSM) dataset across six languages (English, German, French, Spanish, Russian, Chinese), retaining only problems with valid reasoning traces in all languages
  • CKA Analysis: Used Centered Kernel Alignment to identify layers exhibiting cross-language representational alignment before applying SAEs
  • GI-SAE Architecture: Introduced a contrastive sparse autoencoder that supplements standard reconstruction loss with an Information Noise-Contrastive Estimation (InfoNCE) loss, training the encoder to produce similar activations for the same problem across different languages and token positions
  • Functional Interchangeability Test: Swapped SAE feature values between languages during forward passes and measured output changes via KL divergence per feature, establishing a direct test of whether geometrically similar features are functionally equivalent
  • Key Finding: Higher geometric similarity (CKA/Jaccard) from GI-SAE did not consistently translate to functional interchangeability, revealing a critical gap between representational alignment and operational equivalence

Industry Insight

  • Model architecture choices significantly impact cross-language reasoning sharing; practitioners should evaluate GI-SAE-style probing when selecting or fine-tuning multilingual models for reasoning-heavy tasks
  • The gap between geometric similarity and functional interchangeability suggests that interpretability tools based solely on representational alignment may overstate cross-lingual transfer potential—functional validation is essential
  • GI-SAE's contrastive approach could be adapted beyond multilingual settings to study invariance along other dimensions (e.g., domain, style, or prompt framing), offering a generalizable framework for probing feature robustness in LLMs

TL;DR

  • 研究多语言LLM是否依赖共享特征解决不同语言的数学问题,而非仅产生相似输出的语言特定计算
  • 提出GI-SAE(几何不变稀疏自编码器),结合重建损失与信息噪声对比估计损失,使编码器产生跨语言一致的激活
  • 通过特征交换实验验证共享特征的功能可互换性,发现几何相似性高并不必然意味着功能可互换
  • 跨语言特征共享呈现模型和架构依赖性,GI-SAE在不同模型中效果差异显著:Qwen增强、Gemma无功能收益、Llama和Phi呈混合层依赖效应

为什么值得看

该研究为理解多语言模型的内部表征机制提供了实证证据,揭示了跨语言推理不变性的模型依赖性本质。对从事多语言模型优化、可解释性研究和特征工程的研究者具有重要参考价值。

技术解析

  • 使用MGSM数据集,在英语、德语、法语、西班牙语、俄语和中文六种语言下保留具有有效推理轨迹的问题,回放轨迹并记录多层表征
  • 采用CKA(Centered Kernel Alignment)识别跨语言对齐层,在选定层训练两种SAE:基线重建模型与提出的GI-SAE对比变体
  • GI-SAE在重建损失基础上引入InfoNCE损失,训练编码器对同一问题的不同语言轨迹产生相似激活,不受语言或token位置影响
  • 通过前向传播中交换特征值并测量KL散度,量化特征的功能可互换性,发现GI-SAE虽提升CKA和Jaccard相似性,但几何相似性高不保证功能可互换

行业启示

  • 多语言模型的跨语言能力并非通用架构属性,而是高度依赖具体模型设计,开发者需针对目标模型特性定制多语言优化策略
  • 几何空间中的表征对齐与功能等价性存在脱节,单纯优化表征相似性指标不足以保障跨语言功能一致性,需结合功能验证
  • 稀疏自编码器结合对比学习可有效增强跨语言结构,但效果因模型而异,建议在Qwen类架构中优先应用,对Gemma等模型需谨慎评估

Disclaimer: The above content is generated by AI and is for reference only. 免责声明:以上内容由 AI 生成,仅供参考。

LLM 大模型 Research 科学研究 Dataset 数据集 Benchmark 基准测试 Evaluation 评测