Reproduce “Sequence Tutor: Conservative Fine-Tuning of Sequence Generation Models with KL-control” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Natasha Jaques, Shixiang Gu, Dzmitry Bahdanau, José Miguel Hernández-Lobato, Richard E. Turner, Douglas Eck

Sequence Tutor uses reinforcement learning to steer generators toward task-specific rewards while constraining them with a fixed model’s probabilities. For melodies, it compares Q-learning, Ψ-learning, and G-learning. Excessively repeated notes fall from 63.3% with the maximum-likelihood baseline to 0.0% for Q and 0.02% for Ψ; listeners preferred all three RL models, but findings depend on chosen rewards and this setup.

Key insights

  • KL-control offers a principled framework for combining data-driven and reward-driven learning, enabling conservative fine-tuning that refines sequence generation while preserving the statistical information from the initial MLE training.
  • The explicit KL-divergence penalty from the prior policy inherently acts as an entropy regularizer for the new policy, effectively promoting and maintaining diversity in the generated samples.
  • Different KL-control derived algorithms (Q, Ψ, G) offer varying trade-offs between maximizing task rewards and staying close to the prior data distribution, with Ψ-learning often striking a good balance for both aspects.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.