atlas

Research map / Reinforcement learning / RL from feedback

ESRL: Efficient Sampling-Based Reinforcement Learning for Sequence Generation

AAAI 2024 · Reinforcement learning › RL from feedback · approach: Theory of RLHF · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes ESRL, a sampling-based RL method for sequence generation that uses two-stage sampling (sample without graphs, then one parallel forward pass for probabilities) and dynamic sampling that adapts sample size and temperature per input from estimated model capability.

Problem

Policy-gradient RL for sequence generation (MT, summarization, RLHF) needs large-scale sampling over huge action spaces and long sequences, which is computationally and memory expensive.

Approach

Two-stage sampling decouples sampling (no computational graph) from probability computation (single parallel forward pass), and dynamic sampling reduces the sample size and adjusts temperature for inputs the model already handles well, estimated from previous-epoch samples via BLEU/ROUGE or entropy; the loss uses MRT when k>1 and REINFORCE when k=1, with a FIFO-queue baseline reward.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use ESRL-BLEU with sampling size 20 instead of MLETransformer base · WMT'14 En-De testBLEU: 27.26 -> 28.30Helped
Use ESRL-ROUGE instead of MLETransformer base · CNN/DMROUGE-L: 37.06 -> 37.72Helped
Use ESRL-Entropy instead of PPO with two-stage samplingLLaMA-7B-LoRA · Vicuna benchmarkVicuna Score: +30.00 pointsHelped
Add GOLD-s after ESRL trainingESRL · IWSLT testSBLEU: 34.95 -> 35.12Helped
Add two-stage sampling (ablation)ESRL · IWSLT development setMemory (G): >24.00 -> 16.35Helped
Add dynamic sampling (ablation)ESRL · IWSLT development setSBLEU: 35.87 -> 36.34Helped
Add temperature adjustment (ablation)ESRL · IWSLT development setSBLEU: 36.02 -> 36.34Helped
Add FIFO-based baseline reward (ablation)ESRL · IWSLT development setSBLEU: 36.17 -> 36.34Helped
Use top-k sampling instead of beam search, diverse beam search, or top-p sampling (ablation)ESRL · IWSLT development setBLEU: 36.46; 36.78; 37.01 -> 37.15Helped
Use model-capability-based sampling adjustment instead of random adjustment (ablation)ESRL · Machine translation, abstractive summarization, and RLHFgeneration qualityHelped
Use elimination ratio 0.3 instead of 0 (ablation)ESRL-BLEU · IWSLTSBLEUHelped
Vary the dynamic sampling temperature interval (ablation)ESRL · IWSLTBLEUMixed

Surprising findings

Limitations

Experimental setup

Datasets: IWSLT'14 De-En WMT'14 En-De CNN/DM Alpaca 52k GPT-4 Alpaca (English) GPT-4 Comparison (English)

Benchmarks: IWSLT'14 De-En WMT'14 En-De CNN/DM Vicuna benchmark

Metrics: sacreBLEU BLEU COMET-22 ROUGE-L BARTScore Vicuna total score training time peak memory

Baselines: MLE REINFORCE MRT ESRL-Random PPO SFT GOLD-s GOLD-p

Builds on: REINFORCE minimum risk training PPO GOLD LoRA

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy