atlas

Research map / Large language models / Instruction and fine-tuning

Reinforcement Learning with Backtracking Feedback

NeurIPS 2025 · Large language models › Instruction and fine-tuning · approach: Calibration and knowledge in LLM tuning · 0 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 RLBF, which trains LLMs via SFT on BSAFE+ data plus GRPO with safety-critic feedback to emit a compact "backtrack by x tokens" signal that removes unsafe spans mid-generation.

Problem

LLMs remain vulnerable to in-context and adversarial safety violations (e.g., middle filling, GCG, decoding-parameter attacks) because safety alignment is shallow; existing reset and BSAFE backtracking mechanisms are inefficient.

Approach

A "backtrack by x tokens" control token that deletes the last x unsafe tokens without regenerating them, trained with an improved BSAFE+ SFT data pipeline (injecting violations into safe, model-generated answers) and then RL with a live LLM safety critic and a reward that penalizes unnecessary or failed backtracks.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use RLBF instead of BSAFE+Gemma 2 and LLaMA 3 models · LMSYSattack success rate (%): 14, 15, 14, 17, 16 vs 2, 2, 1, 2, 1Helped
Use RLBF instead of BSAFE+Gemma 2 and LLaMA 3 models · LMSYS-MFattack success rate (%): 4, 3, 6, 5, 5 vs 5, 3, 7, 5, 3Mixed
Use RLBF instead of BSAFE+RLBF · AdvBench (GCG)attack success rate (%): 6.6 -> 4.7Helped
Use RLBF instead of BSAFE+RLBF · HEx-PHI (GCG)attack success rate (%): 5.7 -> 4.3Helped
Use RLBF instead of BSAFE+RLBF · MaliciousInstruct (Decoding Parameters)attack success rate (%): 1.0 -> 1.0No clear effect
Use RLBF instead of BSAFE+RLBF · HEx-PHI (Decoding Parameters)attack success rate (%): 5.0 -> 3.7Helped
Disable backtracking entirely (ablation)RLBF · LMSYSattack success rate (%): 1 -> 18Hurt
Disable backtracking in the middle of generation (ablation)RLBF · LMSYSattack success rate (%): 1 -> 7Hurt
Use a weaker critic (82.0% accuracy) (ablation)RLBF · LMSYSattack success rate (%): 1%--2% -> 2%--4%Hurt
Use BSAFE-style repeat-and-edit backtracking instead of the RLBF signal (ablation)RLBF · LMSYSattack success rate (%): 17%--22% ASRHurt
Use RLBF instead of BSAFE+Gemma2 9B and LLaMA 3 8B · MMLUsolution rate (%): 70.1, 66.7 -> 70.7, 66.6No clear effect
Use RLBF instead of BSAFE+Gemma2 9B and LLaMA 3 8B · BBHsolution rate (%): 67.1, 63.8 -> 67.3, 64.2No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: LMSYS MaliciousInstruct HEx-PHI AdvBench MMLU BBH GSM8K MATH

Benchmarks: LMSYS LMSYS-MF AdvBench HEx-PHI MaliciousInstruct MMLU BBH GSM8K MATH

Metrics: attack success rate solution rate attack prevention rate win rate

Baselines: IT RL Circuit Breakers BSAFE+ BSAFE

Builds on: BSAFE GRPO Circuit Breakers

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