Introduction
In traditional supervised learning, models are trained using "full-information" feedback: for every input, the exact correct label is known. However, in real-world applications like ad-placement systems or search engines, we typically only receive "bandit feedback." We observe how a user responded to the specific item we showed them, but remain blind to how they would have reacted to alternatives.
While this logged data is ubiquitous and cheap to collect, it is notoriously difficult to use for training deep networks. Standard loss functions like cross-entropy require knowing the "correct" action. Furthermore, logged data is inherently biased, reflecting only the choices of the "logging policy" active during data collection. Training directly on these logs often leads to "propensity overfitting," where the model exploits the quirks of the logging policy rather than learning the underlying task.
To address this, researchers introduce BanditNet, a novel framework that allows deep neural networks to be trained using logged contextual bandit feedback. By reformulating robust counterfactual estimators into a form compatible with Stochastic Gradient Descent (SGD), BanditNet enables architectures like ResNet to achieve near-supervised performance using only bandit logs.
Methods: Counterfactual Risk Minimization
BanditNet treats a deep neural network as a stochastic policy $\pi_w(y|x)$ and trains it using Counterfactual Risk Minimization (CRM).
- SNIPS Estimator: Instead of the standard Inverse Propensity Scoring (IPS) estimator—which is unbiased but suffers from high variance—the authors employ the Self-Normalized IPS (SNIPS). SNIPS is "equivariant," meaning the learning objective is invariant to additive shifts in loss. This equivariance is essential for high-capacity models like deep nets to prevent them from simply avoiding actions the logging policy rarely took.
- Making it SGD-Friendly: The primary technical hurdle is that SNIPS is a ratio of sums, which cannot be decomposed into the mini-batches required for SGD. The authors solve this by reformulating the optimization problem using a Lagrange multiplier ($\lambda$).
- The $\lambda$-Translation: This reformulation turns the complex ratio into a series of simpler objectives where the loss is "translated" by $\lambda$. This resembles the "baseline" used in reinforcement learning (like REINFORCE), but here it is derived rigorously to ensure the objective remains equivariant and solvable via standard deep learning optimizers.
Experimental Setup and Key Results
The approach was evaluated using the CIFAR-10 image recognition dataset, modified to simulate a real-world logging scenario. Instead of providing actual labels, the training data only recorded whether a "mediocre" logging policy (with ~49% error) guessed right or wrong. The authors used a standard ResNet-20 architecture, replacing the final cross-entropy layer with a BanditNet output layer.
Key Findings: * Convergence to the "Skyline": As the amount of bandit feedback increases, Bandit-ResNet converges toward the performance of a ResNet trained on full-information supervised data (the "skyline").
- Superiority over Naive IPS: Standard IPS training failed to produce useful models due to overfitting. In contrast, BanditNet successfully extracted knowledge from the noisy, partial logs.
- Robustness: Even though the logging policy was quite poor (49% error), BanditNet learned a significantly better policy, reaching error rates as low as 8.2% on CIFAR-10.
Limitations and Future Work
While BanditNet bridges a critical gap between counterfactual evaluation and deep learning, several challenges remain:
- Hyperparameter Search: The current method requires a grid search over the Lagrange multiplier $\lambda$ to find the optimal translation. Developing more efficient, automated ways to find the optimal $\lambda$ during a single training run would be a major improvement.
- Synthetic Bandits: The evaluation relies on simulated bandit feedback derived from a supervised dataset. Testing on true, organic log data from a production system is a necessary next step.
- Continuous Actions: The current framework is designed for discrete actions (like classification or ad selection). Extending this to continuous action spaces remains an open challenge.
Summary updated