Salvato in:
Dettagli Bibliografici
Autori principali: Li, Yiwei, Mi, Fei, Li, Yitong, Wang, Yasheng, Sun, Bin, Feng, Shaoxiong, Li, Kan
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:https://arxiv.org/abs/2406.07850
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866929382686195712
author Li, Yiwei
Mi, Fei
Li, Yitong
Wang, Yasheng
Sun, Bin
Feng, Shaoxiong
Li, Kan
author_facet Li, Yiwei
Mi, Fei
Li, Yitong
Wang, Yasheng
Sun, Bin
Feng, Shaoxiong
Li, Kan
contents Stochastic sampling strategies such as top-k and top-p have been widely used in dialogue generation task. However, as an open-domain chatting system, there will be two different conversation scenarios, i.e. chit-chat and knowledge-based question answering. In the former situation, responses diversity is essential due to the one-to-many nature in dialogue. The latter, on the other hand, requires less randomness given that stochastic decoding strategy entails the risk of generating incorrect information. As a result, an adaptive and flexible decoding strategy is needed to cope with these two scenarios simultaneously. To this end, we propose the dynamic decoding strategy (DDS), which can adjust the decoding space w.r.t. different contexts. In DDS, both sequence-level and token-level adaptive search can be achieved to adjust the decoding process in a unified framework. Besides, our adaptive algorithm can not only be used during model inference, but it can also be applied during the model training stage to further enhance the performance. Comprehensive experiments indicate that the proposed decoding strategy can consistently improve the performance of pre-trained dialogue models when coupled with four well-used stochastic decoding algorithms.
format Preprint
id arxiv_https___arxiv_org_abs_2406_07850
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Dynamic Stochastic Decoding Strategy for Open-Domain Dialogue Generation
Li, Yiwei
Mi, Fei
Li, Yitong
Wang, Yasheng
Sun, Bin
Feng, Shaoxiong
Li, Kan
Computation and Language
Artificial Intelligence
Stochastic sampling strategies such as top-k and top-p have been widely used in dialogue generation task. However, as an open-domain chatting system, there will be two different conversation scenarios, i.e. chit-chat and knowledge-based question answering. In the former situation, responses diversity is essential due to the one-to-many nature in dialogue. The latter, on the other hand, requires less randomness given that stochastic decoding strategy entails the risk of generating incorrect information. As a result, an adaptive and flexible decoding strategy is needed to cope with these two scenarios simultaneously. To this end, we propose the dynamic decoding strategy (DDS), which can adjust the decoding space w.r.t. different contexts. In DDS, both sequence-level and token-level adaptive search can be achieved to adjust the decoding process in a unified framework. Besides, our adaptive algorithm can not only be used during model inference, but it can also be applied during the model training stage to further enhance the performance. Comprehensive experiments indicate that the proposed decoding strategy can consistently improve the performance of pre-trained dialogue models when coupled with four well-used stochastic decoding algorithms.
title Dynamic Stochastic Decoding Strategy for Open-Domain Dialogue Generation
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2406.07850