Skip to content

shunjiu/AURL

Repository files navigation

AURL

This is the code for the ICASSP2023 Paper "An Asynchronous Updating Reinforcement Learning Framework for Task-oriented Dialog System". Link

Abstract

Reinforcement learning has been applied to train the dialog systems in many works. Previous approaches divide the dialog system into multiple modules including DST (dialog state tracking) and DP (dialog policy), and train these modules simultaneously. However, different modules influence each other during training. The errors from DST might misguide the dialog policy, and the system action brings extra difficulties for the DST module. To alleviate this problem, we propose Asynchronous Updating Reinforcement Learning framework (AURL) that updates the DST module and the DP module asynchronously under a cooperative setting. Furthermore, curriculum learning is implemented to address the problem of unbalanced data distribution during reinforcement learning sampling, and multiple user models are introduced to increase the dialog diversity. Results on the public SSD-PHONE dataset show that our method achieves a compelling result with a 31.37% improvement on the dialog success rate.

Dataset

Download dataset in Link, put the SSD_phone dataset into 'data' dir.

Requirements

  • torch
  • tqdm
  • numpy
  • sklearn

Train

Pretrain system model

python run.py --mode=sl_sys --device=cuda:0

Pretrain user model

python run.py --mode=sl_user --device=cuda:0

RL train

python run.py --simulator_num=2 --device=cuda:0

The template file is currently being applied for publication.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages