Introduction
Task-oriented dialogue systems are designed to assist users in completing specific goals, such as booking a restaurant or checking the weather. These systems typically rely on an underlying Knowledge Base (KB) to provide factual information. However, a significant challenge in current end-to-end models is the "tangling" of linguistic patterns with specific KB entities. When these systems encounter unseen entities (Out-of-Vocabulary or OOV)—a common occurrence in dynamic real-world environments—their performance often degrades significantly. They either fail to understand the context of the new word or cannot reason effectively over the updated data structure.
This paper introduces BOSSNET (Bag-of-Sequences Network), a novel architecture designed to disentangle language generation from factual knowledge, ensuring robustness even when the underlying KB changes.
The BOSSNET Architecture
BOSSNET addresses the limitations of previous models through two primary innovations: hierarchical memory and disentangled learning objectives.
Bag-of-Sequences (BOSS) Memory
Traditional models often use "flat" word-level memories, which can lose local sequential context, or long string representations that struggle with complex reasoning across multiple facts. BOSSNET employs a hierarchical Bag-of-Sequences (BOSS) Memory. It first encodes each dialogue utterance and KB tuple as an individual sequence using a Bidirectional Gated Recurrent Unit (Bi-GRU). A higher-level flat memory then allows the model to reason across these distinct sequences. This structure preserves the local context necessary to interpret unseen tokens while facilitating global inference over the KB.
Disentangled Learning and Dropout
To prevent the model from simply memorizing specific facts, the authors introduce a disentangle loss term. This objective explicitly encourages the model to either copy tokens from the KB or generate common linguistic tokens from its fixed vocabulary. Furthermore, Disentangle Label Dropout (DLD) is used during training; by randomly hiding "copy" labels, the model is forced to learn the contextual signals that indicate when a KB entity should be used, rather than relying on the presence of specific words in the current KB.
Experimental Evaluation
The model was evaluated on three benchmark datasets: bAbI Dialog, CamRest, and the Stanford Multi-Domain (SMD) dataset. To specifically measure adaptability, the authors created Knowledge Adaptability (KA) test sets. In these sets, known KB entities were systematically replaced with unseen ones at varying percentages (0% to 100%).
Key Results and Insights
BOSSNET demonstrates remarkable robustness compared to baselines like Mem2Seq and Seq2Seq+Copy.
- Robustness to Unseen Entities: As the percentage of unseen entities in the response increases, the performance of baseline models typically plummets. In contrast, BOSSNET maintains nearly constant performance. For instance, on the CamRest dataset, BOSSNET's BLEU score remains stable even when 100% of the entities are unseen.
- Superior Accuracy: On the bAbI OOV test sets, BOSSNET achieved an average improvement of approximately 34% in per-dialogue accuracy over existing state-of-the-art models.
- Human Evaluation: In Amazon Mechanical Turk studies, BOSSNET was rated as "useful" 77% of the time on the CamRest dataset, significantly higher than the 51% achieved by the next best baseline.
Conclusion
BOSSNET successfully separates the linguistic "voice" of a chatbot from its factual knowledge base. By utilizing hierarchical memory and specialized disentanglement losses, it provides a scalable solution for task-oriented dialogue in dynamic environments. While standard metrics like BLEU may sometimes underrepresent its quality due to paraphrasing, human evaluations confirm its superior utility and grammatical correctness.
Summary updated