Stochastic Subsampling for Massive Objective and Label Spaces

17 concepts11 papers1 proposal

In standard machine learning, we are accustomed to subsampling data points via mini-batch Stochastic Gradient Descent (SGD). This simple act of sampling allows us to train deep networks on datasets containing millions of training examples. However, modern deep learning increasingly encounters a different kind of scale bottleneck: an explosion in the number of objectives or labels themselves.

This bottleneck typically manifests in two ways:

  1. Extreme Classification and Embedding Learning: When a model must choose among millions of categories (such as language modeling vocabularies, product recommendations, or fine-grained visual concepts), computing a standard softmax or evaluating all negative classes becomes computationally prohibitive.
  2. Multi-Objective Optimization (MOO) and Meta-Learning: When a model must simultaneously optimize hundreds or thousands of conflicting tasks, constraints, or regularizers (such as balancing accuracy against sparsity, or learning across millions of meta-learning tasks), computing the full gradient vector for every single objective at every step is impossible.

The core insight unifying this research direction is stochastic objective and label subsampling. By treating the space of labels or objectives as a distribution to be sampled, researchers have unlocked methods that make the computational cost per iteration independent of the total number of classes or objectives.

Decomposing the Label Space: Doubly Stochastic Learning

To understand why this works, let's first look at extreme classification. In a standard multi-class setup, the denominator of the softmax function requires summing over every single class in the vocabulary. If there are millions of classes, this single step breaks the memory and compute budget of modern hardware accelerators.

To bypass this, Michalis K. Titsias et al. proposed the One-vs-Each (OVE) approximation in One-vs-Each Approximation to Softmax for Scalable Estimation of Probabilities. By decomposing the multiclass objective into a product of pairwise comparisons, the authors enabled "doubly stochastic" training. Instead of just sampling a mini-batch of data, the algorithm simultaneously samples a small subset of negative classes. Because the gradient update cost depends only on the size of this sampled subset, the total number of categories no longer dictates the computational complexity.

This principle of aggressive negative sampling has been widely adopted across different architectures:

Scaling Multi-Objective Landscapes via First-Order Gradients

The exact same mathematical bottleneck occurs when moving from a single objective with many labels to a system with many distinct optimization objectives. Historically, multi-objective optimization (MOO) relied on derivative-free evolutionary algorithms. However, these methods completely fail to scale when a deep neural network contains millions of parameters.

The breakthrough came from transitioning MOO to first-order, gradient-based frameworks. As surveyed by Sebastian Peitz et al. in Multi-objective Deep Learning: Taxonomy and Survey of the State of the Art, gradient-based MOO techniques achieve convergence rates comparable to standard single-objective training, allowing them to navigate complex trade-off landscapes efficiently.

To make this practical on modern hardware, libraries like LibMOON, introduced by Xiaoyuan Zhang et al. in LibMOON: A Gradient-based MultiObjective OptimizatioN Library in PyTorch, provide GPU-accelerated engines to compute these trade-offs across millions of parameters. For instance, Augustina C. Amakor et al. used a gradient-based predictor-corrector continuation method in A multiobjective continuation method to compute the regularization path of deep neural networks to map out the entire regularization path (the trade-off between accuracy and sparsity) of deep convolutional networks, a feat previously impossible with zero-order methods.

Why It Works: Stochastic Pareto Stationarity

If we only sample a few objectives or a few negative classes at a time, why doesn't the optimization process descend into chaotic noise? Why does it converge to a globally meaningful solution?

The answer lies in the concept of Stochastic Pareto Stationarity. In multi-objective optimization, a solution is Pareto optimal if you cannot improve one objective without degrading another. When we compute gradients over a small mini-batch of tasks or objectives rather than the full set, we are computing a stochastic estimate of the multi-objective landscape.

Runsheng Yu et al. proved in Enhancing Meta Learning via Multi-Objective Soft Improvement Functions that by using a specialized "soft improvement function," multi-objective solvers can maintain Pareto stationarity even when gradients are calculated from small subsets of tasks. The expectation of these stochastic updates still points in a direction that guarantees no task is left behind, allowing meta-learning frameworks to scale to millions of tasks.

A similar intuition applies to continuous spatial constraints. In Scalable multi-class sampling via filtered sliced optimal transport, Corentin Salaün et al. tackled the problem of optimizing thousands of simultaneous distribution constraints for multi-class point sampling. Instead of evaluating every constraint, the authors treated the set of constraints as a distribution itself. By randomly selecting just a single subclass and a single projection axis per iteration, the memory footprint remains entirely constant, yet the system converges to a globally optimized, high-quality multi-class configuration.

Summary of Intuition

Whether dealing with millions of negative labels in a classification layer or thousands of tasks in a meta-learning network, the solution to the scaling bottleneck is the same: do not evaluate everything at once. By designing objectives that decompose into pairwise or independent components, and by leveraging first-order gradient methods that respect stochastic Pareto stationarity, we can substitute full-batch evaluations with smart, randomized subsampling. This keeps the computational footprint constant and brings massive, high-dimensional trade-off landscapes within reach of standard deep learning hardware.

Key Foundational Work

One-vs-Each Approximation to Softmax for Scalable Estimation of Probabilities (2016) — contributed 2 concept elements to this direction.
Aggressive Sampling for Multi-class to Binary Reduction with Applications to Text Classification (2017) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_scalable_multi_objective_optimization_5f98ba19,
  title = {scalable multi-objective optimization},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/scalable-multi-objective-optimization/rdr_5f98ba19515b4dd1ade7b0266f466974},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-23},
}

This exact version (version 1, frozen text):

@misc{lacuna_scalable_multi_objective_optimization_5f98ba19_v1,
  title = {scalable multi-objective optimization},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/scalable-multi-objective-optimization/rdr_5f98ba19515b4dd1ade7b0266f466974/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-23},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake