[Paper Review] One-Shot Pruning of Recurrent Neural Networks by Jacobian Spectrum Evaluation
This paper proposes a one-shot pruning method for recurrent neural networks (RNNs) that uses the spectrum of the recurrent Jacobian to identify and retain critical weights, enabling high sparsity (95%) with superior performance over random and existing state-of-the-art pruning methods. The approach is data-efficient, requiring only 64 data points, and achieves better results than fully connected networks on sequential MNIST, Billion Words, and Wikitext benchmarks.
Recent advances in the sparse neural network literature have made it possible to prune many large feed forward and convolutional networks with only a small quantity of data. Yet, these same techniques often falter when applied to the problem of recovering sparse recurrent networks. These failures are quantitative: when pruned with recent techniques, RNNs typically obtain worse performance than they do under a simple random pruning scheme. The failures are also qualitative: the distribution of active weights in a pruned LSTM or GRU network tend to be concentrated in specific neurons and gates, and not well dispersed across the entire architecture. We seek to rectify both the quantitative and qualitative issues with recurrent network pruning by introducing a new recurrent pruning objective derived from the spectrum of the recurrent Jacobian. Our objective is data efficient (requiring only 64 data points to prune the network), easy to implement, and produces 95% sparse GRUs that significantly improve on existing baselines. We evaluate on sequential MNIST, Billion Words, and Wikitext.
Motivation & Objective
- To address the failure of existing one-shot pruning methods on RNNs, which often underperform compared to random pruning.
- To identify why current saliency-based pruning objectives (e.g., SNIP, Foresight) fail in the recurrent setting due to poor conditioning of the temporal Jacobian.
- To develop a novel pruning objective that explicitly preserves information flow through time by ensuring non-degenerate singular values in the recurrent Jacobian.
- To enable effective, data-efficient, and non-iterative pruning of RNNs that maintains or improves performance at extreme sparsity levels.
- To provide theoretical and empirical insight into the role of the Jacobian spectrum in RNN generalization and training dynamics.
Proposed method
- The method evaluates the spectrum of the recurrent Jacobian matrix, which captures how hidden states propagate through time in an RNN.
- It computes the singular values of the Jacobian with respect to the recurrent weights to assess the stability and information flow of each weight connection.
- A pruning criterion is derived based on the sensitivity of the Jacobian's spectrum to weight removal, favoring weights that maintain well-conditioned temporal dynamics.
- The algorithm performs a single pruning pass using only 64 data points, without any fine-tuning or iterative retraining.
- The pruning objective is designed to avoid concentration of active weights in specific neurons or gates, promoting more uniform sparsity across the network.
- The method is applied to GRUs and evaluated on sequential MNIST, Wikitext, and Billion Words, with sparsity set at 95%.
Experimental results
Research questions
- RQ1Why do existing one-shot pruning methods like SNIP and Foresight fail to improve performance on RNNs compared to random pruning?
- RQ2How does the spectrum of the recurrent Jacobian relate to the generalization and stability of RNNs during sequential prediction?
- RQ3Can a pruning objective based on the Jacobian spectrum outperform magnitude-based and saliency-based methods in the recurrent setting?
- RQ4Does enforcing well-conditioned singular values in the temporal Jacobian lead to better sparsity distribution and performance in RNNs?
- RQ5Can high sparsity (e.g., 95%) be achieved in RNNs without iterative retraining or performance degradation?
Key findings
- The proposed method achieves 95% sparsity in GRUs and outperforms fully dense networks on sequential MNIST, Wikitext, and Billion Words benchmarks.
- At 95% sparsity, the method significantly improves upon random pruning, SNIP, and Foresight, demonstrating superior generalization and performance.
- The Jacobian spectrum-based pruning criterion successfully avoids the concentration of active weights in specific neurons or gates, leading to more uniform sparsity distribution.
- The method requires only 64 data points for pruning, making it highly data-efficient and suitable for low-data regimes.
- The approach is non-iterative and completes pruning before training, enabling faster deployment and reduced memory usage.
- The results suggest that preserving the conditioning of the recurrent Jacobian is critical for effective RNN pruning and performance.
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.