A Variational Information Bottleneck Based Method to Compress Sequential Networks for Human Action Recognition

Ayush Srivastava, Oshin Dutta, Jigyasa Gupta, Sumeet Agarwal, Prathosh Ap

Introduction

Human Action Recognition (HAR) is a cornerstone of modern computer vision, enabling applications from autonomous surveillance to interactive gaming. However, HAR is computationally demanding because it requires models to process both high-resolution spatial information (what is in the frame) and complex temporal dynamics (how things move over time). This typically involves a pipeline combining Convolutional Neural Networks (CNNs) for feature extraction and Recurrent Neural Networks (RNNs), such as LSTMs, for sequence modeling.

While significant progress has been made in compressing CNNs, LSTMs remain notoriously difficult to shrink. They are often over-parameterized, leading to high memory consumption and a tendency to overfit training data. This research introduces a novel compression framework based on Variational Information Bottleneck (VIB) theory, enabling high-accuracy action recognition on resource-constrained edge devices.

The VIB-LSTM Approach

The core innovation of this work is the application of the Variational Information Bottleneck (VIB) as a selective filter within the network. In information theory, the bottleneck principle encourages a model to retain only the information from the input that is essential for predicting the target label, while discarding irrelevant noise.

Key Architectural Innovations

  • VIB-LSTM Layer: The researchers integrated "VIB masks" after every gate within the LSTM cell. These masks learn to identify which internal signals are critical for the final prediction. Signals that do not contribute to accuracy are pushed toward zero during training.
  • Dual Pruning: Unlike traditional methods that focus solely on hidden states, this approach prunes both input features and hidden states simultaneously. This is particularly effective as the model can ignore up to 97% of raw input values in some datasets without losing performance.
  • Sparsity through Regularization: The method combines VIB with Group Lasso (Intrinsic Sparse Structure). This hybrid approach encourages the model to zero out entire groups of weights, leading to physically leaner architectures.
Figure 1: Diagram of an LSTM cell modified with VIB masks (zf, zi, zc, zo) to filter redundant information.

Experimental Results

The authors evaluated their method on standard benchmarks including UCF11, HMDB51, and UCF101. The results demonstrate that VIB-based compression significantly outperforms existing state-of-the-art techniques in both parameter reduction and inference speed.

Massive Compression and Speedup

On the UCF11 dataset, the VIB-LSTM achieved a staggering reduction in parameters. In a CNN-LSTM configuration, the LSTM component was compressed from 33.57 million parameters to just 2,052—a reduction that maintained 98.53% accuracy. When deployed on a Raspberry Pi 3, this compressed model delivered a 100x speedup compared to the uncompressed baseline.

Figure 3: Comparison of compression ratios across different methods, showing the superior performance of VIB-LSTM and VIB-LSTM+ISS.

As shown in the comparison above, the combination of VIB and Intrinsic Sparse Structure (ISS) achieves a compression ratio nearly 20,000 times that of a naive model, far exceeding previous methods like TR-LSTM.

Conclusion

By using information theory as a "scalpel," this research provides a principled way to prune sequential networks. The VIB-LSTM framework successfully removes the "trash" in both input features and internal states, resulting in models that are not only smaller and faster but also more robust against overfitting. While future work may address feature correlation and hyperparameter sensitivity, this method currently represents a major step toward bringing sophisticated human action recognition to low-power, real-time edge applications.

Summary updated

BibTeX
@inproceedings{srivastava2021variational,
  author = {Ayush Srivastava and Oshin Dutta and Jigyasa Gupta and Sumeet Agarwal and Prathosh AP},
  title = {{A Variational Information Bottleneck Based Method to Compress Sequential Networks for Human Action Recognition}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2021},
  doi = {10.1109/wacv48630.2021.00279},
}
Figure