Generalization Bounds for Unbounded Loss Functions

You are reading version 1 of this direction, frozen 2026-10-04. The latest version is version 2.

Version 1 of 2444 papers635 conceptsfrozen 2026-10-04

In classical statistical learning theory, we often assume that the loss function—the "penalty" a model pays for an incorrect prediction—is strictly bounded, typically within the range $[0, 1]$. This assumption is the bedrock of foundational tools like Rademacher complexity and the original PAC-Bayesian theorems. If the loss is bounded, we can use concentration inequalities to prove that a model’s performance on training data will likely be close to its performance on unseen data.

However, modern machine learning rarely stays within these bounds. Standard regression uses squared error, which grows quadratically. Deep learning relies on cross-entropy (logistic loss), which tends toward infinity as a model becomes confidently wrong. When the potential loss is infinite, traditional mathematical guarantees often become "vacuous"—they provide no useful information because they cannot rule out the possibility of a single outlier causing catastrophic failure.

Recent research has focused on bridging this gap, developing new theoretical frameworks that provide rigorous guarantees even when the loss is unbounded or the data is heavy-tailed.

The Problem with Infinite Penalties

The core challenge of unbounded loss is that a single extreme prediction can dominate the entire empirical average. As Ariel Avital and Aryeh Kontorovich note in Non-parametric Binary regression in metric spaces with KL loss, logarithmic losses like Kullback-Leibler divergence are inherently difficult to bound because they diverge at the boundaries of zero and one.

In the context of Large Language Models (LLMs), this is particularly problematic. Non-Vacuous Generalization Bounds for Large Language Models highlights that Negative Log-Likelihood (NLL) is theoretically unbounded, which prevents the direct application of standard tools. Without a cap on the loss, we lack the "bounded difference" property required by many concentration inequalities.

Replacing Hard Bounds with Moment Constraints

One way to solve this is to stop requiring a hard maximum loss and instead assume something about the shape of the loss distribution. If we can assume the loss has finite moments (like a bounded variance or a bounded $(1+\epsilon)$-th moment), we can still derive meaningful bounds.

Corinna Cortes and Mehryar Mohri demonstrate in Relative Deviation Margin Bounds that by leveraging these finite moment assumptions, we can extend generalization theory to modern objectives like cross-entropy. Similarly, Gholamali Aminian and Tian Li show in Generalization and Robustness of the Tilted Empirical Risk that even in heavy-tailed regimes where second moments might not exist, assuming a bounded $(1+\epsilon)$-th moment allows for stable convergence rates.

PAC-Bayesian Extensions for Regression

PAC-Bayesian theory, originally popularized by David McAllester in A PAC-Bayesian Tutorial with A Dropout Bound, provides a way to bound the generalization of "randomized" predictors. While early versions required bounded loss, researchers have expanded the framework to handle the unbounded nature of regression.

In PAC-Bayesian Theory Meets Bayesian Inference, Pascal Germain and Francis Bach propose assuming the loss distribution follows a "sub-gamma" profile. This allows for frequentist guarantees in scenarios where traditional assumptions are too restrictive. Pierre Alquier further generalized this in PAC-Bayesian bounds for randomized empirical risk minimizers, moving the theory beyond simple classification into density estimation and regression with quadratic loss.

Stability and the Geometry of Learning

Another perspective shifts the focus from the loss function's range to the algorithm's stability. If an algorithm is stable—meaning its output doesn't change much when one training point is modified—it will likely generalize.

Aryeh Kontorovich argues in Concentration in unbounded metric spaces and algorithmic stability that we can handle unbounded losses by ensuring the algorithm maintains "Lipschitz stability" relative to the data's geometry. This means that as long as the algorithm respects the underlying structure of the data distribution, we don't need a hard cap on the loss.

However, "uniform stability" can be too pessimistic for deep learning. Zhun Deng and Hangfeng He introduced Locally Elastic Stability in Toward Better Generalization Bounds with Locally Elastic Stability. They observe that neural networks are "locally elastic": changing a training point (e.g., a cat image) primarily affects predictions on similar points (other cats), rather than the entire model. This data-dependent view provides much tighter bounds than those relying on a global maximum loss constant.

Learning Without Concentration

Perhaps the most radical departure comes from Shahar Mendelson, who challenges the necessity of "concentration of measure" entirely. In Learning without concentration, Mendelson introduces the "small-ball" assumption. Instead of proving that the error concentrates around its mean, this approach focuses on the probability that the error is not too small. This framework provides sharp error bounds for heavy-tailed data and unbounded targets where classical theories typically fail.

By combining these approaches—moment-based constraints, sub-gamma PAC-Bayesian profiles, and local stability—researchers are finally providing the mathematical foundations for why algorithms using "dangerous" unbounded losses like cross-entropy and squared error work so reliably in practice.

Papers in this version

Showing 60 of 444 papers.

History & citationVersion 2 · 2026-10-04

Current · Permanent link

  1. Version 2 (latest) · 2026-10-04 · 410 papers
  2. Version 1 · 2026-10-04 · 444 papers
Cite this direction

Latest version (a living page):

@misc{lacuna_bounded_loss_assumption_9150cdce,
  title = {bounded loss assumption},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/bounded-loss-assumption/rdr_9150cdce06e34a57818a52b11e572297},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-12-03},
}

This exact version (version 1, frozen text):

@misc{lacuna_generalization_bounds_for_unbounded_loss_9150cdce_v1,
  title = {Generalization Bounds for Unbounded Loss Functions},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/generalization-bounds-for-unbounded-loss-functions/rdr_9150cdce06e34a57818a52b11e572297/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-12-03},
}