# Structured Pruning of Recurrent Neural Networks through Neuron Selection

**Authors:** Liangjian Wen, Xuanyang Zhang, Haoli Bai, Zenglin Xu

arXiv: 1906.06847 · 2019-12-10

## TL;DR

This paper introduces a structured pruning method for RNNs using neuron selection, significantly reducing model size and inference time without performance loss, suitable for edge device deployment.

## Contribution

The paper proposes a novel structured pruning approach with neuron gates, optimizing the L0 norm to achieve practical speedup in RNNs.

## Key findings

- Achieved nearly 20x inference speedup on Penn TreeBank.
- Reduced RNN model sizes by pruning neurons effectively.
- Maintained performance levels after pruning.

## Abstract

Recurrent neural networks (RNNs) have recently achieved remarkable successes in a number of applications. However, the huge sizes and computational burden of these models make it difficult for their deployment on edge devices. A practically effective approach is to reduce the overall storage and computation costs of RNNs by network pruning techniques. Despite their successful applications, those pruning methods based on Lasso either produce irregular sparse patterns in weight matrices, which is not helpful in practical speedup. To address these issues, we propose structured pruning method through neuron selection which can reduce the sizes of basic structures of RNNs. More specifically, we introduce two sets of binary random variables, which can be interpreted as gates or switches to the input neurons and the hidden neurons, respectively. We demonstrate that the corresponding optimization problem can be addressed by minimizing the L0 norm of the weight matrix. Finally, experimental results on language modeling and machine reading comprehension tasks have indicated the advantages of the proposed method in comparison with state-of-the-art pruning competitors. In particular, nearly 20 x practical speedup during inference was achieved without losing performance for language model on the Penn TreeBank dataset, indicating the promising performance of the proposed method

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1906.06847/full.md

## Figures

8 figures with captions in the complete paper: https://tomesphere.com/paper/1906.06847/full.md

## References

50 references — full list in the complete paper: https://tomesphere.com/paper/1906.06847/full.md

---
Source: https://tomesphere.com/paper/1906.06847