cs.LGApr 3, 2026

Efficient Logistic Regression with Mixture of Sigmoids

Authors: Federico Di Gennaro, Saptarshi Chakraborty, Nikita Zhivotovskiy

Organizations: ETH Zürich · University of Michigan · UC Berkeley

Abstract

This paper studies the Exponential Weights (EW) algorithm with an isotropic Gaussian prior for online logistic regression. We show that the near-optimal worst-case regret bound O(dlog⁡(Bn))O(d\log(Bn)) for EW, established by Kakade and Ng (2005) against the best linear predictor of norm at most BB, can be achieved with total worst-case computational complexity O(B3n5)O(B^3 n^5). This substantially improves on the O(B18n37)O(B^{18}n^{37}) complexity of prior work achieving the same guarantee (Foster et al., 2018). Beyond efficiency, we analyze the large-BB regime under linear separability: after rescaling by BB, the EW posterior converges as B→∞B\to\infty to a standard Gaussian truncated to the version cone. Accordingly, the predictor converges to a solid-angle vote over separating directions and, on every fixed-margin slice of this cone, the mode of the corresponding truncated Gaussian is aligned with the hard-margin SVM direction. Using this geometry, we derive non-asymptotic regret bounds showing that once BB exceeds a margin-dependent threshold, the regret becomes independent of BB and grows only logarithmically with the inverse margin. Overall, our results show that EW can be both computationally tractable and geometrically adaptive in online classification.

Figures & tables

Appendix figures & tables2 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

Aug 27, 2026

Sharp Minimax Regret for Infinite-Memory Logistic Prediction

We determine the minimax cumulative log-loss regret of a finite-alphabet, exogenously driven source with genuinely infinite input memory: independent Rademacher inputs (Ut)(U_t) are observed sequentially and the next binary mark has logit ∑j≥1θjUt+1−j\sum_{j\ge1}θ_jU_{t+1-j}, the unknown coefficients obeying a summable envelope ∣θj∣≤rj|θ_j|\le r_j, ∑jrj≤B\sum_jr_j\le B. At horizon TT, lag jj can move the logit by at most rjr_j and is exercised in only nT,j=(T−j+1)+n_{T,j}=(T-j+1)_+ rounds, and the two limitations combine into the sum ΓT(r)=∑j≤Tlog⁡(1+nT,jrj2)Γ_T(r)=\sum_{j\le T}\log(1+n_{T,j}r_j^{2}). One coordinate-localised Bayesian mixture achieves RT(r)≤CΓT(r)R_T(r)\le CΓ_T(r) for every summable envelope with CC universal. Our main result is a matching nonasymptotic converse for the canonical exponential and polynomial envelopes; its new ingredients are a modular finite-sample information bound for logistic experiments with an exogenous random design, and a conditioning estimate for the overlapping Toeplitz lag matrix obtained by exhibiting each off-diagonal Gram sum as a sum of independent Rademacher variables indexed by the edges of a forest, needing neither local asymptotic normality nor any spectral theorem for random Toeplitz matrices. So ΓT(r)Γ_T(r) is the minimax regret scale here, giving Θ(α−1log⁡2T)Θ(α^{-1}\log^{2}T) for rj=Ae−αjr_j=Ae^{-αj} and Θ(T1/(2s))Θ(T^{1/(2s)}) for rj=Aj−sr_j=Aj^{-s}, s>1s>1 --- the latter without the extra (log⁡T)1−1/(2s)(\log T)^{1-1/(2s)} factor any window-truncation analysis pays. We also show memory decay cannot determine regret, and that a profile-scaled online Newton predictor attains OB(ΓT(r))O_B(Γ_T(r)) in polynomial time per round.
Aug 26, 2026

Fast rates in Bayesian online learning with approximate posteriors

Exact Bayes prediction enjoys fast predictive regret guarantees, but exact posterior updating or representation may be too costly for online use. We study when these statistical guarantees are preserved by computational approximations. We show that the cumulative price of posterior approximation can be governed by the interaction between the contraction radius of the exact Gibbs posterior and the Wasserstein distance between the approximate and exact posteriors. Our general theorem shows that whenever exact Bayes prediction achieves a fast regret bound, any approximate posterior method that tracks the exact posterior with sufficient accuracy inherits the same fast regret, up to an additive term determined by the approximation error. Three online learning examples are developed. For linear models with strongly convex regularized losses, a projected Langevin algorithm yields an approximate posterior that achieves logarithmic regret. For an infinite-dimensional canonical exponential family sequence model over a Sobolev ellipsoid, a prior-preserving truncation method attains the minimax predictive regret rate with sublinear memory and constant update cost per observation. For random-design Gaussian process (GP) regression, a sparse variational posterior with inducing variables achieves the same predictive regret rate as the exact GP, but at substantially lower computational cost.
Sep 27, 2026

Oracle-Efficient Online Classification with Stochastic Inputs and Adversarial Outputs

We consider binary prediction with i.i.d. contexts from an unknown distribution and adaptively chosen losses. We show that a simple Follow-the-Perturbed-Leader algorithm using a Gaussian perturbation for each observed context achieves O~(Tlog⁡N)\widetilde O(\sqrt{T\log N}) regret for a class of NN experts, while requiring one optimization-oracle call per round and no explicit enumeration of the class. For an infinite hypothesis class H\mathcal H, the same algorithm achieves O~(TVC⁡(H))\widetilde O(\sqrt{T\operatorname{VC}(\mathcal H)}) regret. This resolves an open problem posed by Lazaric and Munos (2012), showing that hybrid classification is computationally as easy as statistical learning. As an application, we reduce the problem of contextual bandits with KK actions to classification through uniform exploration, achieving O~(K2/3T2/3(log⁡N)1/3)\widetilde O(K^{2/3}T^{2/3}(\log N)^{1/3}) regret. This matches the best known dependence on the horizon while removing the context-distribution access required by prior oracle-efficient methods.