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

AxBench:引导LLM?即使是简单的基线也优于稀疏自编码器

AxBench: Steering LLMs? Even Simple Baselines Outperform Sparse Autoencoders

Stanford University(斯坦福大学)

Zhengxuan Wu, Aryaman Arora, Atticus Geiger, Zheng Wang, Jing Huang, Dan Jurafsky, Christopher D. Manning, Christopher Potts

AI总结:

本文提出AxBench基准,用于评估和比较语言模型的引导与概念检测技术,发现提示和简单基线方法优于稀疏自编码器,并引入了兼具竞争力和可解释性的ReFT-r1方法。

摘要:

对语言模型输出进行细粒度引导对于安全性和可靠性至关重要。提示和微调被广泛用于实现这些目标,但可解释性研究人员也提出了多种基于表示的技术,包括稀疏自编码器(SAEs)、线性人工断层扫描、监督引导向量、线性探测和表示微调。目前,尚无基准可以直接比较这些提案。因此,我们引入了AxBench,一个用于引导和概念检测的大规模基准,并报告了在Gemma-2-2B和9B上的实验。在引导方面,我们发现提示优于所有现有方法,其次是微调。在概念检测方面,基于表示的方法(如difference-in-means)表现最佳。在这两项评估中,SAEs均不具备竞争力。我们引入了一种新颖的弱监督表示方法(Rank-1 Representation Finetuning; ReFT-r1),该方法在两项任务上均具竞争力,同时提供了提示所缺乏的可解释性优势。伴随AxBench,我们训练并公开发布了ReFT-r1和DiffMean的SAE规模特征字典。

英文摘要:

Fine-grained steering of language model outputs is essential for safety and reliability. Prompting and finetuning are widely used to achieve these goals, but interpretability researchers have proposed a variety of representation-based techniques as well, including sparse autoencoders (SAEs), linear artificial tomography, supervised steering vectors, linear probes, and representation finetuning. At present, there is no benchmark for making direct comparisons between these proposals. Therefore, we introduce AxBench, a large-scale benchmark for steering and concept detection, and report experiments on Gemma-2-2B and 9B. For steering, we find that prompting outperforms all existing methods, followed by finetuning. For concept detection, representation-based methods such as difference-in-means, perform the best. On both evaluations, SAEs are not competitive. We introduce a novel weakly-supervised representational method (Rank-1 Representation Finetuning; ReFT-r1), which is competitive on both tasks while providing the interpretability advantages that prompting lacks. Along with AxBench, we train and publicly release SAE-scale feature dictionaries for ReFT-r1 and DiffMean.

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

↑