What Does Flow Matching Bring To TD Learning?
Organizations: Carnegie Mellon University · University of Warsaw
Abstract
Recent work shows that flow matching can be effective for scalar Q-value function estimation in reinforcement learning (RL), but it remains unclear why or how this approach differs from standard critics. Contrary to conventional belief, we show that their success is not explained by distributional RL, as explicitly modeling return distributions can reduce performance. Instead, we argue that the use of integration for reading out values and dense velocity supervision at each step of this integration process for training improves TD learning via two mechanisms. First, it enables robust value prediction through test-time recovery, whereby iterative computation through integration dampens errors in early value estimates as more integration steps are performed. This recovery mechanism is absent in monolithic critics. Second, supervising the velocity field at multiple interpolant values induces more plastic feature learning within the network, allowing critics to represent non-stationary TD targets without discarding previously learned features or overfitting to individual TD targets encountered during training. We formalize these effects and validate them empirically, showing that flow-matching critics substantially outperform monolithic critics (2 in final performance and around 5 in sample efficiency) in settings where loss of plasticity poses a challenge e.g., in high-UTD online RL problems, while remaining stable during learning.
Figures & tables
| Env. | Success (%) | ||
|---|---|---|---|
| hmmaze-large | 52 / 30 | ||
| antmaze-giant | 86 / 74 | ||
| cube-double | 72 / 72 | ||
| hmmaze-medium | 94 / 94 |
| Env. (default task) | Success as stale fraction increases |
|---|---|
| antsoccer-arena | \hbox{\pagecolor{tmpShade}45}\rightarrow{\color[rgb]{0.22,0.45,0.7}\mathbf{50}}\rightarrow\hbox{\pagecolor{tmpShade}47}\rightarrow\hbox{\pagecolor{tmpShade}46}\rightarrow\hbox{\pagecolor{tmpShade}35} |
| hmmaze-medium | {\color[rgb]{0.22,0.45,0.7}\mathbf{98}}\rightarrow\hbox{\pagecolor{tmpShade}43}\rightarrow\hbox{\pagecolor{tmpShade}63}\rightarrow\hbox{\pagecolor{tmpShade}62}\rightarrow\hbox{\pagecolor{tmpShade}39} |
| cube-double | \hbox{\pagecolor{tmpShade}72}\rightarrow{\color[rgb]{0.22,0.45,0.7}\mathbf{84}}\rightarrow\hbox{\pagecolor{tmpShade}82}\rightarrow\hbox{\pagecolor{tmpShade}58}\rightarrow\hbox{\pagecolor{tmpShade}64} |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Monolithic critic | Flow-matching critic (Euler integration; slice-wise supervision) |
|---|---|
| Function | |
| Single linear predictor: | -step Euler recursion (integration index , training step ): Output . If , the mean predictor is |
| Parameters | |
| For each slice : often grouped as | |
| Training loss | |
| Squared loss against time-varying target : | Slice-wise quadratic loss: |
Reinforcement Learning
Reinforcement learning studies how agents learn sequential decisions from rewards and interaction, balancing exploration, performance, safety, and adaptation.
See all 1,717 papers