Extracting Sparse Specialist Models from Generalist Models
Recently, several generalist models such as Contrastive Language Image Pre-training (CLIP) have demonstrated their capabilities of performing diverse downstream tasks through zero-shot or few-shot guidance. When these generalist models are used for the specific downstream task where only a fraction of features is relevant, they would suffer from a significant redundancy of parameters. While existing methods aim to achieve sparsity and specialization, they often require additional training and large datasets. In this paper, we propose a novel framework to extract a sparse specialist model from a generalist model using only few-shot samples, without any training. Our task-specific pruning framework defines task relevance metrics and employs weighted layer-wise pruning, preserving relevant features while removing redundancies. Experiments show that our method maintains nearly identical zero-shot accuracy compared to the original generalist models at 30% sparsity, with only minimal decline at 50%.
Authors
- Yongqi An (ORCID: https://orcid.org/0000-0003-4560-1654)
- Guibo Zhu (ORCID: https://orcid.org/0000-0001-8293-3952)
- Ming Tang (ORCID: https://orcid.org/0000-0003-2218-0164)
- Xu Zhao (ORCID: https://orcid.org/0009-0002-7058-4323)
- Tao Yu (ORCID: https://orcid.org/0000-0002-3579-9997)
- Jinqiao Wang
Institutions
- Chinese Academy of Sciences (CN)
- Institute of Automation (CN)
Publication Details
- Published
- 2025-03-12
- DOI
- https://doi.org/10.1109/icassp49660.2025.10887911
- Primary Topic
- Computational Physics and Python Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China