停止探测,开始编码:为什么线性探测和稀疏自编码器在组合泛化上失败
Stop Probing, Start Coding: Why Linear Probes and Sparse Autoencoders Fail at Compositional Generalisation
AI总结:
本文指出线性探测和稀疏自编码器在组合泛化中失效是由于字典学习问题而非压缩学习问题,揭示了稀疏推理在叠加下的挑战。
摘要:
线性表示假设认为神经网络激活编码高层概念为线性混合。然而,在叠加下,这种编码是将高维概念空间投影到低维激活空间,概念空间中的线性决策边界在投影后不一定保持线性。在该设定中,传统稀疏编码方法利用压缩感知保证恢复潜在因素。稀疏自编码器(SAEs)则将稀疏推理 amortise 到固定编码器,引入系统性差距。本文显示该差距在训练集大小、潜在维度和稀疏性水平上持续存在,导致 SAEs 在分布外(OOD)组合偏移下失败。通过受控实验分解失败原因,我们发现字典学习——而非推理过程——是关键约束:SAEs 学习的字典方向明显错误,用相同字典替换编码器进行每样本 FISTA 推理并不能消除差距。一个 oracle 基线证明该问题在所有测试尺度下均可通过良好字典解决。本文结果将 SAE 失败重新界定为字典学习挑战,而非压缩学习问题,并指出可扩展的字典学习是稀疏推理在叠加下的关键开放问题。
英文摘要:
The linear representation hypothesis states that neural network activations encode high-level concepts as linear mixtures. However, under superposition, this encoding is a projection from a higher-dimensional concept space into a lower-dimensional activation space, and a linear decision boundary in the concept space need not remain linear after projection. In this setting, classical sparse coding methods with per-sample iterative inference leverage compressed sensing guarantees to recover latent factors. Sparse autoencoders (SAEs), on the other hand, amortise sparse inference into a fixed encoder, introducing a systematic gap. We show this amortisation gap persists across training set sizes, latent dimensions, and sparsity levels, causing SAEs to fail under out-of-distribution (OOD) compositional shifts. Through controlled experiments that decompose the failure, we identify dictionary learning as the limiting factor (not the inference procedure): SAE-learned dictionaries point in substantially wrong directions, and replacing the encoder with per-sample FISTA on the same dictionary does not close the gap. An oracle baseline proves the problem is solvable with a good dictionary at all scales tested. Our results, including experiments with real LLM activations (Pythia-70M, Gemma-2-2B) reframe the SAE failure as a dictionary learning challenge, not an inference problem, and point to scalable dictionary learning as the key open problem for sparse inference under superposition.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。