paperbot · PL 论文追踪

全部论文 待读 收藏

P2 FedDebug: Systematic Debugging for Federated Learning Applications

FedDebug:联邦学习应用的系统化调试
ICSE 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE)2023匹配度 3/10 · 论文研究联邦学习应用的动态调试与故障定位,采用记录回放和差分测试,属于机器学习系统与程序语言交叉,但并非用户核心关注的静态分析、Agentic 程序、浮点或贝叶斯程序分析,也未涉及 LLM/Agent 作为工具,因此匹配度有限。引用 17 inbox
Waris Gill, Ali Anwar, Muhammad Ali Gulzar
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:提出 FedDebug,用记录回放实现联邦学习交互式调试,并借助差分测试与神经元激活无需测试数据即可定位故障客户端。

联邦学习(FL)中客户端独立训练并上传本地模型,由于无法访问客户端数据且训练过程协同,当全局模型性能下降时,定位问题轮次与责任客户端极为困难,开发者往往只能试错。FedDebug 提出系统化故障定位框架:一方面利用记录与回放技术构建镜像实时 FL 的仿真,支持交互式调试,可在断点处检查轮次、客户端与全局模型状态,并在轮次和客户端模型间无缝切换、逐步检查;另一方面无需测试数据与标签,通过将差分测试与神经元激活相结合,自动识别偏离正常行为、拖累全局模型的客户端。评估显示,单故障客户端定位准确率 100%,多故障客户端 90.3%,交互式调试训练开销仅 1.2%,定位一个故障客户端仅需一轮训练时间的 2.1%。

问题
联邦学习无法访问客户端数据且协同训练,全局模型性能下降时难以定位责任轮次与客户端,现有方法依赖试错。
方法
通过记录回放构建实时 FL 的仿真以支持交互式调试,并将差分测试与神经元激活结合,在无测试数据与标签下自动定位异常客户端。
评估
在联邦学习场景中评估:单故障客户端定位准确率 100%,多故障客户端 90.3%,交互式调试训练开销 1.2%,定位故障客户端仅占一轮训练时间的 2.1%。
原文摘要(Abstract)

In Federated Learning (FL), clients independently train local models and share them with a central aggregator to build a global model. Impermissibility to access clients' data and collaborative training make FL appealing for applications with data-privacy concerns, such as medical imaging. However, these FL characteristics pose unprecedented challenges for debugging. When a global model's performance deteriorates, identifying the responsible rounds and clients is a major pain point. Developers resort to trial-and-error debugging with subsets of clients, hoping to increase the global model's accuracy or let future FL rounds retune the model, which are time-consuming and costly. We design a systematic fault localization framework, Fedde-bug,that advances the FL debugging on two novel fronts. First, Feddebug enables interactive debugging of realtime collaborative training in FL by leveraging record and replay techniques to construct a simulation that mirrors live FL. Feddebug'sbreakpoint can help inspect an FL state (round, client, and global model) and move between rounds and clients' models seam-lessly, enabling a fine-grained step-by-step inspection. Second, Feddebug automatically identifies the client(s) responsible for lowering the global model's performance without any testing data and labels-both are essential for existing debugging techniques. Feddebug's strengths come from adapting differential testing in conjunction with neuron activations to determine the client(s) deviating from normal behavior. Feddebug achieves 100% accuracy in finding a single faulty client and 90.3% accuracy in finding multiple faulty clients. Feddebug's interactive de-bugging incurs 1.2% overhead during training, while it localizes a faulty client in only 2.1% of a round's training time. With FedDebug,we bring effective debugging practices to federated learning, improving the quality and productivity of FL application developers.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@inproceedings{abs-2301-03553,
  title = {FedDebug: Systematic Debugging for Federated Learning Applications},
  author = {Waris Gill and Ali Anwar and Muhammad Ali Gulzar},
  booktitle = {ICSE},
  year = {2023},
  doi = {10.1109/icse48619.2023.00053}
}