Meta-Sparsity: Learning Optimal Sparse Structures in Multi-task Networks through Meta-learning
Richa Upadhyay, Ronald Phlypo, Rajkumar Saini, Marcus Liwicki
TL;DR
Meta-Sparsity introduces a meta-learning framework that learns sparsity-controlling hyperparameters to produce optimal channel-wise sparse structures in a multi-task backbone. By integrating MAML-style meta-training with group sparsity, the approach learns both model parameters and a learnable sparsity parameter, enabling dynamic, task-aware sparsity patterns that generalize to unseen tasks. Empirical results on NYU-v2 and CelebA show that meta-sparsity often outperforms dense and fixed-sparsity baselines while delivering compression and speed-up, albeit with some task-interference cases. The work highlights the potential for parsimonious, adaptable multi-task models and outlines future directions in hardware-aware sparsity and broader sparsity forms.
Abstract
This paper presents meta-sparsity, a framework for learning model sparsity, basically learning the parameter that controls the degree of sparsity, that allows deep neural networks (DNNs) to inherently generate optimal sparse shared structures in multi-task learning (MTL) setting. This proposed approach enables the dynamic learning of sparsity patterns across a variety of tasks, unlike traditional sparsity methods that rely heavily on manual hyperparameter tuning. Inspired by Model Agnostic Meta-Learning (MAML), the emphasis is on learning shared and optimally sparse parameters in multi-task scenarios by implementing a penalty-based, channel-wise structured sparsity during the meta-training phase. This method improves the model's efficacy by removing unnecessary parameters and enhances its ability to handle both seen and previously unseen tasks. The effectiveness of meta-sparsity is rigorously evaluated by extensive experiments on two datasets, NYU-v2 and CelebAMask-HQ, covering a broad spectrum of tasks ranging from pixel-level to image-level predictions. The results show that the proposed approach performs well across many tasks, indicating its potential as a versatile tool for creating efficient and adaptable sparse neural networks. This work, therefore, presents an approach towards learning sparsity, contributing to the efforts in the field of sparse neural networks and suggesting new directions for research towards parsimonious models.
