Lune

ICLR2026Top-tier venue

An efficient, provably optimal algorithm for the 0-1 loss linear classification problem

Xi He, Max A Little

Abstract

Algorithms for solving the linear classification problem have a long history, dating back at least to 1936 with linear discriminant analysis. For linearly separable data, many algorithms can obtain the exact solution to the corresponding 0-1 loss classification problem efficiently, but for data which is not linearly separable, it has been shown that this problem, in full generality, is NP-hard. Alternative approaches all involve approximations of some kind, such as the use of surrogates for the 0-1 loss (for example, the hinge or logistic loss), none of which can be guaranteed to solve the problem exactly. Finding an efficient, rigorously proven algorithm for obtaining an exact (i.e., globally optimal) solution to the 0-1 loss linear classification problem remains an open problem.

By analyzing the combinatorial and incidence relations between hyperplanes and data points, we derive a rigorous construction algorithm, incremental cell enumeration (ICE), that can solve the 0-1 loss classification problem exactly in O(ND+1)O\left(N^{D+1}\right)---exponential in the data dimension DD. To the best of our knowledge, this is the first standalone algorithm---one that does not rely on general-purpose solvers---with rigorously proven guarantees for this problem. Moreover, we further generalize ICE to address the polynomial hypersurface classification problem in O(NG+1)O\left(N^{G+1}\right) time, where GG is determined by both the data dimension DD and the polynomial degree KK defining the hypersurface. The correctness of our algorithm is proved by the use of tools from the theory of hyperplane arrangements and oriented matroids.

We demonstrate the effectiveness of our algorithm on real-world datasets, achieving optimal training accuracy for small-scale datasets and higher test accuracy on most datasets. Furthermore, our complexity analysis shows that the ICE algorithm offers superior computational efficiency compared with state-of-the-art branch-and-bound algorithm.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on1

  1. Deep-ICE: The first globally optimal algorithm for empirical risk minimization of two-layer maxout and ReLU networksXi He, Yi Miao, Max A. LittleICLR 2026 · 3 citations

Related papers

  1. Adapting to Linear Separable Subsets with Large-Margin in Differentially Private LearningErchi Wang, Yuqing Zhu, Yu-Xiang WangICML 2025
  2. On the Complexity of PAC Learning in Hilbert SpacesSergei ChubanovAAAI 2023 · 1 citation
  3. Near-Optimal Cryptographic Hardness of Agnostically Learning Halfspaces and ReLU Regression under Gaussian MarginalsIlias Diakonikolas, Daniel Kane, Lisheng RenICML 2023 · 40 citations
  4. Optimal Classification Trees for Continuous Feature Data Using Dynamic Programming with Branch-and-BoundCatalin E. Brita, Jacobus G. M. van der Linden, Emir DemirovicAAAI 2025 · 5 citations
  5. Private Learning of Halfspaces: Simplifying the Construction and Reducing the Sample ComplexityHaim Kaplan, Yishay Mansour, Uri Stemmer, Eliad TsfadiaNeurIPS 2020 · 20 citations
Dusk over the sea between two cliffs drawn in fine vertical lines