Introduction
Offline reinforcement learning (RL) aims to evaluate and optimize policies using pre-collected datasets, a necessity in domains like healthcare or robotics where real-time exploration is costly or dangerous. A significant challenge arises when dealing with deterministic policies in continuous action spaces. Standard off-policy evaluation (OPE) methods, such as Importance Sampling (IS), rely on density ratios between the target and behavior policies. When the target policy is deterministic, its action distribution is a Dirac delta, making the density ratio undefined and causing traditional estimators to fail.
The Challenge of Deterministic Policies
In continuous action spaces, a deterministic policy $\pi(s)$ maps a state to a single point. If the behavior policy $\mu(a|s)$ is stochastic, the ratio $\pi(a|s)/\mu(a|s)$ is zero almost everywhere and infinite at the specific action chosen by $\pi$. This "zero-probability" event makes standard IS unusable. Furthermore, in multi-step RL, errors in these ratios compound over the time horizon $H$, leading to the "curse of horizon" where variance grows exponentially.
Kernel Smoothing and Marginalization
To address the undefined density ratio, this work introduces kernel-based doubly robust estimators. The core idea is to approximate the deterministic policy with a smoothed version using an integral kernel (e.g., a Gaussian kernel). As the kernel bandwidth shrinks with more data, the estimator converges to the true value of the deterministic policy.
The authors propose two variants:
- Case $\mathcal{K}$ (Kernel): Uses the smoothed policy and integrates over the estimated Q-function.
- Case $\mathcal{D}$ (Deterministic): Plugs the deterministic action directly into the nuisance models.
To break the curse of horizon, the paper employs Marginal Density Ratios (MDR). Instead of calculating cumulative products of action probabilities along a trajectory, MDR focuses on the ratio of state-occupancy measures at each time step. This shift ensures that the estimation error does not explode as the horizon increases.
Theoretical Convergence Rates
The primary theoretical contribution is proving that Marginal DR estimators achieve convergence rates independent of the horizon $H$. While cumulative estimators see their rates degrade as $H$ grows, the proposed marginal estimators maintain a fixed rate.
As shown in the table above, the Mean Squared Error (MSE) for Marginal Doubly Robust (MDR) value estimation scales at $\mathcal{O}(n^{-4/5})$, and Marginal Policy Gradient (MPG) scales at $\mathcal{O}(n^{-4/7})$. These rates are identical to those found in 1-step contextual bandit problems, effectively neutralizing the multi-step complexity. The leading constants for these errors grow only polynomially with $H$, rather than exponentially.
Empirical Performance
The methods were tested in a 1D continuous control environment. The results highlighted that the Marginal Policy Gradient Case $\mathcal{K}$ (MPGK) estimator is particularly robust. Because Case $\mathcal{K}$ involves integration rather than direct differentiation of estimated Q-functions (which can be noisy), it provides more stable gradient signals. In experiments, MPGK achieved the lowest regret and most accurate gradient estimates compared to standard baselines.
Conclusion
By combining kernel smoothing with marginal density ratios, this work provides a theoretically sound framework for off-policy evaluation and learning of deterministic policies. While the current evaluation is limited to low-dimensional simulations, the ability to break the curse of horizon marks a significant step forward for offline RL. Future research will focus on scaling these techniques to high-dimensional deep RL benchmarks and investigating the minimax optimality of the derived convergence rates.
Summary updated