Bypass Exponential Time Preprocessing: Fast Neural Network Training via Weight-Data Correlation Preprocessing
Not on the map. Why?
Abstract (arXiv)
Over the last decade, deep neural networks have transformed our society, and they are already widely applied in various machine learning applications. State-of-art deep neural networks are becoming larger in size every year to deliver increasing model accuracy, and as a result, model training consumes substantial computing resources and will only consume more in the future. Using current training methods, in each iteration, to process a data point x ∈ ℝd in a layer, we need to spend Theta(md) time to evaluate all the m neurons in the layer. This means processing the entire layer takes Theta(nmd) time for n data points. Recent work [Song, Yang and Zhang, NeurIPS 2021] reduces this time per iteration to o(nmd), but requires exponential time to preprocess either the data or the neural network weights, making it unlikely to have practical usage. In this work, we present a new preprocessing method that simply stores the weight-data correlation in a tree data structure in order to quickly, dynamically detect which neurons fire at each iteration. Our method requires only O(nmd) time in preprocessing and still achieves o(nmd) time per iteration. We complement our new algorithm with a lower bound, proving that assuming a popular conjecture from complexity theory, one could not substantially speed up our algorithm for dynamic detection of firing neurons.
Key facts. Cited by 29 papers in the map (data through 14 Oct 2026). Builds on 49 of its 100 references that are in the map. First posted on arXiv 25 Nov 2022.
Builds on
49 of 100 references.
References · 49
- 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,621
- 2020Reformer: The Efficient Transformercited by 1,668
- 2018A Convergence Theory for Deep Learning via Over-Parameterizationcited by 787
- 2018Gradient Descent Provably Optimizes Over-parameterized Neural Networkscited by 659
- 2019On Exact Computation with an Infinitely Wide Neural Netcited by 573
- 2019Fine-Grained Analysis of Optimization and Generalization for Overparameterized Two-Layer Neural Networkscited by 566
- 2018Learning Overparameterized Neural Networks via Stochastic Gradient Descent on Structured Datacited by 261
- 2019Generalization Bounds of Stochastic Gradient Descent for Wide and Deep Neural Networkscited by 222
- 2019Towards moderate overparameterization: global convergence guarantees for training shallow neural networkscited by 176
- 2019An Improved Analysis of Training Over-parameterized Deep Neural Networkscited by 121
- 2019Polylogarithmic width suffices for gradient descent to achieve arbitrarily small test error with shallow ReLU networkscited by 121
- 2014Asymmetric LSH (ALSH) for Sublinear Time Maximum Inner Product Search (MIPS)cited by 109
37 more
- 2015Practical and Optimal LSH for Angular Distancecited by 106
- 2018Solving Linear Programs in the Current Matrix Multiplication Timecited by 100
- 2018On the Convergence Rate of Training Recurrent Neural Networkscited by 82
- 2019Fast Convergence of Natural Gradient Descent for Overparameterized Neural Networkscited by 76
- 2021Pixelated Butterfly: Simple and Efficient Sparse training for Neural Network Modelscited by 76
- 2021Training Multi-Layer Over-Parametrized Neural Network in Subquadratic Timecited by 62
- 2019Quadratic Suffices for Over-parametrization via Matrix Chernoff Boundcited by 59
- 2020Training (Overparametrized) Neural Networks in Near-Linear Timecited by 58
- 2018Approximate Nearest Neighbor Search in High Dimensionscited by 47
- 2019SLIDE : In Defense of Smart Algorithms over Hardware Acceleration for Large-Scale Deep Learning Systemscited by 46
- 2015Optimal Data-Dependent Hashing for Approximate Near Neighborscited by 44
- 2019Gram-Gauss-Newton Method: Learning Overparameterized Neural Networks for Regression Problemscited by 40
- 2020Over-parameterized Adversarial Training: An Analysis Overcoming the Curse of Dimensionalitycited by 36
- 2022A Faster Small Treewidth SDP Solvercited by 36
- 2021Does Preprocessing Help Training Over-parameterized Neural Networks?cited by 32
- 2020Generalized Leverage Score Sampling for Neural Networkscited by 26
- 2022Sketching for First Order Method: Efficient Algorithm for Low-Bandwidth Channel and Vulnerabilitycited by 25
- 2020Algorithms and Hardness for Linear Algebra on Geometric Graphscited by 22
- 2022Training Overparametrized Neural Networks in Sublinear Timecited by 22
- 2018Hardness of Approximate Nearest Neighbor Searchcited by 19
- 2022Optimal-Degree Polynomial Approximations for Exponentials and Gaussian Kernel Density Estimationcited by 19
- 2014Edit Distance Cannot Be Computed in Strongly Subquadratic Time (unless SETH is false)cited by 18
- 2022Federated Adversarial Learning: A Framework with Convergence Analysiscited by 17
- 2014Improved Asymmetric Locality Sensitive Hashing (ALSH) for Maximum Inner Product Search (MIPS)cited by 15
- 2022Bounding the Width of Neural Networks via Coupled Initialization -- A Worst Case Analysiscited by 15
- 2021FL-NTK: A Neural Tangent Kernel-based Framework for Federated Learning Convergence Analysiscited by 13
- 2018On The Hardness of Approximate and Exact (Bichromatic) Maximum Inner Productcited by 12
- 2014Why walking the dog takes time: Frechet distance has no strongly subquadratic algorithms unless SETH failscited by 6
- 2017On the Difference Between Closest, Furthest, and Orthogonal Pairs: Nearly-Linear vs Barely-Subquadratic Complexity in Computational Geometrycited by 6
- 2018On Closest Pair in Euclidean Metric: Monochromatic is as Hard as Bichromaticcited by 6
- 2015Which Regular Expression Patterns are Hard to Match?cited by 5
- 2018Multivariate Fine-Grained Complexity of Longest Common Subsequencecited by 5
- 2018An Equivalence Class for Orthogonal Vectorscited by 5
- 2015Subtree Isomorphism Revisitedcited by 2
- 2016A Dichotomy for Regular Expression Membership Testingcited by 2
- 2017Conditional Lower Bounds for All-Pairs Max-Flowcited by 2
- 2022Hardness for Triangle Problems under Even More Believable Hypotheses: Reductions from Real APSP, Real 3SUM, and OVcited by 2
Built on by
Citing papers per year: 2022: 2; 2023: 22; 2024: 3; 2025: 2.
29 papers.
Sort:
By area:
- 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 252
- 2023Attention Scheme Inspired Softmax Regressioncited by 49
- 2023An Over-parameterized Exponential Regressioncited by 45
- 2023An Iterative Algorithm for Rescaled Hyperbolic Functions Regressioncited by 35
- 2023A Fast Optimization View: Reformulating Single Layer Attention in LLM Based on Tensor and SVM Trick, and Solving It in Matrix Multiplication Timecited by 30
- 2024The Fine-Grained Complexity of Gradient Computation for Training Large Language Modelscited by 30
- 2023How to Protect Copyright Data in Optimization of Large Language Models?cited by 26
- 2023GradientCoin: A Peer-to-Peer Decentralized Large Language Modelscited by 23
- 2023Solving Attention Kernel Regression Problem via Pre-conditionercited by 20
- 2023Why Softmax Attention Outperforms Linear Attentioncited by 15
- 2022Adaptive and Dynamic Multi-Resolution Hashing for Pairwise Summationscited by 14
- 2024Differential Privacy Mechanisms in Neural Tangent Kernel Regressioncited by 14
17 more
- 2023A Unified Scheme of ResNet and Softmaxcited by 12
- 2023Unmasking Transformers: A Theoretical Approach to Data Recovery via Attention Weightscited by 12
- 2023Toward Highly Efficient and Private Submodular Maximization via Matrix-Based Accelerationcited by 11
- 2023Efficient SGD Neural Network Training via Sublinear Activated Neuron Identificationcited by 11
- 2025Video Latent Flow Matching: Optimal Polynomial Projections for Video Interpolation and Extrapolationcited by 11
- 2023Federated Empirical Risk Minimization via Second-Order Methodcited by 9
- 2023Efficient Alternating Minimization with Applications to Weighted Low Rank Approximationcited by 9
- 2023An Automatic Learning Rate Schedule Algorithm for Achieving Faster Convergence and Steeper Descentcited by 9
- 2023Local Convergence of Approximate Newton Method for Two Layer Nonlinear Regressioncited by 9
- 2023Is Solving Graph Neural Tangent Kernel Equivalent to Training Graph Neural Network?cited by 8
- 2023Fast and Efficient Matching Algorithm with Deadline Instancescited by 7
- 2023Convergence of Two-Layer Regression with Nonlinear Unitscited by 6
- 2023A Theoretical Insight into Attack and Defense of Gradient Leakage in Transformercited by 6
- 2022A Faster k-means++ Algorithmcited by 4
- 2024Advancing the Understanding of Fixed Point Iterations in Deep Neural Networks: A Detailed Analytical Studycited by 4
- 2025When Can We Solve the Weighted Low Rank Approximation Problem in Truly Subquadratic Time?cited by 3
- 2023Neural Networks with Sparse Activation Induced by Large Bias: Tighter Analysis with Bias-Generalized NTKcited by 2
- 2025When Can We Solve the Weighted Low Rank Approximation Problem in Truly Subquadratic Time?24 Feb 2025
- 2025Video Latent Flow Matching: Optimal Polynomial Projections for Video Interpolation and Extrapolation1 Feb 2025
- 2024Advancing the Understanding of Fixed Point Iterations in Deep Neural Networks: A Detailed Analytical Study15 Oct 2024
- 2024Differential Privacy Mechanisms in Neural Tangent Kernel Regression18 Jul 2024
- 2024The Fine-Grained Complexity of Gradient Computation for Training Large Language Models7 Feb 2024
- 2023Local Convergence of Approximate Newton Method for Two Layer Nonlinear Regression26 Nov 2023
- 2023A Theoretical Insight into Attack and Defense of Gradient Leakage in Transformer22 Nov 2023
- 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Time26 Oct 2023
- 2023Unmasking Transformers: A Theoretical Approach to Data Recovery via Attention Weights19 Oct 2023
- 2023Why Softmax Attention Outperforms Linear Attention18 Oct 2023
- 2023An Automatic Learning Rate Schedule Algorithm for Achieving Faster Convergence and Steeper Descent17 Oct 2023
- 2023A Unified Scheme of ResNet and Softmax23 Sep 2023
17 more
- 2023Is Solving Graph Neural Tangent Kernel Equivalent to Training Graph Neural Network?14 Sep 2023
- 2023A Fast Optimization View: Reformulating Single Layer Attention in LLM Based on Tensor and SVM Trick, and Solving It in Matrix Multiplication Time14 Sep 2023
- 2023Solving Attention Kernel Regression Problem via Pre-conditioner28 Aug 2023
- 2023How to Protect Copyright Data in Optimization of Large Language Models?23 Aug 2023
- 2023GradientCoin: A Peer-to-Peer Decentralized Large Language Models21 Aug 2023
- 2023Convergence of Two-Layer Regression with Nonlinear Units16 Aug 2023
- 2023Efficient SGD Neural Network Training via Sublinear Activated Neuron Identification13 Jul 2023
- 2023Efficient Alternating Minimization with Applications to Weighted Low Rank Approximation7 Jun 2023
- 2023Federated Empirical Risk Minimization via Second-Order Method27 May 2023
- 2023Toward Highly Efficient and Private Submodular Maximization via Matrix-Based Acceleration15 May 2023
- 2023Fast and Efficient Matching Algorithm with Deadline Instances15 May 2023
- 2023An Iterative Algorithm for Rescaled Hyperbolic Functions Regression1 May 2023
- 2023Attention Scheme Inspired Softmax Regression20 Apr 2023
- 2023An Over-parameterized Exponential Regression29 Mar 2023
- 2023Neural Networks with Sparse Activation Induced by Large Bias: Tighter Analysis with Bias-Generalized NTK1 Jan 2023
- 2022Adaptive and Dynamic Multi-Resolution Hashing for Pairwise Summations21 Dec 2022
- 2022A Faster k-means++ Algorithm28 Nov 2022
- 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 252
- 2023Attention Scheme Inspired Softmax Regressioncited by 49
- 2023An Over-parameterized Exponential Regressioncited by 45
- 2023An Iterative Algorithm for Rescaled Hyperbolic Functions Regressioncited by 35
- 2023A Fast Optimization View: Reformulating Single Layer Attention in LLM Based on Tensor and SVM Trick, and Solving It in Matrix Multiplication Timecited by 30
- 2024The Fine-Grained Complexity of Gradient Computation for Training Large Language Modelscited by 30
- 2023How to Protect Copyright Data in Optimization of Large Language Models?cited by 26
- 2023GradientCoin: A Peer-to-Peer Decentralized Large Language Modelscited by 23
- 2023Solving Attention Kernel Regression Problem via Pre-conditionercited by 20
- 2023Why Softmax Attention Outperforms Linear Attentioncited by 15
- 2022Adaptive and Dynamic Multi-Resolution Hashing for Pairwise Summationscited by 14
- 2024Differential Privacy Mechanisms in Neural Tangent Kernel Regressioncited by 14
12 most cited of 28 All 28 (JSON)
- 2025When Can We Solve the Weighted Low Rank Approximation Problem in Truly Subquadratic Time?24 Feb 2025
- 2024Advancing the Understanding of Fixed Point Iterations in Deep Neural Networks: A Detailed Analytical Study15 Oct 2024
- 2024Differential Privacy Mechanisms in Neural Tangent Kernel Regression18 Jul 2024
- 2024The Fine-Grained Complexity of Gradient Computation for Training Large Language Models7 Feb 2024
- 2023Local Convergence of Approximate Newton Method for Two Layer Nonlinear Regression26 Nov 2023
- 2023A Theoretical Insight into Attack and Defense of Gradient Leakage in Transformer22 Nov 2023
- 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Time26 Oct 2023
- 2023Unmasking Transformers: A Theoretical Approach to Data Recovery via Attention Weights19 Oct 2023
- 2023Why Softmax Attention Outperforms Linear Attention18 Oct 2023
- 2023An Automatic Learning Rate Schedule Algorithm for Achieving Faster Convergence and Steeper Descent17 Oct 2023
- 2023A Unified Scheme of ResNet and Softmax23 Sep 2023
- 2023Is Solving Graph Neural Tangent Kernel Equivalent to Training Graph Neural Network?14 Sep 2023
12 newest of 28 All 28 (JSON)