arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.16147cs.LG
收藏

BARTER:使用标准稠密核的紧凑动态稀疏训练

BARTER: Compact Dynamic Sparse Training with Standard Dense Kernels

Arm Inc.(安谋公司);Northwestern University(西北大学)

Yueyuan Sui, Payal Mohapatra, Qi Zhu, Stephen Xia

AI总结:

BARTER是一种结构化动态稀疏训练框架,利用标准稠密核保持训练张量紧凑,在固定全局预算下修剪克隆Transformer组件,在图像分类任务上实现训练加速与内存降低,同时保持准确率。

摘要:

动态稀疏训练(DST)旨在降低训练成本同时保持准确率。现有DST方法会屏蔽参数但保留矩阵维度不变,因此训练加速依赖稀疏核等专用支持。我们提出BARTER,这是一种结构化DST框架,通过保持训练张量物理紧凑,同时在各层间动态重新分配容量,利用标准稠密核降低训练成本。与需要计算所有参数梯度的现有工作不同,BARTER仅在常规反向传播期间从活跃单元收集统计信息,在独立固定全局预算下修剪和克隆注意力头与前馈通道。每次拓扑更新时,它会调整受影响参数张量的大小并重新映射其优化器状态,使后续训练步骤直接在紧凑模型上运行。在两个图像分类基准上,对基于Transformer的视觉模型进行密度0.1至0.7的训练与微调实验显示,其Top-1准确率与全张量DST基线相当。在NVIDIA L40上,BARTER在实测训练段实现最高6.29倍加速,峰值分配GPU内存较这些实现降低最高81.3%;iPhone 13 Pro Max训练基准较全张量DST基线实现2.78倍加速。

英文摘要:

Dynamic sparse training (DST) aims to reduce training costs while maintaining accuracy. Existing DST methods mask out parameters but keep matrix dimensions unchanged. Training speedups therefore depend on specialized support, such as sparse kernels. We introduce BARTER, a structured DST framework that reduces training cost using standard dense kernels by keeping training tensors physically compact while dynamically reallocating capacity across layers. Unlike existing works that require computing gradients for all parameters, BARTER instead uses statistics collected only from active units during ordinary backpropagation to prune and clone attention heads and feed-forward channels under separate fixed global budgets. At each topology update, it resizes the affected parameter tensors and remaps their optimizer states, so subsequent training steps operate directly on the compact model. Training and fine-tuning experiments with Transformer-based vision models on two image classification benchmarks at densities from $0.1$ to $0.7$ show competitive Top-1 accuracy relative to full-tensor DST baselines. On an NVIDIA L40, BARTER achieves speedups of up to $6.29\times$ in measured training segments and reduces peak allocated GPU memory by up to $81.3\%$ relative to these implementations. An iPhone 13 Pro Max training benchmark additionally shows a $2.78\times$ speedup over the full-tensor DST baseline.

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

↑