A Split-Client Approach to Second-Order Optimization

El Mahdi Chayti, Martin Jaggi · DOI

Abstract

Second-order optimization methods, such as Newton’s method, provide mathematically superior convergence paths compared to first-order methods like SGD. However, their adoption in large-scale machine learning is hindered by the "Hessian bottleneck"—the prohibitive cost of computing and decomposing curvature information. This paper introduces a split-client framework that decouples high-frequency gradient updates from expensive, asynchronous Hessian computations. This method achieves a provable wall-clock speedup proportional to $\sqrt{\tau}$ (where $\tau$ is the relative cost of the Hessian) and eliminates the need for manual tuning of update frequencies.

Introduction

In the landscape of mathematical optimization, second-order methods are prized for their ability to navigate complex loss surfaces using curvature information. Despite this, the computational reality of modern machine learning often forces a reliance on first-order methods. The primary obstacle is the Hessian matrix: computing it and performing the necessary matrix decompositions (like Cholesky or SVD) can be orders of magnitude slower than calculating a simple gradient.

Existing attempts to mitigate this, such as "Lazy Hessian" methods, reuse curvature information across multiple steps. However, these methods typically block execution while the Hessian is refreshed and require practitioners to manually tune the refresh frequency—a parameter that varies wildly across different problem dimensions and hardware configurations.

The Split-Client Framework

The authors propose a paradigm shift by treating optimization as a collaborative effort between two independent agents: a Gradient Client and a Curvature Client.

Comparison of optimization frameworks: (A) Vanilla, (B) Lazy Hessian, and (C) the proposed Split-Client approach.
  1. The Gradient Client: This agent operates at a high frequency, computing exact gradients at the current iterate and taking steps using the most recent available curvature information.
  2. The Curvature Client: This agent runs in the background, computing and decomposing the Hessian. Because this process is time-consuming, the curvature information it provides is inherently "stale" or delayed by $\tau$ steps by the time it reaches the Gradient Client.

By utilizing Cubic Regularization, the algorithm remains robust even when using delayed curvature data. This architecture allows gradient updates to proceed on fast hardware (e.g., GPUs) while the heavy matrix algebra is offloaded to other resources (e.g., CPUs or distributed workers), effectively eliminating processor idle time.

Theoretical and Empirical Insights

The $\sqrt{\tau}$ Speedup

A core theoretical contribution of this work is the proof that asynchrony provides a wall-clock speedup proportional to the square root of the Hessian's relative cost. For instance, if computing a Hessian takes 100 times longer than a gradient update, the split-client method can offer approximately a 10x speedup over traditional Newton methods.

Natural Tuning and Decomposition Bottlenecks

Unlike "Lazy" methods that require a pre-defined update frequency $m$, the split-client model adapts naturally to the hardware. The "delay" is simply the time the hardware requires to complete the computation. Furthermore, the paper highlights that as model dimensions grow, the time spent on matrix decomposition becomes the dominant factor. The split-client approach specifically targets this by overlapping decomposition with active gradient steps.

Experimental Evaluation

The framework was tested across several benchmarks, including synthetic Gaussian data for logistic regression, the standard a1a dataset, and a smooth non-convex regression task.

Key Results

  • Wall-Clock Performance: In both convex and non-convex settings, the asynchronous cubic method significantly outperformed "Vanilla" Newton and "Lazy" Hessian baselines in terms of total execution time.
  • Bounded Staleness: Empirical observations confirmed that the delay $\tau$ remained stable during execution, typically fluctuating between 2 and 9 iterations, which supports the theoretical assumptions of the model.
  • Memory Trade-offs: The primary drawback is a roughly 2x increase in memory usage. The system must store the active Hessian currently being used for steps while simultaneously computing the next Hessian in the background.

Conclusion and Future Work

The split-client framework offers a promising path toward making second-order optimization practical for larger models by embracing asynchrony. While the memory overhead presents a challenge for extremely large-scale models, potential solutions include the use of low-rank approximations like L-BFGS. Future research directions include exploring hardware heterogeneity in distributed systems and extending the theory to handle stochastic or subsampled Hessians.

Summary updated

BibTeX
@misc{chayti2025split,
  author = {El Mahdi Chayti and Martin Jaggi},
  title = {{A Split-Client Approach to Second-Order Optimization}},
  year = {2025},
  eprint = {2510.15714},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.15714},
}
Figure