Aligning Language Models to Explicitly Handle Ambiguity

Hyuhng Joon Kim, Youna Kim, Cheonbok Park, Junyeob Kim, Choonghyun Park, Kang Min Yoo, Sang-goo Lee, Taeuk Kim

Abstract

Large Language Models (LLMs) often provide overconfident answers to ambiguous queries instead of seeking clarification. This paper introduces Alignment with Perceived Ambiguity (APA), a framework that enables models to identify underspecified questions based on their internal knowledge and request missing information. By measuring "INFOGAIN"—the reduction in uncertainty after self-disambiguation—APA effectively flags perceived ambiguity. Experimental results on Llama-2 and Mistral show that APA significantly improves ambiguity detection and clarification accuracy without compromising performance on unambiguous tasks.

Introduction

In real-world communication, humans often use underspecified or imprecise language. While a human listener naturally asks for clarification when a query is vague, current LLMs are typically trained to be helpful assistants that provide immediate answers. This often leads to "guessing" an interpretation or hallucinating details.

Comparison of model responses to an ambiguous query based on internal knowledge.

The authors identify two primary challenges in addressing this:

  1. Training Bias: Standard instruction tuning encourages models to answer every prompt, discouraging the admission of uncertainty.
  2. Perceived Ambiguity: Ambiguity is subjective. A question is only ambiguous to a model if that model possesses knowledge of multiple valid interpretations. If a model only knows one "national championship," the query is not ambiguous from its perspective.

The APA Pipeline

To address these challenges, the researchers proposed the Alignment with Perceived Ambiguity (APA) pipeline. This method moves away from static "gold standard" labels of ambiguity and instead focuses on what the specific model perceives as ambiguous.

The four-stage Alignment with Perceived Ambiguity (APA) pipeline.

The pipeline consists of four distinct stages:

  1. Initial Prediction Assessment: The model is evaluated on a dataset to identify baseline performance and failure points.
  2. Perceived Ambiguity Detection: This stage introduces INFOGAIN, a metric calculated by prompting the model to "self-disambiguate" a query. By comparing the model's entropy (uncertainty) before and after adding these self-generated details, the system can determine if the model "knew" the question was missing information.
  3. Response Construction: For queries flagged as ambiguous via high INFOGAIN, the pipeline generates explicit clarification requests.
  4. Supervised Fine-Tuning (SFT): The model is fine-tuned on a balanced mixture of these clarification requests and original correct answers, teaching it when to ask and when to answer.

Experimental Setup and Datasets

The study utilized several benchmarks to test the robustness of APA:

  • AmbigQA: The primary dataset for training and in-domain validation.
  • SituatedQA (Geo & Temp): Used for out-of-distribution (OOD) testing involving geographical and temporal shifts.
  • New Robustness Benchmarks: The authors introduced AmbigTriviaQA, AmbigWebQuestions, and AmbigFreebaseQA, created by using GPT-4o to introduce ambiguity into clear questions, followed by human verification.

Key Results and Insights

The APA method was evaluated using Llama-2 (7B/13B) and Mistral-7B. Key findings include:

  • Superior Detection: APA consistently outperformed baseline methods, including standard prompting and simple entropy-based detection, in Ambiguity Detection F1 ($F1_a$).
  • Preserving Accuracy: The model maintained high performance on unambiguous queries ($F1_u$), avoiding the trap of "over-clarifying" clear questions.
  • Lower Misalignment: APA showed the lowest Misaligned Clarification Request Rate (MCR), meaning it was the least likely to ask questions about queries that were already clear.
  • Generalization: APA showed strong OOD performance, successfully applying clarification strategies to new types of ambiguity (e.g., temporal) not seen during training.
  • Data Efficiency: Aligning the model only on samples it perceived as ambiguous (13-32% of the data) was more effective than using the entire dataset.

Conclusion and Future Directions

APA represents a significant step toward more natural and reliable human-AI interaction by teaching models to recognize the limits of their own knowledge relative to a user's query. Future work will look to extend this framework to long-form generation, multi-turn dialogues, and more complex reasoning tasks where ambiguity is even more prevalent.

Summary updated

BibTeX
@inproceedings{kim2024aligning,
  author = {Hyuhng Joon Kim and Youna Kim and Cheonbok Park and Junyeob Kim and Choonghyun Park and Kang Min Yoo and Sang-goo Lee and Taeuk Kim},
  title = {{Aligning Language Models to Explicitly Handle Ambiguity}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.119},
}
Figure