arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2411.16252cs.CL
收藏

NormXLogit:顶部的头从不撒谎

NormXLogit: The Head-on-Top Never Lies

Tehran Institute for Advanced Studies, Khatam University, Iran(泰赫兰高级研究院,卡坦大学,伊朗);Cardiff University(卡迪夫大学)

Sina Abbasi, Mohammad Reza Modarres, Mohammad Taher Pilehvar

AI总结:

本文提出模型无关的token重要性评估方法NormXLogit,利用词嵌入范数与输出表示关系,在忠实度和逐层解释上优于或媲美现有方法。

摘要:

随着新的大型语言模型(LLMs)频繁出现,考虑与模型无关的方法的潜在价值变得重要,这些方法能够在多种架构上提供可解释性。尽管近期LLM可解释性的进展显示出前景,但许多方法依赖于复杂的、针对特定模型的技术,且计算成本高昂。为解决这些局限性,我们提出了NormXLogit,一种用于评估单个输入token重要性的新技术。该方法基于与每个token相关的输入和输出表示进行运作。首先,我们证明在LLMs的预训练过程中,词嵌入的范数能够有效捕捉token的重要性。其次,我们揭示了token的重要性与其表示能够多大程度上近似模型最终预测之间存在显著关系。广泛的分析表明,我们的方法在忠实度方面优于现有的基于梯度的方法,并且在逐层解释方面与领先的架构特定技术相比具有竞争力的性能。

英文摘要:

With new large language models (LLMs) emerging frequently, it is important to consider the potential value of model-agnostic approaches that can provide interpretability across a variety of architectures. While recent advances in LLM interpretability show promise, many rely on complex, model-specific methods with high computational costs. To address these limitations, we propose NormXLogit, a novel technique for assessing the significance of individual input tokens. This method operates based on the input and output representations associated with each token. First, we demonstrate that during the pre-training of LLMs, the norms of word embeddings effectively capture token importance. Second, we reveal a significant relationship between a token's importance and the extent to which its representation can resemble the model's final prediction. Extensive analyses reveal that our approach outperforms existing gradient-based methods in terms of faithfulness and offers competitive performance in layer-wise explanations compared to leading architecture-specific techniques.

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

↑