mlsanityData to 7 Oct 2026

A Theory of I/O-Efficient Sparse Neural Network Inference

arXiv 2301.01048 ↗First posted 3 Jan 2023cs.DC cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

As the accuracy of machine learning models increases at a fast rate, so does their demand for energy and compute resources. On a low level, the major part of these resources is consumed by data movement between different memory units. Modern hardware architectures contain a form of fast memory (e.g., cache, registers), which is small, and a slow memory (e.g., DRAM), which is larger but expensive to access. We can only process data that is stored in fast memory, which incurs data movement (input/output-operations, or I/Os) between the two units. In this paper, we provide a rigorous theoretical analysis of the I/Os needed in sparse feedforward neural network (FFNN) inference. We establish bounds that determine the optimal number of I/Os up to a factor of 2 and present a method that uses a number of I/Os within that range. Much of the I/O-complexity is determined by a few high-level properties of the FFNN (number of inputs, outputs, neurons, and connections), but if we want to get closer to the exact lower bound, the instance-specific sparsity patterns need to be considered. Departing from the 2-optimal computation strategy, we show how to reduce the number of I/Os further with simulated annealing. Complementing this result, we provide an algorithm that constructively generates networks with maximum I/O-efficiency for inference. We test the algorithms and empirically verify our theoretical and algorithmic contributions. In our experiments on real hardware we observe speedups of up to 45× relative to the standard way of performing inference.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 18 of its 38 references that are in the map. First posted on arXiv 3 Jan 2023.

Builds on

18 of 38 references.

References · 18

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
  4. 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
  5. 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 610
  6. 2021Sparsity in Deep Learning: Pruning and growth for efficient inference and training in neural networkscited by 521
  7. 2017Efficient Processing of Deep Neural Networks: A Tutorial and Surveycited by 427
  8. 2016EIE: Efficient Inference Engine on Compressed Deep Neural Networkcited by 291
  9. 2017Sparse Communication for Distributed Gradient Descentcited by 243
  10. 2018Demystifying Parallel and Distributed Deep Learning: An In-Depth Concurrency Analysiscited by 154
  11. 2020Data Movement Is All You Need: A Case Study on Optimizing Transformerscited by 108
  12. 2018Dissecting the NVIDIA Volta GPU Architecture via Microbenchmarkingcited by 35
6 more
  1. 2018SparCML: High-Performance Sparse Communication for Machine Learningcited by 34
  2. 2019EDEN: Enabling Energy-Efficient, High-Performance Deep Neural Network Inference Using Approximate DRAMcited by 24
  3. 2019Memory- and Communication-Aware Model Compression for Distributed Deep Learning Inference on IoTcited by 13
  4. 2017CHAOS: A Parallelization Scheme for Training Convolutional Neural Networks on Intel Xeon Phicited by 2
  5. 2017Inapproximability of the Standard Pebble Game and Hard to Pebble Graphscited by 1
  6. 2018Communication-Optimal Convolutional Neural Netscited by 1

Built on by

Not cited yet.