Introduction
In modern interactive systems such as recommendation engines, search platforms, and ad systems, massive amounts of log data are generated daily. A critical challenge in these environments is off-policy learning: the ability to train new, improved models offline using historical logs. This is inherently difficult because log data is counterfactual—we only observe the rewards for actions taken by the historical system, not for the alternative actions the new policy might prefer.
While most research focuses on learning from a single historical policy, real-world systems often run multiple experiments (A/B tests) simultaneously. Consequently, training data is typically a mixture from multiple "loggers." Simply pooling this heterogeneous data can lead to high-variance estimates or significant bias. This paper introduces a framework for off-policy learning from multiple loggers, deriving new generalization error bounds and transforming them into a robust constrained optimization problem.
Methodology
The proposed approach, termed "Constrained Learning," is built upon three theoretical pillars designed to handle the complexities of multi-source data.
1. Multi-Logger Estimators
The framework utilizes $\lambda$-weighted Inverse Propensity Score (IPS) and Balanced IPS estimators. These allow the model to dynamically weight data from different loggers based on their variance and relevance to the target policy, ensuring that more informative data sources have a greater influence on training.
2. Generalization Error Bounds
Using Bernstein’s inequality, the authors derive a theoretical upper bound on the true risk of a policy trained on multi-logger data. They demonstrate that the risk is bounded by the empirical risk plus a term involving the $d_2$ divergence (a variant of Rényi divergence) between the new policy and the historical loggers. This provides a formal "trust region" for policy updates.
3. Constrained Optimization via Minimax
To operationalize these bounds, the problem is formulated as minimizing empirical risk subject to a divergence constraint. This is solved using a minimax (adversarial) setup:
- Discriminator Network: Estimates the divergence between the current policy and the loggers.
- Generator Network (The Policy): Learns to minimize reward loss while satisfying the divergence constraint provided by the discriminator.
- Differentiable Sampling: The Gumbel-softmax trick is employed to ensure the sampling process for discrete actions remains differentiable, enabling end-to-end training via backpropagation.
Experimental Evaluation
The authors evaluated their methods on three benchmark multi-label classification datasets: Scene (images), Yeast (proteins), and TMC (text). These were converted into bandit datasets by training multiple Conditional Random Field (CRF) models to act as loggers with varying levels of exploration.
Key Results and Discussion
The proposed constrained methods—Naive-Reg and Weighted-Reg—were compared against standard baselines including Naive IPS, Weighted IPS, and Weighted Counterfactual Risk Minimization (WCRM).
As shown in the results table, the constrained "Reg" versions consistently outperformed their unconstrained counterparts. For instance, on the Yeast dataset, Weighted-Reg achieved an expected Hamming loss of 3.263, a significant improvement over standard Weighted IPS (3.756) and WCRM (3.908). This suggests that treating the generalization bound as a constraint effectively prevents "propensity overfitting," where models exploit rare actions that yielded high rewards by chance.
Furthermore, the methods demonstrated strong robustness to data volume. When varying the "replay count" (the amount of data from a specific logger), the weighted constrained method effectively leveraged increasing amounts of data from stochastic loggers without being diluted by noise. The performance (measured as 1/Expected Loss) for Weighted-Reg improved as more data became available, whereas the Naive-Reg approach struggled to integrate the additional information effectively.
Conclusion
By incorporating theoretical generalization bounds directly into the optimization process, this framework provides a principled way to learn from multiple data sources. The use of a minimax objective and divergence constraints results in policies that are both more performant and more stable than traditional counterfactual methods. Future work may explore alternative measures beyond f-divergence to further refine the control over the gap between logging policies and target policies.
Summary updated