Simpler Methods Work Better for L1 Penalized Logistic Models and Large Datasets

Edward Raff, James HoltarXiv 2026

TL;DR

Modern "state-of-the-art" $L_1$ solvers are over-engineered for extreme sparsity and fail on large, real-world datasets with realistic regularization strengths. Surprisingly, a decade-old method (Liblinear) and a lightly engineered baseline using standard LBFGS on a subgradient (LBFGS*) drastically outperform modern alternatives while scaling effortlessly in production pipelines.

What Problem Does This Paper Address?

High-dimensional linear models with $L_1$ regularization (like Lasso or Elastic-Net) are critical in industry for tasks like malware classification because they produce compact, fast models. However, the authors identify a massive gap between academic evaluation and industry needs.

Academics typically evaluate solvers using extreme regularization penalties where only a tiny fraction of features (e.g., ~100 out of millions) are selected. In production, practitioners need moderate regularization (e.g., Scikit-Learn's default $C=1$) to maximize classification accuracy. Under these realistic settings, modern academic solvers (such as skglm, Celer, and SAGA) become prohibitively slow, crash, or fail to converge entirely.

Methods

The authors introduce LBFGS*, a simple baseline that applies the standard LBFGS optimization algorithm directly to the minimum-norm subgradient of the $L_1$ objective. Despite being historically dismissed due to theoretical non-convergence at zero, they make it highly effective using four simple engineering heuristics:

  1. Smart Initialization: A 1D optimization using Brent's method to correctly scale initial weights before full optimization begins.
  2. Robust Convergence Detection: Utilizing an Exponential Moving Average (EMA) of objective function changes to prevent premature termination caused by noisy iterations.
  3. History Resetting: Clearing LBFGS memory if a line search step becomes too small, allowing the optimizer to recover from non-differentiable points.
  4. Active Set Pruning (Clipping): Dynamically removing features whose subgradients fall below a threshold, drastically reducing the dimensionality of the problem mid-optimization.
Fig. 1. Sparsity of the active set (y-axis, higher is better) as optimization iterations proceed (x-axis). Solid lines indicate C=0.01, dashed lines indicate C=1.0. In most cases, the majority of dimensions are discarded, enabling faster execution, but in high-density cases the optimization can re-introduce variables periodically.

Datasets

The paper evaluates performance across seven large, high-dimensional datasets where the number of features ($d$) often rivals or exceeds the number of samples ($n$):

  • avazu-app & avazu-site (Click-through rate prediction)
  • url (Malicious URL detection)
  • kdda, kddb, & kdd12 (Educational data / customer relationship management)
  • webspam (Web spam classification)
  • gisette (Handwritten digit recognition, used as a smaller baseline)

Key Insights and Ideas

  • Academic Overfitting to Metrics: The research community has been using $\lambda/\lambda_{max}$ ratios as a standard evaluation metric. This has inadvertently masked the fact that modern algorithms only work well when the solution is practically empty.
  • The Parallelization Bottleneck: Coordinate descent (the backbone of modern solvers) updates one feature column at a time. This is inherently sequential and causes massive cache misses. Full-gradient methods like LBFGS* update all features simultaneously via matrix-vector products, making them naturally parallelizable.
  • Theory vs. Practice: While algorithms like OWL-QN were explicitly designed to fix LBFGS's theoretical non-convergence on $L_1$ problems, the extra mathematical overhead actually makes them slower in practice than a lightly modified standard LBFGS.

Key Results

  • Modern Solver Failures: At the realistic default penalty of $C=1$, modern solvers like skglm, Celer-PN, and SAGA routinely timed out (>24 hours) or failed to converge on large datasets.
  • The Old King Reigns: Liblinear (released over a decade ago) remains one of the fastest and most robust coordinate-descent solvers available for single-core execution.
  • LBFGS* Performance: LBFGS* achieved the best test accuracy in 8 out of 14 configurations and consistently outpaced its theoretically sound cousin, OWL-QN, due to the efficiency of its active-set clipping strategy.
Cumulative time taken over optimization steps
  • Parallelization Wins: When scaled to 12 CPU cores, Liblinear actually became slower (by 2x or more) due to memory thrashing. In contrast, LBFGS* achieved significant multi-core speedups, dropping the URL dataset training time from 84.5 seconds down to 15.1 seconds.

Limitations and Future Work

The primary limitation of LBFGS* is theoretical: because the $L_1$ norm is non-differentiable at zero, it lacks a formal mathematical proof of convergence. While this did not impact practical performance on large classification tasks, it may cause issues in other optimization domains.

For future work, the authors note that full-gradient methods are heavily bound by sparse matrix-vector multiplication (SpMV) speeds. They suggest that exploring alternative sparse row formats could unlock even greater GPU and multi-core acceleration.

Summary updated

BibTeX
@misc{raff2026simpler,
  author = {Edward Raff and James Holt},
  title = {{Simpler Methods Work Better for L1 Penalized Logistic Models and Large Datasets}},
  year = {2026},
  eprint = {2609.23995},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.23995},
}
Figure