Abstract
Conversational explainable artificial intelligence (ConvXAI) systems leverage large language models (LLMs) to provide dialogue-based explanations, enhancing user comprehension. However, these systems face significant hurdles in multilingual generalization and the handling of free-form custom inputs. This paper introduces two novel datasets: MultiCoXQL, a multilingual extension of the CoXQL dataset spanning five diverse languages, and Compass, a dataset specifically designed for custom input extraction in ConvXAI. We also propose Guided Multi-prompt Parsing (GMP), a new approach that significantly improves multilingual parsing performance. Our evaluations across various LLMs and BERT-type models demonstrate the efficacy of these datasets and the GMP strategy in bridging the gap for non-English and low-resource languages.
Introduction
Conversational Explainable AI (ConvXAI) allows users to interact with AI systems using natural language to understand model predictions. Despite their potential, current systems are often restricted by two major limitations: the English Wall and the Fixed-Data Wall. The former refers to the scarcity of high-quality XAI training data for languages other than English, while the latter describes the inability of systems to process "custom inputs"—user-defined data points that are not part of a pre-configured dataset.
To address these challenges, we present a robust framework for multilingual intent recognition and custom input extraction, supported by two new benchmark datasets and a specialized parsing pipeline.
Multilingual Benchmarks: MultiCoXQL and Compass
We introduce two datasets to facilitate the development of multilingual ConvXAI systems:
- MultiCoXQL: An extension of the English CoXQL dataset, covering 31 XAI operations across English (EN), German (DE), Chinese (ZH), Russian (RU), and Telugu (TE). This dataset focuses on mapping natural language queries to specific XAI methods.
- Compass: A new dataset designed for the task of custom input extraction. It encompasses 11 core XAI intents across the same five languages. Compass requires models to identify the user's intent and accurately extract the specific text snippet that requires explanation.
The Compass dataset specifically targets 11 core operations that are essential for functional XAI systems, ranging from simple predictions to complex counterfactual generations.
Methodology: Guided Multi-prompt Parsing (GMP)
To improve parsing accuracy, we developed Guided Multi-prompt Parsing (GMP). Unlike standard prompting, GMP utilizes a multi-stage process:
- Intent Retrieval: Employs SBERT to identify the most semantically relevant intents from the training data.
- Dynamic Prompting: Constructs a prompt using only these relevant demonstrations to guide the LLM.
- Constrained Decoding: Uses a simplified grammar to ensure the LLM outputs valid XAI operations, preventing "translation hallucinations" where the model might mistakenly translate code-like labels into the target language.
Key Results and Analysis
Our experiments yielded several critical insights into the current state of multilingual ConvXAI:
- GMP Performance: The GMP approach achieved a 28.31% average improvement in parsing accuracy for non-English languages compared to traditional multi-prompting methods.
- The BERT Advantage: While large LLMs like Qwen2.5-72B perform well, fine-tuned BERT-type models (like mBERT) remain highly competitive. In fact, for the low-resource language Telugu, a multilingual mBERT model significantly outperformed zero-shot LLMs, with F1 scores rising from ~41% to ~84% as more target-language data was introduced.
- Extraction Challenges: For custom input extraction, the GOLLIE approach—which treats extraction as a code-writing task—proved most effective for smaller models by providing a rigid structural schema.
Conclusion
By introducing MultiCoXQL and Compass, we provide the community with essential tools to overcome the English and Fixed-Data walls in ConvXAI. Our proposed GMP strategy further ensures that these systems can reliably interpret user intent across typologically diverse languages. Future work will focus on expanding the library of supported XAI methods and testing these models in live, end-to-end conversational environments to better handle the nuances of real-world human interaction.
Summary updated