From large language models to small logic programs: building global explanations from disagreeing local post-hoc explainers
Open Access
- 8 July 2024
- journal article
- research article
- Published by Springer Nature in Autonomous Agents and Multi-Agent Systems
- Vol. 38 (2) , 1-33
Abstract
The expressive power and effectiveness of large language models (LLMs) is going to increasingly push intelligent agents towards sub-symbolic models for natural language processing (NLP) tasks in human–agent interaction. However, LLMs are characterised by a performance vs. transparency trade-off that hinders their applicability to such sensitive scenarios. This is the main reason behind many approaches focusing on local post-hoc explanations, recently proposed by the XAI community in the NLP realm. However, to the best of our knowledge, a thorough comparison among available explainability techniques is currently missing, as well as approaches for constructing global post-hoc explanations leveraging the local information. This is why we propose a novel framework for comparing state-of-the-art local post-hoc explanation mechanisms and for extracting logic programs surrogating LLMs. Our experiments—over a wide variety of text classification tasks—show how most local post-hoc explainers are loosely correlated, highlighting substantial discrepancies in their results. By relying on the proposed novel framework, we also show how it is possible to extract faithful and efficient global explanations for the original LLM over multiple tasks, enabling explainable and resource-friendly AI techniques.Keywords
Funding Information
- EXPECTATION (CHIST-ERA-19-XAI-005, CHIST-ERA-19-XAI-005)
- FAIR—Future Artificial Intelligence Research (PE00000013, PE00000013)
- ENGINES — ENGineering INtElligent Systems around intelligent agent technologies (20229ZXBZM, 20229ZXBZM)
- Alma Mater Studiorum - Università di Bologna
This publication has 45 references indexed in Scilit:
- The Quarrel of Local Post-hoc Explainers for Moral Values Classification in Natural Language Processing2023
- Symbolic knowledge injection meets intelligent agents: QoS metrics and experimentsAutonomous Agents and Multi-Agent Systems, 2023
- The PSyKE Technology for Trustworthy Artificial Intelligence2023
- Recent progress in leveraging deep learning methods for question answeringNeural Computing and Applications, 2022
- Shallow2Deep: Restraining Neural Networks Opacity Through Neural Architecture Search2021
- Sentiment analysis of Twitter data by making use of SVM, Random Forest and Decision Tree algorithm2021
- Quantifying Explainers of Graph Neural Networks in Computational Pathology2021
- The (Un)reliability of Saliency Methods2019
- Peeking Inside the Black-Box: A Survey on Explainable Artificial Intelligence (XAI)IEEE Access, 2018
- Deep learning for sentiment analysis: A surveyWIREs Data Mining and Knowledge Discovery, 2018