English

Teacher Forcing Recovers Reward Functions for Text Generation

Machine Learning 2023-01-19 v2 Artificial Intelligence Computation and Language

Abstract

Reinforcement learning (RL) has been widely used in text generation to alleviate the exposure bias issue or to utilize non-parallel datasets. The reward function plays an important role in making RL training successful. However, previous reward functions are typically task-specific and sparse, restricting the use of RL. In our work, we propose a task-agnostic approach that derives a step-wise reward function directly from a model trained with teacher forcing. We additionally propose a simple modification to stabilize the RL training on non-parallel datasets with our induced reward function. Empirical results show that our method outperforms self-training and reward regression methods on several text generation tasks, confirming the effectiveness of our reward function.

Keywords

Cite

@article{arxiv.2210.08708,
  title  = {Teacher Forcing Recovers Reward Functions for Text Generation},
  author = {Yongchang Hao and Yuxin Liu and Lili Mou},
  journal= {arXiv preprint arXiv:2210.08708},
  year   = {2023}
}

Comments

Accepted at NeurIPS 2022

R2 v1 2026-06-28T03:46:15.662Z