TASTE:面向设备端边缘学习的吞吐量感知批量大小调优 TASTE: Throughput-Aware Batch Size Tuning for On-Device Edge Learning 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-09-07
⬇️ 4 次下载
👁️ 预览文献
💡 AI 中文简介
本研究针对在手机、树莓派等边缘设备上直接训练深度学习模型时吞吐量低的问题,提出了一种基于贝叶斯优化的批量大小自动调优方法TASTE。该方法能自动找到硬件吞吐量达到上限时的最佳批量大小,并结合梯度累积和线性学习率缩放,在不损失模型精度的前提下,将树莓派4等设备上的训练吞吐量提升最高2倍。研究还验证了该方法在持续学习场景下能平衡稳定性和可塑性,有效缓解灾难性遗忘。
领域边缘计算与设备端机器学习
适合谁读需要一定专业背景(了解深度学习训练和边缘硬件基础)
核心贡献1. 提出基于贝叶斯优化的批量大小自动调优方法,能识别边缘硬件吞吐量上限对应的最佳批量大小;2. 结合梯度累积和线性学习率缩放,在监督学习和在线持续学习两种范式下均实现吞吐量提升且不损失精度。
关键数据在树莓派4等边缘设备上,相比最大批量大小,训练吞吐量提升最高2倍;在持续学习场景中有效缓解灾难性遗忘,保持稳定-可塑性平衡。
推荐理由如果你在边缘设备上训练模型总觉得慢,这篇论文给出了一个自动调参的实用方案,能轻松提速2倍还不掉精度,值得一读!
关键词["边缘学习", "批量大小调优", "贝叶斯优化", "吞吐量优化", "持续学习", "设备端训练"]

原文摘要

查看英文原文摘要

The rise of privacy-preserving artificial intelligence (AI) has shifted the focus of model adaptation and personalization towards on-device learning, where deep learning models are finetuned directly on edge hardware using local user data. However, this shift requires optimization of deep learning training on resource-constrained hardware to maximize throughput while maintaining predictive accuracy. This paper introduces a novel technique for on-device model training that incorporates an efficient Bayesian optimization-based batch size tuning approach to maximize hardware throughput. To evaluate the impact of this hyperparameter on the learning dynamics, we investigated two distinct paradigms: standard supervised learning (SL) and online continual learning (CL). Experimental results across various edge devices demonstrate a throughput ceiling, beyond which increasing the batch size yields no additional throughput gains. The proposed tuning approach identifies the optimal batch size, which, when combined with gradient accumulation and linear learning rate scaling, achieves up to a 2X increase in training throughput on platforms such as Raspberry Pi 4 compared to maximum batch sizes, without compromising model accuracy. Furthermore, in the CL paradigm, we demonstrate that optimal batch sizes maintain the stability-plasticity balance required for incremental learning, effectively mitigating catastrophic forgetting while maximizing computational efficiency on edge-hardware.