A comprehensive solution to retrieval-based chatbot construction

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Moore, Kristen, Zhong, Shenjun, He, Zhen, Rudolf, Torsten, Fisher, Nils, Victor, Brandon, Jindal, Neha
Format: Preprint
Published: 2021
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918125314768896
author Moore, Kristen
Zhong, Shenjun
He, Zhen
Rudolf, Torsten
Fisher, Nils
Victor, Brandon
Jindal, Neha
author_facet Moore, Kristen
Zhong, Shenjun
He, Zhen
Rudolf, Torsten
Fisher, Nils
Victor, Brandon
Jindal, Neha
contents In this paper we present the results of our experiments in training and deploying a self-supervised retrieval-based chatbot trained with contrastive learning for assisting customer support agents. In contrast to most existing research papers in this area where the focus is on solving just one component of a deployable chatbot, we present an end-to-end set of solutions to take the reader from an unlabelled chatlogs to a deployed chatbot. This set of solutions includes creating a self-supervised dataset and a weakly labelled dataset from chatlogs, as well as a systematic approach to selecting a fixed list of canned responses. We present a hierarchical-based RNN architecture for the response selection model, chosen for its ability to cache intermediate utterance embeddings, which helped to meet deployment inference speed requirements. We compare the performance of this architecture across 3 different learning objectives: self-supervised contrastive learning, binary classification, and multi-class classification. We find that using a self-supervised contrastive learning model outperforms training the binary and multi-class classification models on a weakly labelled dataset. Our results validate that the self-supervised contrastive learning approach can be effectively used for a real-world chatbot scenario.
format Preprint
id arxiv_https___arxiv_org_abs_2106_06139
institution arXiv
publishDate 2021
record_format arxiv
spellingShingle A comprehensive solution to retrieval-based chatbot construction
Moore, Kristen
Zhong, Shenjun
He, Zhen
Rudolf, Torsten
Fisher, Nils
Victor, Brandon
Jindal, Neha
Computation and Language
Artificial Intelligence
Machine Learning
In this paper we present the results of our experiments in training and deploying a self-supervised retrieval-based chatbot trained with contrastive learning for assisting customer support agents. In contrast to most existing research papers in this area where the focus is on solving just one component of a deployable chatbot, we present an end-to-end set of solutions to take the reader from an unlabelled chatlogs to a deployed chatbot. This set of solutions includes creating a self-supervised dataset and a weakly labelled dataset from chatlogs, as well as a systematic approach to selecting a fixed list of canned responses. We present a hierarchical-based RNN architecture for the response selection model, chosen for its ability to cache intermediate utterance embeddings, which helped to meet deployment inference speed requirements. We compare the performance of this architecture across 3 different learning objectives: self-supervised contrastive learning, binary classification, and multi-class classification. We find that using a self-supervised contrastive learning model outperforms training the binary and multi-class classification models on a weakly labelled dataset. Our results validate that the self-supervised contrastive learning approach can be effectively used for a real-world chatbot scenario.
title A comprehensive solution to retrieval-based chatbot construction
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2106.06139