NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Efficient Asynchronize Stochastic Gradient Algorithm with Structured Data

Zhao Song, Mingquan Ye · OpenReview

Abstract

Deep learning's success is often tempered by the computational cost of training large-scale models. A primary bottleneck in Stochastic Gradient Descent (SGD) is that the cost per iteration typically scales linearly with the input dimension $d$. This paper introduces a novel optimization framework that leverages Kronecker-structured data and a specialized "Asynchronous Tree" data structure to achieve training costs that are effectively independent of $d$ for two-layer neural networks. We provide theoretical guarantees for convergence and demonstrate that sublinear time complexity is achievable when data possesses specific structural properties.

Introduction

The training of deep neural networks involves optimizing millions of parameters over high-dimensional datasets. As data dimensionality increases—driven by high-resolution imagery, genomic sequences, and complex sensor arrays—the computational burden of standard SGD becomes a significant hurdle. While techniques like Locality-Sensitive Hashing (LSH) and space-partitioning have been proposed to mitigate this, they often still suffer from costs proportional to the input dimension $d$.

This research addresses the fundamental question: Is it possible to perform SGD updates in time that is independent of the data dimension? By focusing on two-layer fully connected networks and exploiting the inherent structure of input data, we demonstrate that such efficiency is indeed possible.

Methodology

The proposed approach, termed Kronecker SGD, rests on three pillars: structural assumptions, specialized data structures, and algorithmic "tricks" for tensor operations.

1. Kronecker Structured Data

The core assumption is that input data points $x \in \mathbb{R}^d$ exhibit a Kronecker (or tensor) product structure, such that $x = b \otimes a$. This structure is not merely a mathematical convenience; it is frequently observed in fields like bioinformatics and computer vision, where multi-modal features are fused via tensor products to create comprehensive feature representations.

2. The Asynchronous Tree

To manage the hidden layer neurons efficiently, we introduce an Asynchronous Tree. This binary tree structure facilitates two primary operations:

  • Query: For a given input, the tree identifies "active" neurons—those that exceed the threshold of the activation function—in $O(\log m)$ time, where $m$ is the network width.
  • Update: When weights are adjusted during backpropagation, the tree updates stored inner products without recomputing the entire network state.

3. The Tensor Trick

By utilizing the properties of Kronecker products, the algorithm avoids the explicit construction of $d$-dimensional vectors. Instead, it performs computations on the smaller constituent vectors $a$ and $b$. This "Tensor Trick" allows the inner product calculations and weight updates to bypass the $O(d)$ bottleneck entirely.

Theoretical Framework

The study utilizes a two-layer fully connected neural network with a shifted ReLU activation function: $$\phi_\tau(x) = \max\{x - \tau, 0\}$$ The shift parameter $\tau$ is crucial as it induces the sparsity required for the Asynchronous Tree to operate effectively. By ensuring that only a subset of neurons is active at any given iteration, the tree can prune the search space significantly.

Key Results and Convergence

The primary contribution of this work is the proof of dimension-independent scaling. We demonstrate that the per-iteration cost of the proposed SGD variant is $S_{batch}^2 \cdot o(m) \cdot n$, where $n$ is the number of samples. Notably, the dimension $d$ does not appear in this complexity term, representing a significant leap over traditional $O(d)$ methods.

Furthermore, we provide a formal convergence theorem (Theorem 7.5). The theorem establishes that despite the use of specialized data structures and structural assumptions, the algorithm maintains a linear convergence rate similar to standard SGD. This ensures that the gains in efficiency do not come at the cost of model accuracy or stability.

Discussion and Limitations

While this work provides a rigorous theoretical foundation for sublinear training, several challenges remain for practical implementation:

  • Architectural Scope: The current proofs are tailored to two-layer networks. Extending these principles to deeper architectures like ResNets or Transformers is a necessary next step.
  • Structural Dependency: The speedup is contingent on the Kronecker structure of the input. While applicable to specific domains, it is not a universal solution for all data types.
  • Hardware Alignment: Modern GPUs are optimized for dense matrix multiplication. The "Asynchronous Tree" involves tree traversals and sparse updates, which may require specialized hardware kernels to realize the theoretical "wall-clock" speedups in practice.

Conclusion

By shifting the focus from model architecture to the structure of the input data, this paper demonstrates that the $O(d)$ barrier in SGD is not insurmountable. Kronecker SGD offers a path toward training high-dimensional models with unprecedented efficiency, providing a theoretical blueprint for the next generation of optimization algorithms.

Summary updated

BibTeX
@misc{song2023efficient,
  author = {Zhao Song and Mingquan Ye},
  title = {{Efficient Asynchronize Stochastic Gradient Algorithm with Structured Data}},
  year = {2023},
  eprint = {2305.08001},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.08001},
}

Loading related content...

Figure