RingAda:通过调度层解冻在边缘设备上流水线化大型模型微调
RingAda: Pipelining Large Model Fine-Tuning on Edge Devices with Scheduled Layer Unfreezing
AI总结:
RingAda提出一种环形拓扑的流水线并行微调框架,通过自顶向下适配器解冻和提前停止反向传播,在边缘设备上高效微调大型Transformer模型,显著降低时间和内存开销。
摘要:
为了支持基于大型模型(LM)的边缘智能服务供给,利用本地个性化数据在设备上进行微调,可以实现持续且保护隐私的LM定制。本文提出了RingAda,一个专为在边缘设备上微调基于Transformer的LM而设计的协作训练框架。具体而言,RingAda在相互连接的边缘设备集合中执行参数高效的适配器微调,通过将冻结的Transformer块及其可训练的适配器模块顺序放置在设备上,形成环形拓扑结构以进行每批次训练。RingAda遵循一种新颖的流水线并行训练机制,并采用自顶向下的适配器解冻策略,允许在最低的未冻结适配器层提前停止反向传播,从而加速微调过程。大量实验结果表明,与同类设计相比,RingAda显著减少了微调时间和内存成本,同时保持了有竞争力的模型性能。
英文摘要:
To enable large model (LM) based edge intelligent service provisioning, on-device fine-tuning with locally personalized data allows for continuous and privacy-preserving LM customization. In this paper, we propose RingAda, a collaborative training framework designed for fine-tuning transformer-based LMs on edge devices. Particularly, RingAda performs parameter-efficient adapter fine-tuning across a set of interconnected edge devices, forming a ring topology for per-batch training by sequentially placing frozen transformer blocks and their trainable adapter modules on the devices. RingAda follows a novel pipeline-parallel training mechanism with top-down adapter unfreezing, allowing for early-stopping of backpropagation at the lowest unfrozen adapter layer, thereby accelerating the fine-tuning process. Extensive experimental results demonstrate that RingAda significantly reduces fine-tuning time and memory costs while maintaining competitive model performance compared to its peer designs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。