arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.14459cs.CLcs.AI
收藏

生成式语言模型的多层次解释

Multi-Level Explanations for Generative Language Models

Harvard University(哈佛大学);IBM Research(IBM研究院);Merck Research Labs(默克研究实验室)
Lucas Monteiro Paes, Dennis Wei, Hyo Jin Do, Hendrik Strobelt, Ronny Luss, Amit Dhurandhar, Manish Nagireddy, Karthikeyan Natesan Ramamurthy, Prasanna Sattigeri… 展开作者

Lucas Monteiro Paes, Dennis Wei, Hyo Jin Do, Hendrik Strobelt, Ronny Luss, Amit Dhurandhar, Manish Nagireddy, Karthikeyan Natesan Ramamurthy, Prasanna Sattigeri, Werner Geyer, Soumya Ghosh

AI总结:

提出 MExgen 多层次解释框架,通过上下文片段影响评分扩展 LIME/SHAP,并在摘要与问答中证明其比现有方法及 LLM 自我解释更忠实。

摘要:

尽管大型语言模型(LLM)越来越多地被用于摘要和问答等基于上下文的任务,但理解是什么促使 LLM 产生某个响应仍具有挑战性。我们提出了面向生成式语言模型的多层次解释(MExgen),这是一种为基于上下文的文本生成提供解释的技术。MExgen 为上下文的各个部分分配分数,以量化它们对模型输出的影响。它将 LIME 和 SHAP 等归因方法扩展到用于基于上下文任务的 LLM,这些任务具有:(1)推理成本高,(2)输入文本长,以及(3)输出为文本。我们对用于摘要和问答的、基于扰动的归因方法进行了自动化和人工的系统性评估。结果表明,与包括 LLM 自我解释在内的现有替代方案相比,我们的框架能够为生成输出提供更忠实的解释。我们将 MExgen 的代码作为 ICX360 工具包的一部分开源:https://github$.$com/IBM/ICX360。

英文摘要:

Despite the increasing use of large language models (LLMs) for context-grounded tasks like summarization and question-answering, understanding what makes an LLM produce a certain response is challenging. We propose Multi-Level Explanations for Generative Language Models (MExGen), a technique to provide explanations for context-grounded text generation. MExGen assigns scores to parts of the context to quantify their influence on the model's output. It extends attribution methods like LIME and SHAP to LLMs used in context-grounded tasks where (1) inference cost is high, (2) input text is long, and (3) the output is text. We conduct a systematic evaluation, both automated and human, of perturbation-based attribution methods for summarization and question answering. The results show that our framework can provide more faithful explanations of generated output than available alternatives, including LLM self-explanations. We open-source code for MExGen as part of the ICX360 toolkit: https://github$.$com/IBM/ICX360.

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

↑