Abstract
Traditional task-oriented dialogue systems often rely on structured knowledge bases, which are labor-intensive to construct and maintain. This paper introduces Multi-Document Driven Dialogue (MD3), a novel task where an agent must identify a target document from a large collection through conversation. We propose the MD3 model, an end-to-end architecture that leverages attribute-aware document representations and reinforcement learning to optimize questioning strategies. Evaluated on the new GuessMovie benchmark, our model achieves a success rate of 83% and an efficiency of 3.42 turns, approaching human-level performance.
Introduction
Most conversational agents today are designed to interact with structured data—think of booking a flight or querying a weather database. However, the vast majority of human knowledge is stored in unstructured text, such as Wikipedia articles, technical manuals, or news reports. Converting this unstructured data into a structured Knowledge Base (KB) is a significant bottleneck for scaling AI assistants.
The Multi-Document Driven Dialogue (MD3) task addresses this by requiring an agent to navigate a library of unstructured documents to find a specific target based on user interaction. Unlike simple document-based chatting, MD3 is goal-oriented: the agent must lead the conversation to "guess" the correct document in as few turns as possible.
The MD3 Model Architecture
The proposed MD3 model is designed to handle the scale and lack of structure in document collections. It consists of five primary modules that work in concert to process text and manage dialogue policy.
Attribute-aware Document Representation (AaDR)
To bridge the gap between unstructured text and structured querying, the AaDR module encodes documents into "attribute-aware" embeddings. Using a Hierarchical Attention Network (HAN), the model generates separate vectors for different document attributes (e.g., "director," "genre"). These are pre-trained using a contrastive loss, allowing the agent to distinguish documents based on specific factors without needing a formal database.
Document-aware Language Understanding (DaLU)
The DaLU module processes the dialogue history using a Bi-directional Gated Recurrent Unit (BiGRU). It calculates a "matching degree" between the current conversation state and the document embeddings to identify potential candidates.
Document-aware State Tracking (DaST)
State tracking in MD3 involves maintaining two probability distributions: a Document Belief (the probability of each document being the target) and an Attribute Belief (the status of various attributes, such as whether they have been clarified or remain unknown).
Document-aware Policy Optimization (DaPO)
The policy module decides whether to ask a question about a specific attribute or make a final guess. It uses Reinforcement Learning (REINFORCE) to minimize the number of turns while maximizing the success rate. By calculating the entropy of attribute distributions, the model identifies which question will provide the most "information gain."
Experimental Setup: The GuessMovie Benchmark
To evaluate the MD3 task, the authors created GuessMovie, a benchmark derived from the WikiMovies dataset. It contains 16,881 Wikipedia movie introductions and over 13,000 simulated dialogues. Each movie is associated with six common attributes (director, year, genre, etc.), which the "user" knows, while the agent must extract this information from the raw text documents to narrow down the search space.
Key Results and Discussion
The MD3 model was compared against several baselines, including state-of-the-art Machine Reading Comprehension (MRC) models like BERT.
- Success and Efficiency: In a candidate pool of 32 movies, MD3 achieved an 83% success rate. More impressively, it settled on the correct answer in an average of 3.42 turns, nearly matching the human baseline of 3.28 turns.
- The Power of Factor-Awareness: A key insight is that forcing the model to be "attribute-aware" during pre-training allows it to navigate text libraries as efficiently as structured databases. This "entropy-driven" questioning strategy is what allows the model to settle on an answer in very few turns.
- Scalability Challenges: Performance decreases as the number of candidate documents grows. When the pool increased to 128 movies, the success rate dropped to 67%, indicating that "needle-in-a-haystack" scenarios remain a significant challenge for current retrieval mechanisms.
Conclusion
The MD3 task represents a significant step toward more flexible and powerful dialogue systems that can operate directly on unstructured text. By combining attribute-aware embeddings with reinforcement learning, the MD3 model demonstrates that agents can efficiently search large document collections through natural conversation. Future work will focus on moving beyond predefined attributes and improving scalability to handle real-world libraries of millions of documents.
Summary updated