arXiv:2510.00065cs.LG2025-10

用预训练语言模型解决异构表格数据的联邦学习难题

FedLLM-Align: Feature Extraction From Heterogeneous Clients

  • 将表格数据转为文本,用DistilBERT提取语义嵌入
  • 在模拟异构场景下F1最高提升25%,通信开销降低65%
  • 适合医疗、金融等隐私敏感且数据格式不一的场景

联邦学习(FL)可在不共享原始数据的情况下实现协同建模,适用于医疗、金融和物联网等隐私敏感领域。然而,在实际场景中,客户端间表格数据存在显著异构性,如字段命名不一致、特征空间不匹配,导致难以直接聚合。为此,本文提出FedLLM-Align框架,利用基于Transformer的预训练语言模型(如DistilBERT)进行特征提取。该方法将表格记录序列化为文本,通过预训练语言模型编码器生成语义对齐的嵌入表示,进而构建轻量级本地分类头,采用标准聚合方式(如FedAvg)在本地训练,所有原始数据始终保留在本地。我们在两个不同领域的二分类任务上评估该框架:一是基于分区弗雷明汉心脏研究数据的心脏病预测,二是金融客户流失预测。在模拟的模式异构条件下,FedLLM-Align相较现有最优基线,F1分数最高提升25%,通信开销减少65%。结果表明,该方法是一种兼顾隐私保护与通信效率的联邦学习新范式,适用于实践中常见的异构表格数据场景。

原文摘要 · Abstract (English)

Federated learning (FL) enables collaborative model training without sharing raw data, making it attractive for privacy-sensitive domains, e.g., healthcare, finance, and IoT. A major obstacle, however, is the potential heterogeneity of tabular data across clients, in practical settings, where schema mismatches and incompatible feature spaces prevent straightforward aggregation. To address this challenge, this paper proposes FedLLM-Align, a federated learning framework that leverages pretrained transformer based language models for feature extraction. Towards this objective, FedLLM-Align serializes tabular records into text and derives semantically aligned embeddings from a pretrained LLM encoder, e.g, DistilBERT, facilitating lightweight local classifier heads that can be trained in a federated manner using standard aggregation schemes, e.g., FedAvg, while keeping all raw data records local. To quantify the merits and trade-offs of FedLLM-Align, we evaluate the proposed framework on binary classification tasks from two different domains: i) Coronary heart disease prediction on partitioned Framingham Heart Study data, and ii) Customer churn prediction on a financial dataset. FedLLM-Align outperforms state-of-the-art baselines by up to 25% in terms of the F1 score, under simulated schema heterogeneity, and achieves a 65% reduction in the communication overhead. These results establish FedLLM-Align as a privacy-preserving and communication-efficient approach for federated training based on clients with heterogeneous tabular datasets, commonly encountered in practice.

联邦学习表格数据语言模型隐私计算

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