Abstract
Understanding and mitigating the potential risks associated with foundation models (FMs) hinges on developing effective interpretability methods. Sparse Autoencoders (SAEs) have emerged as a promising tool for disentangling FM representations, but they struggle to capture rare, yet crucial concepts in the data. We introduce Specialized Sparse Autoencoders (SSAEs), designed to illuminate these elusive dark matter features by focusing on specific subdomains. We present a practical recipe for training SSAEs, demonstrating the efficacy of dense retrieval for data selection and the benefits of Tilted Empirical Risk Minimization as a training objective to improve concept recall. Our evaluation of SSAEs on standard metrics, such as downstream perplexity and $L_0$ sparsity, show that they effectively capture subdomain tail concepts, exceeding the capabilities of general-purpose SAEs. We showcase the practical utility of SSAEs in a case study on the Bias in Bios dataset, where SSAEs achieve a 12.5\% increase in worst-group classification accuracy when applied to remove spurious gender information. SSAEs provide a powerful new lens for peering into the inner workings of FMs in subdomains.
Abstract (translated)
理解并减轻基础模型(FMs)相关的潜在风险,关键在于开发有效的可解释性方法。稀疏自动编码器(SAEs)已作为解耦FM表示的有前景工具出现,但它们难以捕捉数据中罕见却至关重要的概念。我们引入了专门化稀疏自动编码器(SSAEs),旨在通过专注于特定子领域来阐明这些难以捉摸的“暗物质”特征。本文提供了一种实用的训练SSAEs的方法,展示了密集检索在数据选择中的有效性以及倾斜经验风险最小化作为训练目标以提高概念召回率的好处。我们在标准指标上的评估(如下游困惑度和$L_0$稀疏性)表明,SSAEs能够有效地捕捉子域尾部概念,超出了一般用途SAEs的能力范围。我们通过在Bias in Bios数据集上的一项案例研究展示了SSAEs的实际效用,在此案例中,应用SSAEs去除多余性别信息后实现了最差群体分类准确率12.5%的增长。SSAEs为深入探究子领域中的FMs内部工作提供了一个强大的新视角。
URL
https://arxiv.org/abs/2411.00743