Papers › Train Once, Get a Family: State-Adaptive Balances for Offline-to-Online Reinforcement Learning

Train Once, Get a Family: State-Adaptive Balances for Offline-to-Online Reinforcement Learning

27 Oct 2023NeurIPS 2023 11arXiv:2310.17966archive 2025-07-28

Shenzhi Wang, Qisen Yang, Jiawei Gao, Matthieu Gaetan Lin, Hao Chen, Liwei Wu, Ning Jia, Shiji Song, Gao Huang

Offline-to-online reinforcement learning (RL) is a training paradigm that combines pre-training on a pre-collected dataset with fine-tuning in an online environment. However, the incorporation of online fine-tuning can intensify the well-known distributional shift problem. Existing solutions tackle this problem by imposing a policy constraint on the policy improvement objective in both offline and online learning. They typically advocate a single balance between policy improvement and constraints across diverse data collections. This one-size-fits-all manner may not optimally leverage each collected sample due to the significant variation in data quality across different states. To this end, we introduce Family Offline-to-Online RL (FamO2O), a simple yet effective framework that empowers existing algorithms to determine state-adaptive improvement-constraint balances. FamO2O utilizes a universal model to train a family of policies with different improvement/constraint intensities, and a balance model to select a suitable policy for each state. Theoretically, we prove that state-adaptive balances are necessary for achieving a higher policy performance upper bound. Empirically, extensive experiments show that FamO2O offers a statistically significant improvement over various existing methods, achieving state-of-the-art performance on the D4RL benchmark. Codes are available at https://github.com/LeapLabTHU/FamO2O.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2310.17966")

Code

Syntology Ran 16 of 25 code samples harvested from 1 repository linked to this paper; 9 have no recorded run. Of those that ran: 1 ran · honoured contract; 2 ran · our draft was wrong; 3 ran · fixture could not drive it; 10 ran with no contract checked.

By repository: official repository: 25 samples from 1 repository, 16 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

leaplabthu/famo2o officialmentioned in paperjaxMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

25 samples harvested; 16 ran; 1 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
2ran · our draft was wrong
3ran · fixture could not drive it
10ran
9unverified

Licence: 0 of the 25 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from LeapLabTHU/FamO2O. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

flatten LeapLabTHU/FamO2O/jax_cql/viskit/core.py official repository ran · honoured contract MIT (permissive) · 20922c79a0929bbf · report
Critic leaplabthu/famo2o/jax_iql/family_learner.py official repository ran MIT (permissive) · 099783f7940c8b90 · report
DoubleCritic leaplabthu/famo2o/jax_iql/family_learner.py official repository ran MIT (permissive) · da28baee3154ec4c · report
MLP leaplabthu/famo2o/jax_iql/family_learner.py official repository ran MIT (permissive) · 9d501615317e5db0 · report
Temperature leaplabthu/famo2o/jax_iql/family_learner.py official repository ran MIT (permissive) · ed3cce240e728d5a · report
ValueCritic leaplabthu/famo2o/jax_iql/family_learner.py official repository ran MIT (permissive) · c12affb13cb328e9 · report
_sample_actions leaplabthu/famo2o/jax_iql/family_learner.py official repository ran · fixture could not drive it MIT (permissive) · 92a63ba161798ebe · report
default_init leaplabthu/famo2o/jax_iql/family_learner.py official repository ran · our draft was wrong MIT (permissive) · 29e1a06c6560973e · report
default_init LeapLabTHU/FamO2O/jax_iql/common.py official repository ran MIT (permissive) · 718462716d78ea99 · report
encode LeapLabTHU/FamO2O/jax_cql/cql_finetune/conservative_sac_finetune_main.py official repository ran MIT (permissive) · 1689a9bc9e862217 · report
load_progress LeapLabTHU/FamO2O/jax_cql/viskit/core.py official repository ran MIT (permissive) · 965e75a1245dd833 · report
multiple_action_q_function LeapLabTHU/FamO2O/jax_cql/JaxCQL/model.py official repository ran MIT (permissive) · 18c566cc009ddb07 · report
sample_actions leaplabthu/famo2o/jax_iql/family_learner.py official repository ran · fixture could not drive it MIT (permissive) · b846a1c39ddf42fe · report
sin_cos_skill_func leaplabthu/famo2o/jax_iql/family_learner.py official repository ran · fixture could not drive it fingerprinted MIT (permissive) · e471b8d548b33cb3 · report
sin_cos_skill_func LeapLabTHU/FamO2O/jax_cql/cql_finetune/family_utils.py official repository ran MIT (permissive) · a81da1617be5131d · report
unique LeapLabTHU/FamO2O/jax_cql/viskit/core.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 6c7a4a9349a395e9 · report
FamilyLearner leaplabthu/famo2o/jax_iql/family_learner.py official repository unverified MIT (permissive) · be0aac11e3445957 · report
Model leaplabthu/famo2o/jax_iql/family_learner.py official repository unverified MIT (permissive) · bde48e098e1d0bb3 · report
NormalTanhPolicy leaplabthu/famo2o/jax_iql/family_learner.py official repository unverified MIT (permissive) · a441b8020777a636 · report
_family_update_jit leaplabthu/famo2o/jax_iql/family_learner.py official repository unverified MIT (permissive) · 9fee1b402cdb18a3 · report
target_update leaplabthu/famo2o/jax_iql/family_learner.py official repository unverified MIT (permissive) · 958fa187e9bfa7b1 · report
update leaplabthu/famo2o/jax_iql/family_learner.py official repository unverified MIT (permissive) · 9645d2497b243871 · report
update_q leaplabthu/famo2o/jax_iql/family_learner.py official repository unverified MIT (permissive) · 5739da32d5d6bf96 · report
update_target_network LeapLabTHU/FamO2O/jax_cql/JaxCQL/model.py official repository unverified MIT (permissive) · f23c0c9faf00d830 · report
update_v leaplabthu/famo2o/jax_iql/family_learner.py official repository unverified MIT (permissive) · 3ba42b0ed87afaa0 · report

Tasks

D4RLReinforcement Learning (RL)

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections