Cutting Through Privacy: A Hyperplane-Based Data Reconstruction Attack in Federated Learning
Francesco Diana, André Nusser, Chuan Xu, Giovanni Neglia · 2025
Read Cutting Through Privacy: A Hyperplane-Based Data Reconstruction Attack in Federated Learning by Francesco Diana, André Nusser, Chuan Xu, Giovanni Neglia (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2505-10264.txt.
Introduction
Federated learning promises privacy: many clients train one model together without handing over their raw data. Francesco Diana and co-authors show, in a 2025 paper, how a dishonest central server can break that promise. The server can rig the model it sends out so that the updates it receives leak the training data.
Their attack uses a geometric view of fully connected layers to craft the trap. It recovers whole batches of data exactly, with no prior knowledge of what the data look like. The recovered batches run about a hundred times larger than earlier attacks managed. Tests on image and table data beat prior methods, which warns builders that keeping data local is not, by itself, a privacy guarantee.
Catalog record
| CREATOR | Francesco Diana, André Nusser, Chuan Xu, Giovanni Neglia |
|---|---|
| YEAR | 2025 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 76 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2505-10264
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
Cutting Through Privacy: A Hyperplane-Based Data Reconstruction Attack in Federated Learning Francesco Diana, André Nusser, Chuan Xu, Giovanni Neglia Abstract Federated Learning (FL) enables collaborative training of machine learning models across distributed clients without sharing raw data, ostensibly preserving data privacy. Nevertheless, recent studies have revealed critical vulnerabilities in FL, showing that a malicious central server can manipulate model updates to reconstruct clients’ private training data. Existing data reconstruction attacks have important limitations: they often rely on assumptions about the clients’ data distribution or their efficiency significantly degrades when batch sizes exceed just a few tens of samples. In this work, we introduce a novel data reconstruction attack that overcomes these limitations. Our method leverages a new geometric perspective on fully connected layers to craft malicious model parameters, enabling the perfect recovery of arbitrarily large data batches in classification tasks without any prior knowledge of clients’ data. Through extensive experiments on both image and tabular datasets, we demonstrate that our attack outperforms existing methods and achieves perfect reconstruction of data batches two orders of magnitude larger than the state of the art. 1]Université Côte d’Azur France 2]Inria, France 3]CNRS France 4]I3S France 1 Introduction Federated Learning (FL) enables collaborative machine learning model training across distributed clients without directly sharing data with a central server [ McMahan et al., 2017 ] . Although not sharing data ostensibly guarantees privacy, several attacks have revealed existing privacy vulnerabilities in FL. By inspecting the updates received and using publicly available information, the central server can infer training data membership [ Melis et al., 2019 , Nasr et al., 2019 , Choquette-Choo et al., 2021 ] or infer clients’ sensitive attributes [ Chen et al., 2024 , Diana et al., 2025 ] . These attacks only expose limited information, whereas more advanced data reconstruction attacks enable the server to fully recover private training data points. These attacks have been proposed in two primary settings: the honest-but-curious setting, where the server passively observes updates [ Zhu et al., 2019 , Zhao et al., 2020 , Geiping et al., 2020 , Yin et al., 2021 , Kariyappa et al., 2023 , Dimitrov et al., 2022 , Dimitrov et al., 2024 ] , and the malicious setting [ Fowl et al., 2022 , Boenisch et al., 2023 , Zhang et al., 2023 , Zhao et al., 2024 , Wang et al., 2024 , Garov et al., 2024 ] , where the server actively manipulates model parameters. In the honest-but-curious setting, existing methods struggle to perfectly recover the training data for batch sizes of a few dozen data points [ Dimitrov et al., 2024 ] ) or produce very noisy reconstructions for a large portion of data points in batches exceeding 100 data points [ Kariyappa et al., 2023 , Fig. 6] . In the malicious setting, existing attacks [ Wen et al., 2022 , Fowl et al., 2022 , Boenisch et al., 2023 , Zhang et al., 2023 , Garov et al., 2024 ] perform better but have not succeeded in perfectly recovering a batch of 256 data points. Furthermore, most previous work has focused on image datasets, even though many real-world applications involve tabular data—such as clinical and financial records—which often contains highly sensitive information. In this paper we focus on the malicious setting, in which the server is able to craft the model parameters to improve the attack’s effectiveness. We present a novel attack that reconstructs client data by combining geometric search in the feature space with precise control over each data point’s contribution to the client’s updates. The core idea behind our attack is to isolate individual data points within strips defined by parallel hyperplanes and then iteratively reconstruct the entire batch by leveraging the knowledge of per-data-point gradient contributions. This approach is effective for all classification tasks, including those involving low-dimensional tabular data where existing state-of-the-art attacks perform poorly, demonstrating its robustness across diverse data modalities. Concretely, our key contributions are the following: [itemsep=0pt,topsep=0pt] • We derive an analytical upper bound on the accuracy of existing data reconstruction attacks on random data. • We show how a malicious server can control each data point’s contribution to the client’s updates. • We propose a perfect reconstruction algorithm for classification tasks that is agnostic to input dimensionality. Hence, while most of the existing literature primarily addresses image classification, our attack can reconstruct both image and tabular data. • Our method enables full recovery of all samples within a batch and remains effective regardless of batch size, provided that the number of training rounds is sufficiently high. • We validate our findings on both image and tabular datasets, achieving perfect reconstruction on large batches of up to 4,096 data points, where our baseline fails to recover batches of 64 inputs. 2 Background In federated learning, a set of users \mathcal{U} , orchestrated by a central server, cooperate to optimize a shared model \theta , which minimizes the weighted sum of clients’ empirical risks: \min_{\theta\in\mathbb{R}^{d}}{\mathcal{L}}(\theta)=\sum_{u\in\mathcal{U}}p^{u}\mathcal{L}(\theta,\mathcal{D}^{u}), (1) where \mathcal{D}^{u}=\{({\mathbf{x}}_{i}^{u},y_{i}^{u})\}_{i=1}^{n^{u}} is the local dataset of client u , {\mathcal{L}^{u}} measures the loss of model \theta on points in \mathcal{D}^{u} , and p^{u} is a positive weight quantifying the relative importance of client u , s.t. \sum_{u\in\mathcal{U}}p^{u}=1 . Typical choices in FL are p^{u}=1/|\mathcal{U}| and p^{u}\propto n^{u} . Federated Learning typically involves iterative algorithms that operate in multiple communication rounds between clients and the central server. At each communication round, clients receive the current global model from the server and transmit updates computed on their local datasets. The nature of the updates depends on the specific federated optimization algorithm in use. For instance, in FedSGD [ Chen et al., 2016 , McMahan et al., 2017 ] , each client computes and transmits a single gradient update \nabla_{\theta}\mathcal{L}(\theta,\mathcal{D}^{u}) . In contrast, algorithms like FedAvg [ McMahan et al., 2017 ] allow clients to perform multiple local stochastic gradient descent steps before sending their updated model parameters to the server. While FL preserves data locality, the transmitted updates—whether gradients or model parameters—can leak sensitive information about the clients’ datasets [ Melis et al., 2019 , Diana et al., 2025 , Fowl et al., 2022 ] . This vulnerability exposes FL to adversarial attacks aimed at reconstructing private data [ Zhu et al., 2019 , Fowl et al., 2022 , Boenisch et al., 2023 , Dimitrov et al., 2024 ] . The success rate of such attacks depends on the adversary’s capabilities. In what follows, we consider the attacker to be the server. Two adversarial settings are commonly considered in the literature: the honest-but-curious setting [ Zhu et al., 2019 , Dimitrov et al., 2024 ] and the malicious setting [ Fowl et al., 2022 , Boenisch et al., 2023 ] . In the honest-but-curious setting, the server passively observes updates without interfering with the training process [ Paverd and Martin, 2014 ] . In the malicious setting, the server actively manipulates the training process by transmitting modified models designed to induce privacy leakage. In both settings, two main categories of attacks have been proposed: optimization-based attacks and analytical attacks. 2.1 Optimization-based attacks In optimization-based attacks, the server attempts to reconstruct the client’s data by minimizing the difference between the actual update sent by