Abstract
Batch learning from bandit feedback is a critical challenge in recommendation systems where action spaces can encompass millions of choices. While supervised learning frameworks like eXtreme Multi-label Classification (XMC) are common, they often suffer from biases due to the mismatch between bandit feedback and supervised labels. We introduce Policy Optimization for eXtreme Models (POXM), a framework utilizing a novel selective importance sampling (sIS) estimator. By performing importance sampling on a small subset of actions—a form of Rao-Blackwellization—POXM achieves a more favorable bias-variance regime. Our experiments on large-scale XMC datasets demonstrate that POXM significantly outperforms existing baselines, including BanditNet and supervised learning approaches.
Introduction: The Challenge of Extreme Action Spaces
Modern recommendation systems operate in "extreme" environments, making billions of decisions daily across millions of possible items. Traditionally, these are modeled as XMC problems, assuming full knowledge of "correct" labels. However, real-world data typically consists of bandit feedback: we only observe the user's reaction to the specific item presented, leaving the potential rewards of millions of other items unknown.
To learn from such logged data, researchers employ Importance Sampling (IS) to correct for the discrepancy between the logging policy and the target policy. In extreme action spaces, the probability of selecting any single item is often infinitesimal, causing importance weights to explode. This leads to massive numerical instability and high variance, frequently causing standard bandit learning algorithms to fail.
The POXM Framework
The proposed solution, POXM, addresses these challenges through two primary innovations:
- Selective Importance Sampling (sIS): Instead of calculating weights across the entire action space, sIS uses Rao-Blackwellization. An action selector $\Phi(x)$ identifies a small subset of likely relevant actions. The estimator then performs importance sampling only on this subset, effectively filtering out the noise from millions of irrelevant actions.
- Top-p Action Selection: For the action selector, POXM uses a greedy heuristic: the top-$p$ actions from the logging policy. This leverages the fact that even a mediocre logging policy is significantly better than random at identifying relevant items.
The Sparsity Advantage
The theoretical foundation of POXM is the Sparse Feedback Condition. In extreme spaces, the vast majority of actions yield zero reward. By assuming most actions are irrelevant, the authors justify pruning the importance sampling process. While this introduces a small bias, it results in a dramatic reduction in variance, creating a more favorable learning regime.
As shown in the figure above, a significant portion of the total reward (R@5) is concentrated within the top few actions across various datasets, validating the pruning strategy.
Experimental Evaluation
The authors evaluated POXM using a supervised-to-bandit conversion on three major XMC benchmarks:
- EUR-Lex: ~4,000 labels (legal documents).
- Wiki10-31K: ~31,000 labels (Wikipedia tags).
- Amazon-670K: ~670,000 labels (product recommendations).
The Amazon-670K dataset represents one of the largest action spaces ever addressed in Batch Learning from Bandit Feedback (BLBF) literature. The model architecture was based on AttentionXML, adapted to handle bandit feedback objectives and massive output layers.
Results and Discussion
POXM demonstrated robust and systematic improvements over all baselines. Notably, it outperformed BanditNet, which often struggled with propensity overfitting.
The figure above illustrates how POXM consistently achieves a performance ratio greater than 1.0 relative to the logging policy across different experimental scenarios (A, B, C) and various filter sizes ($p$). On the Amazon-670K dataset, POXM reached a Precision@3 of 26.89%, a substantial jump from the logging policy's 17.89%.
Limitations and Future Directions
Despite its success, a performance gap remains between bandit feedback learning and full supervised "skyline" results. Additionally, handling the "long tail" of rare labels remains a challenge; while an extension called wPOXM was proposed, ensuring rare items are not overlooked by top-$p$ filtering is an area for future research. Finally, scaling the filter size $p$ beyond 20,000 actions on the largest datasets encountered memory constraints, suggesting a need for further architectural optimization.
Conclusion
POXM provides a scalable and effective framework for learning from bandit feedback in extreme action spaces. By leveraging the sparsity of rewards and employing selective importance sampling, it overcomes the variance issues that plague traditional off-policy learning, paving the way for more effective large-scale recommendation systems.
Summary updated