mlsanityData to 14 Oct 2026

Composite Flow Matching for Reinforcement Learning with Shifted-Dynamics Data

arXiv 2505.23062 ↗First posted 29 May 2025cs.LG cs.AIcited by 9

On the map: Diffusion models → Diffusion and flow policies for robotics

also in 1 more
Abstract (arXiv)

Incorporating pre-collected offline data can substantially improve the sample efficiency of reinforcement learning (RL), but its benefits can break down when the transition dynamics in the offline dataset differ from those encountered online. Existing approaches typically mitigate this issue by penalizing or filtering offline transitions in regions with large dynamics gap. However, their dynamics-gap estimators often rely on KL divergence or mutual information, which can be ill-defined when offline and online dynamics have mismatched support. To address this challenge, we propose CompFlow, a principled framework built on the theoretical connection between flow matching and optimal transport. Specifically, we model the online dynamics as a conditional flow built upon the output distribution of a pretrained offline flow, rather than learning it directly from a Gaussian prior. This composite structure provides two advantages: (1) improved generalization when learning online dynamics under limited interaction data, and (2) a well-defined and stable estimate of the dynamics gap via the Wasserstein distance between offline and online transitions. Building on this dynamics-gap estimator, we further develop an optimistic active data collection strategy that prioritizes exploration in high-gap regions, and show theoretically that it reduces the performance gap to the optimal policy. Empirically, CompFlow consistently outperforms strong baselines across a range of RL benchmarks with shifted-dynamics data.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Placed in Diffusion and flow policies for robotics, one of 14 directions in Diffusion models. Builds on 55 of its 74 references that are in the map. First posted on arXiv 29 May 2025.

Builds on

55 of 74 references.

Closest ancestors · 5

Same direction, newest first

  1. 2025Robust Optimization with Diffusion Models for Green Security19 Feb
  2. 2024On Diffusion Models for Multi-Agent Partial Observability: Shared Attractors, Error Bounds, and Composite Flow17 Oct
  3. 2024Diffusion Policy Policy Optimization1 Sep
  4. 2023Score Regularized Policy Optimization through Diffusion Behavior11 Oct
  5. 2023Diffusion Policy: Visuomotor Policy Learning via Action Diffusion7 Mar

Other references · 50

  1. 2020Denoising Diffusion Probabilistic Modelscited by 21,076
  2. 2020Score-Based Generative Modeling through Stochastic Differential Equationscited by 9,122
  3. 2022Flow Matching for Generative Modelingcited by 5,702
  4. 2018Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actorcited by 4,885
  5. 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesiscited by 4,181
  6. 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flowcited by 3,700
  7. 2018Addressing Function Approximation Error in Actor-Critic Methodscited by 2,417
  8. 2013Sinkhorn Distances: Lightspeed Computation of Optimal Transportation Distancescited by 2,316
  9. 2020Conservative Q-Learning for Offline Reinforcement Learningcited by 1,809
  10. 2017Domain Randomization for Transferring Deep Neural Networks from Simulation to the Real Worldcited by 1,498
  11. 2020D4RL: Datasets for Deep Data-Driven Reinforcement Learningcited by 1,427
  12. 2019Mastering Atari, Go, Chess and Shogi by Planning with a Learned Modelcited by 1,353
