Efficient CNN Compression via Multi-method Low Rank Factorization and Feature Map Similarity
M. Kokhazadeh, G. Keramidas, V. Kelefouras
TL;DR
This work tackles efficient CNN compression by reframing LRF as a multi-objective design-space exploration problem. It introduces a feature map similarity-based rank selection, a one-shot fine-tuning workflow, and a hybrid decomposition strategy that applies multiple LRF methods per layer, all integrated into TensorFlow 2.x. The approach is demonstrated on 14 CNNs across eight datasets, achieving substantial parameter and FLOPs reductions with minimal accuracy loss and outperforming VBMF and FBP in many scenarios. The results highlight the practical impact for edge- and mobile-deployable models and suggest avenues for extending the framework to other architectures and future compression techniques.
Abstract
Low-Rank Factorization (LRF) is a widely adopted technique for compressing deep neural networks (DNNs). However, it faces several challenges, including optimal rank selection, a vast design space, long fine-tuning times, and limited compatibility with different layer types and decomposition methods. This paper presents an end-to-end Design Space Exploration (DSE) methodology and framework for compressing convolutional neural networks (CNNs) that addresses all these issues. We introduce a novel rank selection strategy based on feature map similarity, which captures non-linear interactions between layer outputs more effectively than traditional weight-based approaches. Unlike prior works, our method uses a one-shot fine-tuning process, significantly reducing the overall fine-tuning time. The proposed framework is fully compatible with all types of convolutional (Conv) and fully connected (FC) layers. To further improve compression, the framework integrates three different LRF techniques for Conv layers and three for FC layers, applying them selectively on a per-layer basis. We demonstrate that combining multiple LRF methods within a single model yields better compression results than using a single method uniformly across all layers. Finally, we provide a comprehensive evaluation and comparison of the six LRF techniques, offering practical insights into their effectiveness across different scenarios. The proposed work is integrated into TensorFlow 2.x, ensuring compatibility with widely used deep learning workflows. Experimental results on 14 CNN models across eight datasets demonstrate that the proposed methodology achieves substantial compression with minimal accuracy loss, outperforming several state-of-the-art techniques.
