arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2308.05014cs.SEcs.LG
收藏

开源联邦学习框架中Bug的综合实证研究

A Comprehensive Empirical Study of Bugs in Open-Source Federated Learning Frameworks

ShanghaiTech University(上海科技大学);Institute of Software, Chinese Academy of Sciences(中国科学院软件研究所);University of Chinese Academy of Sciences(中国科学院大学);Tianjin University(天津大学);Nankai University(南开大学)

Weijie Shao, Yuyang Gao, Fu Song, Sen Chen, Lingling Fan, JingZhu He

AI总结:

本研究针对开源联邦学习框架的bug问题,首次从17个主流框架的千余条相关议题与拉取请求中收集1119个bug,构建多维度分类体系并分析其功能分布与关联,得出9项核心发现,为优化FL框架和bug治理工具研发提供依据。

摘要:

联邦学习(FL)是一种分布式机器学习(ML)范式,允许多个客户端协同训练共享的机器学习(ML)模型,同时不会泄露客户端的数据隐私。近年来,尤其是在许多国家实施数据保护法律法规以来,联邦学习获得了广泛普及。为推动联邦学习的应用,学界和业界已提出多种FL框架,让非专业人员也能轻松训练ML模型。因此,理解FL框架中的bug对于助力开发更优质的FL框架、并潜在推动bug检测、定位与修复工具的开发至关重要。为此,我们开展了首个实证研究,对FL框架中的bug进行全面收集、分类与特征分析。具体而言,我们从GitHub上17个主流且具代表性的开源FL框架的全部676个已关闭议题和514个已合并拉取请求中,手动收集并分类了1119个bug。我们提出将这些bug划分为12种bug症状、12种根本原因和18种修复模式的分类体系,还研究了它们在23项功能上的相关性与分布情况。我们从研究中得出9项主要发现,并基于这些发现讨论了其启示与未来研究方向。

英文摘要:

Federated learning (FL) is a distributed machine learning (ML) paradigm, allowing multiple clients to collaboratively train shared machine learning (ML) models without exposing clients' data privacy. It has gained substantial popularity in recent years, especially since the enforcement of data protection laws and regulations in many countries. To foster the application of FL, a variety of FL frameworks have been proposed, allowing non-experts to easily train ML models. As a result, understanding bugs in FL frameworks is critical for facilitating the development of better FL frameworks and potentially encouraging the development of bug detection, localization and repair tools. Thus, we conduct the first empirical study to comprehensively collect, taxonomize, and characterize bugs in FL frameworks. Specifically, we manually collect and classify 1,119 bugs from all the 676 closed issues and 514 merged pull requests in 17 popular and representative open-source FL frameworks on GitHub. We propose a classification of those bugs into 12 bug symptoms, 12 root causes, and 18 fix patterns. We also study their correlations and distributions on 23 functionalities. We identify nine major findings from our study, discuss their implications and future research directions based on our findings.

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

↑