Explainability for Large Language Models: A Survey

Объяснимость больших языковых моделей: обзор
Shuaiqiang Wang, Ninghao Liu, Mengnan Du, Fan Yang, Hengyi Cai, Haiyan Zhao, Hanjie Chen, Huiqi Deng, Dawei Yin
2024-01-02

Transformer-based language modelsexplainability techniquesexplanation evaluation metricslarge language modelslocal and global explanations
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 article, 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 deep learning models.
1
For each paradigm, the survey distinguishes local explanations of individual predictions from global explanations of overall model knowledge.
2
It identifies key challenges and emerging opportunities for explaining LLMs compared with conventional deep learning models.
3
It organizes explanation methods according to two LLM training paradigms: traditional fine-tuning and prompting.
4
The survey introduces a taxonomy of explainability techniques for Transformer-based large language models.
5
The survey reviews metrics for evaluating generated explanations and describes how explanations can support model debugging and performance improvement.

large language models (LLMs), particularly Transformer-based language models

explainability of their internal mechanisms, behaviors, limitations, social impacts, predictions, and learned knowledge

Publication Details
Publication Date
2024-01-02
Journal
Publisher
ISSN
Cited by
624
Access Type
Author Information
Authors
Shuaiqiang Wang
Ninghao Liu
Mengnan Du
Fan Yang
Hengyi Cai
Haiyan Zhao
Hanjie Chen
Huiqi Deng
Dawei Yin
Explore further
Open the scid.ai AI chat with a ready-made request: it will find papers on a similar topic and help build a literature review.
Find similar papers in the chat →
Make a presentation
100%