HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

ConveRT: Efficient and Accurate Conversational Representations from Transformers

Matthew Henderson; Iñigo Casanueva; Nikola Mrkšić; Pei-Hao Su; Tsung-Hsien Wen; Ivan Vulić

ConveRT: Efficient and Accurate Conversational Representations from Transformers

Abstract

General-purpose pretrained sentence encoders such as BERT are not ideal for real-world conversational AI applications; they are computationally heavy, slow, and expensive to train. We propose ConveRT (Conversational Representations from Transformers), a pretraining framework for conversational tasks satisfying all the following requirements: it is effective, affordable, and quick to train. We pretrain using a retrieval-based response selection task, effectively leveraging quantization and subword-level parameterization in the dual encoder to build a lightweight memory- and energy-efficient model. We show that ConveRT achieves state-of-the-art performance across widely established response selection tasks. We also demonstrate that the use of extended dialog history as context yields further performance gains. Finally, we show that pretrained representations from the proposed encoder can be transferred to the intent classification task, yielding strong results across three diverse data sets. ConveRT trains substantially faster than standard sentence encoders or previous state-of-the-art dual encoders. With its reduced size and superior performance, we believe this model promises wider portability and scalability for Conversational AI applications.

Code Repositories

jordiclive/Convert-PolyAI-Torch
pytorch
Mentioned in GitHub
koujm/convert-tf
tf
Mentioned in GitHub
golsun/dialogrpt
pytorch
Mentioned in GitHub
davidalami/convert
tf
Mentioned in GitHub
phamnam-mta/ConveRT-PolyAI-Vietnamese
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
conversational-response-selection-on-dstc7Multi-context ConveRT
1-of-100 Accuracy: 71.2%
conversational-response-selection-on-polyaiConveRT
1-of-100 Accuracy: 68.3%
conversational-response-selection-on-polyaiMulti-context ConveRT
1-of-100 Accuracy: 71.8%
conversational-response-selection-on-polyai-2ConveRT
1-of-100 Accuracy: 84.3%

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp