[Paper Review] Computation on Sparse Neural Networks: an Inspiration for Future Hardware
This paper advocates for sparse neural networks as a foundational approach to future AI hardware, arguing that large, sparse models in the 'weight-dominated' regime outperform dense models at equivalent FLOP counts. It proposes co-designing algorithms, software, and specialized hardware to accelerate sparse training and inference, enabling efficient exploration of complex AI problems like video, NLP, and graph learning.
Neural network models are widely used in solving many challenging problems, such as computer vision, personalized recommendation, and natural language processing. Those models are very computationally intensive and reach the hardware limit of the existing server and IoT devices. Thus, finding better model architectures with much less amount of computation while maximally preserving the accuracy is a popular research topic. Among various mechanisms that aim to reduce the computation complexity, identifying the zero values in the model weights and in the activations to avoid computing them is a promising direction. In this paper, we summarize the current status of the research on the computation of sparse neural networks, from the perspective of the sparse algorithms, the software frameworks, and the hardware accelerations. We observe that the search for the sparse structure can be a general methodology for high-quality model explorations, in addition to a strategy for high-efficiency model execution. We discuss the model accuracy influenced by the number of weight parameters and the structure of the model. The corresponding models are called to be located in the weight dominated and structure dominated regions, respectively. We show that for practically complicated problems, it is more beneficial to search large and sparse models in the weight dominated region. In order to achieve the goal, new approaches are required to search for proper sparse structures, and new sparse training hardware needs to be developed to facilitate fast iterations of sparse models.
Motivation & Objective
- Address the growing computational demands of modern AI models, especially in vision, NLP, and recommendation systems.
- Overcome hardware limitations by leveraging sparsity to reduce computation without sacrificing accuracy.
- Shift from pruning large models to directly training sparse models, enabling faster iteration and scalability.
- Develop new sparse training hardware and software stacks to support high sparsity levels (90–99%) in complex models.
- Establish sparsity as a first-class methodology for model exploration across diverse AI domains.
Proposed method
- Classify model performance into 'weight-dominated' and 'structure-dominated' regions based on parameter count and architecture.
- Propose that large, sparse models in the weight-dominated region achieve higher accuracy per FLOP than dense models.
- Use structured sparsity techniques such as dynamic sparsity, sparse activation, and tensor decomposition to reduce computation.
- Design hardware accelerators (e.g., EIE, Cnvlutin, SIGMA) that skip zero operations and optimize memory access for sparse weights and activations.
- Introduce sparse training platforms with flexible routing and high PE utilization to reduce memory overhead and improve throughput.
- Apply co-design principles across algorithms, software (e.g., sparse libraries), and hardware to accelerate sparse model training and inference.
Experimental results
Research questions
- RQ1Can sparse neural networks achieve higher accuracy than dense models when constrained by the same FLOP budget?
- RQ2Why is direct training of large sparse models more effective than pruning from larger dense models in complex AI tasks?
- RQ3How can hardware accelerators be architected to efficiently support sparse training at scale (e.g., 90–99% sparsity)?
- RQ4What role does sparsity play as a generic model exploration methodology across diverse AI domains like vision, NLP, and recommendation?
- RQ5How can software frameworks and hardware accelerators be co-designed to enable fast iteration on sparse models?
Key findings
- In the weight-dominated region, sparse models achieve significantly higher accuracy than dense models with the same number of FLOPs.
- Conventional pruning from large dense models fails to produce optimal sparse structures for complex problems, necessitating direct sparse model training.
- Hardware accelerators like EIE, Cnvlutin, and SIGMA improve inference efficiency by skipping zero computations and reducing memory access overhead.
- Sparse training hardware with high PE utilization and flexible routing (e.g., SIGMA’s 128×128 Flex-DPE) enables efficient training of large sparse models.
- Dynamic sparsity and structured sparsity mechanisms reduce computation and energy use by exploiting input similarity and activation patterns.
- Co-design of algorithms, software, and hardware is essential to unlock the full potential of sparse neural networks for future AI workloads.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.