跳到正文
arXiv (AI + Vision + Imaging)· Muhammad Junaid Ali, Smail Niar, El-Ghazali Talbi·· 5 天前AI 评分36

面向时延与模型尺寸优化的LLM多目标结构化剪枝框架

Multi-Objective Structured Pruning of LLMs for Latency and Model Size Optimization

AI 导读

研究者提出一种硬件感知的两阶段多目标结构化剪枝框架,明确以时延和模型尺寸为优化目标,面向边缘设备部署。粗粒度阶段通过多目标深度剪枝移除整个注意力与MLP块,细粒度阶段用并行贝叶斯优化(PBO)在时延约束下搜索逐层剪枝比例。在37.5%和50%剪枝比例下,该方法在常识推理任务上优于现有方法,并显著降低推理开销。

正文 · 原文

arXiv:2607.22583v4 Announce Type: replace Abstract: Large Language Models (LLMs) have achieved widespread adoption because of their strong reasoning and query-response capabilities. However, deploying them in embedded and edge computing environments remains challenging because of strict latency, memory, and energy constraints. Their large parameter counts and computational demands hinder efficient execution on resource-constrained platforms. Although model pruning has emerged as a viable solution for reducing scale while preserving performance, jointly optimizing layers, attention heads, and Multi-Layer Perceptron (MLP) dimensions remains highly complex. Exhaustively exploring this combined design space is computationally expensive and often leads to local optima or unstable configurations. To address these limitations, we propose a hardware-aware, multi-objective structured pruning framework. The proposed two-stage method explicitly targets latency and model size for efficient deployment on edge devices. In the coarse-grained stage, multi-objective depth pruning removes entire attention and MLP blocks to reduce computational load and memory usage. In the subsequent fine-grained stage, Parallel Bayesian Optimization (PBO) searches for the optimal layer-wise pruning ratios for pruning under latency constraints, while importance-based strategies rank the specific components to be pruned within each layer's allocated budget. Experimental results show that our approach reduces model complexity with minimal impact on commonsense reasoning tasks and zero-shot performance. Our method achieves a favorable trade-off among accuracy, latency, and model size, making it suitable for edge deployment. Across multiple LLMs at 37.5% and 50% pruning ratios, the proposed approach achieves better performance on commonsense reasoning tasks than existing methods while significantly reducing inference cost.

来源:arXiv (AI + Vision + Imaging) · arxiv.org