[Paper Review] Dialog Inpainting: Turning Documents into Dialogs
This paper introduces dialog inpainting, a method that transforms expert-written documents into diverse, high-quality information-seeking dialogs by generating reader questions between writer utterances. Using this approach on Wikipedia and web texts, the authors create WikiDialog and WebDialog—19 million dialogs that outperform existing datasets in conversational quality and boost ConvQA retrieval performance by up to 40% relative gain on benchmarks.
Many important questions (e.g. "How to eat healthier?") require conversation to establish context and explore in depth. However, conversational question answering (ConvQA) systems have long been stymied by scarce training data that is expensive to collect. To address this problem, we propose a new technique for synthetically generating diverse and high-quality dialog data: dialog inpainting. Our approach takes the text of any document and transforms it into a two-person dialog between the writer and an imagined reader: we treat sentences from the article as utterances spoken by the writer, and then use a dialog inpainter to predict what the imagined reader asked or said in between each of the writer's utterances. By applying this approach to passages from Wikipedia and the web, we produce WikiDialog and WebDialog, two datasets totalling 19 million diverse information-seeking dialogs -- 1,000x larger than the largest existing ConvQA dataset. Furthermore, human raters judge the answer adequacy and conversationality of WikiDialog to be as good or better than existing manually-collected datasets. Using our inpainted data to pre-train ConvQA retrieval systems, we significantly advance state-of-the-art across three benchmarks (QReCC, OR-QuAC, TREC CAsT) yielding up to 40% relative gains on standard evaluation metrics.
Motivation & Objective
- To address the scarcity of high-quality, diverse conversational question-answering (ConvQA) training data, which limits system performance.
- To create a scalable, synthetic data generation method that preserves the factual accuracy and coherence of expert-written documents.
- To produce information-seeking dialogs that are as conversational and adequate as manually collected datasets, without relying on costly human annotation.
- To enable pre-training of ConvQA systems on large-scale, high-quality synthetic dialog data for improved zero-shot and fine-tuned performance.
Proposed method
- The method treats sentences from a document as utterances by a writer and uses a dialog inpainter to predict missing reader utterances (questions or comments) between them.
- The dialog inpainting model is trained via dialog reconstruction, where masked utterances are predicted based on context from surrounding turns.
- The approach leverages the structural coherence and factual grounding of expert-written documents (e.g., Wikipedia) to generate plausible, contextually relevant reader questions.
- The model is applied to Wikipedia and web passages to create two large-scale datasets: WikiDialog and WebDialog, totaling 19 million dialogs.
- The generated dialogs are evaluated via human annotation for conversational quality and answer adequacy, and used to pre-train ConvQA retrieval models.
Experimental results
Research questions
- RQ1Can synthetic dialog data generated from expert-written documents match the conversational quality and factual adequacy of manually collected datasets?
- RQ2Can dialog inpainting effectively generate diverse, contextually coherent, and information-seeking dialogues from non-conversational text?
- RQ3To what extent can pre-training on large-scale synthetic dialog data improve ConvQA retrieval performance on standard benchmarks?
- RQ4Does synthetic data from dialog inpainting enable strong zero-shot performance in ConvQA without fine-tuning on in-domain data?
Key findings
- WikiDialog and WebDialog contain 19 million diverse, information-seeking dialogs, representing a 1,000x increase over the largest existing ConvQA datasets.
- Human evaluations show that WikiDialog's answer adequacy and conversationality are as good or better than those of manually collected datasets.
- Pre-training ConvQA retrievers on WikiDialog alone achieves up to 40% relative improvement on standard evaluation metrics across three benchmarks: QReCC, OR-QuAC, and TREC CAsT.
- The synthetic data enables strong zero-shot retrieval performance—up to 95% of the performance of a fine-tuned retriever—without any in-domain ConvQA data.
- The method successfully preserves the factual grounding and coherence of source documents while generating natural-sounding reader questions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.