Introduction: The Challenge of Real-World Documents
When users interact with technical support bots, the information they seek is rarely contained within a single, straightforward paragraph. Instead, answers are often buried within complex structures such as specification tables, troubleshooting flowcharts, or conditional requirements (e.g., "If you live in City X and purchased Product Y after 2021...").
Current Document-Grounded Dialog Systems (DGDS) face two primary hurdles:
- Structural Diversity: Most existing benchmarks focus on homogeneous data—either pure text or isolated tables. Real-world documents are a heterogeneous mix of both.
- Under-specified Needs: Users often fail to provide all necessary details in their initial query. An effective bot must ask clarifying questions to narrow the search space, mimicking a human expert.
To address these challenges, researchers introduced Doc2Bot, a massive dataset of over 100,000 turns designed to push models toward reasoning across diverse document formats.
Methodology: From Documents to Graphs
The core innovation of Doc2Bot lies in its three-stage pipeline for dataset creation, centered on a Unified Document Graph.
1. Unified Document Graph
To handle various formats like HTML and PDF, documents are converted into a directed graph. Nodes represent text spans, while edges define relationships such as "section," "condition," or "solution." This structure allows models to navigate the logical flow of a document regardless of its visual layout. For instance, it explicitly models "disjunctions" (OR logic) and "conjunctions" (AND logic), which are critical for determining when a bot needs more information from the user.
2. Agenda-Based Flow Generation
Rather than relying on unguided crowdsourcing, the authors utilized an algorithm to simulate a "user agenda." By selecting a sequence of goals from the document graph, the system generates prompts that ensure conversations remain coherent while covering a wide variety of document sections.
3. Three-Tiered Task Structure
The benchmark evaluates models on three distinct sub-tasks:
- Dialog State Tracking (DST): Predicting user intent and mapping queries to specific document nodes.
- Dialog Policy Learning (DPL): Deciding the next action, such as asking a clarifying question or providing an answer.
- Response Generation (RG): Converting retrieved information into natural language.
Dataset Characteristics
Doc2Bot is significantly larger and more complex than previous benchmarks like doc2dial.
- Scale: 100,000+ turns across 6,619 dialogues.
- Domains: Covers Public Services, Technology, Insurance, Health Care, and wikiHow.
- Language: Chinese.
- Interactive Nature: Approximately 20% of system utterances are clarifying questions, shifting the focus toward "conversational information seeking."
Key Results and Insights
The researchers benchmarked several state-of-the-art models (e.g., RoBERTa, T5, BART), revealing that the task remains highly challenging:
- The Grounding Bottleneck: The best models achieved only 34.55% joint accuracy in Dialog State Tracking. Models frequently struggle to identify the exact "grounding" (the specific table row or condition) required for an answer.
- Policy Performance: For deciding the next system action, the top joint accuracy was 43.13%.
- Upper Bounds in Generation: While models like T5 achieved a BLEU-4 score of 45.20, these results assume "gold" (perfect) document grounding. In practical applications where the bot must find the information itself, performance is significantly lower.
Conclusion and Future Directions
Doc2Bot demonstrates that treating documents as flat text is insufficient for complex reasoning. While the dataset provides a robust foundation for future research, several areas remain for improvement. Current document graph construction requires manual post-processing, and future work should explore automated graph building. Additionally, expanding the dataset to include "unanswerable" queries and other languages will be vital for developing truly robust conversational agents.
Summary updated