Thinking Clearly, Talking Fast: Concept-Guided Non-Autoregressive Generation for Open-Domain Dialogue Systems

Yicheng Zou, Zhihua Liu, Xingwu Hu, Qi Zhang

Introduction

Open-domain dialogue systems, or chatbots, are designed to engage in natural, human-like conversations. However, current state-of-the-art models often struggle with two primary issues: they tend to produce safe but generic responses (the "boring" problem) and suffer from high latency due to word-by-word generation (the "slow" problem). Standard autoregressive models maximize the likelihood of the next word, which frequently leads to repetitive, uninformative phrases like "I don't know" or "That's cool."

To address these challenges, researchers from Fudan University introduced CG-nAR (Concept-Guided Non-Autoregressive generation). This framework decouples the "thinking" process—planning what to say—from the "talking" process—generating the actual text. By explicitly planning a sequence of key concepts before generating a response, the model ensures content diversity and achieves significant speedups through parallel generation.

The CG-nAR Framework

The CG-nAR model operates in two distinct stages: Multi-Concept Planning and Concept-Guided Generation.

1. Multi-Concept Planning

Instead of jumping straight into text generation, the model first identifies a logical path of topics. It utilizes a Concept Graph constructed from training data, where nodes represent keywords and edges represent common transitions. A hierarchical dialogue encoder processes the conversation history, while a Concept Flow Encoder tracks previously discussed topics to predict a sequence of target concepts. This "conceptual skeleton" provides a roadmap for the response, ensuring the model stays on topic while introducing specific, interesting information.

2. Concept-Guided Insertion Transformer

Once the concepts are selected (e.g., [doctor, hospital]), the model uses an Insertion Transformer to flesh out the response. Unlike traditional models that generate text from left to right, the Insertion Transformer starts with the planned concepts as a partial response and inserts "filler" words in parallel. This non-autoregressive (NAR) approach guarantees that the chosen concepts appear in the final output and allows the model to generate multiple words simultaneously, breaking the linear bottleneck of sequential generation.

Architecture of the CG-nAR framework, illustrating the transition from dialogue history to concept planning and parallel text generation.

Experimental Evaluation

The authors evaluated CG-nAR on two major benchmarks:

  • Persona-Chat: Dialogues where speakers have specific personas (e.g., hobbies, professions).
  • Weibo: A large-scale social media dataset for Chinese conversation.

Concept graphs were tailored for each dataset, identifying 2,409 concept vertices for Persona-Chat and 4,000 for Weibo. The model was compared against several baselines, including standard Transformers and models with implicit concept guidance like ConceptFlow.

Key Results

CG-nAR demonstrated superior performance across both automatic metrics and human evaluation.

  • Quality and Diversity: As shown in the results table, CG-nAR significantly outperformed baselines in BLEU and ROUGE (RG) scores. Notably, its Dist-1/2 scores—which measure the uniqueness of generated words—were substantially higher, confirming that the model produces more diverse and less repetitive responses than traditional autoregressive models.
  • Inference Speed: The model achieved a generation rate of 1131.1 words per second, making it 1.6x to 2.7x faster than standard Transformers. This speedup is critical for real-time applications where low latency is essential for user satisfaction.
  • Human Preference: In side-by-side comparisons, human judges preferred CG-nAR's responses for their appropriateness and informativeness over 60% of the time when compared to most competitors.
Automatic evaluation results on Persona-Chat and Weibo datasets, highlighting CG-nAR's superior performance in quality and diversity.

Conclusion and Future Work

CG-nAR represents a significant step forward in dialogue generation by combining explicit conceptual planning with high-speed non-autoregressive generation. While highly effective, the model's reliance on a pre-constructed Concept Graph suggests that future work could focus on more dynamic graph construction or more flexible concept ordering. Nevertheless, the framework proves that "thinking" before "talking" is a powerful strategy for building faster, more engaging conversational AI.

Summary updated

BibTeX
@inproceedings{zou2021thinking,
  author = {Yicheng Zou and Zhihua Liu and Xingwu Hu and Qi Zhang},
  title = {{Thinking Clearly, Talking Fast: Concept-Guided Non-Autoregressive Generation for Open-Domain Dialogue Systems}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.169},
}
Figure