TL;DR
CLAIM is a novel, uncertainty-driven framework that enables Large Language Models (LLMs) to actively ask clarifying questions when faced with ambiguous user queries. By measuring semantic entropy across a diverse set of models, CLAIM automatically generates high-quality synthetic training data and optimizes a single model using a combination of Supervised Fine-Tuning (SFT) and Group Relative Policy Optimization (GRPO), completely eliminating the need for expensive human annotations.
What Problem Does This Paper Address?
When users interact with LLMs, they often provide short, vague, or incomplete queries like "Give me some gift ideas" or "Recommend some coffee shops." If a model blindly guesses the user's intent, it usually outputs generic, unhelpful, or completely misaligned responses.
While asking clarifying questions can dramatically improve the interaction, doing it effectively introduces two core challenges:
- When to clarify: Knowing whether a query is genuinely ambiguous or if it contains enough context for a direct answer.
- What to clarify: Identifying which specific missing dimension (e.g., budget, location, preferences) will provide the highest information gain.
Existing methods typically rely on massive, manually annotated datasets or human preference alignment to train clarification models. This approach is incredibly costly, difficult to scale, and struggles to generalize to the endless variety of open-domain user queries.
Methods
The authors introduce CLAIM (Leading Open-domain Active Clarification of Large Language Models with Uncertainty Measurement). The framework splits the problem into an offline data-generation pipeline (CLAIM-Agent) and a deployable online model (CLAIM).
1. Offline Synthetic Data Generation (CLAIM-Agent)
Instead of human labels, CLAIM uses model-intrinsic uncertainty to find and fix ambiguity:
- Entropy-driven Uncertainty Estimation: For a given query, CLAIM samples answers from five different heterogeneous LLMs. It projects these answers into a semantic space, clusters them, and calculates the semantic entropy. If the models generate wildly different answers (high entropy), the query is flagged as ambiguous.
- Clarification Judgement & Conflict Resolution: The system combines this entropy score with an LLM-based semantic completeness check. If the two signals disagree, a dedicated arbitration LLM resolves the conflict.
- Information Gain-Based Selection: For ambiguous queries, CLAIM generates multiple candidate clarifying questions. It simulates user responses, re-samples post-clarification answers from the LLMs, and selects the question that yields the highest Information Gain (IG)—meaning it collapses the answer distribution entropy the most.
2. Model Training
To avoid the massive computational overhead of calling multiple models at inference time, the authors distill this agentic workflow into a single model (Meta-Llama-3.1-8B-Instruct) using a two-stage training strategy:
- Supervised Fine-Tuning (SFT): The model learns basic structured clarification decisions and question-generation behaviors from the synthetic data.
- Group Relative Policy Optimization (GRPO): A reinforcement learning stage that sharpens the model's decision boundary, particularly for tricky queries sitting right on the edge of needing clarification.
Datasets
The framework was evaluated exclusively on the test sets of three distinct benchmarks to test its generalization capabilities:
- ClariLM-test: A synthetic dataset structured around latent missing information facets in user queries.
- IN3 (Intention-in-Interaction): A dataset built from real-world, vague user instructions containing systematic annotations on task ambiguity and detail importance.
- CLAMBER: A broad, general open-domain clarification benchmark designed to evaluate a model's ability to spot uncertainty and generate high-quality questions.
Key Insights and Ideas
- Disagreement as a Proxy for Ambiguity: The core "aha" moment is that when a query is well-specified, different LLMs naturally converge on semantically consistent answers. When it's ambiguous, their answers diverge. This semantic divergence provides a clean, training-free signal for uncertainty.
- Quantifying Clarification Quality via Distribution Collapse: By measuring how much a clarifying question reduces multi-model entropy before actually deploying the model, CLAIM can mathematically prioritize questions that maximize information gain.
- Distillation of Complex Agent Workflows: While the offline data generation pipeline is heavy (requiring up to 25 LLM calls for a single clarification query), the final trained model requires only a single standard inference call, making it highly practical for real-world deployment.
Key Results
CLAIM achieves state-of-the-art (SOTA) or near-SOTA performance across all three evaluation benchmarks, outperforming much larger models and specialized baselines.
- Data Efficiency: CLAIM matched or outperformed ClariLM, a leading open-domain clarification method. Crucially, CLAIM achieved this using only 10k entirely synthetic training instances, whereas ClariLM relies on roughly 120k human-supervised and preference-annotated examples.
- Better Question Targeting: CLAIM significantly improved Clarification Dimension Accuracy (CDA) and Clarifying Question Semantic Similarity (CQSS), proving that the Information Gain metric successfully guides the model to ask about the right missing details.
Limitations and Future Work
The authors note a few areas for improvement:
- Single-Turn Constraint: Currently, CLAIM is designed for single-turn clarification (Query $\rightarrow$ Clarification $\rightarrow$ Response). Real-world conversations often require multi-turn dialogue tracking and long-term planning, which is left for future work.
- Upfront Token Cost: Generating the synthetic dataset is token-heavy due to the multi-model sampling and post-clarification simulations. However, the authors emphasize that this is a one-time, offline cost paid during training, not at deployment.
Summary updated