paper-with-me

홈 › Papers

BoK: Introducing Bag-of-Keywords Loss for Interpretable Dialogue Response Generation

2025-01-17 · Suvodip Dey, Maunendra Sankar Desarkar

The standard language modeling (LM) loss by itself has been shown to be inadequate for effective dialogue modeling. As a result, various training approaches, such as auxiliary loss functions and leveraging human feedback, are being adopted to enrich open-domain dialogue systems. One such auxiliary loss function is Bag-of-Words (BoW) loss, defined as the cross-entropy loss for predicting all the words/tokens of the next utterance. In this work, we propose a novel auxiliary loss named Bag-of-Keywords (BoK) loss to capture the central thought of the response through keyword prediction and leverage it to enhance the generation of meaningful and interpretable responses in open-domain dialogue systems. BoK loss upgrades the BoW loss by predicting only the keywords or critical words/tokens of the next utterance, intending to estimate the core idea rather than the entire response. We incorporate BoK loss in both encoder-decoder (T5) and decoder-only (DialoGPT) architecture and train the models to minimize the weighted sum of BoK and LM (BoK-LM) loss. We perform our experiments on two popular open-domain dialogue datasets, DailyDialog and Persona-Chat. We show that the inclusion of BoK loss improves the dialogue generation of backbone models while also enabling post-hoc interpretability. We also study the effectiveness of BoK-LM loss as a reference-free metric and observe comparable performance to the state-of-the-art metrics on various dialogue evaluation datasets.

📄 PDF Abstract BibTeX arXiv:2501.10328

Code (1)

suvodipdey/bok 공식 구현 pytorch

Tasks

DecoderDialogue EvaluationDialogue GenerationLanguage ModelingLanguage ModellingResponse Generation

Similar Papers 제목 키워드 기반

Generating Informative Dialogue Responses with Keywords-Guided Networks

2020-07-03 · Heng-Da Xu, Xian-Ling Mao, Zewen Chi, Jing-Jing Zhu 외

Recently, open-domain dialogue systems have attracted growing attention. Most of them use the sequence-to-sequence (Seq2Seq) architecture to generate responses. However, traditional Seq2Seq-based open-domain dialogue mod…

Decoder

Towards Interpretable Chit-chat: Open Domain Dialogue Generation with Dialogue Acts

2018-01-01 · ICLR 2018 1 · Wei Wu, Can Xu, Yu Wu, Zhoujun Li

Conventional methods model open domain dialogue generation as a black box through end-to-end learning from large scale conversation data. In this work, we make the first step to open the black box by introducing dialogue…

Dialogue GenerationResponse Generation

Emp-RFT: Empathetic Response Generation via Recognizing Feature Transitions between Utterances

2022-05-06 · NAACL 2022 7 · Wongyu Kim, Youbin Ahn, Donghyun Kim, Kyong-Ho Lee

Each utterance in multi-turn empathetic dialogues has features such as emotion, keywords, and utterance-level meaning. Feature transitions between utterances occur naturally. However, existing approaches fail to perceive…

Empathetic Response GenerationResponse Generation

CAB: Empathetic Dialogue Generation with Cognition, Affection and Behavior

2023-02-03 · Pan Gao, Donghong Han, Rui Zhou, Xuejiao Zhang 외

Empathy is an important characteristic to be considered when building a more intelligent and humanized dialogue agent. However, existing methods did not fully comprehend empathy as a complex process involving three aspec…

Dialogue Generation

Relevant and Informative Response Generation using Pointwise Mutual Information

2019-08-01 · WS 2019 8 · Junya Takayama, Yuki Arase

A sequence-to-sequence model tends to generate generic responses with little information for input utterances. To solve this problem, we propose a neural model that generates relevant and informative responses. Our model…

DecoderResponse Generation