# Neural Response Generation with Dynamic Vocabularies

arXiv: https://arxiv.org/abs/1711.11191 · HTML: https://mlsanity.com/paper/1711.11191/

## Key facts

- Cited by 8 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 30 Nov 2017.

## Built on by (most cited first, 8 of 8)

- [Locate Anything on Earth: Advancing Open-Vocabulary Object Detection for Remote Sensing Community](https://mlsanity.com/paper/2408.09110/) (2024)
- [Maria: A Visual Experience Powered Conversational Agent](https://mlsanity.com/paper/2105.13073/) (2021)
- [Smoothing Dialogue States for Open Conversational Machine Reading](https://mlsanity.com/paper/2108.12599/) (2021)
- [An Emotion-controlled Dialog Response Generation Model with Dynamic Vocabulary](https://mlsanity.com/paper/2103.02878/) (2021)
- [Dynamically Retrieving Knowledge via Query Generation for Informative Dialogue Generation](https://mlsanity.com/paper/2208.00128/) (2022)
- [Query-Response Interactions by Multi-tasks in Semantic Search for Chatbot Candidate Retrieval](https://mlsanity.com/paper/2208.11018/) (2022)
- [Online Domain-aware LLM Decoding for Continual Domain Evolution](https://mlsanity.com/paper/2602.08088/) (2026)
- [Evaluation metrics for temporal preservation in synthetic longitudinal patient data](https://mlsanity.com/paper/2602.10643/) (2026)

## Abstract (arXiv)

We study response generation for open domain conversation in chatbots. Existing methods assume that words in responses are generated from an identical vocabulary regardless of their inputs, which not only makes them vulnerable to generic patterns and irrelevant noise, but also causes a high cost in decoding. We propose a dynamic vocabulary sequence-to-sequence (DVS2S) model which allows each input to possess their own vocabulary in decoding. In training, vocabulary construction and response generation are jointly learned by maximizing a lower bound of the true objective with a Monte Carlo sampling method. In inference, the model dynamically allocates a small vocabulary for an input with the word prediction model, and conducts decoding only with the small vocabulary. Because of the dynamic vocabulary mechanism, DVS2S eludes many generic patterns and irrelevant words in generation, and enjoys efficient decoding at the same time. Experimental results on both automatic metrics and human annotations show that DVS2S can significantly outperform state-of-the-art methods in terms of response quality, but only requires 60% decoding time compared to the most efficient baseline.
