Unified PAC-Bayesian Study of Pessimism for Offline Policy Learning with Regularized Importance Sampling

Imad Aouali, Victor-Emmanuel Brunel, David Rohde, Anna Korba

Abstract

Offline Policy Learning (OPL) aims to derive optimal decision-making strategies from historical logged data. A central challenge in OPL is the high variance associated with importance weights, typically addressed through Regularized Importance Sampling (RIS). However, the theoretical analysis of RIS has historically been fragmented, with different regularizers requiring bespoke proofs. This paper introduces a unified PAC-Bayesian framework that provides a single, tractable generalization bound applicable to a wide variety of RIS techniques. By establishing a "level playing field," we demonstrate that standard regularization methods, such as clipping, are highly effective when paired with pessimistic learning principles, suggesting that the complexity of specialized estimators may often be unnecessary.

Introduction

In the context of Offline Contextual Bandits, the goal is to learn a policy using data collected by a pre-existing logging policy. The standard estimator for this task is Inverse Propensity Scoring (IPS). While IPS is unbiased, it suffers from extreme variance when the target policy selects actions that the logging policy rarely performed, leading to exploding importance weights.

To mitigate this, researchers employ Regularized Importance Sampling (RIS), which modifies weights through techniques like clipping or smoothing. Despite their practical success, the literature has lacked a unified theoretical foundation. Previous studies often introduced a new regularizer alongside a specific "pessimistic" learning principle—a method of penalizing risk estimates to avoid over-optimism—making it difficult to discern whether performance gains stemmed from the regularizer itself or the tightness of the mathematical bound used for optimization.

Methodology

A Unified PAC-Bayesian Bound

The core contribution of this work is a unified generalization bound derived using PAC-Bayesian theory. This framework provides a two-sided inequality that bounds the difference between the true risk and the estimated risk for any importance weight regularization that can be expressed as a function of the target and logging policies.

As detailed in Theorem 1 and Corollary 2 of the study, the bound explicitly decomposes the error into three primary components:

  1. Complexity: The Kullback–Leibler (KL) divergence between the learned policy and a prior distribution.
  2. Bias ($B_n$): The systematic error introduced by the regularization of importance weights.
  3. Variance ($V_n$): The statistical instability of the estimator.

Pessimistic Learning Principles

Building on this bound, the authors propose two distinct learning principles:

  • Bound Optimization: This approach involves directly minimizing the theoretical upper bound. To handle the expectations inherent in the PAC-Bayesian framework, the authors utilize the "local reparameterization trick."
  • Heuristic Optimization: Recognizing that theoretical constants can sometimes be conservative, this practical variant treats the bias, variance, and complexity terms as tunable hyperparameters, allowing for greater flexibility in real-world applications.

Experimental Evaluation

Setup

The framework was evaluated using a "supervised-to-bandit" conversion on two benchmark image classification datasets: MNIST and FashionMNIST. In these environments, class labels serve as actions. To simulate various real-world conditions, the researchers generated logging policies with varying degrees of quality, ranging from uniform random to highly accurate (controlled via an inverse-temperature parameter).

Comparative Analysis

The study compared several standard regularizers within the unified bound:

  • Clipping (Clip): Capping weights at a maximum threshold.
  • Implicit Exploration (IX): Adding a constant to the denominator of the weights.
  • Exponential Smoothing (ES): Applying a smoothing function to the weights.
  • Harmonic (Har): A specific form of weight transformation.

Key Insights and Results

The Effectiveness of Clipping

One of the most significant findings is that when evaluated on a level playing field, conventional clipping (Clip) remains a top-tier performer. Previous research suggesting the superiority of more complex smoothing techniques may have been influenced by the specific, potentially looser, bounds used in those individual studies. Under the unified PAC-Bayesian bound, Clipping, IX, and ES achieved nearly identical performance.

The Role of Pessimism

The results reinforce the importance of the "pessimistic" approach in offline learning. By optimizing the upper bound of the risk rather than a simple point estimate, the learner accounts for potential data deficiencies. The proposed PAC-Bayesian principle consistently outperformed existing state-of-the-art methods, even when using the same underlying regularizer.

Theory vs. Practice

While the theoretical Bound Optimization is mathematically rigorous, Heuristic Optimization often yielded better empirical results. This suggests that while the structural decomposition of the PAC-Bayesian bound (Complexity + Bias + Variance) is correct, the ability to weight these components based on the specific dataset is crucial for maximizing performance.

Conclusion and Future Work

This research provides a much-needed unification of regularized importance sampling in offline policy learning. By demonstrating that simple regularizers like clipping are highly effective when combined with robust pessimistic principles, the work simplifies the landscape for practitioners.

Future research directions include addressing the potential "looseness" of two-sided bounds through asymmetric analysis and extending the framework to high-dimensional action spaces and complex neural network architectures, where Monte Carlo estimation of the bound may face scaling challenges.

Summary updated

BibTeX
@inproceedings{aouali2024unified,
  author = {Imad Aouali and Victor-Emmanuel Brunel and David Rohde and Anna Korba},
  title = {{Unified PAC-Bayesian Study of Pessimism for Offline Policy Learning with Regularized Importance Sampling}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=d7W4H0sTXU},
}
Figure