doc2dial: A Goal-Oriented Document-Grounded Dialogue Dataset

Song Feng, Hui Wan, R. Chulaka Gunasekara, Siva Sankalp Patel, Sachindra Joshi, Luis A. Lastras

Abstract

While Machine Reading Comprehension (MRC) and Conversational Question Answering (CQA) have advanced significantly, a gap remains in handling complex, goal-oriented dialogues grounded in long-form documents. We introduce doc2dial, a large-scale dataset designed to bridge this gap. It features over 4,500 multi-turn dialogues grounded in 450+ real-world documents across four domains. Unlike previous benchmarks, doc2dial emphasizes document structure and multi-turn interactions where agents must navigate technical constraints and underspecified user queries.

Introduction: The Challenge of Document-Grounded Dialogue

Real-world information seeking often involves navigating dense technical manuals or public service websites. Existing datasets frequently rely on short text snippets or simple factoid retrieval, failing to capture the nuance of human-to-human assistance. In a typical scenario, a user might have an underspecified goal, requiring an agent to ask clarifying questions based on specific document conditions.

Figure 1: An example of the doc2dial dataset showing how dialogues (D1, D2, D3) are grounded in specific spans of a VA clothing allowance document.

As shown in Figure 1, the conversation can span multiple sections of a document, requiring the model to maintain context over many turns and understand the hierarchical structure of the source text.

Methods: A Structured Pipeline for Natural Dialogue

To ensure the dataset is both naturally conversational and strictly grounded in document content, the researchers developed a novel three-stage pipeline:

  1. Document Processing: Documents are not treated as flat text but are parsed for structural elements like hierarchical headers, list items, and semantic relations.
  2. Dialogue Flow Generation: The system generates "dialogue flows"—skeletal outlines that define the roles (user/agent), the document spans being referenced, and the dialogue acts (e.g., request, clarify).
  3. Crowdsourcing Utterances: Human contributors then "flesh out" these flows into natural language, ensuring the dialogue remains grounded while sounding authentic.
Figure 2: The doc2dial data collection pipeline, transitioning from raw HTML documents to structured dialogue flows and finally to natural language utterances.

Dataset Characteristics

The doc2dial dataset comprises:

  • 4,470 annotated conversations with an average of 14 turns per dialogue.
  • 458 documents sourced from four domains: Social Security (ssa.gov), Veterans Affairs (va.gov), Department of Motor Vehicles (dmv.gov), and the CDC (cdc.gov).
  • 69,820 total turns, each annotated with a specific dialogue act and a grounding span in the document.

This structure allows for complex reasoning over document-based constraints, such as identifying eligibility requirements that involve multiple logical conditions.

Key Results and Baselines

The authors established several BERT-based baselines for three core tasks:

  • User Utterance Grounding: Identifying the document section a user refers to. The best model achieved an Exact Match (EM) score of 55.1% when provided with full dialogue history.
  • Agent Response Prediction: Predicting the agent's next move proved more difficult, with grounding prediction reaching only 36.2% EM, indicating significant room for future algorithmic improvement.
  • Document Retrieval: In multi-document scenarios, a BERT-based ranker achieved a Recall@1 of 47.5%, highlighting the challenge of identifying the correct context among hundreds of documents.

Conclusion

The doc2dial dataset moves the field beyond simple fact retrieval toward true document-grounded assistance. By emphasizing document structure and the "dialogue flow," it provides a rigorous benchmark for building AI assistants that can effectively "talk through" complex information with users.

Summary updated

BibTeX
@inproceedings{feng2020doc,
  author = {Song Feng and Hui Wan and R. Chulaka Gunasekara and Siva Sankalp Patel and Sachindra Joshi and Luis A. Lastras},
  title = {{doc2dial: A Goal-Oriented Document-Grounded Dialogue Dataset}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.emnlp-main.652},
}
Figure