计算机科学 > 机器学习
[提交于 2024年10月10日]
标题:Jet Expansions of Residual Computation
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We introduce a framework for expanding residual computational graphs using jets, operators that generalize truncated Taylor series. Our method provides a systematic approach to disentangle contributions of different computational paths to model predictions. In contrast to existing techniques such as distillation, probing, or early decoding, our expansions rely solely on the model itself and requires no data, training, or sampling from the model. We demonstrate how our framework grounds and subsumes logit lens, reveals a (super-)exponential path structure in the recursive residual depth and opens up several applications. These include sketching a transformer large language model with $n$-gram statistics extracted from its computations, and indexing the models' levels of toxicity knowledge. Our approach enables data-free analysis of residual computation for model interpretability, development, and evaluation.
提交历史
来自:Yihong Chen[v1] 2024年10月10日 星期四 00:00:00 UTC