End-to-End Task-Oriented Dialog Modeling With Semi-Structured Knowledge Management

Silin Gao, Ryuichi Takanobu, Antoine Bosselut, Minlie Huang · DOI

TL;DR

The researchers introduce SeKnow, a task-oriented dialog (TOD) system that seamlessly manages both structured knowledge (like databases) and unstructured knowledge (like customer reviews). By extending the "belief state" to track both database constraints and document topics, SeKnow achieves state-of-the-art performance in generating accurate, knowledge-grounded responses in an end-to-end fashion.

What Problem Does This Paper Address?

Traditional task-oriented dialog systems are great at querying databases—for example, finding a "cheap Italian restaurant in the center." However, they usually fail when a user asks a follow-up question that isn't in a spreadsheet, such as "What is the customers' favorite food there?" This information typically lives in unstructured text, like reviews or FAQs.

Existing attempts to bridge this gap often use "pipeline" architectures, where one model handles the database and a completely separate model handles document retrieval. This leads to error propagation: if the first model makes a mistake, the second one has no way to recover. Furthermore, these systems don't leverage the fact that structured and unstructured data often describe the same entities (e.g., a restaurant's address in a DB and its "vibe" in a review).

Methods

The authors propose SeKnow (Semi-Structured Knowledge management), which treats the entire dialog process as a unified sequence-to-sequence task.

  1. Extended Belief Tracking: The system doesn't just track slots like price or area. It introduces a new slot called ruk (to indicate a need for unstructured knowledge) and a topic field (e.g., "favorite food").
  2. Knowledge Management Fusion: Instead of searching all documents in a massive pile, SeKnow uses the structured query results to narrow the search. If the DB identifies "Pizza Hut" as the target, the system only looks at documents related to "Pizza Hut."
  3. Two Implementations:
    • SeKnow-S2S: A lightweight version based on the Universal Transformer, designed for efficiency.
  4. SeKnow-PLM: A heavy-duty version built on a pre-trained GPT-2 model, which uses an auxiliary "consistency detection" task to ensure the generated response actually matches the retrieved knowledge.

Datasets

The authors developed a new benchmark called Mod-MultiWOZ 2.1. They took the industry-standard MultiWOZ 2.1 dataset and merged it with the document-grounded dialogs from the DSTC9 Track 1 challenge. This resulted in a dataset where conversations naturally flip between database queries and document-based questions.

Key Insights and Ideas

  • The Power of Joint Optimization: The paper demonstrates that training a model to handle both types of knowledge simultaneously is better than handling them separately. The model learns that if a user asks about "food quality," it should look for reviews, but if they ask for a "phone number," it should look at the database.
  • Simplified Retrieval: By using a "topic match" approach (extracting keywords like "vegetarian" or "parking" from documents during preprocessing), the system avoids the computational heavy lifting of comparing the entire dialog history to every single document at runtime.
  • Direct Decoding vs. State Tracking: For the pre-trained model (PLM), the authors found that decoding the belief state based on the entire dialog history (rather than just the previous state) significantly reduced error accumulation, a common pitfall in long conversations.

Key Results

  • Superior Dialog Quality: SeKnow-PLM achieved a Combined Score of 100.1 on the Mod-MultiWOZ 2.1 dataset, outperforming the strongest pipeline baseline (AuGPT + HKS) which scored 98.2.
  • Highly Accurate Retrieval: In document retrieval tasks, SeKnow-PLM reached a 93.4% Recall@1, meaning it found the exactly correct document on its first try nearly every time.
  • Human Preference: In blind tests, human evaluators rated SeKnow's responses as significantly more informative and correct than those of existing state-of-the-art models, particularly in the "newly inserted" turns involving unstructured knowledge.

Limitations and Future Work

While SeKnow performs exceptionally well, the authors note a few areas for growth:

  • Computational Cost: The PLM version is powerful but slow and memory-intensive compared to the S2S version.
  • Preprocessing Reliance: The system currently relies on extracting "topics" from documents beforehand. Future iterations might explore more dynamic, zero-shot ways to handle documents without predefined topics.
  • Scenario Expansion: The authors suggest testing SeKnow on even more diverse TOD scenarios where the boundary between structured and unstructured data is even blurrier.

Summary updated

BibTeX
@article{gao2022end,
  author = {Silin Gao and Ryuichi Takanobu and Antoine Bosselut and Minlie Huang},
  title = {{End-to-End Task-Oriented Dialog Modeling With Semi-Structured Knowledge Management}},
  journal = {IEEE ACM Trans. Audio Speech Lang. Process.},
  year = {2022},
  doi = {10.1109/taslp.2022.3153255},
}
Figure