Debiasing Distributed Second Order Optimization with Surrogate Sketching and Scaled Regularization

Michal Derezinski, Burak Bartan, Mert Pilanci, Michael W. Mahoney

TL;DR

This paper introduces surrogate sketching and scaled regularization, two novel techniques designed to eliminate the inherent bias in distributed second-order optimization. By slightly "shrinking" the local regularization parameter, the authors enable distributed Newton-type methods to achieve true linear speedups as more workers are added, overcoming a fundamental bottleneck in large-scale machine learning.

The Bottleneck in Distributed Second-Order Optimization

Second-order optimization methods (like Newton’s method) are highly efficient because they use curvature information (the Hessian) to take smarter steps toward a solution. However, computing the full Hessian on massive datasets is prohibitively expensive. A common workaround is distributed sketching: each worker machine takes a small "sketch" (a representative subset or projection) of the data, computes a local update, and then these updates are averaged.

The catch? These local estimates are almost always biased. Even if you average results from thousands of machines, the final result won't converge to the true global solution because each individual machine was "wrong" in a systematic way. This "averaging bias" means that after a certain point, adding more workers provides zero benefit to convergence speed—a nightmare for scalability.

Overcoming Bias: Surrogate Sketches and Scaled Regularization

The authors tackle this bias through two main innovations:

  1. Surrogate Sketches: Most sketching methods use simple uniform sampling or Gaussian projections. The authors instead use Determinantal Point Processes (DPPs). DPPs are a family of distributions that favor "diverse" subsets of data. Crucially, the authors leverage recent mathematical breakthroughs in DPPs to derive exact formulas for the bias of an estimated inverse Hessian.
  2. Scaled Regularization: This is the "aha!" moment of the paper. The authors discovered that the act of sketching data actually introduces a form of implicit regularization. To fix the bias, you need to compensate by reducing the explicit regularization used by each worker. They provide a precise formula for this: if your global regularization is $\lambda$, each worker should use a smaller local parameter $\lambda' = \lambda \cdot (1 - \frac{d_\lambda}{m})$, where $m$ is the sketch size and $d_\lambda$ is the "effective dimension" of the data.

By combining these, they create a Distributed Newton Sketch where the averaged update is an unbiased estimate of the true global Newton step.

Key Insights

  • Sketching is Implicit Regularization: The most profound insight is that using a subset of data naturally "smooths" the problem in a way that looks exactly like $L_2$ regularization. This explains why standard distributed methods are biased: they are effectively double-regularizing the problem.
  • The Power of DPPs: While DPPs are often considered mathematically "heavy," the authors show they are the key to unlocking exact bias calculations that are impossible with standard random sampling.
  • Universality of the Fix: Although the theory is rooted in surrogate sketches, the authors found empirically that their "scaled regularization" trick also significantly reduces bias for standard Gaussian and Rademacher sketches. This makes the technique immediately useful even for practitioners not using DPPs.

Empirical Results

The researchers evaluated their methods on several standard benchmarks, including Boston Housing, CIFAR-10, and UCI Machine Learning Repository datasets (Statlog, Breast Cancer, Ionosphere).

Bias reduction across sketch types
  • Linear Scalability & Bias Reduction: Unlike previous methods where the convergence rate plateaus due to bias (solid lines), the authors' scaled method (dotted lines) achieves a convergence rate that continues to scale as the number of averaged outputs increases. More machines actually mean faster convergence.
  • Efficiency vs. Gradient Descent: On logistic regression tasks, the Distributed Newton Sketch reached high-precision solutions in significantly fewer iterations than standard methods, while maintaining low communication costs.
Convergence on UCI datasets

Limitations and Future Work

  • Computational Complexity: Constructing surrogate sketches is more expensive than uniform sampling. The construction time scales with $O(d^4 \log d)$, which might be a bottleneck for extremely high-dimensional features ($d$). However, the authors note this is a one-time preprocessing cost.
  • Sketch Size Requirements: Some of the strongest theoretical guarantees require a sketch size $m$ that is at least $O(d^2)$, which might be impractical for some very large-scale problems.
  • Hessian Assumptions: The convergence analysis for general convex losses relies on the Hessian being $L$-Lipschitz continuous, an assumption that holds for many but not all machine learning objectives.

Future work could involve finding ways to approximate surrogate sketches even faster or extending these debiasing techniques to non-convex optimization problems like deep learning.

Summary updated

BibTeX
@inproceedings{derezinski2020debiasing,
  author = {Michal Derezinski and Burak Bartan and Mert Pilanci and Michael W. Mahoney},
  title = {{Debiasing Distributed Second Order Optimization with Surrogate Sketching and Scaled Regularization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=V1Q6mpjJlmK},
}
Figure