Evaluating a new AI policy using historical data—a task known as Off-Policy Evaluation (OPE)—is a cornerstone of modern machine learning. It allows companies to test new recommendation algorithms or medical treatments without the risk or cost of a live "online" trial.
However, OPE has a major Achilles' heel: deficient support. Most standard estimators, like Inverse Propensity Scoring (IPS), only work if the historical "logging" policy has tried every action at least once. If the old policy never showed a specific product to a user, IPS simply cannot guess what would have happened, leading to significant bias.
In their NeurIPS 2022 paper, researchers from Politecnico di Milano propose a way out. By leveraging side information—additional features about the actions themselves—they developed new estimators that can "bridge the gap" to actions that were never observed in the training data.
TL;DR
Standard OPE fails when historical data doesn't cover all possible actions. This paper introduces two estimators that use action features (side information) to provide unbiased evaluations even with "deficient support," significantly outperforming traditional methods on real-world recommendation datasets.
The Problem: Deficient Support
The gold standard for OPE is Inverse Propensity Scoring (IPS). It works by re-weighting observed rewards based on how likely the logging policy was to take that action. But IPS relies on the Full Support Assumption: every action the new policy might take must have had a non-zero probability of being taken by the old policy.
In the real world, this assumption is frequently violated. For example:
- Scalability filters: A recommender system might only consider the top 100 items for a user out of millions, meaning most items have zero probability of being shown.
- The "New Action" problem: You want to evaluate a policy on products that didn't even exist when the data was collected.
When support is deficient, IPS becomes biased. This paper asks: Can we use what we know about actions (e.g., a movie's genre or a drug's chemical properties) to estimate rewards for actions we've never seen?
Proposed Methods
The authors explore two main estimators that utilize side information (action features $f(a)$):
- PseudoInverse (PI) Estimator: Adapted from slate recommendation literature, this estimator assumes Linearity—that the reward is a linear combination of action features. If you've seen enough variety in features (even if not every action), you can use a Moore-Penrose pseudoinverse to estimate the value of the new policy.
- Similarity Estimator: This is the paper's primary contribution. It relies on the Similarity Assumption: similar actions should yield similar rewards. It uses a weighting function to estimate the reward of an unsupported action by looking at the rewards of similar, supported actions.
Crucially, the authors provide a concentration analysis proving that while these estimators might have a small "irreducible error" if their assumptions are slightly off, they are far more stable and less biased than IPS when data is missing.
Experimental Setup
The authors evaluated their methods using the Open Bandit Dataset (OBD), which contains logged feedback from a large-scale fashion e-commerce platform.
- Actions: 80 different items.
- Side Information: Action features like category and gender (one-hot encoded into a 40-dimensional vector).
- Setup: They used data from a uniform random policy as the "logging" data and artificially removed a percentage of actions (the "deficient support rate") to test how well the estimators could recover the true value of a Bernoulli Thompson Sampling policy.
Key Insights & Results
- Support on Features > Support on Actions: You don't need to have tried every action to be unbiased. You just need to have tried actions that, in aggregate, cover the "feature space" of the actions you missed.
- The Power of Cosine Similarity: In their experiments, using simple cosine similarity between action features was remarkably effective for the Similarity estimator, often outperforming more complex clustering approaches.
- Robustness to Risk: Traditional OPE methods don't just get the "average" wrong; they occasionally produce wildly incorrect estimates (high variance). The proposed estimators are much more consistent, which is vital for risk-sensitive applications like medicine.
The experimental results show a clear win for side-information-based methods as the data becomes increasingly sparse.
As seen in the plot above, as the deficient support rate increases toward 90%, the Mean Squared Error (MSE) of the standard IPS estimator (red line) explodes. In contrast, the Similarity estimator with cosine similarity (dark blue line) remains relatively flat and accurate.
The authors also looked at the Conditional Value-at-Risk (CVaR), which measures performance in "worst-case" scenarios.
As shown in the table, the Similarity estimator (SN Sim. cosine) is the most robust when support is very low (60% to 90% deficiency), while the PseudoInverse (SN PI) performs best when the deficiency is more moderate (10% to 50%).
Limitations and Future Work
- Hyperparameter Sensitivity: The Similarity estimator depends on choosing a good similarity function. While the authors propose a cross-validation-like procedure, selecting the "perfect" similarity metric remains an open challenge.
- Assumption Reliance: If the reward function is highly non-linear or if "similar" actions (in feature space) actually behave very differently, these estimators will still be biased.
- Future Directions: The authors suggest extending these estimators from Evaluation to Learning—actually training a new policy directly from deficient data using these more robust reward signals.
Summary updated