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.
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:
- Document Processing: Documents are not treated as flat text but are parsed for structural elements like hierarchical headers, list items, and semantic relations.
- 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).
- Crowdsourcing Utterances: Human contributors then "flesh out" these flows into natural language, ensuring the dialogue remains grounded while sounding authentic.
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