稀疏自编码器特征匹配与电路压缩的语义最优传输方法
Semantic Optimal Transport for Sparse Autoencoder Feature Matching and Circuit Compression
AI 导读
一项 NeurIPS 2026 研究提出用语义最优传输框架解决稀疏自编码器(SAE)跨层特征匹配与特征电路压缩两大难题。方法将每个特征表示为激活加权的隐状态分布,投影到共享参考空间后用 Wasserstein 距离比较,并证明了该表示对激活缩放不变、扰动下稳定。实验显示其优于 decoder 向量和基于 LLM 的基线,可自动把大型特征电路压缩为可解释的超节点。
正文 · 原文
Abstract:Sparse autoencoders (SAEs) have become a central tool for interpreting language models. However, two key SAE analyses that remain difficult to scale are (1) matching semantically similar features across multi-layers and (2) compressing large feature circuits into interpretable supernodes. Although these have been treated as separate problems, we show that both are instances of a more fundamental challenge, which we frame as the estimation of semantic distances between SAE features that lie on different activation manifolds. We introduce a distributional framework for this problem, in which each feature is represented not by a single decoder vector like in the literature, but by an activation-weighted distribution over the hidden states that express it. By projecting these distributions into a shared reference space and comparing them with Wasserstein distance, our method provides a unified semantic metric for cross-layer feature comparison. We prove that our representation is invariant to activation rescaling, stable under perturbations, and recovers true matches under finite-sample margin conditions. Empirically, our method outperforms decoder-vector and LLM-based baselines and captures subtle functional distinctions between related features. Notably, our method compresses large feature circuits into interpretable supernodes automatically.
| Comments: | Neurips 2026 |
| Subjects: | Machine Learning (cs.LG); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2605.28567 [cs.LG] |
| (or arXiv:2605.28567v3 [cs.LG] for this version) | |
| https://doi.org/10.48550/arXiv.2605.28567 arXiv-issued DOI via DataCite |
Submission history
From: Tue Minh Cao [view email]
[v1]
Wed, 27 May 2026 14:54:58 UTC (5,371 KB)
[v2]
Wed, 21 Oct 2026 19:48:02 UTC (5,381 KB)
[v3]
Fri, 30 Oct 2026 02:01:16 UTC (5,381 KB)
来源:arXiv cs.AI · arxiv.org