Usable XAI: 10 Strategies Towards Exploiting Explainability in the LLM Era
Xuansheng Wu, Haiyan Zhao, Yaochen Zhu, Yucheng Shi, Fan Yang, Lijie Hu, Tianming Liu, Xiaoming Zhai, Wenlin Yao, Jundong Li, Mengnan Du, Ninghao Liu
TL;DR
The paper defines Usable XAI for the LLM era and argues that explanations should both diagnose and improve LLM-based systems while also leveraging LLMs to make XAI more usable. It surveys 10 strategies spanning attribution methods, internal and latent representations, sample-based explanations, prompting, data augmentation, and human-emulation to enhance explainability and trustworthiness in LLMs. Through case studies and open-source code, it demonstrates practical pathways to debug, align, and safely deploy LLMs, while candidly outlining challenges in efficiency, faithfulness, retrieval, and ethics. The work aims to bridge the gap between explanation and practical impact, enabling more reliable, transparent, and controllable LLM applications across high-stakes domains.
Abstract
Explainable AI (XAI) refers to techniques that provide human-understandable insights into the workings of AI models. Recently, the focus of XAI is being extended toward explaining Large Language Models (LLMs). This extension calls for a significant transformation in the XAI methodologies for two reasons. First, many existing XAI methods cannot be directly applied to LLMs due to their complexity and advanced capabilities. Second, as LLMs are increasingly deployed in diverse applications, the role of XAI shifts from merely opening the ``black box'' to actively enhancing the productivity and applicability of LLMs in real-world settings. Meanwhile, the conversation and generation abilities of LLMs can reciprocally enhance XAI. Therefore, in this paper, we introduce Usable XAI in the context of LLMs by analyzing (1) how XAI can explain and improve LLM-based AI systems and (2) how XAI techniques can be improved by using LLMs. We introduce 10 strategies, introducing the key techniques for each and discussing their associated challenges. We also provide case studies to demonstrate how to obtain and leverage explanations. The code used in this paper can be found at: https://github.com/JacksonWuxs/UsableXAI_LLM.
