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

大型语言模型的可解释性:综述

Explainability for Large Language Models: A Survey

New Jersey Institute of Technology(新泽西理工学院);Johns Hopkins University(约翰斯·霍普金斯大学);Wake Forest University(维克森林大学);University of Georgia(佐治亚大学);Shanghai Jiao Tong University(上海交通大学);Institute of Computing Technology, CAS(中国科学院计算技术研究所);Baidu Inc.(百度公司);Rice University(莱斯大学)

Haiyan Zhao, Hanjie Chen, Fan Yang, Ninghao Liu, Huiqi Deng, Hengyi Cai, Shuaiqiang Wang, Dawei Yin, Mengnan Du

AI总结:

本文综述了大型语言模型的可解释性技术,按微调与提示两种训练范式分类梳理局部和全局解释方法,并讨论了评估指标、模型调试应用及LLM时代的新挑战与机遇。

摘要:

大型语言模型(LLMs)在自然语言处理领域展现出令人瞩目的能力。然而,其内部机制仍不清晰,这种透明度的缺乏给下游应用带来了不必要的风险。因此,理解并解释这些模型对于阐明其行为、局限性和社会影响至关重要。本文提出了一种可解释性技术的分类体系,并对解释基于Transformer的语言模型的方法进行了结构化概述。我们根据LLMs的训练范式对技术进行分类:传统的基于微调的范式和基于提示的范式。针对每种范式,我们总结了生成单个预测的局部解释和整体模型知识的全局解释的目标与主流方法。我们还讨论了评估所生成解释的指标,以及如何利用解释来调试模型并提升性能。最后,我们考察了与传统机器学习模型相比,LLMs时代解释技术面临的关键挑战和新兴机遇。

英文摘要:

Large language models (LLMs) have demonstrated impressive capabilities in natural language processing. However, their internal mechanisms are still unclear and this lack of transparency poses unwanted risks for downstream applications. Therefore, understanding and explaining these models is crucial for elucidating their behaviors, limitations, and social impacts. In this paper, we introduce a taxonomy of explainability techniques and provide a structured overview of methods for explaining Transformer-based language models. We categorize techniques based on the training paradigms of LLMs: traditional fine-tuning-based paradigm and prompting-based paradigm. For each paradigm, we summarize the goals and dominant approaches for generating local explanations of individual predictions and global explanations of overall model knowledge. We also discuss metrics for evaluating generated explanations, and discuss how explanations can be leveraged to debug models and improve performance. Lastly, we examine key challenges and emerging opportunities for explanation techniques in the era of LLMs in comparison to conventional machine learning models.

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

↑