SketchGuard:基于 Sketch 筛选实现可扩展的拜占庭鲁棒去中心化联邦学习
Screen Before You Fetch: Compressed Byzantine Screening for Decentralized Learning on the Edge-Cloud Continuum
AI总结:
SketchGuard 是一种基于 Sketch 筛选的拜占庭鲁棒去中心化联邦学习方法,修复了 naive 实现的安全漏洞,可在保证鲁棒性的同时降低通信开销,适用于多种攻击和任务场景。
摘要:
拜占庭鲁棒去中心化联邦学习(Decentralized Federated Learning,DFL)可保护点对点训练免受恶意客户端攻击。主流防御方法依赖基于相似度的过滤,其中每个客户端在做出任何过滤决策前需与所有邻居交换完整模型向量;这种通信开销随模型维度增长,在模型增大时扩展性较差。我们提出 SketchGuard,它将筛选与解耦:客户端在紧凑的 Count Sketch 域中筛选邻居,仅从通过筛选的邻居处获取完整模型。我们证明该思路若直接实现存在安全漏洞:由于 Sketch 是固定且公开已知的线性映射,自适应攻击者可在其零空间中隐藏任意大的扰动,从而使中毒模型通过 Sketch 域过滤和重新 Sketch 验证。我们证明此漏洞并通过 commit-then-sketch 修复,这是一种单消息协议,仅在模型提交后才绘制 Sketch 种子,恢复 Count Sketch 可保证筛选决策的不知情设置。随后我们在强凸和非凸场景中建立收敛性,明确依赖网络连通性和数据异质性。实验表明,安全的 SketchGuard 在包括自适应零空间攻击在内的六种攻击、多种网络拓扑和异质性设置下,以及针对参数规模达 1100 万的语言模型的去中心化微调任务中,可达到与最先进全精度防御相当的鲁棒性,仅存在小幅阈值膨胀,同时将每邻居筛选通信量降至与模型维度无关的规模。
英文摘要:
In decentralized federated learning, Byzantine-robust defenses filter neighbors by model similarity, but only after receiving each neighbor's full model. On constrained edge uplinks, that transfer dominates the round, even for discarded models. We propose SketchGuard, which screens neighbors on compact sketches and fetches full models only from those that pass, so a rejected neighbor costs $O(k)$ rather than $O(d)$ where $k\ll d$. Sketches, however, hide information an adversary can exploit, either by building a model indistinguishable from a benign one under a public compressor or by forging a sketch once the seed is known. Three rules close these gaps, namely exact verification of every fetched model, commitment before the sketch seed is drawn, and a ban on any sender whose model mismatches its sketch. We prove convergence in the strongly convex and non-convex settings with explicit topology and heterogeneity terms. Across three datasets and two wrapped filters, SketchGuard reproduces the uncompressed filter's test error to within $0.003$, withstands a band-targeted attack that defeats sketch-only screening, and moves $0.7\times$ the bytes of full exchange under attack for under $1.7\%$ of a round in compute. On emulated edge and cloud links it cuts the round to $0.61\times$ that of the state-of-the-art.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。