arXiv:2610.22497cs.LGOct 2026

Manuscript Offprint

arXiv:2610.22497

Generative Value Classifier

Alexander Swerdlow, Perry Dong, Chelsea Finn

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Alexander Swerdlow Perry Dong Chelsea Finn

Stanford University

(a) Conventional critic

Figure

Return supervision

(b) Generative Value Classifier

Figure

Return + action supervision

Figure 1 | Action data provides additional supervision. A conventional critic fits Q(s,a)Q(s, a) to a scalar target yy. GVC instead learns a return-conditioned action model p(a∣s,z)p(a \mid s, z) and a return prior p(z∣s)p(z \mid s), i.e., a distributional state-value function, and normalizes their product over returns to obtain Q(s,a)Q(s, a).

Abstract

Q-learning is premised on learning a function to predict the value of a state-action pair, with the goal of using such a function to guide policy improvement. Most approaches learn this function from scratch using scalar or distributional return targets. This discriminative approach leaves another source of supervision for learning representations unused: the actions themselves. Rather than directly predict the return of a state-action pair, we ask the reverse question: how likely is the action under each possible return? This perspective provides a critic whose generative component is a return-conditioned policy, which can share the actor's architecture. Training this policy supervises the critic with every action rather than with returns alone, and a squared-error loss anchors the critic's Q-value to the bootstrapped target. We evaluate our approach on both offline and online RL tasks and show gains over leading discriminative methods, including distributional RL methods.

Code: https://github.com/alexanderswerdlow/gvc

Project page: https://alexanderswerdlow.github.io/gvc

1. Introduction

Value functions play a key role in sample-efficient learning, enabling policy improvement to use past rollouts to better score newer rollouts. However, learning good value functions particularly in sparse-reward settings has remained a significant challenge [2, 24]. Standard Monte-Carlo (MC) approaches result in high variance and lack the ability to stitch information across trajectories whereas Temporal-

Correspondence to aswerdlo@stanford.edu

Difference (TD) bootstrapping addresses this problem but at the cost of compounding errors that propagate across timesteps. Sparse-reward settings exacerbate these issues with longer-horizon trajectories and necessitate additional rollouts to provide accurate value estimation.

Prior work has sought to improve value learning under sparse supervision through richer prediction tasks. Distributional RL [4] learns the return distribution rather than a single scalar. Other approaches use contrastive learning to predict future-state occupancy by contrasting known future states with noisy negatives [16, 17, 36]. These methods reformulate value learning through additional representational capacity or inductive biases; we instead ask whether modeling actions can supply additional supervision.

Our insight is that traditional value learning fails to take advantage of a key source of supervision: the actions themselves. Value functions are conditioned on state-action pairs, yet are only supervised by a scalar—or at best distributional—return. To use the actions as supervision, we learn p(a∣s,z)p(a \mid s, z) rather than directly predicting p(z∣s,a)p(z \mid s, a), where zz denotes the return. With the state held fixed, Bayes' rule combines this likelihood with a return prior p(z∣s)p(z \mid s), the return distribution given the state alone. Normalizing their product over return bins gives a predicted return distribution whose mean is Q(s,a)Q(s, a). We also minimize the squared error between Q(s,a)Q(s, a) and the bootstrapped target return, which we call value anchoring. This uses a discriminative loss to fit the value while retaining the generative supervision and structure.

In summary, our main contributions are:

• We introduce a new formulation for Q-learning that leverages a return-conditioned generative likelihood to implicitly model the return distribution.

• We develop a hybrid generative–discriminative objective that combines return-conditioned flow matching with value anchoring. This aligns the return predictions with the standard Bellman backup targets while retaining the generative supervision.

• We evaluate GVC on challenging continuous-control tasks, including online RL benchmarks on RoboMimic and offline and offline-to-online RL benchmarks on OGBench, demonstrating strong performance relative to prior methods. Our analysis demonstrates that removing this generative supervision correlates with lower performance on the same architecture.

References (48)