KRLS: Improving End-to-End Response Generation in Task Oriented Dialog with Reinforced Keywords Learning

Xiao Yu, Qingyang Wu, Kun Qian, Zhou Yu
11/30/2022
cs.CL
rl

Official code: jasonyux/KRLS (4 stars, Python, last commit 2023-11-11).

Abstract

In task-oriented dialogs (TOD), reinforcement learning (RL) algorithms train a model to directly optimize response for task-related metrics. However, RL needs to perform exploration, which can be time-consuming due to the slow auto-regressive sequence generation process.

Show full abstract

We investigate an approach to create a more efficient RL-based algorithm to improve TOD performance in an offline setting. First, we use a faster generation procedure that samples from independent next-word distributions after training the language model (LM) with supervised learning. We then introduce a fine-grained reward function to help the model focus on learning key information in a dialog, by measuring the importance and semantic closeness of each generated token. Experiments on the MultiWoZ dataset show our new training algorithm, Keywords Reinforcement Learning with Next-word Sampling (KRLS), achieves state-of-the-art performance on the end-to-end response generation task, with a 15% training time reduction compared to a standard RL algorithm using auto-regressive generation.

View on arXivView PDF

Code Implementations(1)

jasonyux/KRLSOfficial100%
40Python, Jupyter NotebookJan 15, 20233 years ago

Similar Papers

Cite this paper

@article{yu2022krls,
  title  = {KRLS: Improving End-to-End Response Generation in Task Oriented Dialog with Reinforced Keywords Learning},
  author = {Xiao Yu and Qingyang Wu and Kun Qian and Zhou Yu},
  year   = {2022},
  eprint = {2211.16773},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.16773}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.16773.svg)](https://codeofpaper.com/paper/2211.16773)

Discussion