Proceedings of the First Workshop on NLP for Conversational AI

Matthew Henderson, Paweł Budzianowski, Iñigo Casanueva, Sam Coope, Daniela Gerz, Girish Kumar, Nikola Mrkšić, Georgios Spithourakis, Pei-Hao Su, Ivan Vulić, Tsung-Hsien Wen, Martı́n Abadi, Ashish Agarwal, Paul Barham, Eugene Brevdo, Zhifeng Chen, Craig Citro, Greg Cor- Rado, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Ian Goodfellow, Andrew Harp, Geoffrey Irving, Michael Isard, Yangqing Jia, Rafał Józefowicz, Łukasz Kaiser, Manjunath Kudlur, Josh Levenberg, Dan Mané, Rajat Monga, Sherry Moore, Derek G. Murray, Chris Olah, Mike Schuster, Jonathon Shlens, Benoit Steiner, Ilya Sutskever, Kunal Talwar, Paul A. Tucker, Vincent Vanhoucke, Vijay Vasudevan, Fernanda Viégas, Oriol Vinyals, Pete Warden, Martin Wattenberg, Yuan Wicke, Xiao Yu, Tyler Akidau, Robert Bradshaw, Craig Chambers, Slava Chernyak, Rafael J. Fernández-Moctezuma, Bo-Hsiang Tseng, Stefan Ultes, R. Osman, Milica Gasic, Daniel Cer, Yinfei Yang, Sheng-yi Kong, Nan Hua, Nicole Limtiaco, Rhomni St, Noah John, Mario Con- Stant, Steve Guajardo-Cespedes, Yuan Chris, Yun-Hsuan Tar, Brian Sung, Ray Strope, Chulaka Gunasekara, Jonathan Kummerfeld, Lazaros Polymenakos, Walter S. Lasecki, Charles T. Hemphill, John J. Godfrey, George R. Doddington, Rami Al‐Rfou, Brian Strope, You Kyung Sung, Lukács László, Anjuli Kannan, Karol Kurach, Sujith Ravi, Tobias Kaufmann, Andrew Tomkins, Miklós Bálint, Greg S. Corrado, Marina Ganea, J. Peter W. Young, Vivek Ramavajjala, Liliana Laranjo, Adam G. Dunn, Alessandro Sordoni, Michel Galley, Michael Auli, Chris Brockett, Yasuhito Ohsugi, Lukasz KaiserOpenalex Unknown 2019 · DOI · OpenAlex

Abstract

Progress in Machine Learning is often driven by the availability of large datasets and consistent evaluation metrics for comparing modeling approaches. To this end, we present a repository of conversational datasets consisting of hundreds of millions of examples and a standardized evaluation procedure for conversational response selection models using 1-of-100 accuracy. The repository contains scripts that allow researchers to reproduce standard datasets or adapt pre-processing and filtering steps to their needs. We introduce and evaluate several competitive baselines for conversational response selection, as well as a neural encoder model trained on the entire training set.

1. Introduction

Building natural dialogue systems is a notoriously difficult challenge in Artificial Intelligence, largely due to the scarcity of high-quality, large-scale data. Traditionally, researchers have relied on task-oriented datasets (e.g., flight bookings) which require human-designed ontologies and manual annotations. These datasets are often limited to a few thousand turns and fail to capture the diverse, messy nature of human interaction.

While massive amounts of conversational data exist on the internet, utilizing them for research has historically been problematic. Disparate filtering methods, inconsistent evaluation metrics, and custom scrapers have created a "data bottleneck" that makes fair model comparison nearly impossible. This work addresses these issues by providing a unified, reproducible framework for large-scale dialogue research.

2. Methodology

2.1 The Response Selection Task

The framework focuses on the task of Response Selection, where a model is presented with a conversational context and must identify the correct response from a pool of candidates. This approach is highly relevant for retrieval-based dialogue systems.

2.2 Standardized Evaluation: 1-of-100 Accuracy

To ensure consistency across the field, we propose the 1-of-100 accuracy metric (a form of Recall@1). For every test example, the model is tasked with identifying the true response from a pool of 99 randomly sampled "distractor" responses. This provides a more rigorous and standardized benchmark than previous ad-hoc metrics.

2.3 The POLYAI-ENCODER

We introduce a specialized dual-encoder architecture designed for conversational tasks. The model utilizes two separate neural sub-networks: one to encode the conversational context and another to encode the candidate response. The score for a potential response is determined by the dot product of these two vectors. This architecture is highly efficient for production environments, as embeddings for thousands of candidate responses can be pre-computed.

3. Datasets

The repository includes three primary datasets processed using Google Cloud Dataflow to ensure scalability:

  • Reddit: 727 million valid context-response pairs extracted from 3.7 billion comments (2015–2018). This represents a significantly larger and more current corpus than previous releases.
  • OpenSubtitles: 316 million pairs derived from movie and television subtitles, offering a dramatic and varied conversational style.
  • AmazonQA: 3.6 million question-answer pairs from product pages, representing a structured, e-commerce-focused domain.

4. Experimental Results and Insights

4.1 Baseline Comparisons

We evaluated several standard NLP techniques against our specialized encoder, including keyword-based methods (TF-IDF, BM25) and modern vector-based embeddings (Universal Sentence Encoder, ELMo, and BERT).

