ACME通过分布式系统实现大模型自适应定制,降低隐私风险与延迟。
ACME: Adaptive Customization of Large Models via Distributed Systems
- 采用双向单循环分布式架构,分步完成模型骨架与头部的协同定制。
- 相比中心化方法,数据传输量降至6%,平均准确率提升10%。
- 适合资源受限、用户/数据异构性强的云部署场景,如智能助手。
预训练的基于Transformer的大模型革新了个人虚拟助手,但其在云环境中的部署面临数据隐私和响应延迟的挑战。将大模型部署在靠近数据和用户的位置成为关键研究方向,但直接应用常遭遇模型不匹配、资源受限和能效低等问题。自动化定制亟需解决三重挑战:中心化定制成本高、用户异构导致性能不平衡、数据异构造成性能下降。本文提出ACME,一种基于分布式系统的变压器大模型自适应定制方法。为避免中心化方案的低性价比,ACME采用双向单循环分布式系统,逐步实现细粒度协同定制。为更好匹配用户异构性,先定制骨干生成并识别模型尺寸约束下的帕累托前沿,确保资源最优利用;随后进行头部生成,并基于数据分布的个性化架构聚合优化模型以适配数据异构性。多数据集评估显示,ACME在模型尺寸约束下实现高效成本模型。相较中心化系统,数据传输量减少至6%;平均准确率较基线提升10%,权衡指标提高近30%。
原文摘要 · Abstract (English)
Pre-trained Transformer-based large models have revolutionized personal virtual assistants, but their deployment in cloud environments faces challenges related to data privacy and response latency. Deploying large models closer to the data and users has become a key research area to address these issues. However, applying these models directly often entails significant difficulties, such as model mismatching, resource constraints, and energy inefficiency. Automated design of customized models is necessary, but it faces three key challenges, namely, the high cost of centralized model customization, imbalanced performance from user heterogeneity, and suboptimal performance from data heterogeneity. In this paper, we propose ACME, an adaptive customization approach of Transformer-based large models via distributed systems. To avoid the low cost-efficiency of centralized methods, ACME employs a bidirectional single-loop distributed system to progressively achieve fine-grained collaborative model customization. In order to better match user heterogeneity, it begins by customizing the backbone generation and identifying the Pareto Front under model size constraints to ensure optimal resource utilization. Subsequently, it performs header generation and refines the model using data distribution-based personalized architecture aggregation to match data heterogeneity. Evaluation on different datasets shows that ACME achieves cost-efficient models under model size constraints. Compared to centralized systems, data transmission volume is reduced to 6 percent. Additionally, the average accuracy improves by 10 percent compared to the baseline, with the trade-off metrics increasing by nearly 30 percent.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。