Robust Federated Inference
Akash Dhasade, Sadegh Farhadkhani, Rachid Guerraoui, Nirupam Gupta, Maxime Jacovella, Anne-Marie Kermarrec, Rafael Pinot
TL;DR
The paper tackles robustness in federated inference when up to $f < \tfrac{n}{2}$ client outputs may be corrupted, formalizing the robust federated inference problem and analyzing averaging-based aggregators. It derives a robustness certificate for $(f,\kappa)$-robust averaging and reveals that non-linear aggregators can be attacked via an adversarial loss on probit vectors. To overcome this, it introduces DeepSet-TM, a permutation-invariant, neural-aggregator trained with adversarial risk minimization (RERM) and enhanced at test time with a robust averaging step, yielding state-of-the-art performance across benchmarks. Empirical results on CIFAR-10, CIFAR-100, and AG-News show 4.7–22.2 percentage point improvements in worst-case accuracy over baselines across six attacks, demonstrating practical robustness for federated ensemble inference.
Abstract
Federated inference, in the form of one-shot federated learning, edge ensembles, or federated ensembles, has emerged as an attractive solution to combine predictions from multiple models. This paradigm enables each model to remain local and proprietary while a central server queries them and aggregates predictions. Yet, the robustness of federated inference has been largely neglected, leaving them vulnerable to even simple attacks. To address this critical gap, we formalize the problem of robust federated inference and provide the first robustness analysis of this class of methods. Our analysis of averaging-based aggregators shows that the error of the aggregator is small either when the dissimilarity between honest responses is small or the margin between the two most probable classes is large. Moving beyond linear averaging, we show that problem of robust federated inference with non-linear aggregators can be cast as an adversarial machine learning problem. We then introduce an advanced technique using the DeepSet aggregation model, proposing a novel composition of adversarial training and test-time robust aggregation to robustify non-linear aggregators. Our composition yields significant improvements, surpassing existing robust aggregation methods by 4.7 - 22.2% in accuracy points across diverse benchmarks.
