Abstract
Large Language Models (LLMs) often operate as "black boxes," making their reasoning processes opaque to users. Traditional interpretability tools are frequently static and require technical expertise. We present LLMCheckup, a framework that enables interactive, conversational interrogation of LLMs. By employing a "quadruple duty" architecture, a single model handles intent recognition, task execution, explanation generation, and natural language interaction. Our results demonstrate that this unified approach, particularly when paired with multi-prompt parsing, provides a robust and accessible interface for model interpretability.
Introduction
As LLMs become integrated into critical decision-making processes, the need for transparency grows. Existing Explainable AI (XAI) methods typically produce one-off heatmaps or rationales that are difficult for non-experts to interpret. Furthermore, building conversational XAI systems has historically required complex pipelines of multiple specialized models. LLMCheckup addresses these challenges by consolidating the interpretability pipeline into a single, interactive LLM-driven interface.
Methodology: The Quadruple Duty Framework
The core of LLMCheckup is the "quadruple duty" approach, where one LLM performs four essential roles:
- Intent Recognition: Identifying user queries about model behavior.
- Task Execution: Performing the primary downstream task (e.g., commonsense QA or fact-checking).
- Explanation Generation: Producing rationales or interfacing with XAI libraries like INSEQ.
- Natural Language Response: Maintaining a conversational flow with the user.
To bridge the gap between natural language and technical XAI operations, the system utilizes a text-to-SQL parsing strategy. We compared Guided Decoding (GD) with a novel Multi-prompt Parsing (MP) approach. The MP strategy breaks the parsing into two steps: identifying the operation and then filling in specific attributes, which significantly improves reliability.
Experimental Setup and Results
We evaluated LLMCheckup on the ECQA (commonsense reasoning) and COVID-Fact (fact-checking) datasets.
Parsing Accuracy
The Multi-prompt strategy proved superior across various model sizes. Stable Beluga 2 (70B) achieved an accuracy of 88.24%, while the smaller Mistral-7B reached 84.87%. This suggests that even mid-sized models can effectively manage complex intent parsing when the task is appropriately structured.
Consistency and Robustness
Using black-box interpretability methods like data augmentation, we tested model consistency. Stable Beluga 2 demonstrated 100% consistency on both datasets, maintaining its predictions even when questions were paraphrased. Furthermore, 4-bit quantization showed minimal performance degradation, indicating that these tools can run on consumer-grade hardware.
Discussion and Future Work
LLMCheckup lowers the barrier to model interpretability by providing a conversational interface tailored to user expertise levels. However, current limitations include a focus on English and the need for more extensive human-in-the-loop studies to validate the actual improvement in user trust. Future iterations will explore multilingual support and the integration of Retrieval-Augmented Generation (RAG) to provide more grounded, factually accurate explanations.
Summary updated