Minimizing Close-k Aggregate Loss Improves Classification

Bryan He, James Zou
11/1/2018
cs.LGcs.AIstat.ML

Official code: bryanhe/closek (1 star, Python, MIT, last commit 2019-01-23).

Abstract

In classification, the de facto method for aggregating individual losses is the average loss. When the actual metric of interest is 0-1 loss, it is common to minimize the average surrogate loss for some well-behaved (e.g. convex) surrogate.

Show full abstract

Recently, several other aggregate losses such as the maximal loss and average top-$k$ loss were proposed as alternative objectives to address shortcomings of the average loss. However, we identify common classification settings, e.g. the data is imbalanced, has too many easy or ambiguous examples, etc., when average, maximal and average top-$k$ all suffer from suboptimal decision boundaries, even on an infinitely large training set. To address this problem, we propose a new classification objective called the close-$k$ aggregate loss, where we adaptively minimize the loss for points close to the decision boundary. We provide theoretical guarantees for the 0-1 accuracy when we optimize close-$k$ aggregate loss. We also conduct systematic experiments across the PMLB and OpenML benchmark datasets. Close-$k$ achieves significant gains in 0-1 test accuracy, improvements of $\geq 2$% and $p<0.05$, in over 25% of the datasets compared to average, maximal and average top-$k$. In contrast, the previous aggregate losses outperformed close-$k$ in less than 2% of the datasets.

View on arXivView PDF

Code Implementations(1)

bryanhe/closekOfficial100%
MIT
10Python, ShellNov 3, 20187 years agoMIT

Similar Papers

Cite this paper

@article{he2018minimizing,
  title  = {Minimizing Close-k Aggregate Loss Improves Classification},
  author = {Bryan He and James Zou},
  year   = {2018},
  eprint = {1811.00521},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1811.00521}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1811.00521.svg)](https://codeofpaper.com/paper/1811.00521)

Discussion