Sequicity: Simplifying Task-oriented Dialogue Systems with Single Sequence-to-Sequence Architectures

Wenqiang Lei, Xisen Jin, Min-Yen Kan, Zhaochun Ren, Xiangnan He, Dawei Yin

Abstract

Task-oriented dialogue systems traditionally utilize complex pipelines consisting of separate modules for intent classification, belief tracking, and response generation. These architectures often suffer from error propagation, poor scalability, and fragility to out-of-vocabulary (OOV) inputs. We introduce Sequicity, a unified framework that models task-oriented dialogue as a single sequence optimization problem. By representing the dialogue state as a human-readable "belief span," Sequicity simplifies the architecture into a single sequence-to-sequence model. Our implementation, the Two-Stage CopyNet (TSCP), demonstrates superior performance across multiple benchmarks, achieving 10x faster training speeds and significant robustness to OOV entities compared to traditional pipeline-based systems.

Introduction

Building effective task-oriented chatbots—such as virtual assistants for restaurant reservations or calendar management—has historically required engineering intricate pipelines. A standard pipeline includes an intent classifier, a belief tracker to manage state, a policy maker, and a natural language generator.

However, this modular approach introduces several critical challenges:

  1. Complexity and Fragility: Errors in early stages, particularly belief tracking, propagate downstream, degrading overall performance.
  2. Scaling Bottlenecks: Traditional belief trackers often rely on fixed classifiers for every possible "slot" (e.g., cuisine type). As the number of slots or values increases, the model size grows unwieldy.
  3. Out-of-Vocabulary (OOV) Failure: Because trackers typically use pre-defined labels, they fail when users mention entities not seen during training.
  4. Training Inefficiency: Coordinating the joint training of separate modules is notoriously difficult and computationally expensive.

The Sequicity Framework

Sequicity addresses these issues by treating dialogue as a single sequence-to-sequence task. The core innovation is the belief span (bspan)—a textual representation of the user's goals and constraints (e.g., <Inf> Italian ; cheap </Inf>). This approach makes the internal state human-readable and allows the model to leverage standard sequence generation techniques.

Two-Stage CopyNet (TSCP)

The specific architecture proposed, Two-Stage CopyNet (TSCP), operates in a streamlined flow:

  • Input Integration: The model receives the previous belief span, the previous machine response, and the current user utterance as a unified input sequence.
  • Stage 1: Belief Decoding: The model decodes the current belief span. It employs a "Copy" mechanism to extract specific entities (like names or locations) directly from the user's input, bypassing the need for fixed classifiers.
  • Knowledge Base (KB) Query: The system pauses to query a database using the generated bspan, retrieving the count of matching entities.
  • Stage 2: Response Decoding: Conditioned on the bspan and KB results, the model generates the final natural language response.
Figure 1: The Sequicity architecture illustrating the flow from user input to belief span generation and final response.

The model is optimized using cross-entropy loss followed by Reinforcement Learning (RL) to ensure responses accurately provide requested information, such as addresses or phone numbers.

Experimental Evaluation

The authors evaluated Sequicity on two major benchmarks: CamRest676 (restaurant reservations) and KVRET (multi-domain tasks including calendar, weather, and navigation).

Key Results and Insights

  • State-of-the-Art Performance: TSCP outperformed leading pipeline models like NDM and LIDM in both Entity Match Rate and Success F1 scores.
  • Efficiency Gains: On the CamRest676 dataset, TSCP converged in just 7.3 minutes—over 10 times faster than the 91.9 minutes required by the pipeline-based NDM.
  • Scalability: By representing state as text, the model size remains relatively constant regardless of the number of distinct slot values, unlike traditional trackers that scale linearly with the vocabulary.
  • Robustness to OOV Entities: The copy mechanism allows Sequicity to handle unknown words gracefully. While traditional models' performance drops sharply when encountering OOV tokens, Sequicity maintains high accuracy.
Figure 3: Performance comparison showing Sequicity's (TSCP) superior robustness to increasing rates of Out-of-Vocabulary (OOV) words compared to baselines.

Conclusion

Sequicity demonstrates that task-oriented dialogue systems can be significantly simplified without sacrificing performance. By collapsing the traditional pipeline into a single sequence-to-sequence model with textual belief spans, the framework achieves greater efficiency and robustness. Future work may explore "unsupervised" belief spans to reduce annotation requirements and more integrated, differentiable knowledge base lookups.

Summary updated

BibTeX
@inproceedings{lei2018sequicity,
  author = {Wenqiang Lei and Xisen Jin and Min-Yen Kan and Zhaochun Ren and Xiangnan He and Dawei Yin},
  title = {{Sequicity: Simplifying Task-oriented Dialogue Systems with Single Sequence-to-Sequence Architectures}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2018},
  doi = {10.18653/v1/p18-1133},
}
Figure