Posterior-Averaged Bellman Flow Matching for Distributional Critics
Organizations: Tianjin Key Laboratory of Intelligent Unmanned Swarm Technology and System, School of Electrical and Information Engineering, Tianjin University, Tianjin 300072, China · Key Laboratory of System Control and Information Processing, Ministry of Education of China, Shanghai 200240, China
Abstract
Distributional critics model the full return distribution, providing richer signals for exploration and risk-sensitive control. Recent work has shown that flow-based critics can model these distributions flexibly and provide effective supervision across flow time for temporal-difference learning. However, unlike standard flow matching with fixed data endpoints, a flow critic is trained on Bellman targets recursively generated by a learned target critic under the current policy. Existing objectives therefore either use noisy single-endpoint supervision or rely on the learned flow itself for additional guidance. Our key observation is that an intermediate bridge state may be compatible with several Bellman endpoints, so its velocity should average their directions under the corresponding posterior. We propose Posterior-Averaged Bellman Flow Matching (PA-BFM), which samples an endpoint pool, infers the closed-form posterior over the latent anchor, and regresses to the posterior-mean velocity. Uniform anchor selection makes this target an exact finite-pool Rao--Blackwellization of the single-endpoint target: for every , it preserves the population target, cannot increase conditional variance, and its conditional variance scales as . The endpoint pool supports conservative updates, while the twin return flows provide critic-disagreement and unsupported-mass diagnostics. Controlled studies show that PA-BFM reduces fixed-query target mean-squared error by and target-induced gradient variance by up to , while improving return-distribution fidelity. Across 50 OGBench tasks and four offline-to-online scenarios, PA-BFM achieves higher aggregate performance than Value Flows.
Figures & tables
| Gaussian Policies | Flow Policies | Distributional Critics | ||||||
|---|---|---|---|---|---|---|---|---|
| Domain | IQL | ReBRAC | IFQL | FQL | IQN | Value Flows | PCBF | PA-BFM |
| cube-double-play (5 tasks) | ||||||||
| cube-triple-play (5 tasks) | ||||||||
| puzzle-3x3-play (5 tasks) | ||||||||
| puzzle-4x4-play (5 tasks) | ||||||||
| scene-play (5 tasks) | ||||||||
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| Symbol | Meaning | Symbol | Meaning |
|---|---|---|---|
| transition outcome for fixed | conditional Bellman endpoint law | ||
| , | endpoint and pool | uniformly sampled anchor index | |
| bridge random variable and realization | and its density | ||
| bridge likelihood | endpoint-conditioned bridge direction | ||
| candidate direction | posterior anchor responsibility | ||
| posterior-mean training target | learned velocity field |
| Process | Configuration |
|---|---|
| Bernoulli return | One-state continuing MRP; ; ; exact return law . |
| Solitaire Dice | A fair six-sided die is repeatedly rolled. Rolls – produce reward and continue; roll produces reward and terminates; . |
| Discrete-MC | Twenty-state nearest-neighbor chain with absorbing terminal states and . States – use the fixed cosine–exponential nearest-neighbor transition weights of the controlled-process configuration. Transitions to nonterminal states produce reward , transitions into a terminal state produce reward , and . |
| Signed bias [95% CI] | Cond. variance | MSE [95% CI] | |
|---|---|---|---|
| 1 | 5.0407 | ||
| 2 | 3.0301 | ||
| 4 | 1.7790 | ||
| 8 | 1.0209 | ||
| 16 | 0.5693 |
| Method | Solitaire | Discrete-MC | Avg. |
|---|---|---|---|
| BCFM ( ) | |||
| Uniform ( ) | |||
| Value Flows | |||
| PCBF ( ) | |||
| PA-BCFM ( ) |
| Gaussian Policies | Flow Policies | Distributional Critics | |||||||||
| Task | BC | IQL | ReBRAC | IFQL | FQL | C51 | IQN | CODAC | Value Flows | PCBF | PA-BFM |
| cube-double-play | |||||||||||
| task1 | |||||||||||
| task2 * | |||||||||||
| task3 | |||||||||||
| task4 | |||||||||||
| Gaussian Policies | Flow Policies | Distributional Critics | ||||||
| Task | IQL | ReBRAC | IFQL | FQL | IQN | Value Flows | PCBF | PA-BFM |
| visual-antmaze-medium-navigate | ||||||||
| task1 * | ||||||||
| task2 | ||||||||
| task3 | ||||||||
| task4 | ||||||||
| Method | Antmaze | Cube-D | Cube-T | Scene |
|---|---|---|---|---|
| Offline checkpoint at steps | ||||
| IQN | ||||
| IFQL | ||||
| FQL | ||||
| RLPD | ||||
| IQL | ||||
| Variant | Positive overestimation | Final success |
|---|---|---|
| No distortion | ||
| Fixed | ||
| Fixed | ||
| Fixed | ||
| Adaptive | ||
| Value Flows |
| Method | Target work | State | Visual |
|---|---|---|---|
| BCFM ( ) | 2 target solves | 3.6 | 10.5 |
| Uniform ( ) | 16 target solves | 3.8 | 11.0 |
| PA-BCFM ( ) | 8 solves + wt. | 3.8 | 11.0 |
| PA-BCFM ( ) | 16 solves + wt. | 4.0 | 11.8 |
| PA-BCFM ( ) | 32 solves + wt. | 4.5 | 13.2 |
| Value Flows | path + confidence | 4.4 | 12.5 |
| Hyperparameter | Value |
|---|---|
| Optimizer | Adam ( Kingma and Ba, 2015 ) |
| Batch size | |
| Critic learning rate | |
| Critic hidden-layer sizes | |
| Activation function | GELU |
| Actor layer normalization | Yes |
| Domain/scenario | Evaluation | |
|---|---|---|
| cube-double | Off.+O2O | .995 |
| cube-triple | Off.+O2O | .995 |
| puzzle-3x3 | Offline | .99 |
| puzzle-4x4 | Offline | .99 |
| scene | Off.+O2O | .99 |
| visual-antmaze- medium | Offline | .99 |
Distributional RL
Distributional reinforcement learning models the full range of possible returns to improve value estimation, risk-sensitive decisions, and policy evaluation.
See all 49 papers