Hugging Face Blog

Illustrating Reinforcement Learning from Human Feedback (RLHF)

OpenAI Blog
Aug 3, 2017

Gathering human feedback

RL-Teacher is an open-source implementation of our interface to train AIs via occasional human feedback rather than hand-crafted reward functions. The underlying technique was developed as a step towards safe AI systems, but also applies to reinforcement learning problems with rewards that are hard to specify.

arXiv Computer Vision
Oct 28

Confident First, Reflective Second: Reinforcement Learning of Confidence-Preserving Reflection for Video Understanding

The paper introduces CoFire, a reinforcement learning framework for video understanding that addresses the problem of confidence erosion—where initial predictions lose reliability during iterative refinement. CoFire enforces a "confident first, reflective second" principle, ensuring the initial answer remains trustworthy and that subsequent reflection only improves upon it. The method achieves state‑of‑the‑art accuracy on Video‑MME, MLVU, and LongVideoBench, outperforming prior 7B models by 1.7 points and improving both initial and final accuracy over outcome‑reward RL by 4.1 and 3.7 points respectively.

By Zihao Lin, Jingyuan Liu, Yucheng Zhang, Yuguang Yao, Lifu Huang
arXiv AI
Sep 21

Prompt-Driven Exploration: Language as an Exploration Space for VLA Reinforcement Learning

arXiv:2607.08837v4 Announce Type: replace-cross Abstract: Exploration is essential to RL since a policy cannot improve by repeatedly sampling the behaviors it already prefers. Standard methods inject...

By Sunshine Jiang, John Marangola, David Zhang, Raghuram Kowdeed, Ruiyang Luo, Nitish Dashora, Richard Li, Pulkit Agrawal, Zhang-Wei Hong
arXiv AI
Jul 1

Stage-Transition Dense Reward Modeling for Reinforcement Learning

arXiv:2606. 31377v1 Announce Type: cross Abstract: Reinforcement learning for long-horizon robotic manipulation is often limited by sparse and delayed rewards, while manually designing dense shaping signals is costly and brittle to changes in environments and object configurations.

By Yang Yang, Bingjie Chen, Zihan Wang, Yizhe Li, Guoping Pan, Yi Cheng, Houde Liu
arXiv Machine Learning
Nov 2

rl_rob: A transparent, from-scratch Python library for teaching reinforcement learning from tabular methods to deep policy gradients

rl_rob is an open‑source Python library designed for teaching reinforcement learning, covering a full curriculum from tabular temporal‑difference learning to deep value‑based and policy‑gradient methods. Every algorithm is implemented from first principles, making the update rules transparent and concise. The library provides a unified interface for all agents, enabling direct comparison across stages and allowing students to implement, modify, and explain update rules rather than merely producing working code.

By Abdulrahman Altahhan
arXiv Machine Learning
Oct 7

QF3: Fast Flow RL with Filtered Q-Gradients

QF3 (Fast Flow RL with Filtered Q-Gradients) is an online off‑policy reinforcement learning algorithm that trains flow policies by combining flow matching with the critic’s action gradient, backpropagated through a one‑step prediction of the flow output. It selectively applies the critic gradient only to action dimensions close to the replay action to ensure reliable updates. QF3 is the first off‑policy flow RL method to train humanoid locomotion policies from scratch and transfer them zero‑shot to hardware, achieving a 10× wall‑clock speedup over the on‑policy FPO++ method, and it can also fine‑tune pretrained flow‑based manipulation policies on ABC‑Sim and Robomimic tasks.

By Chung Min Kim, Brent Yi, David McAllister, Hongsuk Choi, Himanshu Gaurav Singh, Jinkun Cao, Ken Goldberg, Pieter Abbeel, Carmelo Sferrazza, Angjoo Kanazawa