TL;DR
This paper introduces AmbigDocs, a new benchmark dataset designed to test Large Language Models' (LLMs) ability to distinguish between different entities that share the same name when presented with multiple documents. The authors find that current state-of-the-art LLMs struggle with this task, often producing ambiguous or merged answers, and propose an ontology and evaluation metrics to better understand these failures.
What Problem Does This Paper Address?
The core challenge this paper tackles is the ambiguity that arises when multiple distinct entities share the same name. For instance, a query about "Michael Jordan" could refer to the basketball player, an actor, or other individuals. Language models need to be able to disambiguate these entities, especially in a multi-document setting where information about different entities might be interleaved. Existing question-answering benchmarks often don't specifically focus on this multi-document entity disambiguation problem, leaving a gap in evaluating LLMs' nuanced reasoning capabilities. The authors highlight that while ambiguous question answering has been studied, the specific challenge of reasoning across confusing document sets where multiple entities are present has been hindered by a lack of suitable datasets.
Methods
The authors introduce a novel dataset generation pipeline for AmbigDocs. This pipeline leverages Wikipedia's disambiguation pages to identify surface names with multiple distinct entities. For each surface name, they select seed documents belonging to different entities and use an LLM to generate ambiguous questions and corresponding answers. This process is then expanded to include more answers from other documents associated with the same surface name.
To evaluate LLM performance on this dataset, they propose a five-category ontology for answer quality: Complete, Partial, No Answer, Ambiguous, and Merged. They also develop an automatic metric to classify generated answers into these categories, which shows high agreement with manual annotations. The core task for the LLMs is retrieval-augmented generation, where they are given a question and a set of relevant documents and must produce a long-form answer.
Datasets
The primary contribution is the introduction of the AmbigDocs dataset. This dataset is synthetically generated using Wikipedia disambiguation pages. It contains approximately 36,000 examples, each comprising an ambiguous question, a set of gold documents, and corresponding disambiguated entities with their answers. The dataset covers over 102,000 unique entities across various domains. The authors also mention using existing datasets like ASQA and QuoteSum for comparison regarding entity disambiguation instances, noting their limited scope.
Key Insights and Ideas
- LLMs struggle with multi-document entity disambiguation: Even advanced models like GPT-4 and Mistral-7B fail to consistently produce complete and accurate answers when faced with documents discussing multiple entities under the same name.
- "Merged" answers are a significant failure mode: A common and problematic error is when LLMs combine facts from different entities, creating misleading or incorrect information.
- In-context learning helps, but doesn't solve the problem: Providing few-shot examples can improve LLM performance, particularly in generating complete answers and reducing ambiguous/merged outputs, but it doesn't fully resolve the core disambiguation challenge.
- The dataset is crucial for targeted evaluation: AmbigDocs provides a much-needed resource for specifically evaluating and improving LLMs' ability to handle entity ambiguity in complex, multi-document scenarios.
Key Results
- Low performance on AmbigDocs: Across various models (Llama2, Mistral, GPT-3.5, GPT-4), the Entity-Answer Recall (EAR) and Disambig-F1 scores on the AmbigDocs test set were generally below 0.5, indicating significant difficulties.
- GPT-4 and Mistral-7B lead, but still struggle: These models performed best among the evaluated LLMs, but still failed to achieve high scores on the challenging disambiguation task.
- In-context learning yields gains: Few-shot learning improved the generation of "Complete" answers for most models, with GPT-4 showing a substantial increase.
- Single-document performance is much higher: When provided with only one document and a single entity, LLMs perform significantly better, achieving high recall and F1 scores, highlighting the difficulty introduced by multiple, conflicting documents.
Limitations and Future Work
The authors acknowledge that their dataset generation process, while automated, can introduce noise, such as documents discussing multiple entities or LLMs generating incorrect answers during expansion. They suggest that future work could focus on employing better QA models and more sophisticated filtration methods for dataset creation.
They also propose several avenues for future research:
- Fine-grained analysis: Investigating the specific factors that lead to incomplete answers.
- Broader applications: Using the AmbigDocs dataset for tasks like fact verification and multi-document summarization.
- Teaching models: Developing methods to explicitly teach LLMs how to distinguish confusing entities and produce complete answers.
Summary updated