Skip to main content
QUICK REVIEW

[Paper Review] Online and Stochastic Gradient Methods for Non-decomposable Loss Functions

Purushottam Kar, Harikrishna Narasimhan|arXiv (Cornell University)|Oct 24, 2014
Stochastic Gradient Optimization TechniquesComputer Science8 references29 citations
TL;DR

This paper proposes a novel online and stochastic gradient framework for non-decomposable loss functions such as Precision@k and pAUC, which are critical in imbalanced learning. It establishes sublinear regret bounds via a structural lemma on ranked lists and develops scalable solvers that provably converge to the empirical risk minimizer, outperforming cutting-plane methods by orders of magnitude in speed.

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.

Motivation & Objective

  • To address the lack of principled online and stochastic optimization methods for non-decomposable loss functions such as F-measure, Precision@k, and pAUC.
  • To design an online learning framework that generalizes existing models for decomposable losses while enabling incremental learning and online-to-batch conversion.
  • To develop provably convergent stochastic gradient solvers for a broad class of non-decomposable losses, including those with uniform convergence properties.
  • To establish novel theoretical guarantees—specifically sublinear regret and convergence to empirical risk minimizers—using a new structural lemma on ranked lists.

Proposed method

  • Proposes a principled online learning framework for non-decomposable losses by defining instantaneous penalties through a stability-based approach, ensuring compatibility with existing online models when applied to decomposable losses.
  • Introduces a Follow-the-Regularized-Leader (FTRL) algorithm within the framework, proving ${\cal O}(1/\sqrt{T})$ regret under a generic stability condition.
  • Applies the framework to convex surrogates of Precision@k and pAUC, proving sublinear regret using a novel structural lemma on Lipschitz continuity of ranked list measures.
  • Develops stochastic gradient descent solvers for non-decomposable losses by leveraging uniform convergence-style results, enabled by the structural lemma.
  • Implements efficient 1PMB and 2PMB routines for pAUC by filtering top-ranked negatives and computing subgradients between positives and filtered negatives, achieving ${\cal O}(s\log s)$ per-epoch complexity.
  • Uses a surrogate loss formulation for pAUC: $\ell_{\text{pAUC}}({\mathbf{w}}) = \sum_{i:y_i>0} \ell^{+}_{S_-}(x_i, {\mathbf{w}})$, where $\ell^{+}_{S_-}$ aggregates hinge losses over top-$\beta$ fraction of negatives.

Experimental results

Research questions

  • RQ1Can a principled online learning framework be designed for non-decomposable loss functions that generalizes existing models for decomposable losses?
  • RQ2Do sublinear regret bounds hold for online learning with non-decomposable losses like Precision@k and pAUC under a stability condition?
  • RQ3Can stochastic gradient methods be proven to converge to the empirical risk minimizer for non-decomposable losses such as pAUC and F-measure?
  • RQ4What novel structural properties of ranked lists enable uniform convergence and regret analysis for non-decomposable losses?

Key findings

  • The proposed online framework achieves ${\cal O}(1/\sqrt{T})$ regret for Precision@k and pAUC under a stability condition, establishing the first provable sublinear regret bounds for these non-decomposable losses.
  • A novel structural lemma on sorted lists of inner products proves Lipschitz continuity of ranked list measures, enabling the regret and convergence analysis.
  • The stochastic gradient solvers for pAUC, Precision@k, and F-measure provably converge to the empirical risk minimizer, with convergence established via new uniform convergence-style results.
  • On the KDD 2008 dataset, the method achieved a pAUC of 64.8% in 30ms, outperforming a cutting-plane method that required over 1.2 seconds for comparable performance.
  • The method is orders of magnitude faster than state-of-the-art cutting-plane techniques while maintaining or improving accuracy on real-world and benchmark datasets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.