Consistency Models as a Rich and Efficient Policy Class for Reinforcement Learning
Zihan Ding, Chi Jin
TL;DR
Diffusion-based policies model multi-modal actions but incur slow inference, limiting real-time RL. This work introduces a consistency-model policy (consistency policy) with two instantiations, Consistency-BC and Consistency-AC, that use a conditional function $f_\theta(c, \mathbf{x}_\tau, \tau)$ to map noisy actions back toward high-probability actions via a probability-flow ODE $\frac{d\mathbf{x}_\tau}{d\tau}=-\tau \nabla \log p_\tau(\mathbf{x})$. Across offline, offline-to-online, and online RL on D4RL benchmarks, the consistency policy achieves competitive or superior performance relative to diffusion policies while offering substantial speedups in training and action inference, due to few denoising steps and faster sampling. The approach is augmented with a loss-scaling scheme ($\lambda(\tau_n, \tau_{n+1};k)$) and an actor-critic objective that backpropagates through the consistency model, enabling robust offline learning and efficient online fine-tuning. Overall, the consistency policy provides a practical, scalable alternative for multi-modal RL with improved compute efficiency without sacrificing much accuracy.
Abstract
Score-based generative models like the diffusion model have been testified to be effective in modeling multi-modal data from image generation to reinforcement learning (RL). However, the inference process of diffusion model can be slow, which hinders its usage in RL with iterative sampling. We propose to apply the consistency model as an efficient yet expressive policy representation, namely consistency policy, with an actor-critic style algorithm for three typical RL settings: offline, offline-to-online and online. For offline RL, we demonstrate the expressiveness of generative models as policies from multi-modal data. For offline-to-online RL, the consistency policy is shown to be more computational efficient than diffusion policy, with a comparable performance. For online RL, the consistency policy demonstrates significant speedup and even higher average performances than the diffusion policy.
