Uni-RL: Unifying Online and Offline RL via Implicit Value Regularization

Hao-Ran Xu, Li-Yuan Mao, Hui Jin, Weinan Zhang, Xianyuan Zhan +1 more
1/1/2025
rl

No confident code implementation found for this paper.

Abstract

The practical implementations of reinforcement learning (RL) often face diverse settings, such as online, offline, and offline-to-online learning. Instead of developing separate algorithms for each setting, we propose Uni-RL, a unified model-free RL framework that addresses all these scenarios within a single formulation.

Show full abstract

Uni-RL builds on the Implicit Value Regularization (IVR) framework (Xu et al., 2023) and generalizes its dataset behavior constraint to the constraint w.r.t. a reference policy, yielding a unified value learning objective for general settings. The reference policy is chosen to be the target policy in the online setting and the behavior policy in the offline setting. Using an iteratively refined behavior policy solves the over-conservative issue of directly applying IVR in the online setting, it provides an implicit trust-region style update through the value function while being off-policy. Uni-RL also introduces a unified policy extraction objective that estimates in-sample policy gradient using only actions from the reference policy. This not only supports various policy classes, but also theoretically guarantees less value estimation error and larger performance improvement over the reference policy. We evaluate Uni-RL on a range of standard RL benchmarks across online, offline, and offline-to-online settings. In online RL, Uni-RL achieves higher sample efficiency than both off-policy methods without trust-region updates and on-policy methods with trust-region updates. In offline RL, Uni-RL retains the benefits of in-sample learning while outperforming IVR through better policy extraction. In offline-to-online RL, Uni-RL beats both constraint-based methods and unconstrained approaches by effectively balancing stability and adaptability.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xu2025unirl,
  title  = {Uni-RL: Unifying Online and Offline RL via Implicit Value Regularization},
  author = {Hao-Ran Xu and Li-Yuan Mao and Hui Jin and Weinan Zhang and Xianyuan Zhan and Amy Zhang},
  year   = {2025},
  doi    = {10.52202/085713-4436},
  url    = {https://doi.org/10.52202/085713-4436},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/707be2971f652332ea8038ae561bb136b99068bf.svg)](https://codeofpaper.com/paper/707be2971f652332ea8038ae561bb136b99068bf)

Discussion