Explainability for Large Language Models: A Survey
Document Type
Article
Publication Date
2-22-2024
Abstract
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.
Identifier
85187025678 (Scopus)
Publication Title
ACM Transactions on Intelligent Systems and Technology
External Full Text Location
https://doi.org/10.1145/3639372
e-ISSN
21576912
ISSN
21576904
Issue
2
Volume
15
Recommended Citation
Zhao, Haiyan; Chen, Hanjie; Yang, Fan; Liu, Ninghao; Deng, Huiqi; Cai, Hengyi; Wang, Shuaiqiang; Yin, Dawei; and Du, Mengnan, "Explainability for Large Language Models: A Survey" (2024). Faculty Publications. 629.
https://digitalcommons.njit.edu/fac_pubs/629