# Online and Stochastic Gradient Methods for Non-decomposable Loss Functions

Source: [Online and Stochastic Gradient Methods for Non-decomposable Loss Functions](<https://www.sota2.com/research/paper/68fa61981e209131ce9f4f87>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2025-10-25T20:02:28.305Z

Authors: Purushottam Kar, Harikrishna Narasimhan, Prateek Jain

Published: 2014-10-24T18:45:23.000Z

## Abstract

Modern applications in sensitive domains such as biometrics and medicine frequently require the use of non-decomposable loss functions such as precision@k, F-measure etc. Compared to point loss functions such as hinge-loss, these offer much more fine grained control over prediction, but at the same time present novel challenges in terms of algorithm design and analysis. In this work we initiate a study of online learning techniques for such non-decomposable loss functions with an aim to enable incremental learning as well as design scalable solvers for batch problems. To this end, we propose an online learning framework for such loss functions. Our model enjoys several nice properties, chief amongst them being the existence of efficient online learning algorithms with sublinear regret and online to batch conversion bounds. Our model is a provable extension of existing online learning models for point loss functions. We instantiate two popular losses, prec@k and pAUC, in our model and prove sublinear regret bounds for both of them. Our proofs require a novel structural lemma over ranked lists which may be of independent interest. We then develop scalable stochastic gradient descent solvers for non-decomposable loss functions. We show that for a large family of loss functions satisfying a certain uniform convergence property (that includes prec@k, pAUC, and F-measure), our methods provably converge to the empirical risk minimizer. Such uniform convergence results were not known for these losses and we establish these using novel proof techniques. We then use extensive experimentation on real life and benchmark datasets to establish that our method can be orders of magnitude faster than a recently proposed cutting plane method.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [TPAUC Maximization on moltox21 t0 (test)](<https://www.sota2.com/research/sota/tpauc-maximization-on-moltox21-t0-test.md>): TPAUC Maximization; moltox21 t0 (test); Mean TPAUC: 21.5.

- [TPAUC Maximization on molmuv t1 (test)](<https://www.sota2.com/research/sota/tpauc-maximization-on-molmuv-t1-test.md>): TPAUC Maximization; molmuv t1 (test); Mean TPAUC: 0.426.

- [TPAUC Maximization on molpcba t0 (test)](<https://www.sota2.com/research/sota/tpauc-maximization-on-molpcba-t0-test.md>): TPAUC Maximization; molpcba t0 (test); Mean TPAUC: 0.262.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/1410.6776>)

[PDF](<https://arxiv.org/pdf/1410.6776.pdf>)
