RAMAC: Multimodal Risk-Aware Offline Reinforcement Learning
and the Role of Behavior Regularization

Kai Fukazawa · Kunal Mundada · Iman Soltani

University of California, Davis

Implementation overview:

RAMAC extends behavior-regularized actor-critic by turning an expressive diffusion/flow policy into a risk-aware offline RL actor. Instead of optimizing only mean value, RAMAC uses a distributional critic to expose the lower tail of possible returns. Instantiated with CVaR to measure the worst 10% of outcomes, this lower-tail signal guides mode reweighting within the same actor update, yielding a simple single-policy training objective that preserves data-supported modes while shifting probability away from catastrophic outcomes.

The Expressiveness-Safety Gap

Gap 1: Expressive generative policies empirically work well, but their safety mechanism is underexplored.

Diffusion and flow policies have become strong offline RL actors. Yet the behavior term is often treated as a practical stabilizer, rather than analyzed as an OOD-suppression mechanism; their role in risk-aware, lower-tail safety objectives remains comparatively underexplored.

Gap 2: Risk-awareness can conflict with expressiveness.

Naively combining expressive policies with value- or model-based pessimism can control tail risk and OOD actions, but may undervalue low-density yet valid modes in multimodal datasets. Prior-anchored expressive policies can also create structural OOD leakage when local residual updates leave the data support.

These gaps lead to the core research question: Can we obtain safety without sacrificing expressiveness?

Method Class Risk-Awareness OOD Control Expressiveness
Expressive Generative Policies ?
Risk-Aware Offline RL
RAMAC (Ours)

Comparison of offline RL paradigms across three desiderata. RAMAC is designed to combine lower-tail risk sensitivity, behavior-based OOD suppression, and multimodal expressiveness within a single generative actor-critic framework.


Solution Idea

Single-Policy Objective:

$$\begin{aligned} \mathcal{L}_{\pi}(\theta) &= \underbrace{\mathcal{L}_{\mathrm{BC}}(\theta)}_{\text{data fidelity}} + \eta\, \underbrace{\mathcal{L}_{\mathrm{Risk}}(\theta)}_{\text{tail-risk aversion}}. \end{aligned}$$

Why Behavior Regularization Matters

Training the generative actor with a behavior-cloning term can be viewed as reducing the forward KL from the behavior policy to the deployed policy. Shrinking this forward KL suppresses probability mass outside the behavior support, yielding a per-state OOD probability bound.

$$\delta_s(\pi_\theta) \le 1-\exp\!\left\{-D_{\mathrm{KL}}\!\left(\beta(\cdot\mid s)\,\Vert\,\pi_\theta(\cdot\mid s)\right)\right\}$$

CVaR is amplified by \(1/\alpha\) under distribution shift, as such controlling behavior mismatch also stabilizes lower-tail objectives.

$$\big|\mathrm{CVaR}_{\alpha}^{\beta} - \mathrm{CVaR}_{\alpha}^{\pi_\theta}\big| \le \frac{M-m}{\alpha} \sqrt{\frac{1}{2} D_{\mathrm{KL}}\!\left(\beta(\cdot\mid s)\,\Vert\,\pi_\theta(\cdot\mid s)\right)}$$
Key takeaway: This analysis is not specific to RAMAC. It provides a mathematical explanation for why expressive generative policies can work well in offline RL: direct behavior regularization keeps rich policies near data support, while still allowing value or risk signals to reweight supported modes. Broad empirical evidence for this behavior regularization principle is provided by this research.

Note: Why not use a diffusion/flow critic?

Expressive generative critics are an exciting direction: recent work has begun using flow- or diffusion-style architectures to scale value learning. However, many of these directions primarily target stability, capacity, or risk-neutral value prediction. For RAMAC, IQN is a natural first choice because it directly outputs quantiles, making CVaR easy to compute by averaging the lower tail. A future extension could learn quantile-conditioned flow or diffusion critics, combining generative critic capacity with direct access to specific regions of the return distribution.


Experiments

2-D Risky Bandit

Click to see the full results Full 2-D risky bandit results comparing policy distributions across methods
Diffusion Q-learning policy evolution on the 2-D risky bandit
Epoch 0
DiffusionQL
ORAAC policy evolution on the 2-D risky bandit
Epoch 0
ORAAC
RADAC policy evolution on the 2-D risky bandit
Epoch 0
RADAC

Stochastic-D4RL Benchmark

Stochastic-D4RL benchmark results over 5 seeds comparing CQL, CODAC, ORAAC, ORAAC-Diffusion, FQL, DiffusionQL, and RADAC

OOD Action Rate

OOD action rate comparison between RADAC and ORAAC on Medium-Expert tasks

Citation

@article{fukazawa2025ramac,
  title   = {RAMAC: Multimodal Risk-Aware Offline Reinforcement Learning
             and the Role of Behavior Regularization},
  author  = {Fukazawa, Kai and Mundada, Kunal and Soltani, Iman},
  journal = {arXiv preprint arXiv:2510.02695},
  year    = {2025}
}