arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.13632cs.LGcs.AIcs.CVcs.DCcs.SE
收藏

TraceFL:通过神经元溯源实现联邦学习中的可解释性驱动调试

TraceFL: Interpretability-Driven Debugging in Federated Learning via Neuron Provenance

Computer Science Department Virginia Tech Blacksburg, USA(弗吉尼亚理工大学计算机科学系);Engineering Department University of Minnesota Minneapolis, USA(明尼苏达大学工程系)

Waris Gill, Ali Anwar, Muhammad Ali Gulzar

AI总结:

TraceFL通过神经元溯源机制,在联邦学习中动态量化全局模型神经元重要性并映射至客户端,实现高精度定位责任客户端,在图像和文本任务上准确率达99%。

摘要:

在联邦学习中,客户端在本地数据上训练模型,并将更新发送到中央服务器,中央服务器使用融合算法将其聚合为全局模型。这种协作且保护隐私的训练方式是有代价的。联邦学习开发者在将全局模型预测归因于特定客户端方面面临重大挑战。定位责任客户端是迈向(a)排除主要对错误预测负责的客户端以及(b)鼓励贡献高质量模型的客户端未来继续参与的关键步骤。现有的机器学习调试方法本质上不适用,因为它们是为单模型、集中式训练而设计的。我们提出了TraceFL,一种细粒度的神经元溯源捕获机制,通过跟踪从各个客户端到全局模型的信息流,识别对全局模型预测负责的客户端。由于对不同输入的推理会激活全局模型的不同神经元集合,TraceFL动态量化给定预测中全局模型神经元的重要性,识别全局模型中最关键的神经元。然后,它将这些神经元映射到每个参与客户端的对应神经元,以确定每个客户端的贡献,最终定位责任客户端。我们在六个数据集上评估了TraceFL,包括两个真实世界的医学影像数据集和四个神经网络,包括GPT等先进模型。TraceFL在涵盖图像和文本分类任务的联邦学习任务中,定位责任客户端的准确率达到99%。在当前最先进的机器学习调试方法大多局限于特定领域(例如仅图像分类)之时,TraceFL是首个能够在广泛的联邦学习应用中实现高精度自动推理的技术。

英文摘要:

In Federated Learning, clients train models on local data and send updates to a central server, which aggregates them into a global model using a fusion algorithm. This collaborative yet privacy-preserving training comes at a cost. FL developers face significant challenges in attributing global model predictions to specific clients. Localizing responsible clients is a crucial step towards (a) excluding clients primarily responsible for incorrect predictions and (b) encouraging clients who contributed high-quality models to continue participating in the future. Existing ML debugging approaches are inherently inapplicable as they are designed for single-model, centralized training. We introduce TraceFL, a fine-grained neuron provenance capturing mechanism that identifies clients responsible for a global model's prediction by tracking the flow of information from individual clients to the global model. Since inference on different inputs activates a different set of neurons of the global model, TraceFL dynamically quantifies the significance of the global model's neurons in a given prediction, identifying the most crucial neurons in the global model. It then maps them to the corresponding neurons in every participating client to determine each client's contribution, ultimately localizing the responsible client. We evaluate TraceFL on six datasets, including two real-world medical imaging datasets and four neural networks, including advanced models such as GPT. TraceFL achieves 99% accuracy in localizing the responsible client in FL tasks spanning both image and text classification tasks. At a time when state-of-the-artML debugging approaches are mostly domain-specific (e.g., image classification only), TraceFL is the first technique to enable highly accurate automated reasoning across a wide range of FL applications.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