Refined Risk Bounds for Unbounded Losses via Transductive Priors

Jian Qian, Alexander Rakhlin, Nikita ZhivotovskiyarXiv 2024 · DOI

Introduction

In standard online learning, a learner encounters data sequentially: they receive a feature vector $x_t$, predict a label $\hat{y}_t$, and then observe the true label $y_t$. The performance of such learners is typically measured by regret—the difference between the learner's cumulative loss and the loss of the best fixed predictor $\theta^*$ in hindsight.

Historically, regret bounds for linear models have been heavily sensitive to the scale of the data. Most guarantees depend on the maximum norm of the feature vectors ($||x||$) and the norm of the optimal parameter vector ($||\theta^*||$). For unbounded losses, such as squared loss or logistic loss, these dependencies can cause bounds to explode if the data is poorly scaled or if the optimal solution lies far from the origin. This paper introduces a transductive approach to mitigate these dependencies, providing refined risk bounds that are robust to the magnitude of both data and parameters.

The Transductive Framework

The authors operate in the transductive online learning setting. In this model, the learner is granted access to the entire set of feature vectors $\{x_1, \dots, x_T\}$ at the beginning of the game. However, the labels $y_t$ and the specific order in which the pairs $(x_t, y_t)$ arrive remain hidden until each round concludes.

This "look-ahead" at the design vectors allows the learner to tailor their prior distribution to the specific geometry of the dataset. By knowing the "where" (the features) before the "what" (the labels), the learner can achieve regret bounds that are completely independent of the norm of the comparator $\theta^*$, a feat largely impossible in the standard inductive setting for unbounded losses.

Algorithmic Innovations

Transductive Gaussian Priors

The core engine of this research is the Exponential Weights Algorithm (EWA). While standard EWA often employs a generic Gaussian or uniform prior, this paper utilizes transductive priors. For linear regression, the authors design a multivariate Gaussian prior with a covariance matrix specifically constructed from the sum of outer products of all available design vectors: $\sum_{t=1}^T x_t x_t^\top$. This alignment ensures the learner is most flexible in the directions where the data actually resides.

The Slab-Experts Approach

For logistic regression, the authors introduce a hierarchical "Slab-Experts" algorithm. This method partitions the feature space into "slabs" based on the margin.

  1. Inside the Slab: For instances with small margins, the algorithm uses EWA with a transductive prior.
  2. Outside the Slab: For instances with large margins, the algorithm switches to a deterministic linear separator.

This hybrid approach allows the algorithm to handle the exponential nature of logistic loss without requiring a-priori bounds on the optimal parameters.

Computational Efficiency

To bridge the gap between theory and practice, the authors demonstrate that for squared and logistic losses, the resulting posterior distributions are log-concave. This property is crucial because it allows the predictions to be approximated in polynomial time using sampling techniques like Langevin Monte Carlo (LMC), rather than requiring exact integration over complex parameter spaces.

Key Theoretical Results

The paper provides several breakthrough bounds that demonstrate the power of transduction:

  • Logistic Regression: The authors achieve a regret bound of $O(d \log T)$. Notably, this bound is entirely independent of $||\theta^*||$. In inductive settings, regret usually scales exponentially with the parameter norm unless restrictive assumptions are made.
  • Sparse Regression: For high-dimensional settings where only $s$ features are relevant, the paper proves a regret bound of $O(s m^2 \log(dT/s\kappa_s^2))$. This bound features only a logarithmic dependence on the compatibility constant $\kappa_s$, offering a much sharper guarantee than the polynomial dependencies found in existing fixed-design literature.
  • Hinge Loss: The authors derive "first-order" regret bounds. In cases where the data is linearly separable with a margin $\gamma$, the transductive algorithm achieves $O(d \log T)$ regret, regardless of how small that margin might be.
  • Online-to-Batch Conversion: The paper introduces a new conversion technique to translate these transductive regret bounds into statistical risk bounds. These bounds are "distribution-free," meaning they hold true without assuming the data follows a specific underlying distribution.

Discussion and Limitations

While the paper establishes a clear "separation" between what is possible in inductive versus transductive learning—showing that transduction can turn linear regret into logarithmic regret for certain classes—some challenges remain.

First, while polynomial-time approximations exist for logistic regression, the general Slab-Expert framework can still be computationally expensive in high dimensions ($d$). Second, the current analysis is limited to linear function classes; extending these transductive priors to non-linear models like neural networks is a significant open question. Finally, the current online-to-batch results hold in expectation; deriving high-probability bounds in the transductive setting remains difficult due to the lack of standard martingale structures in the proofs.

In summary, this work provides a robust mathematical foundation for using future feature information to build online learning algorithms that are truly scale-invariant, offering a significant step forward in the theory of learning with unbounded losses.

Summary updated

BibTeX
@misc{qian2024refined,
  author = {Jian Qian and Alexander Rakhlin and Nikita Zhivotovskiy},
  title = {{Refined Risk Bounds for Unbounded Losses via Transductive Priors}},
  year = {2024},
  eprint = {2410.21621},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2410.21621},
}
Figure