A Unified Confidence Sequence for Generalized Linear Models, with Applications to Bandits

Junghyun Lee, Se-Young Yun, Kwang-Sung Jun

TL;DR

This paper introduces a novel, unified "confidence sequence" (CS) for generalized linear models (GLMs) that is both theoretically sound and practically efficient. This new CS leads to a state-of-the-art algorithm for "generalized linear bandits" (GLBs) called OFUGLB, achieving improved regret bounds and outperforming existing methods in simulations.

What Problem Does This Paper Address?

In many machine learning applications, especially in interactive settings like bandit problems and reinforcement learning, we need to estimate the uncertainty of model parameters. Generalized Linear Models (GLMs) are a popular choice for modeling outcomes from various distributions. However, existing methods for quantifying uncertainty in GLMs, particularly "confidence sequences" (CSs), often have limitations. They might be specific to certain GLM families, lack tight bounds, or depend heavily on the norm of the unknown parameter (denoted as $S$), which can be problematic. This paper aims to develop a unified, efficient, and parameter-norm-free (or at least significantly reduced dependency) CS for a broad class of GLMs and apply it to the challenging problem of generalized linear bandits.

Methods

The core of this work lies in two main technical contributions:

  1. Unified Confidence Sequence (CS) for GLMs: The authors derive a novel likelihood ratio-based CS for any convex GLM. This derivation is a key novelty, employing a time-uniform PAC-Bayesian bound with a uniform prior/posterior. This approach is unusual but proves effective in achieving a tight and convex CS. For self-concordant GLMs, they further develop an ellipsoidal version of this CS, which is more practical for implementation. A significant achievement is that for Bernoulli GLMs, their CS achieves a "poly(S)-free" radius, meaning its size doesn't grow polynomially with the parameter norm $S$.
  2. OFUGLB Algorithm for Generalized Linear Bandits (GLBs): Using their new CS, the authors propose OFUGLB, an optimistic algorithm for GLBs. This algorithm is designed to be generic, working with any self-concordant GLM. The regret analysis for OFUGLB is another major technical contribution. It avoids a commonly used "self-concordant control lemma" that often introduces dependencies on $S$. This new analysis technique allows OFUGLB to achieve state-of-the-art regret bounds, including poly(S)-free bounds for logistic bandits, without requiring explicit "warm-up" phases.

Datasets

Not discussed in the paper. The paper focuses on theoretical contributions and algorithmic analysis, with numerical verification performed on simulated data.

Key Insights and Ideas

  • PAC-Bayes with Uniform Priors for CS: The paper demonstrates that using a uniform prior/posterior in PAC-Bayesian bounds, while less common for CS derivation, can lead to powerful and theoretically sound results. This challenges conventional wisdom and opens new avenues for CS research.
  • Poly(S)-Free Confidence Sets: Achieving a confidence set radius that does not depend polynomially on the parameter norm $S$ is a significant theoretical breakthrough, especially for models like Bernoulli where $S$ can be large. This leads to more reliable uncertainty estimates.
  • Avoiding the Self-Concordant Control Lemma: The development of a new proof technique that bypasses a standard lemma in self-concordant analysis is a crucial step. This allows for tighter regret bounds in bandit problems, particularly by removing $S$-dependencies.
  • Unified Approach: The ability to provide a single framework for CS and bandit algorithms across a wide range of GLMs simplifies theoretical analysis and potentially practical implementation.

Key Results

  • Unified CS for GLMs: The paper presents a unified likelihood ratio-based CS for any convex GLM.
  • Poly(S)-Free CS for Bernoulli: For Bernoulli GLMs, the derived CS has a radius that is free of polynomial dependency on the parameter norm $S$.
  • OFUGLB Algorithm: A new optimistic algorithm for generalized linear bandits (GLBs) is proposed.
  • State-of-the-Art Regret Bounds: OFUGLB achieves state-of-the-art regret bounds for self-concordant GLBs, including poly(S)-free bounds for logistic bandits.
  • Numerical Performance: Simulations on logistic bandits show that OFUGLB significantly outperforms a prior state-of-the-art algorithm (OFULog+). The paper also shows that OFUGLB's confidence sets are numerically smaller, indicating better uncertainty quantification.

Limitations and Future Work

  • Transient Term in Regret: While OFUGLB achieves poly(S)-free leading terms in regret, its transient term scales with $\kappa(T)$, which is not adaptive to the arm-set geometry. The authors suggest that future work could explore obtaining both characteristics simultaneously.
  • Generalizing to Kernelized/Functional GLMs: The authors propose extending their techniques to kernelized or functional GLMs, which would be a significant generalization.
  • Optimality of CS Radius and Regret: Investigating the optimality of their CS radius and leading regret term, especially with respect to $S$, is an open question.
  • Thompson Sampling for GLBs: The paper poses an interesting question about whether their new CS can be used to improve Thompson sampling algorithms for GLBs.
  • Sample Efficiency in RLHF: The authors note that improved CSs could have direct implications for sample-efficient Reinforcement Learning from Human Feedback (RLHF).

Summary updated

Abstract

We present a unified likelihood ratio-based confidence sequence (CS) for *any* (self-concordant) generalized linear models (GLMs) that is guaranteed to be convex and numerically tight. We show that this is on par or improves upon known CSs for various GLMs, including Gaussian, Bernoulli, and Poisson. In particular, for the first time, our CS for Bernoulli has a $\mathrm{poly}(S)$-free radius where $S$ is the norm of the unknown parameter. Our first technical novelty is Its derivation, which utilizes a time-uniform PAC-Bayesian bound with a uniform prior/posterior, despite the latter being a rather unpopular choice for deriving CSs. As a direct application of our new CS, we propose a simple and natural optimistic algorithm called **OFUGLB** applicable to *any* generalized linear bandits (**GLB**; Filippi et al. (2010)). Our analysis shows that the celebrated optimistic approach attains the state-of-the-art regrets for various self-concordant (not necessarily bounded) **GLB**s, and even $\mathrm{poly}(S)$-free for bounded **GLB**s, including logistic bandits. The regret analysis, our second technical novelty, follows from combining our new CS with a new proof technique that completely avoids the previously widely used self-concordant control lemma (Faury et al., 2020, Lemma 9), which may be of independent interest. Finally, we verify numerically that **OFUGLB** significantly outperforms the prior state-of-the-art (Lee et al., 2024) for logistic bandits.
BibTeX
@inproceedings{lee2024unified,
  author = {Junghyun Lee and Se-Young Yun and Kwang-Sung Jun},
  title = {{A Unified Confidence Sequence for Generalized Linear Models, with Applications to Bandits}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=MDdOQayWTA},
}
Figure