math.OCJul 5, 2026

Fast, Parallel, Query-Efficient Binary Classification

Authors: Ishani KarmarkarLiam O'CarrollAaron Sidford

Organizations: Stanford University

Abstract

We study the fundamental classification problem of computing a separating hyperplane for a binary-labeled dataset of size nn with normalized dd-dimensional features. Letting ΦRn×dΦ\in \mathbb{R}^{n \times d} denote the feature matrix and γγ the margin of the maximum-margin separating hyperplane, we present a randomized algorithm that solves this problem in O~(γ2/3nnz(Φ)+γ2(ω+1)/3)\tilde{O}(γ^{-2/3}\, \operatorname{nnz}(Φ) + γ^{-2(ω+1)/3})-sequential running time (work), O~(γ2/3)\tilde{O}(γ^{-2/3})-parallel (computational) depth, and accesses ΦΦ only through O~(γ2/3)\tilde{O}(γ^{-2/3})-matrix-vector queries (matvecs). We also present a second, faster randomized algorithm with a O~(γ2/3nnz(Φ)+γ2)\tilde{O}(γ^{-2/3}\, \operatorname{nnz}(Φ) + γ^{-2})-sequential running time that uses O~(γ2/3)\tilde{O}(γ^{-2/3})-matvecs to ΦΦ, but achieves only O~(γ4/3)\tilde{O}(γ^{-4/3})-parallel depth. Both algorithms match the near-optimal deterministic matvec complexity recently established by Kornowski and Shamir [2025], Karmarkar et al. [2026] and achieve improved sequential runtime and parallel depth, albeit at the expense of using randomness.

Explore similar work

CardsList