Off-Policy Evaluation in Massive Action Spaces

This direction is split into other directions: cluster-level importance weighting. Its last version stays readable and citable here.

Version 1 of 119 papers29 conceptsfrozen 2026-10-04

In modern recommendation systems, search engines, and large language models, the "action space" is often astronomical. A music streaming service might choose from millions of songs; a prompt optimization system might choose from an infinite variety of sentences. When we want to evaluate a new strategy (a "target policy") using historical data (from a "logging policy"), we typically use Off-Policy Evaluation (OPE).

The standard tool for OPE is Inverse Propensity Scoring (IPS). IPS works by weighting each observed reward by the ratio of the target policy’s probability to the logging policy’s probability. However, in massive action spaces, the probability of any specific action being chosen is vanishingly small. When the logging policy's probability (the denominator) is near zero, the importance weight explodes, leading to extreme variance that makes the evaluation useless.

To solve this, a recent body of research has shifted away from weighting individual actions, instead focusing on marginalization and decomposition to stabilize these estimates.

The Resolution Problem

The fundamental issue with standard IPS is that it treats every action as a unique, discrete identifier. If the logging policy chose "Song A" and the target policy would have chosen "Song B," IPS sees zero overlap and provides no information, even if the two songs are nearly identical.

To fix this, Yuta Saito and Thorsten Joachims proposed Marginalized Inverse Propensity Scoring (MIPS) in Off-Policy Evaluation for Large Action Spaces via Embeddings. Instead of calculating weights for specific action IDs, MIPS calculates weights based on action embeddings—shared characteristics like genre, artist, or tempo. By marginalizing over these embeddings, the estimator can "transfer" information between similar actions. This drastically reduces variance because the probability of choosing a type of action is much higher and more stable than the probability of choosing one specific item.

Grouping Actions into Clusters

A similar intuition drives the use of action clusters. In Off-Policy Evaluation for Large Action Spaces via Conjunct Effect Modeling, Saito, Ren, and Joachims introduce OffCEM. This method decomposes the reward into a "cluster effect" (coarse) and a "residual effect" (fine).

By applying importance weighting only at the cluster level, the system avoids the "variance explosion" of individual actions. The logic is simple: while the probability of a user clicking on one specific obscure book is tiny, the probability of them clicking on any science fiction book is much larger. By weighting the "science fiction" cluster, we get a stable, low-variance estimate of the coarse reward, while using regression models to handle the fine-grained differences within that cluster.

Two-Stage Policy Decomposition

The challenge of large action spaces isn't just evaluation; it's also learning. In POTEC: Off-Policy Contextual Bandits for Large Action Spaces via Policy Decomposition, Saito, Yao, and Joachims extend this decomposition to policy optimization.

POTEC splits the decision-making process into two stages:

  1. Cluster Selection: A policy-based approach picks the best category (e.g., "Rock Music"). Because there are fewer categories than songs, the importance weights are stable.
  2. Action Picking: A regression-based approach picks the best item within that category.

This hybrid approach bridges the gap between policy-gradient methods (which are unbiased but high-variance) and model-based methods (which are low-variance but can be biased). By using the policy-based method only where it is stable (at the cluster level), POTEC achieves high performance even in environments with millions of choices.

Continuous Similarity and Shrinkage

In even more complex spaces, such as natural language, discrete clusters might not be enough. In Prompt Optimization with Logged Bandit Data, Haruka Kiyohara and colleagues introduce Direct Sentence Off-policy Gradient (DSO). Instead of looking for exact matches between generated sentences, DSO uses kernel-based similarity. It treats actions that are semantically close as "partial matches," replacing binary importance weights with continuous similarity weights.

When even these techniques aren't enough to curb variance, researchers use shrinkage. Akshay Krishnamurthy, Miroslav Dudík, and Yi Su demonstrated in Doubly robust off-policy evaluation with shrinkage that systematically "shrinking" importance weights toward a baseline can optimize the bias-variance tradeoff. Similarly, Romain Lopez and Michael I. Jordan suggest in Learning from eXtreme Bandit Feedback that restricting evaluation to a "likely subset" of actions can prevent the long tail of irrelevant choices from destabilizing the system.

Summary of the Shift

The evolution of OPE for large action spaces can be summarized as a move from identity-based weighting to feature-based marginalization. By recognizing that actions share underlying structures—whether through clusters, embeddings, or semantic similarity—researchers have found ways to aggregate sparse data into robust signals, making it possible to evaluate and train complex AI systems using the messy, high-dimensional logs of the real world.

Papers in this version

History & citationVersion 1 · 2026-10-04

Split into other directions · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_off_policy_evaluation_in_massive_action__80c798a9,
  title = {Off-Policy Evaluation in Massive Action Spaces},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/off-policy-evaluation-in-massive-action-spaces/rdr_80c798a9537a401b9869fef90ef59338},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-27},
}

This exact version (version 1, frozen text):

@misc{lacuna_off_policy_evaluation_in_massive_action__80c798a9_v1,
  title = {Off-Policy Evaluation in Massive Action Spaces},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/off-policy-evaluation-in-massive-action-spaces/rdr_80c798a9537a401b9869fef90ef59338/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-27},
}