Skip to main content
QUICK REVIEW

[论文解读] Learning to Collaborate: An Orchestrated-Decentralized Framework for Peer-to-Peer LLM Federation

Inderjeet Singh, Eleonore Vissol-Gaudin|arXiv (Cornell University)|Jan 23, 2026
Privacy-Preserving Technologies in DataComputer Science被引用 0
一句话总结

KNEXA-FL 引入一个非聚合型中央分析/匹配器,学习编排 P2P LLM 知识蒸馏,在异构代码生成场景中实现稳定收敛并显著优于随机或中心化基线。

ABSTRACT

Fine-tuning Large Language Models (LLMs) for specialized domains is constrained by a fundamental challenge: the need for diverse, cross-organizational data conflicts with the principles of data privacy and sovereignty. While Federated Learning (FL) provides a framework for collaboration without raw data exchange, its classic centralized form introduces a single point of failure and remains vulnerable to model inversion attacks. Decentralized FL (DFL) mitigates this risk by removing the central aggregator but typically relies on inefficient, random peer-to-peer (P2P) pairings, forming a collaboration graph that is blind to agent heterogeneity and risks negative transfer. This paper introduces KNEXA-FL, a novel framework for orchestrated decentralization that resolves this trade-off. KNEXA-FL employs a non-aggregating Central Profiler/Matchmaker (CPM) that formulates P2P collaboration as a contextual bandit problem, using a LinUCB algorithm on abstract agent profiles to learn an optimal matchmaking policy. It orchestrates direct knowledge exchange between heterogeneous, PEFT-based LLM agents via secure distillation, without ever accessing the models themselves. Our comprehensive experiments on a challenging code generation task show that KNEXA-FL yields substantial gains, improving Pass@1 by approx. 50% relative to random P2P collaboration. Critically, our orchestrated approach demonstrates stable convergence, in stark contrast to a powerful centralized distillation baseline which suffers from catastrophic performance collapse. Our work establishes adaptive, learning-based orchestration as a foundational principle for building robust and effective decentralized AI ecosystems.

研究动机与目标

  • 在不共享原始数据的前提下解决数据主权约束,同时实现跨组织的 LLM 微调。
  • 克服去中心化 FL 中心聚合者的脆弱性与无效的随机 P2P 配对。
  • 提出一个学习驱动、保护隐私的匹配机制以优化 P2P 协作。
  • 通过与 PEFT 兼容的安全蒸馏实现知识交换,同时保护模型隐私。

提出的方法

  • 提出 KNEXA-FL,这是一个混合框架,具有非聚合型中央分析/匹配器 (CPM),通过上下文带宽完成 P2P 配对学习。
  • 将 P2P 协作表述为一个上下文带宽问题;在抽象代理档案上对 LinUCB 进行优化以实现匹配。
  • 通过使用文本型目标进行自适应知识蒸馏在异质性情形下进行知识交换。
  • 代理上传隐私保护型档案;守护机制过滤器在交换过程中强制执行数据主权。
  • CPM 根据观察到的回报更新策略,权衡局部损失下降和通信成本。
Figure 1: The KNEXA-FL architecture for orchestrated decentralization. Agents send abstract profiles ( $\mathbf{p}_{i}$ ) to a non-aggregating Central Profiler/Matchmaker (CPM), which provides pairing directives ( $K_{rec}$ ). Paired agents then conduct direct, secure P2P knowledge exchange ( $k_{s}
Figure 1: The KNEXA-FL architecture for orchestrated decentralization. Agents send abstract profiles ( $\mathbf{p}_{i}$ ) to a non-aggregating Central Profiler/Matchmaker (CPM), which provides pairing directives ( $K_{rec}$ ). Paired agents then conduct direct, secure P2P knowledge exchange ( $k_{s}

实验结果

研究问题

  • RQ1 profiler 指导下的 P2P 协作是否优于独立训练和非学习基线的任务表现?
  • RQ2在 KNEXA-FL 中,智能匹配相对于启发式或随机配对的效果有多大?
  • RQ3KNEXA-FL 规模扩展到不同规模的联邦和客户端异质性时的表现如何?

主要发现

  • KNEXA-FL 在 Pass@1 方面达到最高值 13.33%,相对于 Random-P2P 提升 50%,相对于失效的中心化基线提升 100%。
  • 在异质性条件下,Central KD 基线不稳定或崩溃,而 KNEXA-FL 保持稳定。
  • CPM 指导的配对在知识迁移集上实现学生模型的最高 Pass@1 为 86.70%,比随机配对高出 2.6×。
  • LinUCB 指导的匹配在可扩展性方面带来显著提升,随着联邦规模扩大接近 oracle 性能。
  • KNEXA-FL 在六客户端的异质化场景中表现出显著改进,即使最小模型也能受益于协作。
Figure 2: LinUCB-enhanced CPM comprehensive evaluation in a synthetic federation. (a) Performance Gains: The relative improvement over random pairing peaks at 48.5% for 32 clients in a high-heterogeneity setting and remains substantial (37.1%) even for 8 clients. Gains are modest (3.1%) in low-heter
Figure 2: LinUCB-enhanced CPM comprehensive evaluation in a synthetic federation. (a) Performance Gains: The relative improvement over random pairing peaks at 48.5% for 32 clients in a high-heterogeneity setting and remains substantial (37.1%) even for 8 clients. Gains are modest (3.1%) in low-heter

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。