arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.28149cs.LG
收藏

符号感知门控稀疏自编码器:使用Bi-Jump-ReLU激活函数建模反相关特征

Sign-Aware Gated Sparse Autoencoders: Modeling Anticorrelated Features with Bi-Jump-ReLU Activations

Amazon Web Services(亚马逊网络服务)

Bartosz Wieciech, Zmnako Awrahman, Marcin Czelej, Victor Hugo Jaramillo Velasquez, Wioletta Stobieniecka

AI总结:

提出符号感知门控稀疏自编码器(SA-GSAE),通过双面门控稀疏性、符号幅度路径和辅助重构,利用Bi-Jump-ReLU激活实现双极性共享,在保持参数效率的同时,在多个LLM激活点上优于标准门控SAE。

摘要:

稀疏自编码器(SAE)从大型语言模型中提取可解释特征,但标准变体强制非负性,迫使对截然相反的概念(例如“压力过高”与“压力过低”)使用单独的潜在变量,并在特征反相关时浪费字典容量。我们提出了符号感知门控SAE(SA-GSAE):双面门控稀疏性,带有符号幅度和辅助监督。极性敏感门控在任一符号上选择支持,符号幅度路径避免L1收缩,辅助重构防止门控崩溃。双极性共享——一个潜在变量沿共享方向编码两种符号——通过新的Bi-Jump-ReLU激活实现;参数核算表明,即使反相关对很少,符号感知也能保持参数效率。在Pythia-1B和SmolLM3-3B(6个单元,3个种子)的三个中层钩点上的真实LLM激活上,宽度为H的半宽SA-GSAE在3/6个单元(两个MLP输出钩点和resid-mid/Pythia-1B)上在整个扫描的L0重叠上严格帕累托支配宽度为2H的全宽门控SAE;在其余3个单元上,R²差距在0.025以内(最大差距-0.008),同时死单元分数绝对降低0.35-0.62。扫描几何平均死单元分数降低在MLP输出单元和Pythia-1B resid上约为100倍-500倍,在注意力单元和SmolLM3-3B resid上约为2倍-4倍。消融实验表明,双面门控和辅助损失是承重的(无辅助时LR降至0.27,98%死单元);绑定r_i^+ = r_i^-与无绑定不可区分(|ΔR²| = 0.0015),我们推荐这种对称变体作为默认。MLP输出的增益来自大多数潜在变量携带两种极性;在注意力上,双极性结构集中在一小部分顶级潜在变量中。全宽SA-GSAE在SmolLM3-3B resid上表现出可复现的重构崩溃,而半宽完全避免了这一点。

英文摘要:

Sparse Autoencoders (SAEs) extract interpretable features from Large Language Model activations, but standard variants enforce non-negative latents, so a bidirectional semantic axis (e.g., "pressure too high" vs. "pressure too low") must be split across two latents, wasting dictionary capacity on anticorrelated features. We propose the Sign-Aware Gated SAE (SA-GSAE), which combines two-sided gated sparsity, signed shrinkage-free magnitudes, and auxiliary gate supervision in a new Bi-Jump-ReLU activation, so that a single latent carries both polarities of one decoder direction; parameter accounting shows sign-awareness stays parameter-efficient even when anticorrelated pairs are rare. Across three mid-depth hookpoints on Pythia-1B and SmolLM3-3B (six cells, three seeds), a half-width SA-GSAE empirically dominates the aggregate mean frontier of a full-width Gated SAE on three of six cells, matches its R^2 within 0.025 on the remaining three, and cuts dead fraction by 0.35-0.82 absolute at matched L_0 = 64 on all six. Ablations show the two-sided gate and the auxiliary loss are essential whereas per-polarity asymmetry is not; we recommend the fully tied symmetric variant as the default. A blinded semantic audit finds nameable opposition between a latent's two sides is rare for SA-GSAE and all tested baselines, while sign-conditioned interventions show a single signed latent acts as a bidirectional causal dial where a pair of "opposite" non-negative latents does not; we scope interpretability claims accordingly. At full width, SA-GSAE is over-parameterized and its reported configuration exhibits a reproducible reconstruction collapse at the SmolLM3-3B residual-stream site; the recommended configuration (small threshold initialization with dead-latent threshold resets) prevents it.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