Lune

NeurIPS2023顶会

Bypass Exponential Time Preprocessing: Fast Neural Network Training via Weight-Data Correlation Preprocessing

Josh Alman, Jiehao Liang, Zhao Song, Ruizhe Zhang, Danyang Zhuo

摘要

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∈Rdx \in \mathbb{R}^d in a layer, we need to spend Θ(md)\Theta(md) time to evaluate all the mm neurons in the layer. This means processing the entire layer takes Θ(nmd)\Theta(nmd) time for nn data points. Recent work [Song, Yang and Zhang, NeurIPS 2021] reduces this time per iteration to o(nmd)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)O(nmd) time in preprocessing and still achieves o(nmd)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.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Time 引用了 Learning Space Partitions for Nearest Neighbor Search
  • The Fine-Grained Complexity of Gradient Computation for Training Large Language Models 引用了 On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity Analysis
  • On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity Analysis 引用了 The Fine-Grained Complexity of Gradient Computation for Training Large Language Models
  • Numerical Pruning for Efficient Autoregressive Models 引用了 Generalized Leverage Score Sampling for Neural Networks
  • Numerical Pruning for Efficient Autoregressive Models 引用了 Polylogarithmic width suffices for gradient descent to achieve arbitrarily small test error with shallow ReLU networks
  • Numerical Pruning for Efficient Autoregressive Models 引用了 How to Protect Copyright Data in Optimization of Large Language Models?
  • How to Protect Copyright Data in Optimization of Large Language Models? 引用了 Generalized Leverage Score Sampling for Neural Networks
  • How to Protect Copyright Data in Optimization of Large Language Models? 引用了 Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Time
  • How to Protect Copyright Data in Optimization of Large Language Models? 引用了 Over-parameterized Adversarial Training: An Analysis Overcoming the Curse of Dimensionality
  • How to Protect Copyright Data in Optimization of Large Language Models? 引用了 Polylogarithmic width suffices for gradient descent to achieve arbitrarily small test error with shallow ReLU networks
  • Does Preprocessing Help Training Over-parameterized Neural Networks? 引用了 Generalized Leverage Score Sampling for Neural Networks
  • Does Preprocessing Help Training Over-parameterized Neural Networks? 引用了 Over-parameterized Adversarial Training: An Analysis Overcoming the Curse of Dimensionality
  • Does Preprocessing Help Training Over-parameterized Neural Networks? 引用了 Polylogarithmic width suffices for gradient descent to achieve arbitrarily small test error with shallow ReLU networks
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. Deja Vu: Contextual Sparsity for Efficient LLMs at Inference TimeZichang Liu, Jue Wang, Tri Dao, Tianyi Zhou 等ICML 2023 · 318 次引用
  2. On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity AnalysisJerry Yao-Chieh Hu, Thomas Lin, Zhao Song, Han LiuICML 2024 · 47 次引用
  3. How to Protect Copyright Data in Optimization of Large Language Models?Timothy Chu, Zhao Song, Chiwun YangAAAI 2024 · 42 次引用
  4. The Fine-Grained Complexity of Gradient Computation for Training Large Language ModelsJosh Alman, Zhao SongNeurIPS 2024 · 33 次引用
  5. Numerical Pruning for Efficient Autoregressive ModelsXuan Shen, Zhao Song, Yufa Zhou, Bo Chen 等AAAI 2025 · 5 次引用

它引用的 Paper8

  1. Polylogarithmic width suffices for gradient descent to achieve arbitrarily small test error with shallow ReLU networksZiwei Ji, Matus TelgarskyICLR 2020 · 193 次引用
  2. Learning Space Partitions for Nearest Neighbor SearchYihe Dong, Piotr Indyk, Ilya P. Razenshteyn, Tal WagnerICLR 2020 · 104 次引用
  3. Over-parameterized Adversarial Training: An Analysis Overcoming the Curse of DimensionalityYi Zhang, Orestis Plevrakis, Simon S. Du, Xingguo Li 等NeurIPS 2020 · 56 次引用
  4. Does Preprocessing Help Training Over-parameterized Neural Networks?Zhao Song, Shuo Yang, Ruizhe ZhangNeurIPS 2021 · 52 次引用
  5. Generalized Leverage Score Sampling for Neural NetworksJason D. Lee, Ruoqi Shen, Zhao Song, Mengdi Wang 等NeurIPS 2020 · 44 次引用

相关 Paper

  1. The Effect of Weight Precision on the Neuron Count in Deep ReLU NetworksSonghua He, Periklis A. PapakonstantinouICML 2024
  2. Efficient Parallel Training Methods for Spiking Neural Networks with Constant Time ComplexityWanjin Feng, Xingyu Gao, Wenqian Du, Hailong Shi 等ICML 2025
  3. Measuring Model Complexity of Neural Networks with Curve Activation FunctionsXia Hu, Weiqing Liu, Jiang Bian, Jian PeiKDD 2020 · 25 次引用
  4. State Transition of Dendritic Spines Improves Learning of Sparse Spiking Neural NetworksYanqi Chen, Zhaofei Yu, Wei Fang, Zhengyu Ma 等ICML 2022 · 56 次引用
  5. A Sublinear Adversarial Training AlgorithmYeqi Gao, Lianke Qin, Zhao Song, Yitan WangICLR 2024 · 27 次引用
黄昏的海面,两侧是细线勾勒的悬崖