MDCR: A Dataset for Multi-Document Conditional Reasoning

Peter Baile Chen, Yi Zhang, Chunwei Liu, Sejal Gupta, Yoon Kim, Mike Cafarella

Abstract

Large Language Models (LLMs) have shown promise in single-document reasoning, but real-world decision-making often requires navigating complex, overlapping, and sometimes conflicting requirements across multiple sources. We introduce MDCR, a new benchmark designed to evaluate multi-document conditional reasoning. MDCR challenges models to answer optimization questions by identifying necessary unmentioned conditions across various documents. Our evaluation of state-of-the-art models reveals a significant performance gap, particularly in optimization tasks where models must perform combinatorial searches to find the best possible outcomes.

Introduction: The Challenge of Cross-Document Reasoning

In practical scenarios, determining eligibility for benefits or opportunities—such as scholarships, grants, or job positions—rarely involves a single document. Users often seek to maximize their outcomes across multiple potential awards. This requires "cross-document reasoning," where a model must understand inter-document relationships: conditions might be equivalent, inclusive, or even conflicting (e.g., Scholarship A cannot be held concurrently with Scholarship B).

Existing benchmarks like ConditionalQA focus on single-document reasoning. MDCR extends this by requiring models to navigate complex logical dependencies between multiple sources to provide accurate, optimal answers.

Methods and Pipeline

The MDCR dataset was constructed through a rigorous four-step pipeline:

  1. Human Annotation: Experts extracted eligibility conditions from 40 HTML documents and mapped their logical relationships (AND/OR) both within and across documents.
  2. Scenario Generation: GPT-4 was used to generate realistic user scenarios based on these annotations.
  3. Gold Answer Generation: To ensure ground-truth accuracy, the authors modeled the conditions as a boolean satisfiability problem, using symbolic solvers to derive correct short answers and the set of required unmentioned conditions.
  4. Evaluation: Models including GPT-4o, Llama-3, and Gemma-7B were benchmarked using zero-shot, few-shot, and Chain-of-Thought (CoT) prompting.
Reasoning process for optimization questions

The MDCR Dataset

The MDCR dataset consists of 1,138 unique scenarios and 3,414 questions derived from the scholarship and internship domains. Questions are categorized by complexity:

  • Q1 (At least one): Can the user receive at least one benefit?
  • Q2 (All): Can the user receive all mentioned benefits?
  • Q3 (Max number): What is the maximum number of benefits the user can receive?

Notably, 28% of the questions require understanding cross-document relationships, and 66% involve non-empty conditional answers, making it a challenging test of logical depth.

Key Insights and Error Analysis

Our analysis highlights several critical weaknesses in current LLM reasoning:

  • Optimization Difficulty: Performance drops significantly on "maximization" questions (Q3). This indicates that while LLMs are proficient at retrieval, they struggle with the combinatorial search needed for optimization.
  • Negative Signal Overreaction: Models often exhibit a "negative signal" trap. If a scenario mentions one unsatisfied condition, models frequently conclude the user is ineligible for all benefits, failing to evaluate other viable documents.
  • Context and Logic Overload: Performance decays as the number of documents increases. This is not merely a retrieval issue but a failure to manage the increasing complexity of logical dependencies.
  • The Utility of Hints: Providing "gold" hints regarding condition satisfiability or document relationships improves performance, yet models still fall short of perfect accuracy, suggesting fundamental reasoning gaps.

Experimental Results

The benchmark results demonstrate a clear hierarchy in model performance, though all models struggle with the multi-document setting.

Baseline performance across question types

GPT-4o emerged as the top performer, achieving 68.7% short answer accuracy and a 40.4% F1 score for conditional answers. However, for maximization questions (Q3), the average accuracy across all tested models plummeted to 46.1%. Scaling also proved critical, as Llama-3-70B significantly outperformed the 8B version in handling complex conditional logic.

Conclusion and Future Directions

MDCR exposes the limitations of current LLMs in complex, multi-document reasoning tasks. Future work should expand the dataset into broader domains like legal or medical eligibility and explore how models can better integrate external "commonsense" knowledge. Developing specialized architectures or prompting strategies that can handle multi-step logical optimization remains a vital frontier for the field.

Summary updated

BibTeX
@inproceedings{chen2024mdcr,
  author = {Peter Baile Chen and Yi Zhang and Chunwei Liu and Sejal Gupta and Yoon Kim and Mike Cafarella},
  title = {{MDCR: A Dataset for Multi-Document Conditional Reasoning}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.findings-emnlp.667},
}
Figure