Q-learning with Adjoint Matching
About
We propose Q-learning with Adjoint Matching (QAM), a novel TD-based reinforcement learning (RL) algorithm that tackles a long-standing challenge in continuous-action RL: efficient optimization of an expressive diffusion or flow-matching policy with respect to a parameterized Q-function. Effective optimization requires exploiting the first-order information of the critic, but it is challenging to do so for flow or diffusion policies because direct gradient-based optimization via backpropagation through their multi-step denoising process is numerically unstable. Existing methods work around this either by only using the value and discarding the gradient information, or by relying on approximations that sacrifice policy expressivity or bias the learned policy. QAM sidesteps both of these challenges by leveraging adjoint matching, a recently proposed technique in generative modeling, which transforms the critic's action gradient to form a step-wise objective function that is free from unstable backpropagation, while providing an unbiased, expressive policy at the optimum. Combined with temporal-difference backup for critic learning, QAM consistently outperforms prior approaches on hard, sparse reward tasks in both offline and offline-to-online RL.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Offline Reinforcement Learning | OGBench | AntMaze Giant Navigate18 | 78 | |
| Offline Reinforcement Learning | D4RL AntMaze | -- | 27 | |
| Offline Reinforcement Learning | OGBench puzzle-4x4 | Success Rate37 | 26 | |
| Offline Reinforcement Learning | OGBench cube-triple (ct) | Success Rate5 | 25 | |
| Offline Reinforcement Learning | OGBench p44 + ct aggregate | Success Rate21 | 17 | |
| Reinforcement Learning | OGBench Offline | AL Score83 | 13 | |
| Offline Reinforcement Learning | OGBench offline 1M | AntMaze Large Navigate Score (Single Task)77 | 11 | |
| Robotic Assembly | AirPods assembly | Grasp Case Success Rate100 | 10 | |
| Offline Reinforcement Learning | OGBench 50 tasks (offline) | AL Score86 | 7 | |
| Offline-to-Online Reinforcement Learning | OGBench 30 tasks | AntMaze Giant Navigate Success Rate (Offline)4 | 7 |