Dialog Inpainting: Turning Documents into DialogsDownload PDF

01 Jun 2022 (modified: 22 Oct 2023)ICML 2022 Workshop KRLM Readers: Everyone
Keywords: dialog, conversational ai, synthetic data, large language model, generation, question answering, retrieval
TL;DR: We generate 19M information-seeking conversations from Wikipedia and web documents and use them to achieve SoTA on multiple conversational QA retrieval tasks.
Abstract: 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, yielding up to 40% relative gains on standard evaluation metrics.
Community Implementations: [![CatalyzeX](/images/catalyzex_icon.svg) 3 code implementations](https://www.catalyzex.com/paper/arxiv:2205.09073/code)
0 Replies

Loading