arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.11779cs.LGcs.LO
收藏

通过机制可解释性对模型性能进行紧凑证明

Compact Proofs of Model Performance via Mechanistic Interpretability

Jason Gross, Rajashree Agrawal, Thomas Kwa, Euan Ong, Chun Hei Yip, Alex Gibson, Soufiane Noubir, Lawrence Chan

AI总结:

提出利用机制可解释性将模型权重逆向工程为人类可解释算法,从而推导并紧凑证明模型性能的形式化保证,在小型transformer上验证了该方法,并发现更短更忠实的证明能提供更多机制理解和更紧的性能界限。

摘要:

我们提出使用机制可解释性——即将模型权重逆向工程为人类可解释算法的技术——来推导并紧凑地证明模型性能的形式化保证。我们通过对在Max-of-K上训练的小型transformer正式证明准确率下限来原型化该方法,验证了在151个随机种子和四个K值上的证明可迁移性。我们创建了102种不同的计算机辅助证明策略,并评估了它们在每个模型上的证明长度和界限紧密度。使用定量指标,我们发现较短的证明似乎需要并提供更多的机制理解。此外,我们发现更忠实的机制理解会导致更紧的性能界限。我们通过定性检查部分证明来确认这些联系。最后,我们将复合的无结构错误确定为使用机制可解释性生成模型性能紧凑证明的关键挑战。

英文摘要:

We propose using mechanistic interpretability -- techniques for reverse engineering model weights into human-interpretable algorithms -- to derive and compactly prove formal guarantees on model performance. We prototype this approach by formally proving accuracy lower bounds for a small transformer trained on Max-of-K, validating proof transferability across 151 random seeds and four values of K. We create 102 different computer-assisted proof strategies and assess their length and tightness of bound on each of our models. Using quantitative metrics, we find that shorter proofs seem to require and provide more mechanistic understanding. Moreover, we find that more faithful mechanistic understanding leads to tighter performance bounds. We confirm these connections by qualitatively examining a subset of our proofs. Finally, we identify compounding structureless errors as a key challenge for using mechanistic interpretability to generate compact proofs on model performance.

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

↑