将稀疏编码嵌入模型架构,显著提升语言模型神经元可解释性。
Improving Neuron-level Interpretability with White-box Language Models
- 设计新型白盒架构CRATE,直接在模型中实现稀疏编码
- 多指标下可解释性最高提升103%,跨层稳定增强
- 适合关注模型内部机制与可解释性的研究者
自回归语言模型中的神经元可通过激活模式进行解释。近期研究表明,字典学习等后处理稀疏编码技术能提升神经元级可解释性。本文旨在从根本上改进神经网络可解释性,将稀疏编码直接嵌入模型架构,而非作为事后处理。我们提出一种类Transformer的白盒架构——编码速率变换器(Coding RAte TransformEr, CRATE),专为捕捉数据分布中的稀疏、低维结构而设计。全面实验表明,该模型在多种评估指标上实现显著提升(最高达103%相对改进)。详细分析证实,这种可解释性提升在不同层数、不同模型规模下均保持稳定,且源于模型对相关标记的一致且明确激活能力。这些发现为构建具备神经元级解释优势的白盒基础模型指明了新方向。
原文摘要 · Abstract (English)
Neurons in auto-regressive language models like GPT-2 can be interpreted by analyzing their activation patterns. Recent studies have shown that techniques such as dictionary learning, a form of post-hoc sparse coding, enhance this neuron-level interpretability. In our research, we are driven by the goal to fundamentally improve neural network interpretability by embedding sparse coding directly within the model architecture, rather than applying it as an afterthought. In our study, we introduce a white-box transformer-like architecture named Coding RAte TransformEr (CRATE), explicitly engineered to capture sparse, low-dimensional structures within data distributions. Our comprehensive experiments showcase significant improvements (up to 103% relative improvement) in neuron-level interpretability across a variety of evaluation metrics. Detailed investigations confirm that this enhanced interpretability is steady across different layers irrespective of the model size, underlining CRATE's robust performance in enhancing neural network interpretability. Further analysis shows that CRATE's increased interpretability comes from its enhanced ability to consistently and distinctively activate on relevant tokens. These findings point towards a promising direction for creating white-box foundation models that excel in neuron-level interpretation.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。