Dialogizer: Context-aware Conversational-QA Dataset Generation from Textual Sources

Yerin Hwang, Yongil Kim, Hyunkyung Bae, Hwanhee Lee, Jeesoo Bang, Kyomin Jung

Abstract

Conversational Question Answering (ConvQA) systems require large-scale, high-quality datasets, which are expensive to annotate manually. While automated "dialogue inpainting" methods exist, they often produce generic, context-insensitive questions. We present Dialogizer, a framework that transforms static text into context-aware dialogues using specialized training tasks: Question-Answer Matching (QAM) and Topic-aware Dialog Generation (TDG). By incorporating a re-ranking process with the RQUGE metric, Dialogizer generates synthetic datasets that significantly outperform existing baselines in specificity and relevance, matching human-annotated quality across multiple domains.

Introduction

Building effective Conversational QA systems—chatbots capable of discussing documents—requires massive amounts of high-quality training data. Manual annotation is prohibitively expensive and requires domain expertise. Recent "dialogue inpainting" techniques attempted to automate this by treating document sentences as answers and training models to "fill in" missing questions. However, these models often suffer from contextual drift, generating overly generic questions like "What happened next?" rather than specific, information-seeking queries.

Comparison between generic dialogue inpainting and Dialogizer's context-aware generation.

Methodology

Dialogizer builds upon the T5 (Text-to-Text Transfer Transformer) architecture, introducing three key components to ensure question specificity and relevance:

  1. Question-Answer Matching (QAM): A binary classification task where the model learns to distinguish between matching and non-matching question-answer pairs from the same dialogue, forcing deep semantic alignment.
  2. Topic-aware Dialog Generation (TDG): Instead of abstract titles, Dialogizer extracts specific keywords from the target answer sentence to serve as "hints," guiding the model toward content-specific questions.
  3. Re-ranking (RR) with RQUGE: During inference, the model generates candidate questions via beam search and re-ranks them using RQUGE, a reference-free metric measuring how well the corresponding text answers the question.
Overview of Dialogizer's training tasks and inference process.

Datasets and Evaluation

Dialogizer was trained on DailyDialog, Task Master, OR-QuAC, and QReCC, then applied to four diverse domains to create new synthetic benchmarks: WikiDialog2 (Wikipedia), PubmedDialog (Medical), CC-newsDialog (News), and ElsevierDialog (Scientific Journals).

Key Results

  • Performance Gains: Dialogizer outperformed baseline inpainting models across all metrics, with average improvements of 18.23% for WikiDialog2 and up to 38.80% for ElsevierDialog.
  • Human Preference: In side-by-side evaluations, human annotators favored Dialogizer's questions 76% of the time for overall quality, compared to 21% for the baseline.
  • Downstream Impact: Retrieval models trained on Dialogizer data showed significantly better zero-shot performance on benchmarks like MS-MARCO.

Conclusion

Dialogizer effectively addresses the contextual drift problem in synthetic dialogue generation. By combining semantic matching, keyword-guided generation, and reference-free re-ranking, it produces high-quality ConvQA datasets that rival human annotation. While the re-ranking process increases inference time by approximately 2.4x, the resulting data quality provides a robust foundation for training advanced conversational agents across specialized domains.

Summary updated

BibTeX
@inproceedings{hwang2023dialogizer,
  author = {Yerin Hwang and Yongil Kim and Hyunkyung Bae and Hwanhee Lee and Jeesoo Bang and Kyomin Jung},
  title = {{Dialogizer: Context-aware Conversational-QA Dataset Generation from Textual Sources}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.emnlp-main.545},
}
Figure