FM-IRL: Flow-Matching for Reward Modeling and Policy Regularization in Reinforcement Learning

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wan, Zhenglin, Wu, Jingxuan, Yu, Xingrui, Zhang, Chubin, Lei, Mingcong, An, Bo, Tsang, Ivor
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916072984150016
author Wan, Zhenglin
Wu, Jingxuan
Yu, Xingrui
Zhang, Chubin
Lei, Mingcong
An, Bo
Tsang, Ivor
author_facet Wan, Zhenglin
Wu, Jingxuan
Yu, Xingrui
Zhang, Chubin
Lei, Mingcong
An, Bo
Tsang, Ivor
contents Flow Matching (FM) has shown remarkable ability in modeling complex distributions and achieves strong performance in offline imitation learning for cloning expert behaviors. However, despite its behavioral cloning expressiveness, FM-based policies are inherently limited by their lack of environmental interaction and exploration. This leads to poor generalization in unseen scenarios beyond the expert demonstrations, underscoring the necessity of online interaction with environment. Unfortunately, optimizing FM policies via online interaction is challenging and inefficient due to instability in gradient computation and high inference costs. To address these issues, we propose to let a student policy with simple MLP structure explore the environment and be online updated via RL algorithm with a reward model. This reward model is associated with a teacher FM model, containing rich information of expert data distribution. Furthermore, the same teacher FM model is utilized to regularize the student policy's behavior to stabilize policy learning. Due to the student's simple architecture, we avoid the gradient instability of FM policies and enable efficient online exploration, while still leveraging the expressiveness of the teacher FM model. Extensive experiments show that our approach significantly enhances learning efficiency, generalization, and robustness, especially when learning from suboptimal expert data.
format Preprint
id arxiv_https___arxiv_org_abs_2510_09222
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle FM-IRL: Flow-Matching for Reward Modeling and Policy Regularization in Reinforcement Learning
Wan, Zhenglin
Wu, Jingxuan
Yu, Xingrui
Zhang, Chubin
Lei, Mingcong
An, Bo
Tsang, Ivor
Machine Learning
Flow Matching (FM) has shown remarkable ability in modeling complex distributions and achieves strong performance in offline imitation learning for cloning expert behaviors. However, despite its behavioral cloning expressiveness, FM-based policies are inherently limited by their lack of environmental interaction and exploration. This leads to poor generalization in unseen scenarios beyond the expert demonstrations, underscoring the necessity of online interaction with environment. Unfortunately, optimizing FM policies via online interaction is challenging and inefficient due to instability in gradient computation and high inference costs. To address these issues, we propose to let a student policy with simple MLP structure explore the environment and be online updated via RL algorithm with a reward model. This reward model is associated with a teacher FM model, containing rich information of expert data distribution. Furthermore, the same teacher FM model is utilized to regularize the student policy's behavior to stabilize policy learning. Due to the student's simple architecture, we avoid the gradient instability of FM policies and enable efficient online exploration, while still leveraging the expressiveness of the teacher FM model. Extensive experiments show that our approach significantly enhances learning efficiency, generalization, and robustness, especially when learning from suboptimal expert data.
title FM-IRL: Flow-Matching for Reward Modeling and Policy Regularization in Reinforcement Learning
topic Machine Learning
url https://arxiv.org/abs/2510.09222