In reinforcement learning (RL), evaluating a new policy before deploying it is a high-stakes challenge. This problem, known as Off-Policy Evaluation (OPE), seeks to predict the expected return of a "target" policy ($\pi$) using historical data collected by a "behavior" or "logging" policy ($\mu$).
Traditionally, OPE has relied heavily on Importance Sampling (IS). As shown by Sayan Mukherjee 0004 and Leonid Peshkin in their work, the unknown transition probabilities of an environment cancel out when calculating the ratio of trajectory probabilities between a target policy and a sampling policy. This allows for model-free value estimation.
However, standard importance sampling introduces a severe bottleneck: it requires exact knowledge of the behavior policy's action probabilities ($\mu(a|s)$), often called propensity scores. In real-world applications—such as legacy industrial systems, medical treatments, or complex human-in-the-loop logs—the original data-collection logic is often undocumented, proprietary, or lost. Behavior-agnostic off-policy evaluation solves this dilemma, enabling accurate policy assessment using static datasets without ever knowing how the data was collected.
The Core Intuition: Shifting to State-Action Occupancy
To understand why we can evaluate a policy without knowing the logging policy, we must look at what a dataset actually records. A historical log provides tuples of $(s, a, r, s')$. Even if we do not know why an action $a$ was chosen in state $s$, the resulting transition to $s'$ and the reward $r$ are governed entirely by the environment's underlying physics, not the behavior policy.
Traditional marginalized importance sampling attempts to estimate the state density ratio:
$$\frac{d^\pi(s)}{d^\mu(s)}$$
If you only estimate the state ratio, you still need the behavior policy's action probabilities $\mu(a|s)$ to evaluate how the target policy would behave in that state.
The breakthrough insight, detailed by Masatoshi Uehara et al. in their paper on minimax weight learning, is to estimate the state-action occupancy ratio instead:
$$w(s, a) = \frac{d^\pi(s, a)}{d^\mu(s, a)}$$
By modeling the importance ratios over state-action pairs rather than just states, the behavior policy $\mu(a|s)$ completely disappears from the mathematical formulation. The evaluation becomes dependent solely on the transition dynamics recorded in the data and the target policy $\pi(a|s)$.
Enforcing Bellman Consistency
How do we solve for this state-action ratio $w(s,a)$ without knowing $d^\mu(s,a)$? We use the fundamental property of stationary distributions: conservation of flow, or Bellman consistency.
In any Markov Decision Process, the probability of being in a state-action pair $(s', a')$ tomorrow is the sum of the probabilities of transitioning there from all possible state-action pairs $(s, a)$ today. Early theoretical foundations by Ralf Schoknecht (paper) demonstrated that direct matrix inversion methods can find the fixed point of the Bellman equation without requiring the sampling distribution to match the steady-state distribution of the Markov chain.
Modern behavior-agnostic algorithms leverage this by framing OPE as a fixed-point or optimization problem constrained by the Bellman operator. For example, Yihao Feng et al. (paper) utilize Kernel Bellman Statistics to enforce statistical consistency with environment dynamics, bypassing the logging policy entirely.
Standard IS: [Data] + [Known Behavior Policy μ] ──> [Trajectory Weights] ──> Value
Behavior-Agnostic: [Data] + [Bellman Consistency] ──> [Occupancy Ratio w] ──> Value
The DICE Framework: Duality and Flow
This intuition is elegantly operationalized by the DICE (Distribution Correction Estimation) family of algorithms.
Instead of tracking step-by-step trajectory weights—which causes variance to explode exponentially over long horizons—the authors of DualDICE (Bo Dai et al.) reformulate the problem using Fenchel duality. By optimizing a dual objective, they solve for the stationary distribution corrections directly from logged transitions.
Because this framework relies on state-action density ratios, it requires zero knowledge of the behavior policy. This core mechanism has been adapted to solve several distinct challenges in offline estimation:
- Uncertainty Quantification: BayesDICE, proposed by Bo Dai et al., extends this to estimate a full belief distribution over the policy's value, enabling robust offline policy selection under uncertainty.
- Confidence Intervals: CoinDICE (Bo Dai et al.) treats OPE as a system of estimating equations to derive tight, provable confidence intervals.
- Average-Reward Settings: GenDICE (Ruiyi Zhang et al.) generalizes the approach to estimate long-term steady-state values in infinite-horizon settings without data-generation models.
A closely related perspective is offered by Ali Mousavi 0003 et al. (paper), who frame behavior-agnostic OPE as a fixed-point problem of a "backward flow" operator of state-action visitations. By solving this backward flow in a Reproducing Kernel Hilbert Space (RKHS), they avoid the "curse of horizon" entirely.
Alternative Paradigms
While density ratio estimation via duality is highly popular, researchers have uncovered other clever ways to bypass the logging policy.
Policy Reconstruction (Surrogates)
If the logging policy is unknown, why not simply learn it from the data? Boyi Liu et al. (paper) introduced Maximum Likelihood Inverse Propensity Scoring (MLIPS). They demonstrate that reconstructing a "surrogate" logging policy from observed context-action pairs and using it for importance sampling can actually yield lower variance than using the true, analytical logging policy.
Off-Policy Classification
Rather than estimating continuous density ratios or probabilities, Alex Irpan et al. (paper) treat OPE as a classification problem. By training a classifier to distinguish between successful target actions and a reference distribution, the evaluation metric becomes entirely independent of the behavior policy's action probabilities.
Action-Specific Queues
In bandit settings, the "Queue Method" developed by Travis Mandel et al. (paper) decouples data collection from evaluation by initializing action-specific queues. When the target policy selects an arm, the evaluator simply pulls the next available reward from that arm's queue, providing an unbiased estimate without needing propensity scores.
Why It Matters
Behavior-agnostic OPE fundamentally changes how we view historical data. As proven by Ming Yin et al. (paper), off-policy evaluation can achieve optimal variance—reaching the Cramér-Rao lower bound—without ever knowing the action probabilities of the logging policy.
By shifting the mathematical focus from how actions were chosen to how states and actions flow together, these techniques allow us to safely scavenge heterogeneous, legacy, or poorly documented datasets to validate next-generation AI strategies before they are deployed live.
Key Foundational Work
Bounds on sample size for policy evaluation in Markov environments (2001) — contributed 2 concept elements to this direction.
Optimality of Reinforcement Learning Algorithms with Linear Function Approximation (2002) — contributed 1 concept elements to this direction.