Model Reddit OpenSubtitles AmazonQA
TF-IDF (Keyword) 26.7% 10.9% 51.8%
USE-LARGE-MAP (Vector) 47.7% 18.0% 61.9%
POLYAI-ENCODER 61.3% 30.6% 84.2%

4.2 Key Findings

  • The Power of Learned Mapping: A significant performance gap was observed between simple cosine similarity (SIM) and learned linear mapping (MAP). Models that learned the relationship between context and response significantly outperformed those relying solely on semantic similarity.
  • Specialization vs. Generalization: While BERT is a dominant force in general NLP, the specialized POLYAI-ENCODER outperformed BERT-based baselines in response selection. This suggests that training on specific dialogue structures is more critical for conversational AI than general-purpose language modeling.
  • Domain Variance: Performance varied significantly by domain. The 1-of-100 accuracy was highest on AmazonQA (~84%) and lowest on OpenSubtitles (~30%), highlighting the unpredictable, "one-to-many" nature of movie dialogue compared to the constrained nature of product Q&A.

5. Limitations and Future Work

While this framework provides a robust foundation, several areas for future research remain:

  • Context Depth: Current evaluations primarily use the immediate previous turn. Future work will explore the utilization of multi-turn history supported by the dataset format.
  • Negative Sampling: The current metric uses random negatives. Real-world systems face the greater challenge of "hard negatives"—responses that are contextually plausible but factually or logically incorrect.
  • Generative Modeling: While this work focuses on retrieval, these datasets are equally suitable for training generative models, which require further advances in objective evaluation.

6. Conclusion

By releasing these standardized scripts and evaluation metrics, we provide a "gym" for conversational AI research. This framework allows the community to move beyond small-scale, domain-restricted studies toward the development of robust, general-purpose conversational models on a level playing field.

Summary updated

Abstract

Progress in Machine Learning is often driven by the availability of large datasets, and consistent evaluation metrics for comparing modeling approaches.To this end, we present a repository of conversational datasets consisting of hundreds of millions of examples, and a standardised evaluation procedure for conversational response selection models using 1-of-100 accuracy.The repository contains scripts that allow researchers to reproduce the standard datasets, or to adapt the pre-processing and data filtering steps to their needs.We introduce and evaluate several competitive baselines for conversational response selection, whose implementations are shared in the repository, as well as a neural encoder model that is trained on the entire training set.Built from Training size Testing size Reddit 3.7 billion comments in threaded conversations 654,396,778 72,616,937 OpenSubtitles over 400 million lines from movie and television subtitles (also available in other languages)
BibTeX
@inproceedings{henderson2019proceedings,
  author = {Matthew Henderson and Paweł Budzianowski and Iñigo Casanueva and Sam Coope and Daniela Gerz and Girish Kumar and Nikola Mrkšić and Georgios Spithourakis and Pei-Hao Su and Ivan Vulić and Tsung-Hsien Wen and Martı́n Abadi and Ashish Agarwal and Paul Barham and Eugene Brevdo and Zhifeng Chen and Craig Citro and Greg Cor- Rado and Andy Davis and Jeffrey Dean and Matthieu Devin and Sanjay Ghemawat and Ian Goodfellow and Andrew Harp and Geoffrey Irving and Michael Isard and Yangqing Jia and Rafał Józefowicz and Łukasz Kaiser and Manjunath Kudlur and Josh Levenberg and Dan Mané and Rajat Monga and Sherry Moore and Derek G. Murray and Chris Olah and Mike Schuster and Jonathon Shlens and Benoit Steiner and Ilya Sutskever and Kunal Talwar and Paul A. Tucker and Vincent Vanhoucke and Vijay Vasudevan and Fernanda Viégas and Oriol Vinyals and Pete Warden and Martin Wattenberg and Yuan Wicke and Xiao Yu and Tyler Akidau and Robert Bradshaw and Craig Chambers and Slava Chernyak and Rafael J. Fernández-Moctezuma and Bo-Hsiang Tseng and Stefan Ultes and R. Osman and Milica Gasic and Daniel Cer and Yinfei Yang and Sheng-yi Kong and Nan Hua and Nicole Limtiaco and Rhomni St and Noah John and Mario Con- Stant and Steve Guajardo-Cespedes and Yuan Chris and Yun-Hsuan Tar and Brian Sung and Ray Strope and Chulaka Gunasekara and Jonathan Kummerfeld and Lazaros Polymenakos and Walter S. Lasecki and Charles T. Hemphill and John J. Godfrey and George R. Doddington and Rami Al‐Rfou and Brian Strope and You Kyung Sung and Lukács László and Anjuli Kannan and Karol Kurach and Sujith Ravi and Tobias Kaufmann and Andrew Tomkins and Miklós Bálint and Greg S. Corrado and Marina Ganea and J. Peter W. Young and Vivek Ramavajjala and Liliana Laranjo and Adam G. Dunn and Alessandro Sordoni and Michel Galley and Michael Auli and Chris Brockett and Yasuhito Ohsugi and Lukasz Kaiser and Greg Corrado},
  title = {{Proceedings of the First Workshop on NLP for Conversational AI}},
  booktitle = {Openalex Unknown},
  year = {2019},
  doi = {10.18653/v1/w19-41},
}

Loading related content...

Figure