arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.11641cs.LGcs.AIcs.PF
收藏

EcoSpa:基于耦合稀疏性的高效Transformer训练

EcoSpa: Efficient Transformer Training with Coupled Sparsity

Rutgers University(新泽西罗格斯大学);California Institute of Technology(加州理工学院);Rice University(Rice 大学)

Jinqi Xiao, Cheng Luo, Lingyi Huang, Cheng Yang, Yang Sui, Huy Phan, Xiao Zang, Yibiao Ying, Zhexiang Tang, Anima Anandkumar, Bo Yuan

AI总结:

针对现有Transformer稀疏训练方法未保留权重矩阵乘法交互结构导致高稀疏度下性能下降的问题,提出EcoSpa耦合结构化稀疏训练方法,可在预训练和微调场景下实现显著的内存、速度与压缩收益,且无需定制硬件或算子。

摘要:

Transformer已成为现代人工智能的核心骨干,但其极高的计算需求带来了严峻的系统挑战。尽管稀疏训练能够提升效率,现有方法却无法保留注意力层与前馈层中存在乘法交互的权重矩阵间的关键结构关系,这一疏漏会导致高稀疏度下的性能下降。本文提出EcoSpa,这是一种高效结构化稀疏训练方法,可联合评估并稀疏化耦合权重矩阵对,通过对齐的行/列移除保留其交互模式。EcoSpa引入了全新的粒度来校准结构组件的重要性,可在预训练与微调场景下执行耦合估计与稀疏化。评估结果显示其性能提升显著:EcoSpa可实现LLaMA-1B的高效训练,内存占用降低50%、训练速度提升21%;在GPT-2-Medium上实现2.2倍模型压缩,困惑度降低2.4,同时带来1.6倍的推理加速。该方法使用标准PyTorch算子,无需定制硬件或内核,可在商用硬件上实现高效Transformer训练。

英文摘要:

Transformers have become the backbone of modern AI, yet their high computational demands pose critical system challenges. While sparse training offers efficiency gains, existing methods fail to preserve critical structural relationships between weight matrices that interact multiplicatively in attention and feed-forward layers. This oversight leads to performance degradation at high sparsity levels. We introduce EcoSpa, an efficient structured sparse training method that jointly evaluates and sparsifies coupled weight matrix pairs, preserving their interaction patterns through aligned row/column removal. EcoSpa introduces a new granularity for calibrating structural component importance and performs coupled estimation and sparsification across both pre-training and fine-tuning scenarios. Evaluations demonstrate substantial improvements: EcoSpa enables efficient training of LLaMA-1B with 50\% memory reduction and 21\% faster training, achieves $2.2\times$ model compression on GPT-2-Medium with $2.4$ lower perplexity, and delivers $1.6\times$ inference speedup. The approach uses standard PyTorch operations, requiring no custom hardware or kernels, making efficient transformer training accessible on commodity hardware.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