38 more
  1. 2022Planning with Diffusion for Flexible Behavior Synthesiscited by 1,061
  2. 2022Building Normalizing Flows with Stochastic Interpolantscited by 995
  3. 2020AWAC: Accelerating Online Reinforcement Learning with Offline Datasetscited by 671
  4. 2017Wasserstein GANcited by 639
  5. 2019On Variational Bounds of Mutual Informationcited by 559
  6. 2023Efficient Online Reinforcement Learning with Offline Datacited by 363
  7. 2019Reinforcement Learning in Healthcare: A Surveycited by 310
  8. 2023Multisample Flow Matching: Straightening Flows with Minibatch Couplingscited by 278
  9. 2018Learning to Adapt in Dynamic, Real-World Environments Through Meta-Reinforcement Learningcited by 276
  10. 2023Cal-QL: Calibrated Offline RL Pre-Training for Efficient Online Fine-Tuningcited by 237
  11. 2018Closing the Sim-to-Real Loop: Adapting Simulation Randomization with Real World Experiencecited by 217
  12. 2021Offline-to-Online Reinforcement Learning via Balanced Replay and Pessimistic Q-Ensemblecited by 214
  13. 2024Deep Reinforcement Learning for Robotics: A Survey of Real-World Successescited by 176
  14. 2019Active Domain Randomizationcited by 170
  15. 2022Hybrid RL: Using Both Offline and Online Data Can Make RL Efficientcited by 161
  16. 2023Policy Expansion for Bridging Offline-to-Online Reinforcement Learningcited by 104
  17. 2020Off-Dynamics Reinforcement Learning: Training for Transfer with Domain Classifierscited by 97
  18. 2019Learning with minibatch Wasserstein : asymptotic and gradient propertiescited by 87
  19. 2020Towards Playing Full MOBA Games with Deep Reinforcement Learningcited by 78
  20. 2021Minibatch optimal transport distances; analysis and applicationscited by 65
  21. 2022When to Trust Your Simulator: Dynamics-Aware Hybrid Offline-and-Online Reinforcement Learningcited by 60
  22. 2021Auto-Tuned Sim-to-Real Transfercited by 49
  23. 2022DARA: Dynamics-Aware Reward Augmentation in Offline Reinforcement Learningcited by 41
  24. 2024Diffusion Models as Constrained Samplers for Optimization with Unknown Constraintscited by 35
  25. 2020Hierarchically Decoupled Imitation for Morphological Transfercited by 31
  26. 2023Cross-Domain Policy Adaptation via Value-Guided Data Filteringcited by 31
  27. 2024Dynamic Conditional Optimal Transport through Simulation-Free Flowscited by 25
  28. 2024Cross-Domain Policy Adaptation by Capturing Representation Mismatchcited by 25
  29. 2024ODRL: A Benchmark for Off-Dynamics Reinforcement Learningcited by 25
  30. 2024Contrastive Representation for Data Filtering in Cross-Domain Offline Reinforcement Learningcited by 18
  31. 2020Dual-Mandate Patrols: Multi-Armed Bandits for Green Securitycited by 14
  32. 2020Fast Adaptation via Policy-Dynamics Value Functionscited by 13
  33. 2021Robust Reinforcement Learning Under Minimax Regret for Green Securitycited by 12
  34. 2023MUBen: Benchmarking the Uncertainty of Molecular Representation Modelscited by 11
  35. 2023DyGen: Learning from Noisy Labels via Dynamics-Enhanced Generative Modelingcited by 10
  36. 2020Provably Efficient Model-based Policy Adaptationcited by 8
  37. 2024Hybrid Transfer Reinforcement Learning: Provable Sample Efficiency from Shifted-Dynamics Datacited by 8
  38. 2023Bounding the Difference between the Values of Robust and Non-Robust Markov Decision Problemscited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 4; 2026: 5.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Off-dynamics Conditional Diffusion Planners
  2. 2026A Survey of Flow Matching in Reinforcement Learning
  3. 2026Flow Matching with Injected Noise for Offline-to-Online Reinforcement Learning
  4. 2026Discrete Flow Matching for Offline-to-Online Reinforcement Learning
  5. 2026Causal Flow Q-Learning for Robust Offline Reinforcement Learning
  6. 2025Controllable Flow Matching for Online Reinforcement Learning
  7. 2026Flow Matching for Offline Reinforcement Learning with Discrete Actions
  8. 2025Temporal Distance-aware Transition Augmentation for Offline Model-based Reinforcement Learning