Distributed Variable Sample-Size Stochastic Optimization With Fixed Step-Sizes

Jinlong Lei, Peng Yi, Jie Chen, Yiguang Hong

TL;DR

This paper introduces a distributed stochastic gradient tracking algorithm that achieves exact convergence using fixed step-sizes by adaptively increasing the gradient sample size (batch size) over time. For strongly convex problems, the algorithm achieves a geometric convergence rate, matching the efficiency of deterministic methods while maintaining the oracle complexity of centralized stochastic gradient descent (SGD).

What Problem Does This Paper Address?

In distributed stochastic optimization, a group of agents in a network tries to minimize a global cost function (the average of their local functions) based on noisy, sampled data. Traditionally, researchers face a frustrating trade-off:

  1. Fixed Step-sizes: These lead to fast initial progress but only converge to a "neighborhood" of the optimal solution because gradient noise persists.
  2. Diminishing Step-sizes: These ensure exact convergence to the optimum but result in much slower convergence rates (typically sublinear).

The challenge is even greater in randomly switching networks, where communication links between agents are not constant. This paper seeks a "best of both worlds" approach: an algorithm that converges exactly to the optimal solution at a fast (geometric) rate using fixed step-sizes.

Methods

The authors propose a Distributed Variable Sample-size Stochastic Gradient Tracking algorithm. It combines two powerful ideas:

  • Gradient Tracking: A technique where agents maintain an auxiliary variable to estimate the global average gradient. This helps overcome the "heterogeneity" problem where different agents have different local optima.
  • Variable Sample Size (Variance Reduction): Instead of using a single sample per iteration, agents estimate their local gradients by averaging across $N(k)$ samples. By increasing $N(k)$ as the algorithm progresses, the variance of the gradient estimate effectively goes to zero.

What’s New: Unlike existing variance reduction methods like SAGA or SVRG, which often require periodic "exact" gradient computations (prohibitive in truly stochastic settings), this method only requires increasing the number of samples. It is specifically designed to handle the triple uncertainty of stochastic gradients, distributed data, and random network topologies.

Datasets

The paper is primarily theoretical, but the authors validate their findings using a Distributed Parameter Estimation problem (linear regression).

  • Setup: A network of $n=200$ agents trying to estimate a $d=10$ dimensional parameter.
  • Data Generation: Measurements are generated via a linear model $d_{i,p} = u_{i,p}^T x^* + \nu_{i,p}$, where $u$ is a regression vector and $\nu$ is Gaussian noise.
  • Network: 10 undirected networks were randomly generated and sampled at each iteration to simulate a switching topology.

Key Insights and Ideas

  • Noise Control vs. Step-size Control: The fundamental "aha" moment is that you don't have to shrink the step-size if you shrink the noise. By increasing the batch size $N(k)$, the "noise" in the stochastic gradient vanishes, allowing a constant step-size to drive the error to zero.
  • Geometric Convergence: If the global cost is strongly convex and the sample size grows at a geometric rate (e.g., $N(k) = \lceil q^{-2k} \rceil$), the error also drops geometrically. This is a significant speedup over the $O(1/k)$ rates typical of diminishing step-size methods.
  • Communication Efficiency: Because the algorithm uses fixed step-sizes, it requires fewer communication rounds to reach a specific accuracy $\epsilon$ compared to traditional stochastic methods. This makes it ideal for networks where communication is "expensive" relative to local computation.

Key Results

  • Almost Sure Convergence: For standard convex functions, the iterates converge to the optimal solution as long as the sample size grows such that $\sum 1/N(k) < \infty$.
  • Strongly Convex Performance:
    • Iteration Complexity: $O(\ln(1/\epsilon))$, matching deterministic optimization.
  • Oracle Complexity (Total Samples): $O(1/\epsilon^2)$, which is the theoretical "gold standard" for centralized SGD.
  • Communication Complexity: $O(|E| \ln(1/\epsilon))$, where $|E|$ is the number of edges.
  • Numerical Validation: Simulations confirmed that the proposed method (D-VSS-SGT) outperforms standard distributed SGD (D-SGD) and distributed gradient tracking with fixed batch sizes, which plateau and fail to reach the exact optimum.

Limitations and Future Work

  • Computational Burden: While communication is saved, the local computational cost per iteration grows over time as the batch size $N(k)$ increases. In the later stages of the algorithm, calculating the gradient for a massive batch might become a bottleneck.
  • Network Assumptions: The current proof relies on i.i.d. (identically and independently distributed) random networks. Extending this to more complex, non-i.i.d. time-varying graphs is a logical next step.
  • Non-Convexity: The paper focuses on convex and strongly convex functions. Applying these variable sample-size techniques to non-convex problems (like deep learning) remains an open and promising research direction.

Summary updated

BibTeX
@article{lei2022distributed,
  author = {Jinlong Lei and Peng Yi and Jie Chen and Yiguang Hong},
  title = {{Distributed Variable Sample-Size Stochastic Optimization With Fixed Step-Sizes}},
  journal = {IEEE Transactions on Automatic Control},
  year = {2022},
  doi = {10.1109/tac.2022.3179216},
}
Figure