Dispersion for Optimizing Discontinuous Loss Functions

23 concepts13 papers1 proposal

Traditional online learning frameworks rely heavily on a well-behaved world. They typically assume that loss functions are convex or at least Lipschitz continuous—meaning that if you make a small tweak to an algorithm's parameters, the resulting performance changes only a small amount.

However, many real-world applications violate this assumption entirely. When tuning hyperparameters, configuring algorithms, or setting prices, the loss landscape is often riddled with sharp cliffs, steps, and sudden jumps. A tiny adjustment to a threshold can cause a feature to drop out completely, or a price to suddenly exceed a buyer's willingness to pay.

As noted by Block et al., these sharp discontinuities invalidate the convergence proofs of traditional learning algorithms. This article explains how a structural property called dispersion makes online learning possible even in these volatile, discontinuous landscapes.

The Catastrophe of Cliffs

In an online learning setting, an algorithm iteratively chooses a parameter configuration, observes a loss, and updates its strategy. The goal is to achieve sublinear regret, meaning the algorithm performs nearly as well as the single best fixed parameter configuration chosen in hindsight.

When the loss landscape contains discontinuities, an adversarial environment can exploit them ruthlessly. If the learner attempts to use standard continuous optimization methods like gradient descent, the algorithm can suffer catastrophic failure. As Kotlowski et al. demonstrate, standard gradient methods lack the necessary regularization to handle adversarial sequences in non-smooth settings, resulting in linear regret—meaning the algorithm fails to learn.

Smooth Loss (Lipschitz)          Discontinuous Loss (Piecewise Constant)
        \_                                      _
          \_                                   | |
            \_                                 | |_
              \_                               |   |___
(Small change = Small impact)       (Small change = Falling off a cliff!)

Why does this happen? If a malicious environment knows where the performance jumps occur, it can place these boundaries exactly where the learner is trying to search. As Cohen-Addad et al. and Sharma point out, repeatedly forcing the learner to step across these unpredictable boundaries prevents the algorithm from ever identifying a stable, optimal configuration.

The Core Intuition: What is Dispersion?

If we cannot assume that a function is smooth, what can we assume to make learning feasible? The breakthrough insight is that we do not need the functions themselves to be smooth; we just need the locations of the discontinuities to be well-behaved. This property is known as dispersion.

Formalized by Balcan et al., the dispersion condition posits that while a sequence of loss functions may contain many sharp jumps, these jumps do not overly concentrate in any single, small region of the parameter space. Instead, they are spread out.

Imagine walking through a dark field full of hidden cliffs. If all the cliffs are concentrated into a dense, unpredictable maze, you will inevitably fall down one after another. However, if the cliffs are widely separated (dispersed), a slightly randomized step or a small amount of natural noise ensures that you will rarely land exactly on an edge.

As Balcan et al. explain, this structural property allows online learning algorithms to effectively "skip over" problematic boundaries and maintain strong theoretical performance guarantees.

Why Dispersion Enables No-Regret Learning

Dispersion acts as a functional substitute for convexity or smoothness. In smooth optimization, stability is guaranteed because the gradient changes gradually. In dispersed optimization, stability is guaranteed because the algorithm is highly unlikely to encounter a discontinuity during any given update step.

When the dispersion condition is satisfied, the data distribution does not concentrate too heavily on the boundaries where the loss function's behavior changes abruptly. Sharma et al. show that this allows non-convex and discontinuous functions to be optimized with regret guarantees similar to those found in smoother settings, even when tracking optimal parameters over time in non-stationary environments.

By ensuring that discontinuities do not cluster densely, dispersion circumvents the adversarial lower bounds that typically force linear regret. For instance, Sharma leverages this condition to prove that algorithms can achieve sublinear internal regret within non-convex, non-Lipschitz landscapes, unlocking new ways to find equilibria in continuous games.

Where Dispersed Landscapes Appear

Discontinuous but dispersed loss functions are native to several core problems across machine learning and economics:

Hyperparameter Tuning and Algorithm Configuration

When tuning regularized models like ElasticNet, changing the regularization parameters causes features to abruptly enter or leave the active set. Balcan et al. proved that this creates a highly structured "piecewise-rational" geometry. Because the boundaries of these regions satisfy the dispersion condition, researchers can treat hyperparameter selection as a provable learning problem across sequential datasets.

Similarly, Balcan et al. extended this idea to complex algorithmic configurations (such as tuning Gaussian RBF kernels) using the Pfaffian GJ framework, verifying that dispersion guarantees near-optimal incremental tuning.

Graph-Based Semi-Supervised Learning

In graph-based learning, the success of the model depends on how the underlying graph is constructed from data. Tweak the graph construction parameters slightly, and the edges shift discretely. Despite these frequent discontinuities, Balcan et al. demonstrated that efficient global optimization remains possible because the discontinuities are sufficiently spread out across the parameter space.

Economic Mechanisms and Revenue Maximization

In digital auctions and pricing, revenue functions drop off a cliff the moment a price is set a fraction above a buyer's valuation. Duetting et al. designed deterministic algorithms to handle these "one-sided Lipschitz" functions, achieving optimal regret bounds. To scale this to more complex economic structures, Balcan et al. utilized dispersion analysis to quantify the concentration of discontinuities in menus of lotteries and two-part tariffs, proving that sellers can learn to maximize revenue even against completely unpredictable buyers.

Conclusion

The dispersion framework shifts our focus away from the smoothness of the loss and toward the distribution of its faults. By proving that the boundaries of non-convex, piecewise-smooth functions are sufficiently spread out, researchers can deploy online learning algorithms with the confidence that they will bypass adversarial traps and achieve vanishing regret.

Key Foundational Work

Online Optimization of Smoothed Piecewise Constant Functions (2017) — contributed 1 concept elements to this direction.
Online Isotonic Regression. (2016) — contributed 1 concept elements to this direction.
History & citationVersion 2 · 2026-10-04

Current · Permanent link

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

Latest version (a living page):

@misc{lacuna_discontinuous_loss_optimization_dfab088e,
  title = {discontinuous loss optimization},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/discontinuous-loss-optimization/rdr_dfab088eb7394ddc854ecf15a0f5cda5},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-26},
}

This exact version (version 2, frozen text):

@misc{lacuna_discontinuous_loss_optimization_dfab088e_v2,
  title = {discontinuous loss optimization},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/discontinuous-loss-optimization/rdr_dfab088eb7394ddc854ecf15a0f5cda5/v/2},
  note = {Version 2, frozen 2026-10-04. Accessed 2026-11-26},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake