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

使用稀疏自动编码器的可解释嵌入:一种数据分析工具包

Interpretable Embeddings with Sparse Autoencoders: A Data Analysis Toolkit

University of California, Berkeley(加州大学伯克利分校);Massachusetts Institute of Technology(麻省理工学院)

Nick Jiang, Xiaoqing Sun, Lisa Dunlap, Lewis Smith, Neel Nanda

AI总结:

研究针对大规模文本语料库分析难题,提出用稀疏自动编码器创建SAE嵌入,经四个任务验证其比大语言模型更具性价比、比密集嵌入更可控,通过案例研究展示其在研究模型行为上的作用,是用于非结构化数据分析的通用工具。

摘要:

分析大规模文本语料库是机器学习中的一项核心挑战,对识别训练数据中不良模型行为或偏差等任务至关重要。当前方法常依赖基于大语言模型的昂贵技术或密集嵌入模型,缺乏对感兴趣属性的控制。我们提出使用稀疏自动编码器创建SAE嵌入,其维度映射到可解释概念。通过四个数据分析任务表明,SAE嵌入比大语言模型更具成本效益和可靠性,比密集嵌入更可控。利用SAE的大假设空间,能揭示数据集语义差异等见解。通过案例研究展示了SAE嵌入在研究模型行为方面的作用。这些结果表明SAE是用于非结构化数据分析的通用工具,凸显通过数据解释模型的重要性。

英文摘要:

Analyzing large-scale text corpora is a core challenge in machine learning, crucial for tasks like identifying undesirable model behaviors or biases in training data. Current methods often rely on costly LLM-based techniques (e.g. annotating dataset differences) or dense embedding models (e.g. for clustering), which lack control over the properties of interest. We propose using sparse autoencoders (SAEs) to create SAE embeddings: representations whose dimensions map to interpretable concepts. Through four data analysis tasks, we show that SAE embeddings are more cost-effective and reliable than LLMs and more controllable than dense embeddings. Using the large hypothesis space of SAEs, we can uncover insights such as (1) semantic differences between datasets and (2) unexpected concept correlations in documents. For instance, by comparing model responses, we find that Grok-4 clarifies ambiguities more often than nine other frontier models. Relative to LLMs, SAE embeddings uncover bigger differences at 2-8x lower cost and identify biases more reliably. Additionally, SAE embeddings are controllable: by filtering concepts, we can (3) cluster documents along axes of interest and (4) outperform dense embeddings on property-based retrieval. Using SAE embeddings, we study model behavior with two case studies: investigating how OpenAI model behavior has changed over time and finding "trigger" phrases learned by Tulu-3 (Lambert et al., 2024) from its training data. These results position SAEs as a versatile tool for unstructured data analysis and highlight the neglected importance of interpreting models through their data.

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

↑