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

InterpBench:用于评估机制可解释性技术的半合成Transformer

InterpBench: Semi-Synthetic Transformers for Evaluating Mechanistic Interpretability Techniques

University of Buenos Aires(布宜诺斯艾利斯大学)

Rohan Gupta, Iván Arcuschin, Thomas Kwa, Adrià Garriga-Alonso

AI总结:

提出InterpBench,一个包含已知电路的半合成transformer基准,通过SIIT方法训练模型以评估机制可解释性技术。

摘要:

机制可解释性方法旨在识别神经网络实现的算法,但当真实算法未知时,很难验证这些方法。本研究提出InterpBench,这是一个包含已知电路的半合成且逼真的transformer集合,用于评估这些技术。我们使用更严格版本的Interchange Intervention Training (IIT) 训练简单的神经网络,我们称之为Strict IIT (SIIT)。与原始方法一样,SIIT通过将神经网络的内部计算与期望的高级因果模型对齐来训练神经网络,但它还防止非电路节点影响模型输出。我们在Tracr工具生成的稀疏transformer上评估SIIT,发现SIIT模型在保持Tracr原始电路的同时更加逼真。SIIT还能训练具有更大电路的transformer,如Indirect Object Identification (IOI)。最后,我们使用我们的基准评估现有的电路发现技术。

英文摘要:

Mechanistic interpretability methods aim to identify the algorithm a neural network implements, but it is difficult to validate such methods when the true algorithm is unknown. This work presents InterpBench, a collection of semi-synthetic yet realistic transformers with known circuits for evaluating these techniques. We train simple neural networks using a stricter version of Interchange Intervention Training (IIT) which we call Strict IIT (SIIT). Like the original, SIIT trains neural networks by aligning their internal computation with a desired high-level causal model, but it also prevents non-circuit nodes from affecting the model's output. We evaluate SIIT on sparse transformers produced by the Tracr tool and find that SIIT models maintain Tracr's original circuit while being more realistic. SIIT can also train transformers with larger circuits, like Indirect Object Identification (IOI). Finally, we use our benchmark to evaluate existing circuit discovery techniques.

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

↑