arXiv:2603.18112cs.LGcs.AI2026-03

Tula自动优化大批次训练的时间、成本与泛化性能。

Tula: Optimizing Time, Cost, and Generalization in Distributed Large-Batch Training

  • 结合系统建模与统计预测,动态选择最优批次大小。
  • 预测误差低于14%,平均提升9%测试准确率,提速20倍。
  • 适合需要高效训练视觉模型的研究者与工程团队。

分布式训练通过横向扩展(增加节点)或纵向扩展(增大批次大小)来提升每轮迭代的处理批次数量。然而,最大配置未必带来最佳性能:横向扩展引入额外通信开销,纵向扩展受限于计算成本和设备内存。单纯增大批次大小会导致收益递减——训练时间和成本初期下降,随后趋于平稳,在时间/成本与批次大小的帕累托曲线上形成拐点。因此,最优批次大小取决于模型、数据及可用算力。大批次还因众所周知的泛化差距导致模型质量下降。本文提出Tula,一个在线服务,可自动优化卷积模型的大批次训练在时间、成本和收敛质量上的表现。Tula融合并行系统建模与统计性能预测,精准识别最优批次大小。其训练时间与成本预测误差在7.5%-14%之间,相较于标准大批次训练,在多个视觉任务上实现最高20倍整体加速,并平均提升9%测试准确率,有效缓解泛化差距,同时加快训练进程。

原文摘要 · Abstract (English)

Distributed training increases the number of batches processed per iteration either by scaling-out (adding more nodes) or scaling-up (increasing the batch-size). However, the largest configuration does not necessarily yield the best performance. Horizontal scaling introduces additional communication overhead, while vertical scaling is constrained by computation cost and device memory limits. Thus, simply increasing the batch-size leads to diminishing returns: training time and cost decrease initially but eventually plateaus, creating a knee-point in the time/cost versus batch-size pareto curve. The optimal batch-size therefore depends on the underlying model, data and available compute resources. Large batches also suffer from worse model quality due to the well-known generalization gap. In this paper, we present Tula, an online service that automatically optimizes time, cost, and convergence quality for large-batch training of convolutional models. It combines parallel-systems modeling with statistical performance prediction to identify the optimal batch-size. Tula predicts training time and cost within 7.5-14% error across multiple models, and achieves up to 20x overall speedup and improves test accuracy by 9% on average over standard large-batch training on various vision tasks, thus successfully mitigating the generalization gap and accelerating training at the same time.

分布式训练大批次优化模型效率泛化性能

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