Kernel Value Regression in Offline Reinforcement Learning

Jongyeon Lee, Jae Hyoung Jeon, Kim Haneol, Myungjoo KangNeurIPS 2026

TL;DR

In offline reinforcement learning, neural networks tend to hallucinate wildly optimistic rewards for actions they’ve never seen, causing agents to crash and burn. This paper introduces Kernel Value Regression (KVR), a technique that turns a classic "flaw" of kernel regression—its tendency to decay to zero when guessing outside known data—into a built-in safety mechanism. By simply swapping out the final layer of a standard critic network, KVR keeps value estimates grounded and achieves state-of-the-art results without complex training tricks.

What Problem Does This Paper Address?

Imagine trying to learn how to drive a car solely by watching dashcam footage, without ever touching a steering wheel. That’s Offline Reinforcement Learning (RL): learning a decision-making policy from a static dataset with zero real-world trial and error.

The central villain in offline RL is value overestimation. Standard RL algorithms use a "critic" network to estimate the future reward (the $Q$-value) of taking an action. When evaluating actions that aren't in the dataset—out-of-distribution (OOD) actions—neural networks often extrapolate unpredictably, guessing absurdly high rewards. Because the agent can't interact with the environment to test that guess and realize it’s wrong, these errors compound during updates, leading to catastrophic inflation of $Q$-values and terrible policies.

Existing fixes either handcuff the agent too tightly to the dataset's behavior (yielding timid, suboptimal policies), require heavy generative models, or bolt on ad-hoc penalty modules that lack solid theoretical guarantees. The authors ask: can we build a mathematical safeguard directly into the critic's architecture so it naturally distrusts the unknown?

Methods

The authors draw inspiration from classical Kernel Ridge Regression (KRR). With shift-invariant kernels (like the Gaussian kernel), predictions naturally decay toward zero as you move far away from your training data. While usually seen as a limitation for generalization, in offline RL, this "vanishing extrapolation" is the exact conservative instinct we want.

Figure 1: Results of the didactic example (mean ± std, 10 runs). In each run, the model is trained on 100 noisy samples (y = |x| + ϵ) within the support x ∈[−1, 1]. While all models exhibit reasonable interpolation within the support, only the RFF-based model achieves stable and desirable extrapolation.

To scale KRR to deep RL without inverting massive matrices, KVR uses Random Fourier Features (RFF)—mapping hidden representations into a feature space of sines and cosines. KVR takes a standard actor-critic algorithm (specifically, TD3BC, alongside standard tricks like critic ensembles and reward scaling) and makes one minimal surgical change: it replaces the critic network's final linear layer with an RFF layer.

Along the way, the authors introduce two clever, practical adaptations to standard KRR/RFF theory:

  1. Ridgeless Optimization: Explicit ridge regularization ($\lambda > 0$) shrinks weights globally, making even in-distribution $Q$-values overly conservative. KVR sets $\lambda = 0$, relying instead on the implicit regularization of finite-step gradient descent.
  2. Learnable Frequencies: Instead of keeping the random Fourier frequencies frozen after initialization, KVR optimizes them with a tiny learning rate, reducing sensitivity to the initial random draw while keeping the vanishing OOD behavior intact.

Datasets

The authors evaluate KVR on two established offline RL benchmark suites (no new benchmarks are introduced):

  • D4RL: Tested on Gym-MuJoCo (dense-reward robot locomotion across varying dataset qualities) and AntMaze (challenging sparse-reward maze navigation).
  • OGBench: Tested across four complex maze navigation environments (AntMaze and HumanoidMaze variants) and two robotic manipulation tasks (scene-play and puzzle-3x3-play).

