联邦学习通用算法的正确编排:CSP中的形式化与验证
Correct orchestration of Federated Learning generic algorithms: formalisation and verification in CSP
AI总结:
本文使用CSP进程演算和PAT模型检测器,形式化验证了集中式与分散式两种通用联邦学习算法的无死锁性和成功终止性,确保了其编排的正确性。
摘要:
联邦学习(FL)是一种机器学习设定,其中客户端保持训练数据分散,并在中央服务器(集中式FL)的协调下或在对等网络(分散式FL)中协作训练模型。正确的编排是主要挑战之一。在本文中,我们使用CSP进程演算和PAT模型检测器,形式化验证了两种通用FL算法(一种集中式和一种分散式)的正确性。CSP模型由对应于通用FL算法实例的CSP进程组成。PAT通过证明这两种通用FL算法的无死锁性(安全性属性)和成功终止(活性属性),自动证明了它们的正确性。CSP模型是自下而上手工构建的,作为真实Python代码的忠实表示,并由PAT自上而下自动检查。
英文摘要:
Federated learning (FL) is a machine learning setting where clients keep the training data decentralised and collaboratively train a model either under the coordination of a central server (centralised FL) or in a peer-to-peer network (decentralised FL). Correct orchestration is one of the main challenges. In this paper, we formally verify the correctness of two generic FL algorithms, a centralised and a decentralised one, using the CSP process calculus and the PAT model checker. The CSP models consist of CSP processes corresponding to generic FL algorithm instances. PAT automatically proves the correctness of the two generic FL algorithms by proving their deadlock freeness (safety property) and successful termination (liveness property). The CSP models are constructed bottom-up by hand as a faithful representation of the real Python code and is automatically checked top-down by PAT.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。