Papers
arxiv:2403.12983

OSSCAR: One-Shot Structured Pruning in Vision and Language Models with Combinatorial Optimization

Published on Mar 2, 2024
Authors:
,
,
,
,
,

Abstract

OSSCAR introduces a scalable combinatorial optimization framework for one-shot structured pruning of large vision and language models, achieving substantial speedups and lower perplexity without retraining.

Structured pruning is a promising approach for reducing the inference costs of large vision and language models. By removing carefully chosen structures, e.g., neurons or attention heads, the improvements from this approach can be realized on standard deep learning hardware. In this work, we focus on structured pruning in the one-shot (post-training) setting, which does not require model retraining after pruning. We propose a novel combinatorial optimization framework for this problem, based on a layer-wise reconstruction objective and a careful reformulation that allows for scalable optimization. Moreover, we design a new local combinatorial optimization algorithm, which exploits low-rank updates for efficient local search. Our framework is time and memory-efficient and considerably improves upon state-of-the-art one-shot methods on vision models (e.g., ResNet50, MobileNet) and language models (e.g., OPT-1.3B -- OPT-30B). For language models, e.g., OPT-2.7B, OSSCAR can lead to 125times lower test perplexity on WikiText with 2times inference time speedup in comparison to the state-of-the-art ZipLM approach. Our framework is also 6times -- 8times faster. Notably, our work considers models with tens of billions of parameters, which is up to 100times larger than what has been previously considered in the structured pruning literature.

Community

Sign up or log in to comment

Get this paper in your agent:

hf papers read 2403.12983
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 0

No model linking this paper

Cite arxiv.org/abs/2403.12983 in a model README.md to link it from this page.

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2403.12983 in a dataset README.md to link it from this page.

Spaces citing this paper 0

No Space linking this paper

Cite arxiv.org/abs/2403.12983 in a Space README.md to link it from this page.

Collections including this paper 0

No Collection including this paper

Add this paper to a collection to link it from this page.