Abstract
The rise of large language models (LLMs) has revolutionized artificial intelligence, yet their reliability in sensitive applications remains limited by a lack of interactivity. Standard LLMs often attempt to answer queries even when essential context is missing, risking inaccurate or misleading outputs. We introduce LaMSeI (Language Model with Selective Interaction), a method that enables LLMs to judge when interaction is necessary by measuring uncertainty. When uncertainty is high, LaMSeI utilizes active learning to pose the most informative clarifying questions to the user. Our empirical studies across challenging benchmarks show that LaMSeI improves answer accuracy from 31.9% to 50.9%, outperforming leading frameworks and consistently generating answers preferred by human participants.
Introduction: The "Hero Complex" of LLMs
When users interact with AI, they often provide incomplete information—omitting symptoms in a medical query or budget constraints in travel planning. Current LLMs are typically trained to be direct and helpful, which often leads to a "hero complex": the model forges ahead with an answer based on incomplete data, resulting in hallucinations or irrelevant advice.
Existing solutions generally fall into two categories: Retrieval-Augmented Generation (RAG) and Greedy Interaction. While RAG helps with external facts, it cannot uncover missing personal context. Conversely, Greedy Interaction prompts models to always ask questions, often leading to "interaction fatigue" where users are burdened with irrelevant queries. LaMSeI addresses this by creating a selective agent that knows when it is confused and which questions will most efficiently resolve that confusion.
The LaMSeI Framework
LaMSeI transforms a standard LLM into a selective, interactive agent through three core components:
- Uncertainty Estimation via Semantic Consistency: Rather than relying on token-level probabilities, LaMSeI samples multiple candidate answers. These are converted into embeddings to calculate semantic variance. High variance indicates the model is uncertain and triggers an interaction.
- Active Interaction Module (AIM): Once the need for interaction is identified, the model generates a pool of potential clarifying questions. To avoid overwhelming the user, it employs active learning techniques—specifically similarity-based or diversity-based sampling—to select the most informative questions.
- Interaction-Augmented Generation: User responses are appended to the original query, and the model re-evaluates its uncertainty. If confident, it provides the final answer; otherwise, it can iterate further.
Experimental Evaluation
The researchers evaluated LaMSeI across several challenging benchmarks designed to simulate incomplete information, including Multi-hop QA (HotpotQA, StrategyQA, 2WikiMultiHopQA, MuSiQue) and Information Interaction Reading Comprehension (IIRC).
As shown in the results table below, LaMSeI consistently outperforms standard Direct Generation (DG) and Chain-of-Thought (CoT) methods across all metrics (Exact Match, F1, and Accuracy). Notably, the addition of CoT to the LaMSeI framework (LaMSeI+CoT) often yields the highest performance, particularly on complex reasoning tasks like StrategyQA.
Key Insights and Results
- Uncertainty as a Robust Trigger: Semantic variance proved to be a reliable proxy for missing context. If the model cannot generate a consistent "story," it is a clear signal that more data is required.
- Quality Over Quantity: In experiments on the QMSum dataset, LaMSeI outperformed "Greedy Asking" despite asking fewer questions (3 vs. 5). This validates the use of active learning to filter for informative queries.
- Human Preference: In trials with human participants, LaMSeI generated answers that were superior or comparable to baselines in over 82% of cases.
- Resilience to Ambiguity: As the "masking rate" (hidden information) increased, LaMSeI’s relative advantage over direct answering grew significantly, proving its effectiveness in highly ambiguous scenarios.
Conclusion and Future Work
LaMSeI demonstrates that selective interaction is a powerful tool for improving LLM reliability. While the framework significantly boosts performance—especially for smaller open-source models like Llama-2 and Vicuna—challenges remain. Future work will focus on improving the initial quality of candidate questions and reducing the computational cost associated with sampling multiple responses for uncertainty estimation. Ultimately, LaMSeI moves us closer to AI systems that can handle the informal, non-linear, and often incomplete nature of human communication.
Summary updated