Key Insights and Ideas

  • Turning a bug into an inductive bias: Standard ReLU networks extrapolate linearly toward infinity, which is disastrous for OOD actions. Swapping in an RFF output layer changes the geometry of extrapolation so unknown territory automatically defaults toward zero.
  • Localized learning via the Neural Tangent Kernel (NTK): Analyzing the NTK reveals why KVR is so stable. Standard MLPs have non-local correlations—updating the value of one action accidentally shifts predictions for distant, unrelated actions. KVR produces a tightly localized kernel structure, confining learning signals to supported data regions and preventing "signal leakage" into OOD space.
Figure 2: NTK analysis for the didactic example. We plot the NTK correlations between the reference point x0 = 1 and x in the full input space for each trained model.
  • A physical dial for conservatism: The kernel bandwidth acts as an intuitive tuning knob. Smaller bandwidths force OOD predictions to drop to zero rapidly (strictly conservative), while wider bandwidths allow gentler, broader extrapolation—all without hurting accuracy on known data.
  • Layer Normalization (LN) isn't a crutch: Offline RL heavily relies on LN to stop $Q$-values from exploding. KVR performs competitively even on a vanilla MLP without LN (KVR-MLP), proving the RFF layer alone does the heavy lifting. Removing the RFF layer from that MLP causes $Q$-values to explode past $10^{14}$ onnearly half the tested tasks.

Key Results

Tested across a high number of random seeds (24 for D4RL, 12 for OGBench) to ensure statistical rigor, KVR shines—especially on hard, long-horizon tasks:

  • OGBench: KVR variants dramatically outperform strong baselines, including expressive generative policy methods like FQL and GFP. KVR-MLP hits an average score of 78.1 (and KVR-LN hits 72.9), compared to 48.0 for the strongest baseline (GFP). On the brutal humanoidmaze-large-navigate task, KVR-MLP scores 64.1 versus GFP's 17.7.
  • D4RL AntMaze: KVR-LN achieves an average score of 94.0 (KVR-MLP gets 93.2), beating the strongest baseline, PARS (89.2).
  • D4RL Gym-MuJoCo: KVR-LN matches or slightly edges out top methods with an average of 77.6 (vs. 77.3 for PARS).

Limitations and Future Work

KVR’s superpower—decaying toward zero outside the data—comes with a catch: zero isn't pessimistic if your true rewards are negative. If an environment uses predominantly negative rewards, an OOD estimate of $0$ actually looks better than a valid in-distribution $Q$-value of, say, $-10$. This would trick the agent into chasing unsupported OOD actions. Currently, KVR requires appropriate reward transformations to ensure the reward scale aligns with a zero-decay baseline. For future work, the authors plan to develop a general, automated reward transformation method so KVR can seamlessly adapt to any reward structure.

Summary updated

Abstract

Value overestimation is a central challenge in offline reinforcement learning (RL), arising when Bellman backups propagate out-of-distribution (OOD) errors that lead to catastrophic inflation of $Q$-values. Prior approaches address this issue by encouraging the learned policy to stay close to the behavior policy, but they often result in suboptimal policies or require complex training procedures. More recent work attempts to tackle this issue through minimal modifications to the critic network, yet it remains limited in either theoretical grounding or practical implementation. In this work, we present Kernel Value Regression (KVR), a simple critic regularization method based on kernel regression. KVR builds on the vanishing extrapolation property of kernel ridge regression, which encourages value estimates to decay toward zero away from the data support. This inductive bias naturally suppresses $Q$-values for OOD actions without auxiliary regularizers, providing a structural mechanism for addressing value overestimation. Using random Fourier features, KVR can be incorporated into standard actor-critic algorithms with only minimal modifications. We empirically demonstrate that these properties persist in complex offline RL environments, leading to strong performance across diverse tasks in the D4RL and OGBench benchmarks.
BibTeX
@inproceedings{lee2026kernel,
  author = {Jongyeon Lee and Jae Hyoung Jeon and Kim Haneol and Myungjoo Kang},
  title = {{Kernel Value Regression in Offline Reinforcement Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=xQ7Z8qUzqg},
}
Figure