Learning Parameter Sharing with Tensor Decompositions and Sparsity

Cem Üyük, Mike Lasby, Mohamed Yassin, Utku Evci, Yani Ioannou
11/14/2024
cs.LG

No official code found. Best implementation: cemuyuk/FiPS (5 stars, last commit 2026-03-25).

Abstract

Large neural networks exhibit exceptional performance across numerous tasks, yet their considerable size often hinders deployment on resource-constrained systems. While various model compression strategies have been well studied, parameter sharing remains underexplored. In this paper, we introduce Fine-grained Parameter Sharing (FiPS), a novel algorithm that leverages parameter sharing, tensor decomposition, and sparsity to effectively compress large-scale Vision Transformers (ViTs) and Large Language Models (LLMs). FiPS employs a shared base and sparse factors to represent neurons across multi-layer perceptron (MLP) modules, where initialization is guided by Singular Value Decomposition (SVD) and subsequent optimization is conducted through block-wise reconstruction error minimization. Experimental results show that FiPS reduces the parameter budget of MLP modules by 50-75% for DeiT-B and Swin-L and by 40-50% for various Gemma-2 and Llama-3 models while maintaining ViT model accuracy within 1% pt. of the original and LLM perplexity with negligible degradation.

View on arXivView PDF

Code Implementations(1)

cemuyuk/FiPSCommunity70%

Codebase for "LEARNING PARAMETER SHARING WITH TENSOR DECOMPOSITIONS AND SPARSITY"

50Shell, PythonOct 20, 20246 months ago

Similar Papers

Cite this paper

@article{yk2024learning,
  title  = {Learning Parameter Sharing with Tensor Decompositions and Sparsity},
  author = {Cem Üyük and Mike Lasby and Mohamed Yassin and Utku Evci and Yani Ioannou},
  year   = {2024},
  eprint = {2411.09816},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.09816v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.09816.svg)](https://codeofpaper.com/paper/2411.09816)

Discussion