Abstract
As artificial intelligence systems grow in complexity, the need for transparent and interpretable models becomes paramount. Traditional eXplainable AI (XAI) methods often provide static, one-size-fits-all reports that are difficult for non-experts to navigate. This paper introduces ECHO, a conversational framework that leverages Tool-Augmented Language Models (TALMs) to transform XAI into an interactive dialogue. By utilizing a modular toolkit and a mixture-of-agents planner, ECHO allows users to interrogate models through natural language, supporting a wide range of explanation types from simple queries to complex counterfactual scenarios.
Introduction
The transition from simple decision trees to deep neural networks has rendered many modern AI models "black boxes." While technical tools like SHAP and LIME offer insights into model behavior, they are frequently too technical for end-users and lack the flexibility to handle follow-up questions. Most current XAI systems are passive; they provide a single output without allowing for exploration or hypothetical reasoning.
ECHO addresses this gap by providing a model-agnostic, conversational interface. It bridges the divide between complex algorithmic outputs and human-centered understanding by treating the explanation process as a dynamic interaction rather than a static report.
Methodology: Tool-Augmented Conversational AI
ECHO is built upon the concept of Tool-Augmented Language Models (TALMs). Rather than relying on a Large Language Model's (LLM) internal knowledge—which can lead to hallucinations—ECHO uses the LLM as a strategic "planner." The system selects and sequences specialized tools to generate accurate, data-driven explanations.
Key Components
- Dynamic Tool Generation: ECHO can inspect an AI model’s source code and dynamically create new tools (e.g.,
PredictorRate) tailored to that specific model’s architecture. - Mixture-of-Agents (MoA) Planner: To ensure robust reasoning, ECHO employs three distinct LLM instances with varying creativity levels to propose execution plans. A final aggregator LLM then synthesizes these into an optimized sequence of actions.
- Human-in-the-Loop Execution: Transparency is maintained by showing the proposed execution plan to the user before it is run. Users can audit, reorder, or modify steps, ensuring the system remains under human control.
Insights and Taxonomy
The authors synthesized existing literature to define an 18-type taxonomy of explanations. These are categorized into System State (e.g., "What data was used?") and Inference Mechanism (e.g., "Why was this specific prediction made?").
A critical finding of this research is the necessity of tool chaining. Complex user queries, such as "What if I changed this value?", require the system to sequence multiple tools: first locating the data point, then modifying it, and finally re-running the prediction model to observe the change. This modular approach allows ECHO to remain model-agnostic, as it can theoretically interface with any model that follows standard programming structures.
Evaluation and Results
ECHO was evaluated through three distinct case studies involving tabular data:
- MovieLens: Auditing a K-Nearest Neighbor movie recommender.
- Heart Disease: Interrogating a white-box Decision Tree classifier.
- Student Performance: Probing a black-box Neural Network.
The results provide a qualitative proof-of-concept for the framework. ECHO demonstrated high versatility, successfully handling both white-box models (where it could read logic directly) and black-box models (where it invoked external tools like LIME). Furthermore, the system showed resilience through error recovery, adjusting its plans when tool executions failed.
Conclusion and Future Work
ECHO represents a significant step toward making AI explanations more accessible and interactive. By combining the reasoning capabilities of LLMs with the precision of specialized XAI tools, it offers a transparent path to understanding complex models.
Future research will focus on mitigating LLM non-determinism and expanding the framework beyond tabular data to include image and time-series analysis. Additionally, formal user studies are planned to evaluate how non-experts interact with the "Proposed Plan" interface in real-world scenarios.
Summary updated