arXiv:2602.17694cs.LGcs.AI2026-02中稿 · Scientific Reports

提出异步分布式优化方法,让大模型在不改参数下高效学习新任务。

AsynDBT: Asynchronous Distributed Bilevel Tuning for efficient In-Context Learning with Large Language Models

  • 异步并行优化提示词和示例,利用模型反馈自动调优。
  • 在多个数据集上提升下游任务性能,训练效率显著优于传统方法。
  • 适合需要隐私保护、异构设备协同的场景,如医疗、金融领域应用。

随着大语言模型(LLMs)的快速发展,越来越多应用依赖云端LLM API以降低使用成本。然而,由于云端模型的参数与梯度不可见,用户需手动或通过启发式算法调整提示词来干预输出,导致优化过程代价高昂。上下文学习(ICL)作为一种新兴范式,使模型能通过输入中提供的示例适应新任务,无需更新参数。但其进展常受限于高质量数据稀缺且敏感难以共享。联邦学习(FL)提供了一种解决方案,可在保护数据隐私的前提下实现分布式模型协同训练。然而,现有结合ICL的联邦学习方法面临严重的慢节点问题及非同质数据带来的挑战。为此,本文提出一种异步分布式双层优化(AsynDBT)算法,基于模型反馈同时优化上下文学习样本与提示片段,从而提升下游任务表现。得益于其分布式架构,AsynDBT具备隐私保护能力,并可适配异构计算环境。我们还提供了理论分析,证明该算法的收敛性。大量实验在多个基准数据集上验证了AsynDBT的有效性与高效性。

原文摘要 · Abstract (English)

With the rapid development of large language models (LLMs), an increasing number of applications leverage cloud-based LLM APIs to reduce usage costs. However, since cloud-based models' parameters and gradients are agnostic, users have to manually or use heuristic algorithms to adjust prompts for intervening LLM outputs, which requiring costly optimization procedures. In-context learning (ICL) has recently emerged as a promising paradigm that enables LLMs to adapt to new tasks using examples provided within the input, eliminating the need for parameter updates. Nevertheless, the advancement of ICL is often hindered by the lack of high-quality data, which is often sensitive and different to share. Federated learning (FL) offers a potential solution by enabling collaborative training of distributed LLMs while preserving data privacy. Despite this issues, previous FL approaches that incorporate ICL have struggled with severe straggler problems and challenges associated with heterogeneous non-identically data. To address these problems, we propose an asynchronous distributed bilevel tuning (AsynDBT) algorithm that optimizes both in-context learning samples and prompt fragments based on the feedback from the LLM, thereby enhancing downstream task performance. Benefiting from its distributed architecture, AsynDBT provides privacy protection and adaptability to heterogeneous computing environments. Furthermore, we present a theoretical analysis establishing the convergence guarantees of the proposed algorithm. Extensive experiments conducted on multiple benchmark datasets demonstrate the effectiveness and efficiency of AsynDBT.

大模型联邦学习上下文学习异步优化

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