Abstract
Traditional sequence-to-sequence (Seq2Seq) models for dialogue generation often suffer from the "safe response" trap—producing generic, uninformative replies—and error accumulation due to their single-pass, word-level decoding. We present the Vocabulary Pyramid Network (VPN), a framework that employs multi-pass encoding and decoding across hierarchical vocabularies. By first predicting high-level concepts and iteratively refining them into specific words, VPN generates more diverse and contextually relevant responses. Evaluations on large-scale English and Chinese datasets demonstrate that VPN significantly outperforms standard Seq2Seq and multi-pass baselines in both automated metrics and human judgment.
Introduction
Most modern chatbots rely on the Sequence-to-Sequence (Seq2Seq) framework, where an encoder processes an input message and a decoder generates a response word-by-word. This approach has two major flaws. First, the "Safe Response Trap" causes models to default to high-frequency patterns like "I don't know," which are statistically safe but boring. Second, "One-Pass Limitations" mean that errors made early in the generation process accumulate, as the model cannot "look ahead" to ensure current word choices align with the intended conclusion of the sentence.
Methods
The Vocabulary Pyramid Network (VPN) introduces a "coarse-to-fine" strategy to overcome these limitations through two primary innovations: multi-level vocabularies and a multi-pass architecture.
Multi-Level Vocabularies
Instead of relying solely on a fixed raw-word vocabulary, VPN utilizes hierarchical clustering (Ward linkage on word2vec embeddings) to group words into "low-level clusters" (meanings) and "high-level clusters" (broad concepts). This creates a pyramid structure where the apex represents abstract intent and the base represents specific word choices.
Multi-Pass Architecture
The VPN architecture consists of three distinct stages for both encoding and decoding:
- Multi-Pass Encoding: The input message is processed by Raw-Word, Low-Level, and High-Level encoders. Each pass builds on the previous one, capturing both literal usage and underlying semantic themes.
- Multi-Pass Decoding: The decoder generates a sequence of abstract concepts (High-Level), refines them into intermediate clusters (Low-Level), and finally produces the actual words (Raw-Word). This multi-pass approach provides the model with a "roadmap," ensuring global consistency across the generated response.
Experimental Results
The model was evaluated on two massive social media datasets: English Twitter and Chinese Weibo. The data was split into a 9:0.5:0.5 ratio for training, development, and testing.
Quantitative Performance
VPN significantly outperformed strong baselines, including standard Seq2Seq and the Deliberation Network (a two-pass model using a single vocabulary). On the Weibo dataset, VPN achieved a BLEU score of 12.51, compared to 8.95 for standard Seq2Seq and 10.04 for the Deliberation Network. Similar improvements were observed in ROUGE scores.
Qualitative Evaluation
Human judges rated VPN higher across three key metrics: Fluency (grammatical correctness), Consistency (relevance to input), and Informativeness (content quality). In head-to-head matchups, VPN was preferred over baselines in more than 50% of cases (excluding ties).
Conclusion
The Vocabulary Pyramid Network demonstrates that generating responses through layers of abstraction—moving from intent to specific words—leads to more stable and interesting dialogue. By providing a global guidance mechanism through its multi-pass decoder, VPN avoids the pitfalls of traditional one-pass models. Future work includes exploring dynamic clustering methods and applying the pyramid architecture to other tasks such as machine translation and text summarization.
Summary updated