Unified Framework for Pre-trained Neural Network Compression via Decomposition and Optimized Rank Selection

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Aghababaei-Harandi, Ali, Amini, Massih-Reza
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908548535943168
author Aghababaei-Harandi, Ali
Amini, Massih-Reza
author_facet Aghababaei-Harandi, Ali
Amini, Massih-Reza
contents Despite their high accuracy, complex neural networks demand significant computational resources, posing challenges for deployment on resource constrained devices such as mobile phones and embedded systems. Compression algorithms have been developed to address these challenges by reducing model size and computational demands while maintaining accuracy. Among these approaches, factorization methods based on tensor decomposition are theoretically sound and effective. However, they face difficulties in selecting the appropriate rank for decomposition. This paper tackles this issue by presenting a unified framework that simultaneously applies decomposition and rank selection, employing a composite compression loss within defined rank constraints. Our method includes an automatic rank search in a continuous space, efficiently identifying optimal rank configurations for the pre-trained model by eliminating the need for additional training data and reducing computational overhead in the search step. Combined with a subsequent fine-tuning step, our approach maintains the performance of highly compressed models on par with their original counterparts. Using various benchmark datasets and models, we demonstrate the efficacy of our method through a comprehensive analysis.
format Preprint
id arxiv_https___arxiv_org_abs_2409_03555
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Unified Framework for Pre-trained Neural Network Compression via Decomposition and Optimized Rank Selection
Aghababaei-Harandi, Ali
Amini, Massih-Reza
Machine Learning
Computer Vision and Pattern Recognition
Despite their high accuracy, complex neural networks demand significant computational resources, posing challenges for deployment on resource constrained devices such as mobile phones and embedded systems. Compression algorithms have been developed to address these challenges by reducing model size and computational demands while maintaining accuracy. Among these approaches, factorization methods based on tensor decomposition are theoretically sound and effective. However, they face difficulties in selecting the appropriate rank for decomposition. This paper tackles this issue by presenting a unified framework that simultaneously applies decomposition and rank selection, employing a composite compression loss within defined rank constraints. Our method includes an automatic rank search in a continuous space, efficiently identifying optimal rank configurations for the pre-trained model by eliminating the need for additional training data and reducing computational overhead in the search step. Combined with a subsequent fine-tuning step, our approach maintains the performance of highly compressed models on par with their original counterparts. Using various benchmark datasets and models, we demonstrate the efficacy of our method through a comprehensive analysis.
title Unified Framework for Pre-trained Neural Network Compression via Decomposition and Optimized Rank Selection
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2409.03555