arXiv:2507.10059cs.CL2025-07被引 2

用进化算法自动压缩大模型,兼顾速度与效果

GeLaCo: An Evolutionary Approach to Layer Compression

  • 通过种群搜索和模块相似性评估,自动寻找最优压缩方案
  • 在多个模型上实现更优压缩率,且生成质量不降反升
  • 适合需要高效部署大模型的工程师和研究者

大型语言模型虽性能卓越,但因计算需求高难以部署。模型压缩技术旨在减小模型规模同时保持能力。现有方法如结构化剪枝常需昂贵的实验搜索,可能遗漏更优解。本文提出GeLaCo,一种基于层坍缩的进化式压缩方法。该方法通过种群搜索高效探索压缩空间,并采用模块级相似性适应度函数,综合捕捉注意力、前馈和隐藏状态表征。GeLaCo支持单目标与多目标进化搜索,首次建立压缩与质量之间的帕累托前沿。在基础模型与指令微调模型上,通过困惑度与生成评估验证,其性能优于现有最先进方法。

原文摘要 · Abstract (English)

Large Language Models (LLM) have achieved remarkable performance across a large number of tasks, but face critical deployment and usage barriers due to substantial computational requirements. Model compression methods, which aim to reduce model size while preserving its capacity, are an important means to mitigate these issues. Promising approaches along these lines, such as structured pruning, typically require costly empirical search for optimal variants and may run the risk of ignoring better solutions. In this work we introduce GeLaCo, an evolutionary approach to LLM compression via layer collapse. Our approach supports an efficient exploration of the compression solution space via population-based search and a module-wise similarity fitness function capturing attention, feed-forward, and hidden state representations. GeLaCo also supports both single and multi-objective evolutionary compression search, establishing the first Pareto frontier along compression and quality axes. We evaluate GeLaCo solutions via both perplexity-based and generative evaluations over foundational and instruction-tuned models, outperforming state-of-the-art alternatives.

模型压缩进化算法大模型部署

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。