Saved in:
Bibliographic Details
Main Authors: Wang, Peng, Lu, Songshuo, Tang, Yaohua, Yan, Sijie, Xia, Wei, Xiong, Yuanjun
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2405.19487
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913566678843392
author Wang, Peng
Lu, Songshuo
Tang, Yaohua
Yan, Sijie
Xia, Wei
Xiong, Yuanjun
author_facet Wang, Peng
Lu, Songshuo
Tang, Yaohua
Yan, Sijie
Xia, Wei
Xiong, Yuanjun
contents We present a generative dialogue system capable of operating in a full-duplex manner, allowing for seamless interaction. It is based on a large language model (LLM) carefully aligned to be aware of a perception module, a motor function module, and the concept of a simple finite state machine (called neural FSM) with two states. The perception and motor function modules operate in tandem, allowing the system to speak and listen to the user simultaneously. The LLM generates textual tokens for inquiry responses and makes autonomous decisions to start responding to, wait for, or interrupt the user by emitting control tokens to the neural FSM. All these tasks of the LLM are carried out as next token prediction on a serialized view of the dialogue in real-time. In automatic quality evaluations simulating real-life interaction, the proposed system reduces the average conversation response latency by more than threefold compared with LLM-based half-duplex dialogue systems while responding within less than 500 milliseconds in more than 50% of evaluated interactions. Running an LLM with only 8 billion parameters, our system exhibits an 8% higher interruption precision rate than the best available commercial LLM for voice-based dialogue.
format Preprint
id arxiv_https___arxiv_org_abs_2405_19487
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle A Full-duplex Speech Dialogue Scheme Based On Large Language Models
Wang, Peng
Lu, Songshuo
Tang, Yaohua
Yan, Sijie
Xia, Wei
Xiong, Yuanjun
Computation and Language
We present a generative dialogue system capable of operating in a full-duplex manner, allowing for seamless interaction. It is based on a large language model (LLM) carefully aligned to be aware of a perception module, a motor function module, and the concept of a simple finite state machine (called neural FSM) with two states. The perception and motor function modules operate in tandem, allowing the system to speak and listen to the user simultaneously. The LLM generates textual tokens for inquiry responses and makes autonomous decisions to start responding to, wait for, or interrupt the user by emitting control tokens to the neural FSM. All these tasks of the LLM are carried out as next token prediction on a serialized view of the dialogue in real-time. In automatic quality evaluations simulating real-life interaction, the proposed system reduces the average conversation response latency by more than threefold compared with LLM-based half-duplex dialogue systems while responding within less than 500 milliseconds in more than 50% of evaluated interactions. Running an LLM with only 8 billion parameters, our system exhibits an 8% higher interruption precision rate than the best available commercial LLM for voice-based dialogue.
title A Full-duplex Speech Dialogue Scheme Based On Large Language Models
topic Computation and Language
url https://arxiv.org/abs/2405.19487