Salvato in:
Dettagli Bibliografici
Autori principali: Qiao, Kangyu, Zhang, Shaolei, Feng, Yang
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:https://arxiv.org/abs/2511.02213
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866914133942730752
author Qiao, Kangyu
Zhang, Shaolei
Feng, Yang
author_facet Qiao, Kangyu
Zhang, Shaolei
Feng, Yang
contents With the growing computational demands of large language models (LLMs), efficient inference has become increasingly critical for practical deployment. Depth pruning has emerged as a promising approach for reducing the computational costs of large language models by removing transformer layers. However, existing methods typically rely on fixed block masks, which can lead to suboptimal performance across different tasks and inputs. In this paper, we propose IG-Pruning, a novel input-aware block-wise pruning method that dynamically selects layer masks at inference time. Our approach consists of two stages: (1) Discovering diverse mask candidates through semantic clustering and L0 optimization, and (2) Implementing efficient dynamic pruning without the need for extensive training. Experimental results demonstrate that our method consistently outperforms state-of-the-art static depth pruning methods, making it particularly suitable for resource-constrained deployment scenarios.
format Preprint
id arxiv_https___arxiv_org_abs_2511_02213
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle IG-Pruning: Input-Guided Block Pruning for Large Language Models
Qiao, Kangyu
Zhang, Shaolei
Feng, Yang
Computation and Language
With the growing computational demands of large language models (LLMs), efficient inference has become increasingly critical for practical deployment. Depth pruning has emerged as a promising approach for reducing the computational costs of large language models by removing transformer layers. However, existing methods typically rely on fixed block masks, which can lead to suboptimal performance across different tasks and inputs. In this paper, we propose IG-Pruning, a novel input-aware block-wise pruning method that dynamically selects layer masks at inference time. Our approach consists of two stages: (1) Discovering diverse mask candidates through semantic clustering and L0 optimization, and (2) Implementing efficient dynamic pruning without the need for extensive training. Experimental results demonstrate that our method consistently outperforms state-of-the-art static depth pruning methods, making it particularly suitable for resource-constrained deployment scenarios.
title IG-Pruning: Input-Guided Block Pruning for Large Language Models
topic Computation and Language
url https://arxiv.org/abs/2511.02213