원시데이터 수집 시스템
선정목록으로

Topology-Based Reconstruction Prevention for Decentralised Learning

관련 수소연료전지 · (5) 연료전지용 수분제어장치(가습기)

기본 정보

저자
  1. Florine W. Dekker — Delft University of Technology
  2. Zekeriya Erkin — Delft University of Technology
  3. Mauro Conti — Università di Padova
DOI
10.56553/popets-2025-0030
저널
Proceedings on Privacy Enhancing Technologies
발행년도
2024
발행기관
De Gruyter Open
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
http://dx.doi.org/10.56553/popets-2025-0030
토픽
Advancements in Photolithography Techniques
OpenAlex ID
W4404213207

평가 내용

관련도
관련
사업분야
수소연료전지 · (5) 연료전지용 수분제어장치(가습기)
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '수소연료전지 > 연료전지용 수분제어장치(가습기)' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Decentralised learning has recently gained traction as an alternative to federated learning in which both data and coordination are distributed over its users. To preserve the confidentiality of users' data, decentralised learning relies on differential privacy, multi-party computation, or a combination thereof. However, running multiple privacy-preserving summations in sequence may allow adversaries to perform reconstruction attacks. Unfortunately, current reconstruction countermeasures either cannot trivially be adapted to the distributed setting, or add excessive amounts of noise. In this work, we first show that passive honest-but-curious adversaries can infer other users' private data after several privacy-preserving summations. For example, in subgraphs with 18 users, we show that only three passive honest-but-curious adversaries succeed at reconstructing private data 11.0% of the time, requiring an average of 8.8 summations per adversary. The success rate depends only on the adversaries' direct neighbourhood, and is independent of the size of the full network. We consider weak adversaries that do not control the graph topology, cannot exploit the inner workings of the summation protocol, and do not have auxiliary knowledge; and show that these adversaries can still infer private data. We develop a mathematical understanding of how reconstruction relates to topology and propose the first topology-based decentralised defence against reconstruction attacks. Specifically, we show that reconstruction requires a number of adversaries linear in the length of the network's shortest cycle. Consequently, exact reconstruction attacks over privacy-preserving summations are impossible in acyclic networks. Our work is a stepping stone for a formal theory of topology-based decentralised reconstruction defences. Such a theory would generalise our countermeasure beyond summation, define confidentiality in terms of entropy, and describe the interactions with (topology-aware) differential privacy.

본문 94,841자

본문 펼치기
# Topology-Based Reconstruction Prevention for Decentralised Learning [Florine W. Dekker](https://orcid.org/0000-0002-0506-7365) Delft University of Technology Delft, Netherlands f.w.dekker@tudelft.nl Abstract [Zekeriya Erkin](https://orcid.org/0000-0001-8932-4703) Delft University of Technology Delft, Netherlands z.erkin@tudelft.nl 1 Introduction [Mauro Conti](https://orcid.org/0000-0002-3612-1934) Università di Padova Padua, Italy Delft University of Technology Delft, Netherlands mauro.conti@unipd.it Decentralised learning has recently gained traction as an alterna tive to federated learning in which both data and coordination are distributed over its users. To preserve the confidentiality of users’ data, decentralised learning relies on differential privacy, multi party computation, or a combination thereof. However, running multiple privacy-preserving summations in sequence may allow ad versaries to perform reconstruction attacks. Unfortunately, current reconstruction countermeasures either cannot trivially be adapted to the distributed setting, or add excessive amounts of noise. In this work, we first show that passive honest-but-curious ad versaries can infer other users’ private data after several privacy preserving summations. For example, in subgraphs with 18 users, we show that only three passive honest-but-curious adversaries suc ceed at reconstructing private data 11.0% of the time, requiring an average of 8.8 summations per adversary. The success rate depends only on the adversaries’ direct neighbourhood, and is independent of the size of the full network. We consider weak adversaries that do not control the graph topology, cannot exploit the inner workings of the summation protocol, and do not have auxiliary knowledge; and show that these adversaries can still infer private data. We develop a mathematical understanding of how reconstruc tion relates to topology and propose the first topology-based de centralised defence against reconstruction attacks. Specifically, we show that reconstruction requires a number of adversaries linear in the length of the network’s shortest cycle. Consequently, exact reconstruction attacks over privacy-preserving summations are impossible in acyclic networks. Our work is a stepping stone for a formal theory of topology based decentralised reconstruction defences. Such a theory would generalise our countermeasure beyond summation, define confi dentiality in terms of entropy, and describe the interactions with (topology-aware) differential privacy. Keywords reconstruction attacks, statistical disclosure, decentralised learning, privacy-preserving summation, graph girth This work is licensed under the Creative Commons Attribu tion 4.0 International License. To view a copy of this license [visit https://creativecommons.org/licenses/by/4.0/ or send a](https://creativecommons.org/licenses/by/4.0/) letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. _Proceedings on Privacy Enhancing Technologies 2025(1), 553–566_ © 2025 Copyright held by the owner/author(s). [https://doi.org/10.56553/popets-2025-0030](https://doi.org/10.56553/popets-2025-0030) Machine learning is used in a wide array of systems, including smartwatches [52], predictive text [6], and malware detection [43]. These systems require access to large amounts of reliable data in order to function accurately. In practice, the necessary data usually exist, but are distributed over many data owners. The naive approach for data collection is to have the data owners send their data to a central server, which trains a machine learning model on these data before deploying it. However, sharing private data may result in misuse, for example in the form of targeted advertising or harassment. In an age of increasing privacy awareness, data owners may be reluctant to share their data, threatening the viability of data-intensive machine learning applications. The emerging field of federated learning, first formalised in [40], addresses these privacy issues by distributing the training process over the data owners. Instead of submitting their data, each data owner first trains a machine learning model on their local data and then submits this model to a central server. This central server, called the aggregator, uses a privacy-preserving summation proto col to combine the received models into a single global model. The central server then sends back the global model to the data owners, who apply another round of training, repeating the entire process until the global model has converged. A significant drawback of classical federated learning is that communication is a bottleneck, scaling quadratically [6] or poly logarithmically [2] in the number of users. Decentralised learning, a variant of federated learning [33], removes this bottleneck by distributing both the data and the coordination between users. Training happens in a peer-to-peer fashion, with users exchang ing information only with their direct neighbours. This signifi cantly reduces the communication complexity [37], allowing for cost-effective deployments without a central server. Furthermore, because communication is local, it becomes much harder for adver saries to observe the full network [47]. Recently, there has been increased interest in decentralised learn ing. Though some works do not consider privacy [37, 45, 55], many other works do. Some of these works [3, 48, 55] consider algorithms in which nodes are randomly selected to calculate updates, and protect the private data underlying the models using differential privacy. That is, they apply carefully calibrated random noise to the calculated gradients before sharing them with others. A slight variation of this is to use a random walk through the graph to determine the order in which updates occur [17]. There are also works [10, 42, 44] that use blockchains to facilitate the commu nication and coordination between nodes, and then similarly use 553 Proceedings on Privacy Enhancing Technologies 2025(1) Florine W. Dekker, Zekeriya Erkin, and Mauro Conti differential privacy. Finally, instead of differential privacy, some works utilise multi-party computation [20, 34, 46], which does not give noisy results, but has higher computational costs. A common thread in these works is that they apparently assume that if a single summation is secure, then the protocol remains secure after multiple summations. However, this requires further scrutiny, as combining information from multiple rounds may re veal previously hidden information. For example, given private records _?_, _?_, and _?_, and a privacy-preserving summation proto col, an adversary could separately query _?_ + _?_, then _?_ + _?_, and finally _?_ + _?_, and use a linear algebra solver to learn all three private records. To defend against such attacks, one must prevent sequences of queries that would reveal private data. Naive restric tions, such as requiring a minimum number of included records per query, are insufficient: The adversary could still first query the sum of all models and then query the sum of all models except one, allowing them to reconstruct the excluded model. As such, designing proper countermeasures requires a formal theory. Extracting data from output traces is known as a reconstruction attack, which has its roots in the theory of statistical disclosure [28]. Many defences have been proposed since the 1970s, including query auditing [13], perturbation [25], and random sampling [23]. How ever, these works assume either a central database, or otherwise assume a central arbiter that determines which queries are allowed. In decentralised learning, there is no clear leader who can be trusted to audit queries. Instead, decentralised learning requires a decen tralised solution. Apart from works on perturbation, to the best of our knowledge, only da Silva et al. [18] have considered reconstruc tion attacks in peer-to-peer networks, but their work applies only to distributed clustering, and does not propose any countermeasures. When considering perturbation, naively applying user-level dif ferential privacy in a distributed setting results in linearly-scaling noise, severely reducing the protocol’s utility [17, 26, 56]. Intuitively, utility can be increased while retaining the level of privacy by cor relating noise by topology [25], but to the best of our knowledge only a few works have done this. Guo et al. [30] reduce noise based on the mutual overlaps of neighbours’ neighbourhoods, but do not consider time-series correlations. Cyffers et al. [17] observe that data sensitivity decreases as mutual node distances increase, but their solution does not scale well under collusion. In this work, we analyse reconstruction attacks performed by colluding adversaries in peer-to-peer networks. We model the net work after decentralised learning, though our analysis is sufficiently generic to describe a sequence of summations in any environment. Summation is a simple protocol, but is sufficient to implement many of the aforementioned decentralised learning protocols, in addition to smart metering [29] and even principal component analysis, singular-value decomposition, and decision tree classifications [4]. We assume a set of nodes, each with a private datum that changes over time, and allow privacy-preserving summation over one’s direct neighbours. We do not consider auxiliary knowledge; see Section 3.3.3 and [14, 15] for a detailed discussion on the real-world applicability of this model. We then formalise the relation between reconstruction and network topology, and prove that exact recon struction attacks are impossible in a specific class of topologies. Concretely, we begin by showing that reconstruction attacks are practical, and that, in random peer-to-peer subgraphs, three honest but-curious adversaries with 15 neighbours succeed in finding at least one neighbours’ private datum with an 11.0% success rate, requiring an average of only 8.8 rounds per adversary. The success rate is independent of the size of the full network; it depends only on the adversaries’ local neighbourhood. We then show that the success rate depends on the connectivity of the network rather than its size. Specifically, we show that reconstruction corresponds to cycles in the graph: If the graph’s shortest cycle has length 2 _?_, then reconstruction never succeeds if there are fewer than _?_ adversaries. Finally, we briefly evaluate the impact of increasing girth on the convergence of a distributed averaging protocol, and find that while more rounds are required to achieve convergence in all graphs, dense graphs require fewer rounds than sparse graphs do when both are “stretched” to higher girths. To the best of our knowledge, our work is the first to propose a topology-based decentralised defence to reconstruction attacks. We show that restricting how summations may be composed makes it impossible to reconstruct private data. We must therefore assume that adversaries do not have auxiliary knowledge, as restrictions on summations cannot be guaranteed otherwise. With the ulti mate goal of developing a general theory of structured composition as a distributed reconstruction countermeasure, future work may include finding a condition that is not only sufficient (as seen in this work) but also necessary for reconstruction, generalising these countermeasures to operations beyond summation, stronger no tions of privacy rooted in information theory, and investigating the interactions with (topology-aware) differentially private noise. The remainder of this paper is structured as follows. In Section 2, we discuss related work. In Section 3, we describe the preliminar ies: We explain basic primitives, formalise our assumptions, and introduce our notation. In Section 4, we formally describe recon struction attacks, and show that the attack is feasible. In Section 5, we prove that the success rate of the reconstruction attack depends on the graph’s girth, and investigate how girth affects application performance. Finally, in Section 6, we present our conclusions. 2 Related Work In this work we propose a decentralised reconstruction countermea sure for privacy-preserving summation with dynamic data. To the best of our knowledge, this exact problem has not been treated in lit erature before. Therefore, in this section, we consider related works from various fields, and describe their similarities and differences. 2.1 Reconstruction Attacks Consider a database that users can query for statistical information. For example, in a database with employee records, users can query for the sum of salaries of all PhD students. Naturally, the database must ensure that users cannot learn individual employees’ salaries. A naive defence would disallow queries over single records, but a cleverly chosen sequence of queries may still allow the user to reconstruct private data. For example, the user could query the sum of salaries of all employees, and the sum of salaries of all employees except Jay Doe, and reconstruct Jay Doe’s salary from that. 554 Topology-Based Reconstruction Prevention for Decentralised Learning Proceedings on Privacy Enhancing Technologies 2025(1) The attack described above is known under various names: _statis-_ _tical disclosure_ <sup>1</sup>, the _inference problem_, and the _reconstruction attack_ . It has been the subject of research since at least the 1970s [28], orig inally in the context of releasing census statistics. Since then, many reconstruction defences have been proposed, including random sampling [23], query auditing [13], and perturbation [25]. Most related to our research question are those works that con sider sum queries only. Chin [12] studies summation query graphs to determine the exact conditions under which disclosure occurs. However, his analysis is limited to queries that are over exactly two records each, and cannot easily be generalised. Wang et al. [49] allow queries over more than two records. The authors propose cardinality-based criteria for determining whether reconstruction is possible, and create a whitelist of all summations that can be performed without causing undesired reconstruction. All aforementioned solutions consider a single trusted database or auditor, making them unsuitable for peer-to-peer protocols, in which the data are spread over many users. Except for perturbation based techniques, there are very few works that consider recon struction defences in peer-to-peer settings. In their study on recon struction attacks in distributed environments, Jebali et al. [32] note only the work by da Silva et al. [18] when discussing peer-to-peer solutions, but the latter applies only to distributed clustering, and does not propose any countermeasures. Perturbation, on the other hand, has been studied in more detail. Probably the most popular perturbation mechanism for the decen tralised setting is local differential privacy [27, 35, 51], a variation of differential privacy [25]. With this technique, when a query is performed over some set of nodes, each node adds a small amount of noise such that the aggregate is relatively accurate, but recon struction remains impossible even after multiple queries. Various fully-decentralised learning protocols use local differential privacy to allow learning a shared machine learning model without reveal ing users’ private datasets [3, 48, 55]. However, the perturbation is calibrated to protect individual records in users’ private datasets, rather than protecting users’ entire datasets. As a result, these works are potentially vulnerable to inversion attacks [31, 50]. The level of noise can be increased, but this severely impacts utility [17, 56]. Intu itively, noise can be made more “efficient” by exploiting correlations between users’ data [26], which, in peer-to-peer networks, amounts to calibrating noise to the topology. To the best of our knowledge only a few works have done this. Guo et al. [30] reduce noise based on the mutual overlaps of neighbours’ neighbourhoods, but do not consider time-series correlations. Cyffers et al. [17] observe that data sensitivity decreases as mutual node distances increase, but their solution does not scale well when adversaries collude. 2.2 Multi-Party Computation In secure multi-party computation, composability [38] is the prop erty of a cryptographic scheme that no additional leakage occurs when it is invoked multiple times, with varying parties, combined with other schemes, and so on. There are numerous frameworks to 1Confusingly, the term “statistical disclosure attack” is also a separate attack in peer to-peer literature [19], but this is an unrelated attack on anonymity rather than confidentiality. model composability, including universal composability [8], con structive composability [39], and reactive simulatability [1]. Composability solves a different issue than the one posed in this work. While composability ensures nothing leaks beyond what can be inferred from the outputs, our work is concerned exactly with that which can be inferred from the outputs. Composability does not help when the desired output (implicitly) reveals private data. In secure multi-party computation literature, this difference is occasionally acknowledged. For example, Bogdanov et al. [5] note that “the composition of ideal functionalities is no longer an ideal functionality”, and, before them, Yang et al. [54] made a similar observation. There are more works that consider this difference, but, to the best of our knowledge, these works all resolve the issue by removing or protecting intermediate values, but do not consider protocols which desire intermediate values, and even then do not consider that reconstruction attacks may be possible after multiple instantiations of the protocol. An exception is the work by Dekker and Erkin [21], which releases intermediate values in a structured manner such that it is not possible to reconstruct all users’ values. However, the authors do not prove (or disprove) that it is impossible to find a _single_ user’s value. 3 Preliminaries We briefly explain some basics on privacy-preserving summation in Section 3.1 and on bipartite graphs in Section 3.2. After that, we formulate our assumptions and define our notation in Section 3.3. 3.1 Privacy-Preserving Summation Privacy-preserving summation is a special case of multi-party com putation in which an aggregator calculates the sum of users’ private values without learning the users’ individual values. In this work, we consider privacy-preserving summation to be an information theoretically secure black-box that reveals only the identities and the sum of the variables. 3.2 Bipartite Graphs A bipartite graph _?_ = ( _?,?, ?_ ) is a graph with nodes _?_ ∪ _?_ and edges _?_, subject to _?_ ∩ _?_ = ∅ and ∀( _?, ?_ ) ∈ _?_ : _?_ ∈ _?_ ⇔ _?_ ∈ _?_ . Furthermore, a bipartite graph _?_ = ( _?,?, ?_ ) can be described by a biadjacency matrix _?_ ∈{0 _,_ 1} <sup>|</sup> <sup>_?_</sup> <sup>|×|</sup> <sup>_?_</sup> <sup>|</sup>, where ∀0 ≤ _?_ _<_ | _?_ | _,_ 0 ≤ _?_ _<_ | _?_ | : _??,?_ = 1 ⇔( _??,??_ ) ∈ _?_ . In this work, all graphs are undirected. 3.3 Assumptions and Notation The underlying models and assumptions in this work are based on those seen in the decentralised learning literature [3, 20, 55], but are especially close to the work by Vanhaesebrouck et al. [48]. In general, we denote the first element of a vector _?_ by _?_ 0, the first row of a matrix _?_ by _?_ 0, the range of integers {0 _. . .?_ - 1} by ⟦ _?_ ⟧, and the number of elements in a collection _?_ by | _?_ |. _3.3.1_ _User_ _data_ _and_ _objectives._ Consider a system of _?_ users _?_, each with a private datum. Each datum is dynamic; it changes each time the user initiates a round and incorporates new knowledge from their neighbours. (We describe the time model in Section 3.3.4.) Each datum can be a vector of values, though for simplicity we 555 Proceedings on Privacy Enhancing Technologies 2025(1) Florine W. Dekker, Zekeriya Erkin, and Mauro Conti assume scalar values in our notation. Examples of dynamic data are power consumption, GPS coordinates, and machine learning models. In round _?_, the data of user _?_ ∈⟦ _?_ ⟧ is denoted _??,?_ . The users want to compute some function over their data without revealing their data to others. Each user regularly runs a privacy preserving summation protocol to find the sum of their direct neigh bours’ private data. This sum can be used for principal component analysis, singular-value decomposition, or distributed gradient de scent, for example. _3.3.2_ _Network_ _model._ Users communicate with each other in a peer-to-peer network. This can be a physical network, for example based on Bluetooth or Wi-Fi Direct, or an overlay network, in which users are connected through the Internet. We model the network as an undirected, self-loopless, static graph _?_ = ( _?, ?_ ) in which each node represents a user. (We consider graphs with dynamic edges in Section 5.4.) The direct neighbours of a node _?_ ∈ _?_ are denoted _??_ ( _?_ ), and for any set of users _?_ ⊆ _?_ we define their shared neighbours _??_ ( _?_ ) ≔ <sup>�</sup> _?_ ∈ _?_ <sup>_?_</sup> _?_ <sup>(</sup> <sup>_?_</sup> <sup>) \</sup> <sup>_?_</sup> <sup>. The network topology is</sup> not private; in fact, users know who their direct neighbours are. Users may run a privacy-preserving summation protocol to learn the sum of their direct neighbours’ private values. _3.3.3_ _Adversarial model._ We assume all _?_ users _?_ are honest-but curious. That is, all users honestly follow the protocol, but may attempt to obtain other users’ private data by operating on the data obtained in the protocol in any way they see fit. Additionally, _?_ users _?_ ⊆ _?_ may collude with each other, but we require that each adversary has either zero or at least two non-adversary neighbours, as retrieving private data is trivial otherwise. We give an example of a valid set of adversaries in Figure 1. Colluding users are still honest-but-curious, so their collusion is limited to sharing infor mation outside the protocol. While excluding all actively malicious behaviour is a strenuous assumption in practice, we argue that the challenges in the honest-but-curious model are already sufficiently interesting to warrant investigation. We leave stronger notions of adversarial behaviour to future work; see also Section 6. _?_ 1 _?_ 2 _?_ 3 _?_ 4 _?_ 5 _?_ 6 Figure 1: A network with 6 users _?_ . The adversaries _?_ = { _?_ 2 _,?_ 4 _,?_ 5} are shaded. Removing edge ( _?_ 2 _,?_ 3) would violate our requirements, as adversary _?_ 2 would have exactly one non-adversary neighbour. Finally, we assume that adversaries do not possess auxiliary knowledge. That is, we aim for syntactic privacy [14], of which the privacy guarantees do not compose trivially with those of other protocols using the same private data. Syntactic privacy is suitable when high utility is desired and participants have some level of mutual trust [14, 15]. Moreover, prescribing a syntax on the data is inherent to this work’s goal of establishing an interpretable relation between privacy and topology. We note that syntactic privacy does not preclude the use of semantic protections such as differential privacy, though the investigation of that combination is out of scope for this work. See [14, 15] for a detailed discussion of the subject. _3.3.4_ _Time model._ We work in the asynchronous time model [7], in which a global clock ticks whenever a user wakes up and performs some work. Equivalently, each user has their own clock ticking at the speed of a rate-1 Poisson process; when a user’s clock ticks, that user wakes up. We denote the current global round number by _?_ (for “time”). 4 Reconstruction in Multi-party Summation In this section we formally define reconstruction attacks in privacy preserving multi-party dynamic-data summation, and experimen tally verify that this attack is feasible. Adversaries passively record the summations they obtain throughout the protocol. Because ad versaries know which users are included in which summation, they obtain a system of linear equations. Even if the system has no global solutions, adversaries may still learn the private data of some users. In Section 4.1, we informally explain reconstruction attacks with examples. In Section 4.2, we give an exact definition of the adver saries’ knowledge. In Section 4.3, we formally define reconstruction on multi-party dynamic-data summation. In Section 4.4, we experi mentally verify the feasibility and success rate of reconstruction attacks on random graphs. 4.1 Introduction to Reconstruction Attacks For this brief introduction, we use somewhat informal notation. We formally define our notation in Section 4.2. _A small example._ Consider a graph _?_ = ( _?, ?_ ) with users _?_ and a set of _?_ adversaries _?_ ⊆ _?_ . If a single adversary _?_ ∈ _?_ sums their neighbours’ values, they learn a linear equation Θ _?_ over the private values _?_ of neighbours _??_ ( _?_ ). If multiple adversaries _?_ collude, they share a _system_ of linear equations _??_ = Θ over the private values _?_ of _??_ ( _?_ ). If the system of linear equations has a solution, then the adversaries are able to calculate all observed users’ private values using linear combinations of the system’s rows. For example, given adversaries _?_, _?_, and _?_ with observations Since this system is full rank, adversaries can calculate _?_ 1 = <sup><u>Θ</u></sup> <sup>_?_</sup> <sup>+ Θ</sup> <sup>_?_</sup> <sup>+ Θ</sup> <sup>_?_</sup> - Θ _?,_ (3) 2 _?_ 2 = Θ _?_ - _?_ 1 _,_ and (4) _?_ 3 = Θ _?_ - _?_ 1 _._ (5) For example, if Θ _?_ = 7, Θ _?_ = 13, and Θ _?_ = 8, the adversaries know with certainty that _?_ 1 = 6, _?_ 2 = 1, and _?_ 3 = 7. Observe _?_ 1 + _?_ 2 = Θ _?,_ _?_ 1 + _?_ 3 = Θ _?,_ and _?_ 2 + _?_ 3 = Θ _?,_ this is equivalent to the system of linear equations (1) 1 1 0 1 0 1 0 1 1   _?_ = Θ _._ (2) 556 Topology-Based Reconstruction Prevention for Decentralised Learning Proceedings on Privacy Enhancing Technologies 2025(1) that this works even if each individual summation in Equation 1 is information-theoretically secure. _Partial solutions._ If the system is rank-deficient, no unique solu tion exists, but the system may still have partial solutions. That is, even if a system has infinitely many possible solutions, it may be the case that some variables have the same value in all solutions. Even a single user’s private value being leaked is a major issue for any privacy-preserving protocol. Consider, for example, the adversarial knowledge consisting of _?_ 1 + _?_ 2 + _?_ 3 = Θ _?_ and (6) _?_ 1 + _?_ 2 = Θ _?_ _._ Even though there is no unique solution, all solutions have the same value for _?_ 3, calculated as _?_ 3 = Θ _?_ - Θ _?_ . The case of Equation 6 is trivial because Θ _?_ is the sum over a subset of Θ _?_ . However, there are also rank-deficient systems in which no summation is a subset of another: by the adversaries, who insert a new column into their system of equations. If user _?_ 1 then does another summation (which includes user _?_ 1’s new value), the adversaries know _?_ 1 ���� _?_ = Θ _._ (12)   1 0 1 0 1 0 0 1 0 1 1 0 _?_ = Θ _._ (11) The last row represents adversary _?_ 1’s new summation, and the second column represents user _?_ 1’s new value. Finally, if users _?_ 1, _?_ 2, and _?_ 1 subsequently update (in that order), then users _?_ 1 and _?_ 2 each get a new column, and _?_ 1’s update adds a new row, giving _?_ 1 _?_ 2 - ���� �� ���� - ����  1 0 0 1 0 0 1 0 0 0 0 1 0 1 0 1 0 0 0 0 1 0 1 0 _?_ 1 + _?_ 2 + _?_ 3 = Θ _?,_ _?_ 1 + _?_ 2 + _?_ 4 = Θ _?,_ and _?_ 3 + _?_ 4 = Θ _?_ _._ (7)  This system, too, has an infinite number of solutions, but each possible solution has the same values _?_ 3 = <sup><u>Θ</u></sup> <sup>_?_</sup> <sup>+ Θ</sup> <sup>_?_</sup> <sup>−</sup> <sup><u>Θ</u></sup> <sup>_?_</sup> and (8) 2 _?_ 4 = <sup><u>Θ</u></sup> <sup>_?_</sup> <sup>+ Θ</sup> <sup>_?_</sup> <sup>−</sup> <sup><u>Θ</u></sup> <sup>_?_</sup> _._ (9) 2 _Time dimension._ The above examples do not take into account that users’ data change over time. To model dynamic data, first recall from Section 3.3.1 that users update their values only after initiating a summation. Since each update requires an interactive summation, users implicitly inform their neighbours whenever they update; and since each update represents the introduction of a new unknown value to _?_, adversaries can represent an update by adding a new column to their adversarial knowledge. If a user updates their value multiple times before being observed by an adversary, the adversaries treat this as a single update. _?_ 1 _?_ 2 _?_ 3 _?_ 1 _?_ 2 _?_ 3 Figure 2: Example graph _?_ with adversaries _?_ = { _?_ 1 _,?_ 2 _,?_ 3} (shaded) and non-adversaries _?_ = _??_ ( _?_ ) = { _?_ 1 _, ?_ 2 _, ?_ 3} . To give an example, consider adversaries _?_ and their neigh bours _??_ ( _?_ ) in Figure 2. Say that initially adversaries _?_ 1 and _?_ 2 run their summations, learning - 1 1 0 1 0 1 _?_ = Θ _._ (10) In the remainder of this work, to simplify notation, we will always assign the same number of columns _?_ to each user. _Observations._ Before we give a formal definition of reconstruc tion attacks, we make two observations: (1) Reconstruction does not rely on weaknesses in the summa tion algorithm; reconstruction works even if summation is done by a trusted third party . Instead, reconstruction relies only on the summation revealing both the identities of included variables and the sum of those variables. (2) Reconstruction is independent of how users update their pri vate values, and works even if users update their models in random ways or multiple times. Reconstruction works because adversaries observe multiple summations with at least one unchanged value, and know how the summations are related. 4.2 Obtained Adversarial Knowledge We give a formal description of adversarial knowledge, which is the system of linear equations that adversaries obtain in a privacy preserving multi-party dynamic-data summation protocol, and ob serve two important properties. Let _?_ = ( _?, ?_ ) be an undirected graph, let _?_ ⊆ _?_ be a collusion of _?_ adversaries, let _?_ ≔ | _??_ ( _?_ )|, and let _?_ ∈ N be the number of summations performed by _?_ . Definition 1 (Adversarial knowledge) . The adversarial knowl edge over _?_ summations by _?_ is a consistent system of linear equations _??_ = Θ, subject to the conditions that - _?_ ∈ R <sup>_??_</sup> <sup>×1</sup> are the private values of neighbours _??_ ( _?_ ), such that _???_ + _?_ is the _?_ ∈⟦ _?_ ⟧th unique private value of neighbour _?_ ∈⟦ _?_ ⟧ that is observed by any adversary in _?_, - Θ ∈ R <sup>_?_</sup> <sup>×1</sup> are the sums obtained by the adversaries, where Θ _?_ is the _?_ ∈⟦ _?_ ⟧th such sum, and - _?_ ∈{0 _,_ 1} <sup>_?_</sup> <sup>×</sup> <sup>_??_</sup> indicates which private values are observed in which summation, such that _??,??_ + _?_ = 1 if and only if the adversaries’ _?_ ∈⟦ _?_ ⟧th summation includes the _?_ ∈⟦ _?_ ⟧th unique private value of neighbour _?_ ∈⟦ _?_ ⟧. The added vertical lines group the columns per non-adversarial user. Next, say that user _?_ 1 updates their private value. This is noticed 557 Proceedings on Privacy Enhancing Technologies 2025(1) Florine W. Dekker, Zekeriya Erkin, and Mauro Conti _Remark_ 1 _._ In Theorem 2, we will show that it is not necessary to include adversaries’ own private values in _??_ = Θ. Property 1. Let _?_ be the adversarial knowledge over _?_ summations by _?_ . In each equation, each neighbour in _??_ ( _?_ ) contributes at most one private value: ∀ _?_ ∈⟦ _?_ ⟧ _,?_ ∈⟦ _?_ ⟧ : ∑︁ _?_ ∈⟦ _?_ ⟧ _??,??_ + _?_ ∈{0 _,_ 1} _._ (13) _??_ Θ, and by Equation 15 we have that _??_ _??_ = _??_ . Therefore, _??_ = _??_ Θ. This proves the first direction of Theorem 1. We prove the other direction of Theorem 1 by contradiction. Let _?_ ∈ R <sup>1×</sup> <sup>_?_</sup> be a solution to _??_ in _?_, so _??_ has its only nonzero value at ( _??_ ) _?_ . For the sake of contradiction, assume that there is no row in _?_ that solves _??_ in _?_ . Because _?_ is in the row space of _?_, and the row space of _?_ is the same as the row space of rref ( _?_ ), there exists _?_ <sup>′</sup> ∈ R <sup>1×</sup> <sup>_?_</sup> such that _??_ = _?_ <sup>′</sup> - rref ( _?_ ) = _?_ <sup>′</sup> _??_ . By associativity of matrix multiplication, _?_ <sup>′</sup> _?_ solves _??_ in _?_ . Furthermore, since we assumed (for the sake of contradiction) that no single row of _?_ solves _??_ in _?_, it follows that _?_ <sup>′</sup> must have multiple non-zero coefficients. Thus, let _??_ <sup>′</sup> <sup>and</sup> <sup>_?_</sup> _?_ <sup>′</sup> <sup>be any two non-</sup> zero coefficients in _?_ <sup>′</sup>, and let _?,?_ such that ( _??_ ) _?,?_ and ( _??_ ) _?,?_ are the leading coefficients of their respective rows; these are their columns’ only non-zero values, and _?_ ≠ _?_ . Therefore, ( _??_ ) _?_ = ( _?_ <sup>′</sup> _??_ ) _?_ = _??_ <sup>′</sup> <sup>≠</sup> <sup>0, and similarly</sup> <sup>(</sup> <sup>_??_</sup> <sup>)</sup> <sup>_?_</sup> <sup>=</sup> <sup>_?_</sup> _?_ <sup>′</sup> <sup>≠</sup> <sup>0. However, this is</sup> a contradiction, because we initially assumed that _??_ has its only non-zero value at ( _??_ ) _?_ . Therefore, there exists a row in _?_ that solves _??_ in _?_ . This proves the other direction of Theorem 1. Therefore, it is both necessary and sufficient to check the rows of _??_ = rref ( _?_ ) to learn all partial solutions to _?_ . Note that _?_ does not describe that adversaries know each other’s private values, since _??_ ( _?_ ) excludes adversaries themselves. We show that including this knowledge does not reveal new partial solutions. Specifically, observe that the adversarial knowledge _in-_ _cluding self-knowledge_ over _?_ summations by _?_ adversaries _?_ is Property 2. Let _?_ be the adversarial knowledge over _?_ summations by _?_ . Since each equation is over all the neighbours of an adversary in _?_, each row in _?_ corresponds exactly to _??_ ( _?_ ) for some _?_ ∈ _?_ : ∀ _?_ ∈⟦ _?_ ⟧ : ∃ _?_ ∈ _?_ : ∀ _?_ ∈⟦ _?_ ⟧ : _?_ <sup>′</sup> <sup>and</sup> <sup>_?_</sup> _?_ <sup>′</sup> ∑︁ �� _?_ ∈⟦ _?_ ⟧ _??,??_ + _?_ = 1 <sup>�</sup> - ⇔( _?, ??_ ( _?_ ) _?_ ) ∈ _?._ (14) _?_ <sup>′</sup> <sup>≠</sup> <sup>0, and similarly</sup> <sup>(</sup> <sup>_??_</sup> <sup>)</sup> <sup>_?_</sup> <sup>=</sup> <sup>_?_</sup> _?_ <sup>′</sup> As in Property 1, the summation merely describes whether neigh bour _?_ is included in the _?_ th linear equation. 4.3 Reconstruction from Adversarial Knowledge Finding a (partial) solution is not trivial. It is well-known that the reduced row echelon form (rref) of a system of linear equations reveals the system’s unique solution, if it has one. Clearly, this unique solution is also at least a partial solution. However, if there is no unique solution, there may still be a partial solution, as in Equation 6. We will show in Theorem 1 that finding the reduced row echelon form of the adversarial knowledge is both necessary and sufficient to find all partial solutions. Moreover, we will show in Theorem 2 that this is true even if adversaries’ own private values are removed from the adversarial knowledge matrix. We begin with some definitions. Let _?_ = ( _?, ?_ ) be an undirected graph, let _?_ ⊆ _?_ be a set of _?_ adversaries, let _?_ ≔ | _??_ ( _?_ )|, let _?_ ∈ N, and let _??_ = Θ be the adversarial knowledge over _?_ summations by _?_ ; that is, _?_ ∈ R <sup>_?_</sup> <sup>×</sup> <sup>_??_</sup> . Definition 2 (Solution of a variable) . Let _?_ ∈ R <sup>1×</sup> <sup>_?_</sup> and let _?_ ∈⟦ _??_ ⟧. We say that “ _?_ solves _??_ in _??_ = Θ” if and only if the vector _??_ contains exactly one non-zero value, at index _?_ : �( _??_ ) _?_ ≠ 0� ∧ �∀ _?_ ∈⟦ _??_ ⟧\ _?_ : ( _??_ ) _?_ = 0� _._ (15) _Remark_ 2 _._ Since Equation 15 is independent of _?_ and Θ, it is equiv alent to say that “ _?_ solves _??_ in _?_ ”. Definition 3 (Partial solution) . Let _?_ ∈ R <sup>1×</sup> <sup>_?_</sup> . If _?_ solves _??_ in _?_ for any _?_ ∈⟦ _??_ ⟧, then we say that “ _?_ is a partial solution to _?_ ”. We proceed with the central theorem of this section, which states that the reduced row echelon form of _?_ describes all partial solutions to _?_ . We remark that a weaker variant of this theorem is given by Wang et al. [49] without a formal proof. Theorem 1. Let _?_ ∈⟦ _??_ ⟧, and let _?_ ∈ R <sup>_?_</sup> <sup>×</sup> <sup>_?_</sup> such that _??_ = rref ( _?_ ). Then _??_ has a solution in _?_ if and only if there exists _?_ ∈⟦ _?_ ⟧ such that _??_ solves _??_ in _?_ . Proof. Given _?_ ∈⟦ _??_ ⟧, we give a proof for both directions. We first prove that if there exists _?_ ∈⟦ _?_ ⟧ such that _??_ solves _??_, then _??_ has a solution in _?_ . Since _??_ = Θ, it follows that _??_ _??_ = _,_ (16) _?_ <sup>′</sup> = - _?_ _?_ 0 _???_ where _???_ is the ( _??_ × _??_ ) identity matrix, 0 is an appropriately-sized matrix of 0s, and _?_ is some appropriately-sized binary matrix. The rows of _???_ represent that adversaries know each other’s values, and _?_ represents the edges between adversaries. Theorem 2. Let _?_ _< ??_ . Then _??_ has a solution in _?_ if and only if _??_ has a solution in _?_ <sup>′</sup> . Proof. Observe that _,_ (17) rref ( _?_ <sup>′</sup> ) = �rref ( _?_ ) 0 0 _???_ ignoring row-switching transformations. The bottom _??_ rows solve exactly _??_ in _?_ for _?_ ≥ _??_ . The upper rows solve _??_ in _?_ for _?_ _< ??_ if and only if the rows of rref ( _?_ ) do so. Intuitively, Theorem 2 holds because the linear dependencies that exist within _?_ remain unaffected by _?_ . 4.4 Reconstruction Attack Feasibility We show that reconstruction is feasible for honest-but-curious adversaries. We run the attack in static graphs with randomly placed adversaries passively collecting data. We measure both the success rate and the number of rounds until success. Our source code is publicly available [22]. _Remark_ 3 _._ This section pertains only to static graphs. We show a reduction from edge-dynamic graphs to static graphs in Section 5.4. 558 Topology-Based Reconstruction Prevention for Decentralised Learning Proceedings on Privacy Enhancing Technologies 2025(1) _4.4.1_ _Experimental setup._ By Theorem 1, the success rate of the at tack depends only on the adversaries’ direct neighbourhood. There fore, instead of modeling large peer-to-peer networks, it suffices to model only the subgraph that is relevant for the attack. Addi tionally, by Theorem 2, edges between adversaries can be ignored. Therefore, given any graph _?_ = ( _?, ?_ ) and a set of colluding adversaries _?_ ⊆ _?_, it suffices to model the induced subgraph _?_ [ _?_ ], minus edges between adversaries. This forms a bipartite graph _?_ . We provide an example of graph induction in Figure 3. _?_ 1 _?_ 2 _?_ 3 _?_ 4 _?_ 5 _?_ 6 _?_ 7 _?_ 8 _?_ 9 Figure 3: A graph _?_ . Adversaries _?_ = { _?_ 1 _,?_ 2 _,?_ 3} are shaded. The bipartite subgraph _?_ = _?_ [ _?_ ] consists of exactly the nondotted nodes and edges. We emphasise that reconstruction depends only on the adver saries’ view, regardless of the remaining graph outside this view. However, the likelihood of obtaining any specific adversarial view _does_ depend on the full graph. For example, the probability that a random adversarial view contains a cycle depends on the con nectivity of the full graph. For our experiments, we choose not to make assumptions on the graph’s topology, analysing all possible adversarial views equally, so that our results are agnostic to the specific network, application, and adversary. Bipartite graphs can be parameterised by three variables: the number of adversaries, the number of direct neighbours, and the number of edges. We generate random graphs according to these parameter, subject to some filtering: - We exclude graphs in which there is a adversary with only one edge because this would allow trivial attacks, as de scribed in Section 3.3. - We do _not_ exclude graphs in which there is an honest-but curious user with only one edge, because this user may have more edges in _?_ that are not in _?_ . - We exclude graphs in which an honest-but-curious user has no neighbours, because these cases do not accurately repre sent the bipartite graph’s parameters. - We do _not_ exclude graphs in which an adversary has no neighbours. - We do _not_ exclude disconnected graphs. _4.4.2_ _Amount of reconstructed data._ For our first experiment, we measure the amount of private data that adversaries can recon struct. We generate a large amount of random bipartite graphs as described above, and count the number of partial solutions in the biadjacency matrices. This corresponds to the adversarial knowl edge if neighbours do not update their values, and thus represents the strongest reconstruction attack that adversaries can perform. In Section 4.4.3 we also consider neighbours updating their values. Firstly, we look at the proportion of data that can be recon structed, shown in Figure 4. We see that if the number of adversaries is close to the number of neighbours, the adversary is typically able to reconstruct all neighbours’ data. As the number of neighbours increases, fewer data can be reconstructed, unless compensated for by a higher connectivity. If the graph has many neighbours and few edges, adversaries share fewer neighbours, and are thus typically unable to exploit the overlaps in their aggregates. Secondly, we look at the distribution of how much data can be reconstructed, shown in Figure 5. We see again that adversaries are more successful if they outnumber their neighbours. As the number of neighbours increases, so does the probability of being unable to reconstruct any data. However, even if three adversaries passively observe 15 neighbours, they still have an 11.0% proba bility of reconstructing at least one neighbour’s datum, which is unacceptable for any privacy-preserving scheme. _4.4.3_ _Rounds until first reconstruction._ Some partial solutions are harder to obtain than others. For example, if the graph is such that users update their values faster than adversaries can collect them, adversaries may never “converge” to a (partial) solution. In the next experiment, we measure how many rounds adver saries need before reconstruction succeeds. For each of the sub graphs in Figure 4 that were found to be susceptible to the attack, we simulate a multi-party summation protocol as follows. Each round, a uniformly random user in the subgraph wakes up. If the user is an adversary, they learn the sum of their neighbours’ values, and adds this to the adversarial knowledge. Otherwise, if a non adversary wakes up, we simulate an update: The next adversarial sum that includes this non-adversary will use a new column in the adversarial knowledge matrix. After every round, the adversaries check for a partial solution. We repeat this procedure 100 times to control for the order in which users wake up, truncate instances that have no partial solutions after 250 rounds, and take the mean number of rounds until the first partial solution is found. We show the mean number of rounds until the reconstruction attack succeeds in Figure 6. We see that the attack is fastest when there are more adversaries, more edges, and fewer neighbours. Intuitively, this means that the required number of summations increases if neighbours can update their values at a higher rate than adversaries can observe them. For example, 3 adversaries against 15 neighbours require on average 8.8 rounds before they can reconstruct private data. In related works such as [11, 16, 48], users run hundreds or thousands of rounds before the protocol terminates, significantly more than required in our attack. _4.4.4_ _Conclusion of results._ We sampled all possible views of ran domly selected adversaries in random graphs, excluding some trivial attack cases. If the reconstruction attack succeeds, the adversaries obtain other users’ private inputs to the information-theoretically secure summation operation. Our results show that passive honest but-curious adversaries are able to obtain private data in this sce nario with non-negligible probability. While we note that different classes of graph topologies may have varying susceptibility to re construction attacks, we conclude that, in general, individually protecting each summation is insufficient for confidentiality. 559 Proceedings on Privacy Enhancing Technologies 2025(1) Florine W. Dekker, Zekeriya Erkin, and Mauro Conti 90% 7 12 17 22 27 32 37 42 70% 60% 50% 40% 30% 20% 10% 0% 12 22 32 42 52 62 72 90% 80% 70% 60% 50% 40% 30% 20% 10% 0% 12 22 32 42 52 62 72 82 92 102 80% 70% 60% 50% 40% 30% 20% 10% 0% 4 6 8 10 12 14 Number of direct neighbours (a) Three adversaries 4 6 8 10 12 14 Number of direct neighbours (b) Five adversaries 4 6 8 10 12 14 Number of direct neighbours (c) Seven adversaries Figure 4: Proportion of neighbours’ private data that can be reconstructed by adversaries. Each point represents the mean over 1000 random bipartite graphs. Black points indicate no valid bipartite graphs could be found. Note the different y-axes. 70% 60% 50% 40% 30% 20% 10% 0% 80% 70% 60% 50% 40% 30% 20% 10% 0% 7 6 5 4 3 2 1 0 5 4 3 2 1 0 3 4 5 6 7 8 9 10 11 12 13 14 15 Number of direct neighbours (b) Five adversaries 3 2 1 0 80% 70% 60% 50% 40% 30% 20% 10% 0% 3 4 5 6 7 8 9 10 11 12 13 14 15 Number of direct neighbours (c) Seven adversaries 3 4 5 6 7 8 9 10 11 12 13 14 15 Number of direct neighbours (a) Three adversaries Figure 5: Probability of reconstructing a given number of neighbours’ data, ignoring the number of edges. Each column adds up to 100%, and corresponds to a column in Figure 4. 14 24 34 44 54 64 74 84 94 104 55 50 45 40 35 30 25 20 15 10 5 40 35 30 25 20 15 10 5 14 24 34 44 54 64 74 4 6 8 10 12 14 Number of direct neighbours (b) Five adversaries 9 14 19 24 29 34 39 44 24 22 20 18 16 14 12 10 8 6 4 6 8 10 12 14 Number of direct neighbours (c) Seven adversaries 4 6 8 10 12 14 Number of direct neighbours (a) Three adversaries Figure 6: Mean number of adversarial summations needed to obtain private data. Each point corresponds to 100 attacks on each of the solvable graphs from Figure 4. 560 Topology-Based Reconstruction Prevention for Decentralised Learning Proceedings on Privacy Enhancing Technologies 2025(1) 5 Girth as a Peer-to-Peer Reconstruction Countermeasure In a centralised protocol, the single aggregator can track which summations have occurred, and refuse a subsequent summation if it would result in a partial solution. However, in a distributed computation, there is no such aggregator, and simulating the ag gregator using a multi-party protocol is impractical as this would require involving all users in each summation. In this section, we show that to prevent reconstruction it is sufficient to increase the network’s girth, which is the length of the network’s shortest cy cle. The network’s girth is an established metric for peer-to-peer networks, with various peer-to-peer algorithms for measuring and increasing the girth [9, 24, 36, 41]. Using such an algorithm before running a privacy-preserving dynamic-data multi-party summation protocol is thus sufficient to prevent reconstruction of private data by honest-but-curious adversaries. We begin in Section 5.1 by showing that reconstruction requires collusion. In Section 5.2, we show that reconstruction does not work in acyclic graphs, regardless of the number adversaries. In Section 5.3, generalise results to determine an upper bound on the number of adversaries. In Section 5.4, consider graphs with dynamic edges. Finally, in Section 5.5, we briefly evaluate the impact that increasing girth has on distributed convergence. 5.1 Privacy in Static Graphs without Collusion We begin by considering the special case of _?_ = 1, i.e. a setting without collusion. We show that, if the graph is static, the adversary cannot obtain other users’ private values regardless of topology, barring trivial attacks. Assuming a privacy-preserving summation protocol, it is self evident that repeating the summation over the same set of values does not leak any private data. However, while the set of neighbours is always the same in the static no-collusion setting, neighbours still update their local values. Thus, it remains to be shown that no reconstruction is possible with this kind of composition. Lemma 1. Given adversarial knowledge _?_ ∈ R <sup>_?_</sup> <sup>×</sup> <sup>_??_</sup> of a single adversary with _?_ ≥ 2 fixed neighbours, we have for any _?_ ∈ R <sup>1×</sup> <sup>_?_</sup> ∀ _?,?_ ∈⟦ _?_ ⟧ : ∑︁ _?_ ∈⟦ _?_ ⟧ ( _??_ ) _??_ + _?_ = ∑︁ _?_ ∈⟦ _?_ ⟧ ( _??_ ) _??_ + _?_ _._ (18) Corollary 1. Given adversarial knowledge _?_ ∈ R <sup>_?_</sup> <sup>×</sup> <sup>_??_</sup> of a single adversary with _?_ ≥ 2 fixed neighbours, there exists no _?_ ∈ R <sup>1×</sup> <sup>_?_</sup> such that _??_ has exactly one non-zero value. Therefore, there exist no partial solutions for _?_ . 5.2 Privacy in Static Graphs with Unbounded Collusion The special case of _?_ = 1 provides some insights into the workings of the reconstruction attack, but not allowing any collusion is not realistic, as honest-but-curious collusion in the form of secretly exchanging information is undetectable and there are no strong incentives against it. Therefore, we now proceed to consider the general case of _?_ ≥ 1. Partial solutions are linear combinations of the rows of the ad versarial knowledge such that all but one column cancels out, as in Equation 1. We already know from Corollary 1 that a partial solu tion requires multiple adversaries. If two rows in the adversarial knowledge from different adversaries match in multiple columns, then these adversaries share multiple neighbours, and the graph has a cycle. Otherwise, if no two rows from different adversaries overlap in multiple columns, then, since each equation has at least two non-zero columns, each equation introduces new unknowns, taking the adversaries further from a partial solution. In this case, if the adversaries are able to find a partial solution, they must have another row that cancels out the unknowns of multiple other rows; but this, too, introduces a cycle. The intuition thus seems to be that partial solutions require a cyclic graph. We now formally prove that this intuition is correct. Theorem 3. Let _?_ = ( _??, ??_ ) be an undirected graph, let _?_ ⊆ _??_ be the set of adversaries, let _?_ ≔ | _?_ |, let _?_ ≔ | _??_ ( _?_ )|, let _?_ be the number of summations performed by the adversaries _?_, and let _?_ ∈ R <sup>_?_</sup> <sup>×</sup> <sup>_??_</sup> be the adversarial knowledge. If _?_ is acyclic, then _?_ does not have partial solutions. Proof. We give a proof by contraposition: Given a partial solution to _?_, we show that _?_ is cyclic. Let _?_ ∈ R <sup>1×</sup> <sup>_?_</sup> be a partial solution to _?_ . We show how to find a bipartite subgraph _?_ of _?_ such that its biadjacency matrix _?_ <sup>′′</sup> has a partial solution _?_ <sup>′′</sup> . We then show that this implies the existence of a cycle in _?_ . Our proof works in multiple steps: (1) combine columns of _?_ to create _?_ <sup>′</sup>, (2) remove rows from _?_ <sup>′</sup> to create _?_ <sup>′′</sup>, (3) create the corresponding partial solution _?_ <sup>′′</sup>, and finally (4) show that _?_ is cyclic. We show an example of this procedure in Figure 7. (1) _Combine columns._ We merge the _?_ columns in _?_ assigned to each neighbour to obtain _?_ <sup>′</sup> . Let _?_ <sup>′</sup> = _?_, and let _?_ <sup>′</sup> ∈ R <sup>_?_</sup> <sup>×</sup> <sup>_?_</sup> such that Here, <sup>�</sup> _?_ ∈⟦ _?_ ⟧ <sup>(</sup> <sup>_??_</sup> <sup>)</sup> _??_ + _?_ <sup>is the sum of components of</sup> <sup>_??_</sup> <sup>relating to</sup> neighbour _?_ . The equation states that in any linear combination _??_, every neighbour has the same sum of components. Proof. Firstly, because the adversary has fixed neighbours, ∑︁ _?_ ∈⟦ _?_ ⟧ _??,??_ + _?_ _._ (21) ∀ _?_ ∈⟦ _?_ ⟧ _,?_ ∈⟦ _?_ ⟧ : ∑︁ _?_ ∈⟦ _?_ ⟧ _??,??_ + _?_ = 1 _._ (19) ∀ _?_ ∈⟦ _?_ ⟧ _,?_ ∈⟦ _?_ ⟧ : _??,?_ <sup>′</sup> <sup>≔</sup> In the linear combination _??_, the rows of _?_ are scaled according to _?_ and then summed together. Therefore, since each row includes each neighbour exactly once, It follows from Property 1 that this is a binary matrix, and it follows from Property 2 that no neighbour relations are removed. Furthermore, observe that ∑︁ _?_ ∈⟦ _?_ ⟧ ( _??_ ) _??_ + _?_ _._ (22) _??_ _._ (20) ∀ _?_ ∈⟦ _?_ ⟧ : ( _?_ <sup>′</sup> _?_ <sup>′</sup> ) _?_ = ∀ _?_ ∈⟦ _?_ ⟧ : ∑︁ _?_ ∈⟦ _?_ ⟧ ( _??_ ) _??_ + _?_ = ∑︁ _?_ ∈⟦ _?_ ⟧ Since _??_ contains exactly one non-zero value, so does _?_ <sup>′</sup> _?_ <sup>′</sup> . Therefore, _?_ <sup>′</sup> is a partial solution to _?_ <sup>′</sup> . 561 Proceedings on Privacy Enhancing Technologies 2025(1) Florine W. Dekker, Zekeriya Erkin, and Mauro Conti _?_ 4 _?_ 4 _?_ 2 _?_ 4 _?_ 2 _?_ 3 _?_ 1 _?_ 1 _?_ 3 _?_ 2 _?_ 3 _?_ 1 _?_ 1 _?_ 3 _?_ 2 (a) A graph _?_ featuring adversaries _?_ = { _?_ 1 _,?_ 2 _,?_ 3 _,?_ 4 } and nonadversaries _?_ = { _?_ 1 _, ?_ 2 _, ?_ 3 _, ?_ 4 } . (d) The bipartite graph _?_ corresponding to biadjacency matrix _?_ <sup>′′</sup> . _,_ _?_ <sup>′</sup> =  _,_ _?_ <sup>′′</sup> =   1 0 1 0 1 1 0 0 0 1 1 0 0 1 1 0 1 0 0 1 _?_ 1 _?_ 2 _?_ 3 _?_ 4 - ��������������� �� ��������������� - - ��������������� �� ��������������� - - ��������������� �� ��������������� - - ��������������� �� ��������������� 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0  1 0 1 0 1 1 0 0 0 1 1 0 _?_ =   (b) The adversarial knowledge _?_ after users from Figure 7a run in the sequence ( _?_ 1 _,?_ 2 _,?_ 3 _, ?_ 3 _,?_ 3 _,?_ 4 ) ; the matrix _?_ <sup>′</sup> with collapsed columns; and the matrix _?_ <sup>′′</sup> without duplicate and unused rows. - 1 1 −1 0 0 <sup>�</sup> _,_ _?_ <sup>′′</sup> = - 1 1 −1 <sup>�</sup> _?_ = - 1 1 −1 0 0 <sup>�</sup> _,_ _?_ <sup>′</sup> = (c) Partial solutions respectively of _?_ , _?_ <sup>′</sup> , and _?_ <sup>′′</sup> . Figure 7: Example transformation of graph and adversarial knowledge as seen in the proof of Theorem 3. (2) _Remove rows._ We remove duplicate and unused rows from _?_ <sup>′</sup> to obtain _?_ <sup>′′</sup> . We define _?_ <sup>′′</sup> as a set of rows: _?_ <sup>′′</sup> ≔ { _??_ <sup>′</sup> <sup>|</sup> <sup>_?_</sup> <sup>∈⟦</sup> <sup>_?_</sup> <sup>⟧∧</sup> (23) ( _??_ <sup>′</sup> _??_ <sup>′</sup> <sup>_?_</sup> _?,?_ <sup>′′</sup> ∑︁ _?_ ∈⟦ _?_ ⟧ ∑︁ _?_ ∈⟦ _?_ ⟧ ∑︁ _?_ ∈⟦ _?_ ⟧ ∑︁ _?_ ∈⟦ _?_ ⟧ _?_ <sup>′</sup> <sup>_?_</sup> <sup>′</sup> ( _??_ <sup>′′</sup> _?_ <sup>′′</sup> <sup>_?_</sup> _?,?_ <sup>′′</sup> _?,?_ <sup>′′</sup> <sup>)</sup> (28) _?,?_ <sup>′′</sup> <sup>)</sup> (29) - _?_ ∈⟦ _?_ ⟧ : _??_ <sup>′</sup> <sup>=</sup> <sup>_?_</sup> <sup>′</sup> _?_ - _?_ ∈⟦ _?_ ⟧ : _??_ <sup>′</sup> <sup>=</sup> <sup>_?_</sup> <sup>′</sup> _?_ <sup>∧</sup> (24) �{ _?_ ′ _?_ <sup>|</sup> <sup>_?_</sup> <sup>∈⟦</sup> <sup>_?_</sup> <sup>⟧∧</sup> <sup>_?_</sup> _?_ <sup>′</sup> <sup>=</sup> <sup>_?_</sup> <sup>′</sup> _?_ <sup>}</sup> <sup>≠</sup> <sup>0}</sup> <sup>_._</sup> (25) _?_ <sup>′</sup> <sup>=</sup> <sup>_?_</sup> <sup>′</sup> _?_ <sup>′</sup> _?_ <sup>}</sup> <sup>≠</sup> <sup>0}</sup> <sup>_._</sup> (25) It follows that ∀ _?_ ∈⟦ _?_ ⟧ : ( _?_ <sup>′′</sup> _?_ <sup>′′</sup> ) _?_ = = = = ∑︁ _?_ ∈ _?_ ( _?_ ) ∑︁ _?_ ∈ _?_ ( _?_ ) ( _??_ <sup>′</sup> _??_ <sup>′</sup> <sup>_?_</sup> _?,?_ <sup>′</sup> _?,?_ <sup>′</sup> <sup>)</sup> (30) _?,?_ <sup>′</sup> <sup>)</sup> (31) Here, Equation 24 excludes duplicates by only choosing row _??_ <sup>′</sup> <sup>if</sup> <sup>there</sup> <sup>is</sup> <sup>no</sup> <sup>_?_</sup> <sup>_<_</sup> <sup>_?_</sup> <sup>such</sup> <sup>that</sup> <sup>_?_</sup> _?_ <sup>′</sup> <sup>=</sup> <sup>_?_</sup> <sup>′</sup> _?_ <sup>,</sup> <sup>and</sup> <sup>Equa-</sup> tion 25 excludes unused rows by only picking row _??_ <sup>′</sup> <sup>if the</sup> sum of _?_ <sup>′</sup> _?_ <sup>over all identical rows</sup> <sup>_?_</sup> <sup>′</sup> _?_ <sup>is non-zero.</sup> ( _??_ <sup>′</sup> _?_ <sup>′</sup> <sup>if</sup> <sup>there</sup> <sup>is</sup> <sup>no</sup> <sup>_?_</sup> <sup>_<_</sup> <sup>_?_</sup> <sup>such</sup> <sup>that</sup> <sup>_?_</sup> _?_ <sup>′</sup> _?_ <sup>′</sup> <sup>=</sup> <sup>_?_</sup> <sup>′</sup> _?_ <sup>′</sup> _?_ <sup>over all identical rows</sup> <sup>_?_</sup> <sup>′</sup> _?_ sum of _?_ <sup>′</sup> _?_ <sup>over all identical rows</sup> <sup>_?_</sup> <sup>′</sup> _?_ <sup>is non-zero.</sup> (3) _Create partial solution._ We similarly combine and remove the corresponding columns from _?_ <sup>′</sup> to obtain _?_ <sup>′′</sup> . To do so, we define a function _?_ that describes how the rows of _?_ <sup>′′</sup> relate to the rows of _?_ <sup>′</sup> . Let _?_ be the number of rows in _?_ <sup>′′</sup> . Then we define _?_ : ⟦ _?_ ⟧→⟦ _?_ ⟧ <sup>∗</sup> such that ∀ _?_ ∈⟦ _?_ ⟧ _, ?_ ∈⟦ _?_ ⟧ : _?_ ∈ _?_ ( _?_ ) ⇔ _??_ <sup>′</sup> _?_ <sup>′</sup> <sup>=</sup> <sup>_?_</sup> _?_ <sup>′′</sup> _?_ <sup>′′</sup> <sup>_._</sup> (26) = ( _?_ <sup>′</sup> _?_ <sup>′</sup> ) _?_ _._ (32) Therefore, _?_ <sup>′′</sup> _?_ <sup>′′</sup> = _?_ <sup>′</sup> _?_ <sup>′</sup>, and _?_ <sup>′′</sup> is a partial solution to _?_ <sup>′′</sup> . (4) _Find cycle._ Note that _?_ <sup>′′</sup> is the biadjacency matrix of some bipartite subgraph _?_ = ( _?_ <sup>′</sup> _, ??_ ( _?_ ) _, ??_ ) of _?_, where _?_ <sup>′</sup> ⊆ _?_ and _??_ ⊆ _??_ . Assume, for the sake of contradiction, that _?_ is acyclic. Then _?_ has two distinct nodes _?, ?_ with degree one. Since adversaries cannot have degree one in _?_, and ∀ _?_ ∈ _?_ <sup>′</sup> : ( _??_ ( _?_ ) = _??_ ( _?_ ) ∨ _??_ ( _?_ ) = ∅), we know that _?, ?_ ∈ _??_ ( _?_ ). Consequently, the columns in _?_ <sup>′′</sup> for _?, ?_ must each contain only one non-zero value, and _?_ <sup>′′</sup> does not contain zeroes at all by Equation 25. Therefore, ( _?_ <sup>′′</sup> _?_ <sup>′′</sup> ) _?_ ≠ 0 and ( _?_ <sup>′′</sup> _?_ <sup>′′</sup> ) _?_ ≠ 0. However, this implies that _?_ <sup>′′</sup> _?_ <sup>′′</sup> has multiple non-zero values, which contradicts the earlier observation that _?_ <sup>′′</sup> is a partial solution to _?_ <sup>′′</sup> . Therefore, _?_ is cyclic, and so is _?_ . Using this function, we define _?_ <sup>′′</sup> ∈ R <sup>1×</sup> <sup>_?_</sup> as ∀ _?_ ∈⟦ _?_ ⟧ : _??_ <sup>′′</sup> <sup>≔</sup> ∑︁ _?_ ∈ _?_ ( _?_ ) _??_ <sup>′</sup> <sup>_._</sup> (27) 562 Topology-Based Reconstruction Prevention for Decentralised Learning Proceedings on Privacy Enhancing Technologies 2025(1) Our proof shows that partial solutions imply the existence of cycles. However, this does not mean that cycles imply the existence of partial solutions. Indeed, we show in Section 5.3 that structured cycles can be introduced without creating partial solutions. _Remark_ 4 _._ Theorem 3 pertains only to _partial_ solutions. Even in an acyclic topology, there may be linear relations that reveal sensitive information without leaking private values outright, such as _?_ 1 = _?_ 2 or _?_ 3 = 4 × _?_ 5. Protecting these relations is left for future work. 5.3 Privacy in Static Graphs with Bounded Collusion While acyclic graphs resist reconstruction attacks, these graphs are not well-suited for peer-to-peer networks for two reasons. Firstly, if any non-leaf node becomes unavailable, the network becomes disconnected. Secondly, leaf nodes have only one neighbour, and thus cannot initiate summations to learn from their neighbours. We show that no partial solutions exist given an upper bound on the number of adversaries. This bound depends on the graph’s girth, which is the length of its shortest cycle. Theorem 4. Let _?_ = ( _??, ??_ ) be an undirected graph, let _?_ ⊆ _??_ be a set of _?_ adversaries, let _?_ ≔ | _??_ ( _?_ )|, let _?_ be the number of summations performed by _?_, and let _?_ ∈ R <sup>_?_</sup> <sup>×</sup> <sup>_??_</sup> be the adversarial knowledge. If girth( _?_ ) _>_ 2 _?_, then _?_ does not have partial solutions. Proof. We give a proof by contraposition: Given a partial solu tion to _?_, we show that girth( _?_ ) ≤ 2 _?_ . Let _?_ be as in the proof of Theorem 3. Then _?_ is cyclic. Since _?_ is bipartite, every edge in the cycle is between an adversary and a neighbour. Since each node in the cycle is visited at most once, the cycle length is at most 2 _?_ . This cycle also exists in _?_ . Therefore, girth( _?_ ) ≤ 2 _?_ . 5.4 Privacy in Dynamic Graphs So far, we have assumed that graphs are static. However, this pre vents users from changing their neighbours, which is unrealistic if users move through the network. We briefly show that dynamic graphs can be reduced to static graphs. If a single user performs two summations over two sets of neigh bours, they learn exactly the same information as two users would over those same sets of neighbours. We show an example in Figure 8. More generally, _?_ users with static neighbours can learn the exact same information as _ℓ_ users with _?_ different sets of neighbours. Our results on reconstruction feasibility in static graphs from Section 4.4 can be translated similarly to dynamic graphs. We conclude that Theorem 4 implies the following. Corollary 2. Let _?_ = ( _??, ??_ ) be a dynamic undirected graph, let _?_ ⊆ _??_ be a set of adversaries, let _?_ ≔ | _??_ ( _?_ )|, let _?_ be the number of summations performed by _?_, let _?_ be the number of sets of neighbours the adversaries sum over, and let _?_ ∈ R <sup>_?_</sup> <sup>×</sup> <sup>_??_</sup> be the adversarial knowledge. If girth( _?_ ) _>_ 2 _?_, then _?_ does not have partial solutions. There are several important limitations to this result. Firstly, the upper bound on the number of adversaries depends on the girth, but the girth may not be known beforehand if users move through the network in unpredictable ways. Secondly, even if a minimum girth _?_ _?_ 1 _?_ 2 _?_ 3 (a) A dynamic graph. The dotted edge is not present in all rounds. _?_ 1 _?_ 2 _?_ 1 _?_ 2 _?_ 3 (b) A reduction to a static graph. _?_ has been split into _?_ 1 and _?_ 2 . Figure 8: Example of how a dynamic graph can be reduced to a static graph. _?_ learns the same as _?_ 1 and _?_ 2 together. is guaranteed throughout the protocol, the upper bound implies a maximum number of changes that may occur during the protocol. 5.5 Impact on Convergence We briefly evaluate the impact of increasing the network’s girth on the convergence of a protocol running over that network. Specifi cally, we numerically simulate a distributed averaging protocol [53], which is just a non-privacy-preserving form of distributed learning. We intentionally choose a simple, efficient, non-noisy protocol to make the impact of the girth parameter most apparent. The “numer ical simulation” part of the description is because we do not actually create separate processes and communication for the nodes. Our source code is publicly available [22]. We use the system model presented in Section 3.3. We create a network by generating a random Erdős–Rényi graph with 50 nodes and with each edge having a probability _?_ of being added. Each node holds a single private scalar value, sampled uniformly from the range {0 _. . ._ 50}. Each round, one random node updates their private value to be the unweighted mean of their neighbours’ val ues and their own value. We then measure the number of rounds until convergence, and take the mean over 1000 repetitions of this procedure. We define convergence as the moment at which any two nodes’ local values differ by at most 1. Changing this threshold does not give fundamentally different results. To measure the effect girth has on convergence, we “stretch” graphs to a given girth by iteratively removing random edges from cycles shorter than the desired girth until no such cycles remain. With 50 nodes, stretching to a girth of _?_ ensures reconstruction attacks are impossible when less than _?_ /2/50 = _?_ % of users collude. For example, after stretching the girth to 25, the graph can resist collusions of less than 25% of users. 563 Proceedings on Privacy Enhancing Technologies 2025(1) Florine W. Dekker, Zekeriya Erkin, and Mauro Conti 25000 20000 15000 10000 5000 0 p=0.1 p=0.5 p=0.9 0 5 10 15 20 25 Stretched Minimal Girth 6 Conclusion We investigated reconstruction attacks in the setting of secure multi-party computation. We observed that existing multi-party computation literature does not consider protocols in which inter mediate values are intentionally exposed by the ideal functionality, and seemingly assumes that protocols are not self-composed when deployed. In our investigation, we focused on a peer-to-peer setting with privacy-preserving summation in which users’ data change over time. In random subgraphs with 18 users, we found that three passive honest-but-curious adversarial users have an 11.0% success rate at recovering another user’s private data using a reconstruction attack, requiring an average of 8.8 rounds per adversary. We anal ysed the structural dependencies of the underlying network graph that permit this attack, and proved that successful reconstruction attacks correspond to cycles in the network. More generally, we showed that the length of the graph’s shortest cycle determines the minimum number of adversaries required for the attack. We conclude that removing short cycles from the network is a fea sible countermeasure, albeit with considerable cost towards the convergence speed of distributed protocols. Our work sets the first step towards preventing reconstruction in the peer-to-peer setting as seen in multi-party computation, and opens up multiple questions for future work. Firstly, and most ob viously, though we have found a sufficient criterion to determine reconstruction feasibility, finding a criterion that is also necessary would allow using some graphs which our criterion currently for bids. Secondly, our work is limited to a strictly syntactic notion of privacy, and does not protect linear relations between data, which is required to protect against adaptive adversaries. Thirdly, though our restriction to the summation operation is already sufficient to analyse decentralised learning, our work could be extended to cover compositions with other operations, such as multiplication or comparison. Finally, the addition of differentially private noise may further strengthen the provided level of privacy. Acknowledgments This paper is partly supported by the European Union’s Horizon Europe research and innovation program under grant agreement No. 101094901, the SEPTON project (Security Protection Tools for Networked Medical Devices). References [1] Michael Backes, Birgit Pfitzmann, and Michael Waidner. 2007. The reactive simulatability (RSIM) framework for asynchronous systems. _Inf. Comput._ 205, 12 (2007), 1685–1720. [https://doi.org/10.1016/j.ic.2007.05.002](https://doi.org/10.1016/j.ic.2007.05.002) [2] James Henry Bell, Kallista A. Bonawitz, Adrià Gascón, Tancrède Lepoint, and Mar iana Raykova. 2020. Secure Single-Server Aggregation with (Poly)Logarithmic Overhead. In _CCS_ _’20:_ _2020_ _ACM_ _SIGSAC_ _Conference_ _on_ _Computer_ _and_ _Com-_ _munications Security, Virtual Event, USA, November 9-13, 2020_, Jay Ligatti, Xin ming Ou, Jonathan Katz, and Giovanni Vigna (Eds.). ACM, 1253–1269. [https:](https://doi.org/10.1145/3372297.3417885) [//doi.org/10.1145/3372297.3417885](https://doi.org/10.1145/3372297.3417885) [3] Aurélien Bellet, Rachid Guerraoui, Mahsa Taziki, and Marc Tommasi. 2018. Per sonalized and Private Peer-to-Peer Machine Learning. In _International Confer-_ _ence on Artificial Intelligence and Statistics, AISTATS 2018, 9-11 April 2018, Playa_ _Blanca, Lanzarote, Canary Islands, Spain (Proceedings of Machine Learning Re-_ _search, Vol. 84)_, Amos J. Storkey and Fernando Pérez-Cruz (Eds.). PMLR, 473–481. [http://proceedings.mlr.press/v84/bellet18a.html](http://proceedings.mlr.press/v84/bellet18a.html) [4] Avrim Blum, Cynthia Dwork, Frank McSherry, and Kobbi Nissim. 2005. Practical privacy: the SuLQ framework. In _Proceedings of the Twenty-fourth ACM SIGACT-_ _SIGMOD-SIGART Symposium on Principles of Database Systems, June 13-15, 2005,_ _Baltimore, Maryland, USA_, Chen Li (Ed.). ACM, 128–138. [https://doi.org/10.1145/](https://doi.org/10.1145/1065167.1065184) Figure 9: Number of rounds until convergence in distributed averaging in random Erdős–Rényi graphs with 50 nodes and varying edge probabilities _?_ , as a function of the girth to which the graphs are “stretched”. We show our results in Figure 9. Since undirected graphs always have girth at least 3, no significant changes occur at these low girths. As the girth increases, so does the number of rounds required. As the girth approaches 25, the slope approaches zero. Graphs that initially have more edges (as determined by _?_ ) require more rounds at low girths, but settle at a lower number of rounds at high girths. When we look at our experiments in more detail, we see that ceilings occur once all cycles have been removed, and that graphs with high _?_ retain more edges. This matches the intuition that information propagates more efficiently when there are more edges. Our results show that increasing girth affects convergence speed significantly. Though state-of-the-art distributed learning protocols typically require several tens of thousands of rounds [11, 16, 48], the magnitude by which increasing girth increases the number of required rounds may be excessive for some applications. More sophisticated edge removal methods may ameliorate this issue. Fur thermore, though implementing the cycle removal method from our experiment above as a distributed protocol is trivial, <sup>2</sup> these meth ods are not necessarily communicationally efficient. To the best of our knowledge, there is no research on communication-efficient distributed “graph stretching”. That said, there are distributed pro tocols for measuring the network’s girth [9] and for removing _all_ cycles [24, 41]. We conclude that determining a network’s resistance by measuring the girth is feasible in general, but increasing girth is practical only when communication efficiency is not a concern. 2A node can break all cycles of at most length _ℓ_ that they are part of as follows. The node floods a unique random message, paired with a counter starting at _ℓ_, through the network. Each time a node forwards the message, the counter is decreased. Once the counter reaches zero, nodes stop forwarding the message. If (and only if) the source node receives back their own message, they are part of a cycle of length at most _ℓ_, and remove the edge on which the message came in. [564](https://doi.org/10.1145/1065167.1065184) Topology-Based Reconstruction Prevention for Decentralised Learning Proceedings on Privacy Enhancing Technologies 2025(1) [1065167.1065184](https://doi.org/10.1145/1065167.1065184) [5] Dan Bogdanov, Peeter Laud, Sven Laur, and Pille Pullonen. 2014. From Input Private to Universally Composable Secure Multi-party Computation Primitives. In _IEEE 27th Computer Security Foundations Symposium, CSF 2014, Vienna, Austria,_ _19-22 July, 2014_ . IEEE Computer Society, 184–198. [https://doi.org/10.1109/CSF.](https://doi.org/10.1109/CSF.2014.21) [2014.21](https://doi.org/10.1109/CSF.2014.21) [6] Kallista A. Bonawitz, Vladimir Ivanov, Ben Kreuter, Antonio Marcedone, H. Bren dan McMahan, Sarvar Patel, Daniel Ramage, Aaron Segal, and Karn Seth. 2017. Practical Secure Aggregation for Privacy Preserving Machine Learning. _IACR_ _Cryptol. ePrint Arch._ (2017), 281. [http://eprint.iacr.org/2017/281](http://eprint.iacr.org/2017/281) [7] Stephen P. Boyd, Arpita Ghosh, Balaji Prabhakar, and Devavrat Shah. 2006. Randomized gossip algorithms. _IEEE Trans. Inf. Theory_ 52, 6 (2006), 2508–2530. [https://doi.org/10.1109/TIT.2006.874516](https://doi.org/10.1109/TIT.2006.874516) [8] Ran Canetti. 2001. Universally Composable Security: A New Paradigm for Cryp tographic Protocols. In _42nd_ _Annual_ _Symposium_ _on_ _Foundations_ _of_ _Computer_ _Science, FOCS 2001, 14-17 October 2001, Las Vegas, Nevada, USA_ . IEEE Computer Society, 136–145. [https://doi.org/10.1109/SFCS.2001.959888](https://doi.org/10.1109/SFCS.2001.959888) [9] Keren Censor-Hillel, Orr Fischer, Tzlil Gonen, François Le Gall, Dean Leitersdorf, and Rotem Oshman. 2021. Fast Distributed Algorithms for Girth, Cycles and Small Subgraphs. _CoRR_ abs/2101.07590 (2021). [arXiv:2101.07590](https://arxiv.org/abs/2101.07590) [https://arxiv.](https://arxiv.org/abs/2101.07590) [org/abs/2101.07590](https://arxiv.org/abs/2101.07590) [10] Xuhui Chen, Jinlong Ji, Changqing Luo, Weixian Liao, and Pan Li. 2018. When Machine Learning Meets Blockchain: A Decentralized, Privacy-preserving and Secure Design. In _IEEE International Conference on Big Data (IEEE BigData 2018),_ _Seattle, WA, USA, December 10-13, 2018_, Naoki Abe, Huan Liu, Calton Pu, Xiaohua Hu, Nesreen K. Ahmed, Mu Qiao, Yang Song, Donald Kossmann, Bing Liu, Kisung Lee, Jiliang Tang, Jingrui He, and Jeffrey S. Saltz (Eds.). IEEE, 1178–1187. [https:](https://doi.org/10.1109/BigData.2018.8622598) [//doi.org/10.1109/BigData.2018.8622598](https://doi.org/10.1109/BigData.2018.8622598) [11] Hsin-Pai Cheng, Patrick Yu, Haojing Hu, Feng Yan, Shiyu Li, Hai Li, and Yiran Chen. 2018. LEASGD: an Efficient and Privacy-Preserving Decentralized Algorithm for Distributed Learning. _CoRR_ abs/1811.11124 (2018). [arXiv:1811.11124](https://arxiv.org/abs/1811.11124) [http://arxiv.org/abs/1811.11124](http://arxiv.org/abs/1811.11124) [12] Francis Y. L. Chin. 1978. Security in Statistical Databases for Queries with Small Counts. _ACM Trans. Database Syst._ 3, 1 (1978), 92–104. [https://doi.org/10.1145/](https://doi.org/10.1145/320241.320250) [320241.320250](https://doi.org/10.1145/320241.320250) [13] Francis Y. L. Chin and Gultekin Özsoyoglu. 1982. Auditing and Inference Control in Statistical Databases. _IEEE Trans. Software Eng._ 8, 6 (1982), 574–582. [https:](https://doi.org/10.1109/TSE.1982.236161) [//doi.org/10.1109/TSE.1982.236161](https://doi.org/10.1109/TSE.1982.236161) [14] Chris Clifton and Tamir Tassa. 2013. On Syntactic Anonymity and Differential Privacy. _Trans. Data Priv._ 6, 2 (2013), 161–183. [http://www.tdp.cat/issues11/abs.](http://www.tdp.cat/issues11/abs.a124a13.php) [a124a13.php](http://www.tdp.cat/issues11/abs.a124a13.php) [15] Graham Cormode, Cecilia M. Procopiuc, Entong Shen, Divesh Srivastava, and Ting Yu. 2013. Empirical privacy and empirical utility of anonymized data. In _Workshops Proceedings of the 29th IEEE International Conference on Data Engi-_ _neering, ICDE 2013, Brisbane, Australia, April 8-12, 2013_, Chee Yong Chan, Jiaheng Lu, Kjetil Nørvåg, and Egemen Tanin (Eds.). IEEE Computer Society, 77–82. [https://doi.org/10.1109/ICDEW.2013.6547431](https://doi.org/10.1109/ICDEW.2013.6547431) [16] Edwige Cyffers, Aurélien Bellet, and Jalaj Upadhyay. 2024. Differentially Pri vate Decentralized Learning with Random Walks. _CoRR_ abs/2402.07471 (2024). [arXiv:2402.07471](https://arxiv.org/abs/2402.07471) [https://arxiv.org/abs/2402.07471](https://arxiv.org/abs/2402.07471) [17] Edwige Cyffers, Mathieu Even, Aurélien Bellet, and Laurent Massoulié. 2022. Muffliato: Peer-to-Peer Privacy Amplification for Decentralized Optimization and Averaging. In _NeurIPS_ . [https://proceedings.neurips.cc/paper/2022/hash/](https://proceedings.neurips.cc/paper/2022/hash/65d32185f73cbf4535449a792c63926f-Abstract-Conference.html) [65d32185f73cbf4535449a792c63926f-Abstract-Conference.html](https://proceedings.neurips.cc/paper/2022/hash/65d32185f73cbf4535449a792c63926f-Abstract-Conference.html) [18] Josenildo Costa da Silva, Matthias Klusch, Stefano Lodi, and Gianluca Moro. 2004. Inference Attacks in Peer-to-Peer Homogeneous Distributed Data Mining. In _Proceedings of the 16th Eureopean Conference on Artificial Intelligence, ECAI’2004,_ _including Prestigious Applicants of Intelligent Systems, PAIS 2004, Valencia, Spain,_ _August_ _22-27,_ _2004_, Ramón López de Mántaras and Lorenza Saitta (Eds.). IOS Press, 450–454. [19] George Danezis. 2003. Statistical Disclosure Attacks: Traffic Confirmation in Open Environments. In _Security and Privacy in the Age of Uncertainty, IFIP TC11_ _18_ <sup>_th_</sup> _International Conference on Information Security (SEC2003), May 26-28, 2003,_ _Athens, Greece (IFIP Conference Proceedings, Vol. 250)_, Dimitris Gritzalis, Sabrina De Capitani di Vimercati, Pierangela Samarati, and Sokratis K. Katsikas (Eds.). Kluwer, 421–426. [20] Gábor Danner, Árpád Berta, István Hegedüs, and Márk Jelasity. 2018. Robust Fully Distributed Minibatch Gradient Descent with Privacy Preservation. _Secur._ _Commun. Networks_ 2018 (2018), 6728020:1–6728020:15. [https://doi.org/10.1155/](https://doi.org/10.1155/2018/6728020) [2018/6728020](https://doi.org/10.1155/2018/6728020) [21] Florine W. Dekker and Zekeriya Erkin. 2021. Privacy-Preserving Data Aggrega tion with Probabilistic Range Validation. In _Applied Cryptography and Network_ _Security - 19th International Conference, ACNS 2021, Kamakura, Japan, June 21-24,_ _2021, Proceedings, Part II_ _(Lecture Notes in Computer Science, Vol. 12727)_, Kazue Sako and Nils Ole Tippenhauer (Eds.). Springer, 79–98. [https://doi.org/10.1007/](https://doi.org/10.1007/978-3-030-78375-4_4) [978-3-030-78375-4_4](https://doi.org/10.1007/978-3-030-78375-4_4) [22] Florine W. Dekker, Zekeriya Erkin, and Mauro Conti. 2024. _Source code underly-_ _ing the publication: Topology-Based Reconstruction Prevention for Decentralised_ _Learning_ . [https://doi.org/10.4121/21572601.v2](https://doi.org/10.4121/21572601.v2) [23] Dorothy E. Denning. 1980. Secure Statistical Databases with Random Sample Queries. _ACM Trans. Database Syst._ 5, 3 (1980), 291–315. [https://doi.org/10.1145/](https://doi.org/10.1145/320613.320616) [320613.320616](https://doi.org/10.1145/320613.320616) [24] Shlomi Dolev and Ronen I. Kat. 2008. HyperTree for self-stabilizing peer-to-peer systems. _Distributed_ _Comput._ 20, 5 (2008), 375–388. [https://doi.org/10.1007/](https://doi.org/10.1007/s00446-007-0038-9) [s00446-007-0038-9](https://doi.org/10.1007/s00446-007-0038-9) [25] Cynthia Dwork. 2006. Differential Privacy. In _Automata,_ _Languages_ _and_ _Pro-_ _gramming, 33rd International Colloquium, ICALP 2006, Venice, Italy, July 10-14,_ _2006, Proceedings, Part II_ _(Lecture Notes in Computer Science, Vol. 4052)_, Michele Bugliesi, Bart Preneel, Vladimiro Sassone, and Ingo Wegener (Eds.). Springer, 1–12. [https://doi.org/10.1007/11787006_1](https://doi.org/10.1007/11787006_1) [26] Cynthia Dwork and Aaron Roth. 2014. The Algorithmic Foundations of Dif ferential Privacy. _Found._ _Trends_ _Theor._ _Comput._ _Sci._ 9, 3-4 (2014), 211–407. [https://doi.org/10.1561/0400000042](https://doi.org/10.1561/0400000042) [27] Alexandre V. Evfimievski, Johannes Gehrke, and Ramakrishnan Srikant. 2003. Limiting privacy breaches in privacy preserving data mining. In _Proceedings of_ _the Twenty-Second ACM SIGACT-SIGMOD-SIGART Symposium on Principles of_ _Database Systems, June 9-12, 2003, San Diego, CA, USA_, Frank Neven, Catriel Beeri, and Tova Milo (Eds.). ACM, 211–222. [https://doi.org/10.1145/773153.773174](https://doi.org/10.1145/773153.773174) [28] Ivan P. Fellegi. 1972. On the question of statistical confidentiality. _J. Amer. Statist._ _Assoc._ 67, 337 (1972), 7–18. [https://doi.org/10.1080/01621459.1972.10481199](https://doi.org/10.1080/01621459.1972.10481199) [29] Flavio D. Garcia and Bart Jacobs. 2010. Privacy-Friendly Energy-Metering via Homomorphic Encryption. In _Security and Trust Management - 6th International_ _Workshop, STM 2010, Athens, Greece, September 23-24, 2010, Revised Selected Papers_ _(Lecture Notes in Computer Science, Vol. 6710)_, Jorge Cuéllar, Gilles Barthe, and Alexander Pretschner (Eds.). Springer, 226–238. [https://doi.org/10.1007/978-3-](https://doi.org/10.1007/978-3-642-22444-7_15) [642-22444-7_15](https://doi.org/10.1007/978-3-642-22444-7_15) [30] Shangwei Guo, Tianwei Zhang, Guowen Xu, Han Yu, Tao Xiang, and Yang Liu. 2022. Topology-Aware Differential Privacy for Decentralized Image Classification. _IEEE Trans. Circuits Syst. Video Technol._ 32, 6 (2022), 4016–4027. [https://doi.org/](https://doi.org/10.1109/TCSVT.2021.3105723) [10.1109/TCSVT.2021.3105723](https://doi.org/10.1109/TCSVT.2021.3105723) [31] Briland Hitaj, Giuseppe Ateniese, and Fernando Pérez-Cruz. 2017. Deep Models Under the GAN: Information Leakage from Collaborative Deep Learning. In _Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications_ _Security,_ _CCS_ _2017,_ _Dallas,_ _TX,_ _USA,_ _October_ _30_ _-_ _November_ _03,_ _2017_, Bhavani Thuraisingham, David Evans, Tal Malkin, and Dongyan Xu (Eds.). ACM, 603–618. [https://doi.org/10.1145/3133956.3134012](https://doi.org/10.1145/3133956.3134012) [32] Adel Jebali, Salma Sassi, and Abderrazak Jemai. 2019. Inference Control in Distributed Environment: A Comparison Study. In _Risks and Security of Internet_ _and_ _Systems,_ _14th_ _International_ _Conference,_ _CRiSIS_ _2019,_ _Hammamet,_ _Tunisia,_ _October 29-31, 2019, Proceedings (Lecture Notes in Computer Science, Vol. 12026)_, Slim Kallel, Frédéric Cuppens, Nora Cuppens-Boulahia, and Ahmed Hadj Kacem (Eds.). Springer, 69–83. [https://doi.org/10.1007/978-3-030-41568-6_5](https://doi.org/10.1007/978-3-030-41568-6_5) [33] Peter Kairouz, H. Brendan McMahan, Brendan Avent, Aurélien Bellet, Mehdi Bennis, Arjun Nitin Bhagoji, Kallista A. Bonawitz, Zachary Charles, Graham Cormode, Rachel Cummings, Rafael G. L. D’Oliveira, Hubert Eichner, Salim El Rouayheb, David Evans, Josh Gardner, Zachary Garrett, Adrià Gascón, Badih Ghazi, Phillip B. Gibbons, Marco Gruteser, Zaïd Harchaoui, Chaoyang He, Lie He, Zhouyuan Huo, Ben Hutchinson, Justin Hsu, Martin Jaggi, Tara Javidi, Gauri Joshi, Mikhail Khodak, Jakub Konečný, Aleksandra Korolova, Farinaz Koushan far, Sanmi Koyejo, Tancrède Lepoint, Yang Liu, Prateek Mittal, Mehryar Mohri, Richard Nock, Ayfer Özgür, Rasmus Pagh, Hang Qi, Daniel Ramage, Ramesh Raskar, Mariana Raykova, Dawn Song, Weikang Song, Sebastian U. Stich, Ziteng Sun, Ananda Theertha Suresh, Florian Tramèr, Praneeth Vepakomma, Jianyu Wang, Li Xiong, Zheng Xu, Qiang Yang, Felix X. Yu, Han Yu, and Sen Zhao. 2021. Advances and Open Problems in Federated Learning. _Found. Trends Mach. Learn._ 14, 1-2 (2021), 1–210. [https://doi.org/10.1561/2200000083](https://doi.org/10.1561/2200000083) [34] Renuga Kanagavelu, Zengxiang Li, Juniarto Samsudin, Yechao Yang, Feng Yang, Rick Siow Mong Goh, Mervyn Cheah, Praewpiraya Wiwatphonthana, Khajonpong Akkarajitsakul, and Shangguang Wang. 2020. Two-Phase MultiParty Computation Enabled Privacy-Preserving Federated Learning. In _20th_ _IEEE/ACM International Symposium on Cluster, Cloud and Internet Computing,_ _CCGRID_ _2020,_ _Melbourne,_ _Australia,_ _May_ _11-14,_ _2020_ . IEEE, 410–419. [https:](https://doi.org/10.1109/CCGrid49817.2020.00-52) [//doi.org/10.1109/CCGrid49817.2020.00-52](https://doi.org/10.1109/CCGrid49817.2020.00-52) [35] Shiva Prasad Kasiviswanathan, Homin K. Lee, Kobbi Nissim, Sofya Raskhod nikova, and Adam D. Smith. 2008. What Can We Learn Privately?. In _49th_ _Annual IEEE Symposium on Foundations of Computer Science, FOCS 2008, Octo-_ _ber 25-28, 2008, Philadelphia, PA, USA_ . IEEE Computer Society, 531–540. [https:](https://doi.org/10.1109/FOCS.2008.27) [//doi.org/10.1109/FOCS.2008.27](https://doi.org/10.1109/FOCS.2008.27) [36] Felix Lazebnik and Vasiliy A. Ustimenko. 1995. Explicit Construction of Graphs with an Arbitrary Large Girth and of Large Size. _Discret._ _Appl._ _Math._ 60, 1-3 (1995), 275–284. [https://doi.org/10.1016/0166-218X(94)00058-L](https://doi.org/10.1016/0166-218X%0x2894%0x2900058-L) [37] Xiangru Lian, Ce Zhang, Huan Zhang, Cho-Jui Hsieh, Wei Zhang, and Ji Liu. 2017. Can Decentralized Algorithms Outperform Centralized Algorithms? A Case 565 Proceedings on Privacy Enhancing Technologies 2025(1) Florine W. Dekker, Zekeriya Erkin, and Mauro Conti Study for Decentralized Parallel Stochastic Gradient Descent. In _Advances in Neu-_ _ral Information Processing Systems 30: Annual Conference on Neural Information_ _Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA_, Isabelle Guyon, Ulrike von Luxburg, Samy Bengio, Hanna M. Wallach, Rob Fergus, S. V. N. Vish wanathan, and Roman Garnett (Eds.). 5330–5340. [https://proceedings.neurips.](https://proceedings.neurips.cc/paper/2017/hash/f75526659f31040afeb61cb7133e4e6d-Abstract.html) [cc/paper/2017/hash/f75526659f31040afeb61cb7133e4e6d-Abstract.html](https://proceedings.neurips.cc/paper/2017/hash/f75526659f31040afeb61cb7133e4e6d-Abstract.html) [38] Yehuda Lindell. 2003. _Composition_ _of_ _Secure_ _Multi-Party_ _Protocols,_ _A_ _Com-_ _prehensive_ _Study_ . Lecture Notes in Computer Science, Vol. 2815. Springer. [https://doi.org/10.1007/b13246](https://doi.org/10.1007/b13246) [39] Ueli Maurer. 2011. Constructive Cryptography - A New Paradigm for Security Definitions and Proofs. In _Theory of Security and Applications - Joint Workshop,_ _TOSCA 2011, Saarbrücken, Germany, March 31 - April 1, 2011, Revised Selected_ _Papers (Lecture Notes in Computer Science, Vol. 6993)_, Sebastian Mödersheim and Catuscia Palamidessi (Eds.). Springer, 33–56. [https://doi.org/10.1007/978-3-642-](https://doi.org/10.1007/978-3-642-27375-9_3) [27375-9_3](https://doi.org/10.1007/978-3-642-27375-9_3) [40] Brendan McMahan, Eider Moore, Daniel Ramage, Seth Hampson, and Blaise Agüera y Arcas. 2017. Communication-Efficient Learning of Deep Networks from Decentralized Data. In _Proceedings of the 20th International Conference_ _on Artificial Intelligence and Statistics, AISTATS 2017, 20-22 April 2017, Fort Laud-_ _erdale, FL, USA (Proceedings of Machine Learning Research, Vol. 54)_, Aarti Singh and Xiaojin (Jerry) Zhu (Eds.). PMLR, 1273–1282. [http://proceedings.mlr.press/](http://proceedings.mlr.press/v54/mcmahan17a.html) [v54/mcmahan17a.html](http://proceedings.mlr.press/v54/mcmahan17a.html) [41] Gabriele Oliva, Roberto Setola, Luigi Glielmo, and Christoforos N. Hadjicostis. 2018. Distributed Cycle Detection and Removal. _IEEE Trans. Control. Netw. Syst._ 5, 1 (2018), 194–204. [https://doi.org/10.1109/TCNS.2016.2593264](https://doi.org/10.1109/TCNS.2016.2593264) [42] Youyang Qu, Longxiang Gao, Tom H. Luan, Yong Xiang, Shui Yu, Bai Li, and Gavin Zheng. 2020. Decentralized Privacy Using Blockchain-Enabled Federated Learning in Fog Computing. _IEEE_ _Internet_ _Things_ _J._ 7, 6 (2020), 5171–5183. [https://doi.org/10.1109/JIOT.2020.2977383](https://doi.org/10.1109/JIOT.2020.2977383) [43] Konrad Rieck, Philipp Trinius, Carsten Willems, and Thorsten Holz. 2011. Auto matic analysis of malware behavior using machine learning. _J. Comput. Secur._ 19, 4 (2011), 639–668. [https://doi.org/10.3233/JCS-2010-0410](https://doi.org/10.3233/JCS-2010-0410) [44] Robert Schmid, Bjarne Pfitzner, Jossekin Beilharz, Bert Arnrich, and Andreas Polze. 2020. Tangle Ledger for Decentralized Learning. In _2020 IEEE International_ _Parallel_ _and_ _Distributed_ _Processing_ _Symposium_ _Workshops,_ _IPDPSW_ _2020,_ _New_ _Orleans,_ _LA,_ _USA,_ _May_ _18-22,_ _2020_ . IEEE, 852–859. [https://doi.org/10.1109/](https://doi.org/10.1109/IPDPSW50202.2020.00144) [IPDPSW50202.2020.00144](https://doi.org/10.1109/IPDPSW50202.2020.00144) [45] Hanlin Tang, Xiangru Lian, Ming Yan, Ce Zhang, and Ji Liu. 2018. D <sup>2</sup> : De centralized Training over Decentralized Data. In _Proceedings_ _of_ _the_ _35th_ _In-_ _ternational_ _Conference_ _on_ _Machine_ _Learning,_ _ICML_ _2018,_ _Stockholmsmässan,_ _Stockholm, Sweden, July 10-15, 2018 (Proceedings of Machine Learning Research,_ _Vol._ _80)_, Jennifer G. Dy and Andreas Krause (Eds.). PMLR, 4855–4863. [http:](http://proceedings.mlr.press/v80/tang18a.html) [//proceedings.mlr.press/v80/tang18a.html](http://proceedings.mlr.press/v80/tang18a.html) [46] Anh-Tu Tran, The-Dung Luong, Jessada Karnjana, and Van-Nam Huynh. 2021. An efficient approach for privacy preserving decentralized deep learning models based on secure multi-party computation. _Neurocomputing_ 422 (2021), 245–262. [https://doi.org/10.1016/j.neucom.2020.10.014](https://doi.org/10.1016/j.neucom.2020.10.014) [47] Carmela Troncoso, Marios Isaakidis, George Danezis, and Harry Halpin. 2017. Systematizing Decentralization and Privacy: Lessons from 15 Years of Research and Deployments. _Proc. Priv. Enhancing Technol._ 2017, 4 (2017), 404–426. [https:](https://doi.org/10.1515/popets-2017-0056) [//doi.org/10.1515/popets-2017-0056](https://doi.org/10.1515/popets-2017-0056) [48] Paul Vanhaesebrouck, Aurélien Bellet, and Marc Tommasi. 2017. Decentralized Collaborative Learning of Personalized Models over Networks. In _Proceedings of_ _the 20th International Conference on Artificial Intelligence and Statistics, AISTATS_ _2017, 20-22 April 2017, Fort Lauderdale, FL, USA (Proceedings of Machine Learning_ _Research, Vol. 54)_, Aarti Singh and Xiaojin (Jerry) Zhu (Eds.). PMLR, 509–517. [http://proceedings.mlr.press/v54/vanhaesebrouck17a.html](http://proceedings.mlr.press/v54/vanhaesebrouck17a.html) [49] Lingyu Wang, Duminda Wijesekera, and Sushil Jajodia. 2002. Cardinality-Based Inference Control in Sum-Only Data Cubes. In _Computer Security - ESORICS 2002,_ _7th European Symposium on Research in Computer Security, Zurich, Switzerland,_ _October 14-16, 2002, Proceedings_ _(Lecture Notes in Computer Science, Vol. 2502)_, Dieter Gollmann, Günter Karjoth, and Michael Waidner (Eds.). Springer, 55–71. [https://doi.org/10.1007/3-540-45853-0_4](https://doi.org/10.1007/3-540-45853-0_4) [50] Zhibo Wang, Mengkai Song, Zhifei Zhang, Yang Song, Qian Wang, and Hairong Qi. 2019. Beyond Inferring Class Representatives: User-Level Privacy Leakage From Federated Learning. In _2019 IEEE Conference on Computer Communications,_ _INFOCOM 2019, Paris, France, April 29 - May 2, 2019_ . IEEE, 2512–2520. [https:](https://doi.org/10.1109/INFOCOM.2019.8737416) [//doi.org/10.1109/INFOCOM.2019.8737416](https://doi.org/10.1109/INFOCOM.2019.8737416) [51] Stanley L. Warner. 1965. Randomized Response: A Survey Technique for Eliminating Evasive Answer Bias. _J._ _Amer._ _Statist._ _Assoc._ 60, 309 (1965), 63–69. [https://doi.org/10.1080/01621459.1965.10480775](https://doi.org/10.1080/01621459.1965.10480775) [arXiv:https://www.tandfonline.com/doi/pdf/10.1080/01621459.1965.10480775](https://arxiv.org/abs/https://www.tandfonline.com/doi/pdf/10.1080/01621459.1965.10480775) [52] Gary M. Weiss, Jessica L. Timko, Catherine M. Gallagher, Kenichi Yoneda, and Andrew J. Schreiber. 2016. Smartwatch-based activity recognition: A machine learning approach. In _2016 IEEE-EMBS International Conference on Biomedical_ _and Health Informatics, BHI 2016, Las Vegas, NV, USA, February 24-27, 2016_ . IEEE, 426–429. [https://doi.org/10.1109/BHI.2016.7455925](https://doi.org/10.1109/BHI.2016.7455925) [53] Lin Xiao and Stephen P. Boyd. 2004. Fast linear iterations for distributed averaging. _Syst. Control. Lett._ 53, 1 (2004), 65–78. [https://doi.org/10.1016/J.SYSCONLE.2004.](https://doi.org/10.1016/J.SYSCONLE.2004.02.022) [02.022](https://doi.org/10.1016/J.SYSCONLE.2004.02.022) [54] Bin Yang, Hiroshi Nakagawa, Issei Sato, and Jun Sakuma. 2010. Collusionresistant privacy-preserving data mining. In _Proceedings of the 16th ACM SIGKDD_ _International Conference on Knowledge Discovery and Data Mining, Washington,_ _DC, USA, July 25-28, 2010_, Bharat Rao, Balaji Krishnapuram, Andrew Tomkins, and Qiang Yang (Eds.). ACM, 483–492. [https://doi.org/10.1145/1835804.1835867](https://doi.org/10.1145/1835804.1835867) [55] Valentina Zantedeschi, Aurélien Bellet, and Marc Tommasi. 2020. Fully Decen tralized Joint Learning of Personalized Models and Collaboration Graphs. In _The_ _23rd International Conference on Artificial Intelligence and Statistics, AISTATS 2020,_ _26-28 August 2020, Online [Palermo, Sicily, Italy] (Proceedings of Machine Learning_ _Research, Vol. 108)_, Silvia Chiappa and Roberto Calandra (Eds.). PMLR, 864–874. [http://proceedings.mlr.press/v108/zantedeschi20a.html](http://proceedings.mlr.press/v108/zantedeschi20a.html) [56] Kai Zheng, Wenlong Mou, and Liwei Wang. 2017. Collect at Once, Use Effectively: Making Non-interactive Locally Private Learning Possible. In _Proceedings of the_ _34th_ _International_ _Conference_ _on_ _Machine_ _Learning,_ _ICML_ _2017,_ _Sydney,_ _NSW,_ _Australia, 6-11 August 2017_ _(Proceedings of Machine Learning Research, Vol. 70)_, Doina Precup and Yee Whye Teh (Eds.). PMLR, 4130–4139. [http://proceedings.](http://proceedings.mlr.press/v70/zheng17c.html) [mlr.press/v70/zheng17c.html](http://proceedings.mlr.press/v70/zheng17c.html) 566

섹션 본문 118문단 · 54,955자

(제목 없음)

1Decentralised learning has recently gained traction as an alternative to federated learning in which both data and coordination are distributed over its users.To preserve the confidentiality of users' data, decentralised learning relies on differential privacy, multiparty computation, or a combination thereof.However, running multiple privacy-preserving summations in sequence may allow adversaries to perform reconstruction attacks.Unfortunately, current reconstruction countermeasures either cannot trivially be adapted to the distributed setting, or add excessive amounts of noise.In this work, we first show that passive honest-but-curious adversaries can infer other users' private data after several privacypreserving summations.For example, in subgraphs with 18 users, we show that only three passive honest-but-curious adversaries succeed at reconstructing private data 11.0% of the time, requiring an average of 8.8 summations per adversary.The success rate depends only on the adversaries' direct neighbourhood, and is independent of the size of the full network.We consider weak adversaries that do not control the graph topology, cannot exploit the inner workings of the summation protocol, and do not have auxiliary knowledge; and show that these adversaries can still infer private data.We develop a mathematical understanding of how reconstruction relates to topology and propose the first topology-based decentralised defence against reconstruction attacks.Specifically, we show that reconstruction requires a number of adversaries linear in the length of the network's shortest cycle.Consequently, exact reconstruction attacks over privacy-preserving summations are impossible in acyclic networks.Our work is a stepping stone for a formal theory of topologybased decentralised reconstruction defences.Such a theory would generalise our countermeasure beyond summation, define confidentiality in terms of entropy, and describe the interactions with (topology-aware) differential privacy.

INTRODUCTION

2Machine learning is used in a wide array of systems, including smartwatches [52], predictive text [6], and malware detection [43].These systems require access to large amounts of reliable data in order to function accurately.In practice, the necessary data usually exist, but are distributed over many data owners.The naive approach for data collection is to have the data owners send their data to a central server, which trains a machine learning model on these data before deploying it.However, sharing private data may result in misuse, for example in the form of targeted advertising or harassment.In an age of increasing privacy awareness, data owners may be reluctant to share their data, threatening the viability of data-intensive machine learning applications.

3The emerging field of federated learning, first formalised in [40], addresses these privacy issues by distributing the training process over the data owners.Instead of submitting their data, each data owner first trains a machine learning model on their local data and then submits this model to a central server.This central server, called the aggregator, uses a privacy-preserving summation protocol to combine the received models into a single global model.The central server then sends back the global model to the data owners, who apply another round of training, repeating the entire process until the global model has converged.

4A significant drawback of classical federated learning is that communication is a bottleneck, scaling quadratically [6] or polylogarithmically [2] in the number of users.Decentralised learning, a variant of federated learning [33], removes this bottleneck by distributing both the data and the coordination between users.Training happens in a peer-to-peer fashion, with users exchanging information only with their direct neighbours.This significantly reduces the communication complexity [37], allowing for cost-effective deployments without a central server.Furthermore, because communication is local, it becomes much harder for adversaries to observe the full network [47].

5Recently, there has been increased interest in decentralised learning.Though some works do not consider privacy [37,45,55], many other works do.Some of these works [3,48,55] consider algorithms in which nodes are randomly selected to calculate updates, and protect the private data underlying the models using differential privacy.That is, they apply carefully calibrated random noise to the calculated gradients before sharing them with others.A slight variation of this is to use a random walk through the graph to determine the order in which updates occur [17].There are also works [10,42,44] that use blockchains to facilitate the communication and coordination between nodes, and then similarly use differential privacy.Finally, instead of differential privacy, some works utilise multi-party computation [20,34,46], which does not give noisy results, but has higher computational costs.

6A common thread in these works is that they apparently assume that if a single summation is secure, then the protocol remains secure after multiple summations.However, this requires further scrutiny, as combining information from multiple rounds may reveal previously hidden information.For example, given private records , , and , and a privacy-preserving summation protocol, an adversary could separately query + , then + , and finally +, and use a linear algebra solver to learn all three private records.To defend against such attacks, one must prevent sequences of queries that would reveal private data.Naive restrictions, such as requiring a minimum number of included records per query, are insufficient: The adversary could still first query the sum of all models and then query the sum of all models except one, allowing them to reconstruct the excluded model.As such, designing proper countermeasures requires a formal theory.

7Extracting data from output traces is known as a reconstruction attack, which has its roots in the theory of statistical disclosure [28].Many defences have been proposed since the 1970s, including query auditing [13], perturbation [25], and random sampling [23].However, these works assume either a central database, or otherwise assume a central arbiter that determines which queries are allowed.In decentralised learning, there is no clear leader who can be trusted to audit queries.Instead, decentralised learning requires a decentralised solution.Apart from works on perturbation, to the best of our knowledge, only da Silva et al. [18] have considered reconstruction attacks in peer-to-peer networks, but their work applies only to distributed clustering, and does not propose any countermeasures.When considering perturbation, naively applying user-level differential privacy in a distributed setting results in linearly-scaling noise, severely reducing the protocol's utility [17,26,56].Intuitively, utility can be increased while retaining the level of privacy by correlating noise by topology [25], but to the best of our knowledge only a few works have done this.Guo et al. [30] reduce noise based on the mutual overlaps of neighbours' neighbourhoods, but do not consider time-series correlations.Cyffers et al. [17] observe that data sensitivity decreases as mutual node distances increase, but their solution does not scale well under collusion.

8In this work, we analyse reconstruction attacks performed by colluding adversaries in peer-to-peer networks.We model the network after decentralised learning, though our analysis is sufficiently generic to describe a sequence of summations in any environment.Summation is a simple protocol, but is sufficient to implement many of the aforementioned decentralised learning protocols, in addition to smart metering [29] and even principal component analysis, singular-value decomposition, and decision tree classifications [4].We assume a set of nodes, each with a private datum that changes over time, and allow privacy-preserving summation over one's direct neighbours.We do not consider auxiliary knowledge; see Section 3.3.3 and [14,15] for a detailed discussion on the real-world applicability of this model.We then formalise the relation between reconstruction and network topology, and prove that exact reconstruction attacks are impossible in a specific class of topologies.

9Concretely, we begin by showing that reconstruction attacks are practical, and that, in random peer-to-peer subgraphs, three honestbut-curious adversaries with 15 neighbours succeed in finding at least one neighbours' private datum with an 11.0% success rate, requiring an average of only 8.8 rounds per adversary.The success rate is independent of the size of the full network; it depends only on the adversaries' local neighbourhood.We then show that the success rate depends on the connectivity of the network rather than its size.Specifically, we show that reconstruction corresponds to cycles in the graph: If the graph's shortest cycle has length 2, then reconstruction never succeeds if there are fewer than adversaries.Finally, we briefly evaluate the impact of increasing girth on the convergence of a distributed averaging protocol, and find that while more rounds are required to achieve convergence in all graphs, dense graphs require fewer rounds than sparse graphs do when both are "stretched" to higher girths.

10To the best of our knowledge, our work is the first to propose a topology-based decentralised defence to reconstruction attacks.We show that restricting how summations may be composed makes it impossible to reconstruct private data.We must therefore assume that adversaries do not have auxiliary knowledge, as restrictions on summations cannot be guaranteed otherwise.With the ultimate goal of developing a general theory of structured composition as a distributed reconstruction countermeasure, future work may include finding a condition that is not only sufficient (as seen in this work) but also necessary for reconstruction, generalising these countermeasures to operations beyond summation, stronger notions of privacy rooted in information theory, and investigating the interactions with (topology-aware) differentially private noise.

11The remainder of this paper is structured as follows.In Section 2, we discuss related work.In Section 3, we describe the preliminaries: We explain basic primitives, formalise our assumptions, and introduce our notation.In Section 4, we formally describe reconstruction attacks, and show that the attack is feasible.In Section 5, we prove that the success rate of the reconstruction attack depends on the graph's girth, and investigate how girth affects application performance.Finally, in Section 6, we present our conclusions.

RELATED WORK

12In this work we propose a decentralised reconstruction countermeasure for privacy-preserving summation with dynamic data.To the best of our knowledge, this exact problem has not been treated in literature before.Therefore, in this section, we consider related works from various fields, and describe their similarities and differences.

Reconstruction Attacks

13Consider a database that users can query for statistical information.For example, in a database with employee records, users can query for the sum of salaries of all PhD students.Naturally, the database must ensure that users cannot learn individual employees' salaries.A naive defence would disallow queries over single records, but a cleverly chosen sequence of queries may still allow the user to reconstruct private data.For example, the user could query the sum of salaries of all employees, and the sum of salaries of all employees except Jay Doe, and reconstruct Jay Doe's salary from that.The attack described above is known under various names: statistical disclosure1 , the inference problem, and the reconstruction attack.It has been the subject of research since at least the 1970s [28], originally in the context of releasing census statistics.Since then, many reconstruction defences have been proposed, including random sampling [23], query auditing [13], and perturbation [25].

14Most related to our research question are those works that consider sum queries only.Chin [12] studies summation query graphs to determine the exact conditions under which disclosure occurs.However, his analysis is limited to queries that are over exactly two records each, and cannot easily be generalised.Wang et al. [49] allow queries over more than two records.The authors propose cardinality-based criteria for determining whether reconstruction is possible, and create a whitelist of all summations that can be performed without causing undesired reconstruction.

15All aforementioned solutions consider a single trusted database or auditor, making them unsuitable for peer-to-peer protocols, in which the data are spread over many users.Except for perturbationbased techniques, there are very few works that consider reconstruction defences in peer-to-peer settings.In their study on reconstruction attacks in distributed environments, Jebali et al. [32] note only the work by da Silva et al. [18] when discussing peer-to-peer solutions, but the latter applies only to distributed clustering, and does not propose any countermeasures.

16Perturbation, on the other hand, has been studied in more detail.Probably the most popular perturbation mechanism for the decentralised setting is local differential privacy [27,35,51], a variation of differential privacy [25].With this technique, when a query is performed over some set of nodes, each node adds a small amount of noise such that the aggregate is relatively accurate, but reconstruction remains impossible even after multiple queries.Various fully-decentralised learning protocols use local differential privacy to allow learning a shared machine learning model without revealing users' private datasets [3,48,55].However, the perturbation is calibrated to protect individual records in users' private datasets, rather than protecting users' entire datasets.As a result, these works are potentially vulnerable to inversion attacks [31,50].The level of noise can be increased, but this severely impacts utility [17,56].Intuitively, noise can be made more "efficient" by exploiting correlations between users' data [26], which, in peer-to-peer networks, amounts to calibrating noise to the topology.To the best of our knowledge only a few works have done this.Guo et al. [30] reduce noise based on the mutual overlaps of neighbours' neighbourhoods, but do not consider time-series correlations.Cyffers et al. [17] observe that data sensitivity decreases as mutual node distances increase, but their solution does not scale well when adversaries collude.

Multi-Party Computation

17In secure multi-party computation, composability [38] is the property of a cryptographic scheme that no additional leakage occurs when it is invoked multiple times, with varying parties, combined with other schemes, and so on.There are numerous frameworks to model composability, including universal composability [8], constructive composability [39], and reactive simulatability [1].

18Composability solves a different issue than the one posed in this work.While composability ensures nothing leaks beyond what can be inferred from the outputs, our work is concerned exactly with that which can be inferred from the outputs.Composability does not help when the desired output (implicitly) reveals private data.

19In secure multi-party computation literature, this difference is occasionally acknowledged.For example, Bogdanov et al. [5] note that "the composition of ideal functionalities is no longer an ideal functionality", and, before them, Yang et al. [54] made a similar observation.There are more works that consider this difference, but, to the best of our knowledge, these works all resolve the issue by removing or protecting intermediate values, but do not consider protocols which desire intermediate values, and even then do not consider that reconstruction attacks may be possible after multiple instantiations of the protocol.An exception is the work by Dekker and Erkin [21], which releases intermediate values in a structured manner such that it is not possible to reconstruct all users' values.However, the authors do not prove (or disprove) that it is impossible to find a single user's value.

PRELIMINARIES

20We briefly explain some basics on privacy-preserving summation in Section 3.1 and on bipartite graphs in Section 3.2.After that, we formulate our assumptions and define our notation in Section 3.3.

Privacy-Preserving Summation

21Privacy-preserving summation is a special case of multi-party computation in which an aggregator calculates the sum of users' private values without learning the users' individual values.In this work, we consider privacy-preserving summation to be an informationtheoretically secure black-box that reveals only the identities and the sum of the variables.

Bipartite Graphs

22A bipartite graph = ( , , ) is a graph with nodes ∪ and edges , subject to ∩ = ∅ and ∀(, ) ∈ : ∈ ⇔ ∈ .

23Furthermore, a bipartite graph = ( , , ) can be described by a biadjacency matrix ∈ {0,

24In this work, all graphs are undirected.

Assumptions and Notation

25The underlying models and assumptions in this work are based on those seen in the decentralised learning literature [3,20,55], but are especially close to the work by Vanhaesebrouck et al. [48].

26In general, we denote the first element of a vector by 0 , the first row of a matrix by 0 , the range of integers {0 . . . − 1} by ⟦⟧, and the number of elements in a collection by | |.

3.3.1

27User data and objectives.Consider a system of users , each with a private datum.Each datum is dynamic; it changes each time the user initiates a round and incorporates new knowledge from their neighbours.(We describe the time model in Section 3.3.4.)Each datum can be a vector of values, though for simplicity we assume scalar values in our notation.Examples of dynamic data are power consumption, GPS coordinates, and machine learning models.In round , the data of user ∈ ⟦⟧ is denoted , .

28The users want to compute some function over their data without revealing their data to others.Each user regularly runs a privacypreserving summation protocol to find the sum of their direct neighbours' private data.This sum can be used for principal component analysis, singular-value decomposition, or distributed gradient descent, for example.

Network model.

29Users communicate with each other in a peer-to-peer network.This can be a physical network, for example based on Bluetooth or Wi-Fi Direct, or an overlay network, in which users are connected through the Internet.We model the network as an undirected, self-loopless, static graph = ( , ) in which each node represents a user.(We consider graphs with dynamic edges in Section 5.4.)The direct neighbours of a node ∈ are denoted (), and for any set of users ⊆ we define their shared neighbours ( ) ≔ ∈ () \ .The network topology is not private; in fact, users know who their direct neighbours are.Users may run a privacy-preserving summation protocol to learn the sum of their direct neighbours' private values.

Adversarial model.

30We assume all users are honest-butcurious.That is, all users honestly follow the protocol, but may attempt to obtain other users' private data by operating on the data obtained in the protocol in any way they see fit.Additionally, users ⊆ may collude with each other, but we require that each adversary has either zero or at least two non-adversary neighbours, as retrieving private data is trivial otherwise.We give an example of a valid set of adversaries in Figure 1.Colluding users are still honest-but-curious, so their collusion is limited to sharing information outside the protocol.While excluding all actively malicious behaviour is a strenuous assumption in practice, we argue that the challenges in the honest-but-curious model are already sufficiently interesting to warrant investigation.We leave stronger notions of adversarial behaviour to future work; see also Section 6.Finally, we assume that adversaries do not possess auxiliary knowledge.That is, we aim for syntactic privacy [14], of which the privacy guarantees do not compose trivially with those of other protocols using the same private data.Syntactic privacy is suitable when high utility is desired and participants have some level of mutual trust [14,15].Moreover, prescribing a syntax on the data is inherent to this work's goal of establishing an interpretable relation between privacy and topology.We note that syntactic privacy does not preclude the use of semantic protections such as differential privacy, though the investigation of that combination is out of scope for this work.See [14,15] for a detailed discussion of the subject.

3.

313.4 Time model.We work in the asynchronous time model [7], in which a global clock ticks whenever a user wakes up and performs some work.Equivalently, each user has their own clock ticking at the speed of a rate-1 Poisson process; when a user's clock ticks, that user wakes up.We denote the current global round number by (for "time").

RECONSTRUCTION IN MULTI-PARTY SUMMATION

32In this section we formally define reconstruction attacks in privacypreserving multi-party dynamic-data summation, and experimentally verify that this attack is feasible.Adversaries passively record the summations they obtain throughout the protocol.Because adversaries know which users are included in which summation, they obtain a system of linear equations.Even if the system has no global solutions, adversaries may still learn the private data of some users.In Section 4.1, we informally explain reconstruction attacks with examples.In Section 4.2, we give an exact definition of the adversaries' knowledge.In Section 4.3, we formally define reconstruction on multi-party dynamic-data summation.In Section 4.4, we experimentally verify the feasibility and success rate of reconstruction attacks on random graphs.

Introduction to Reconstruction Attacks

33For this brief introduction, we use somewhat informal notation.We formally define our notation in Section 4.2.

34A small example.Consider a graph = ( , ) with users and a set of adversaries ⊆ .If a single adversary ∈ sums their neighbours' values, they learn a linear equation Θ over the private values of neighbours ().If multiple adversaries collude, they share a system of linear equations = Θ over the private values of ().If the system of linear equations has a solution, then the adversaries are able to calculate all observed users' private values using linear combinations of the system's rows.For example, given adversaries , , and with observations

35this is equivalent to the system of linear equations

36(2)

37Since this system is full rank, adversaries can calculate

38For example, if Θ = 7, Θ = 13, and Θ = 8, the adversaries know with certainty that 1 = 6, 2 = 1, and 3 = 7. Observe that this works even if each individual summation in Equation 1 is information-theoretically secure.

39Partial solutions.If the system is rank-deficient, no unique solution exists, but the system may still have partial solutions.That is, even if a system has infinitely many possible solutions, it may be the case that some variables have the same value in all solutions.Even a single user's private value being leaked is a major issue for any privacy-preserving protocol.Consider, for example, the adversarial knowledge consisting of

40Even though there is no unique solution, all solutions have the same value for 3 , calculated as

41The case of Equation 6 is trivial because Θ is the sum over a subset of Θ .However, there are also rank-deficient systems in which no summation is a subset of another:

42This system, too, has an infinite number of solutions, but each possible solution has the same values

43Time dimension.The above examples do not take into account that users' data change over time.To model dynamic data, first recall from Section 3.3.1 that users update their values only after initiating a summation.Since each update requires an interactive summation, users implicitly inform their neighbours whenever they update; and since each update represents the introduction of a new unknown value to , adversaries can represent an update by adding a new column to their adversarial knowledge.If a user updates their value multiple times before being observed by an adversary, the adversaries treat this as a single update.To give an example, consider adversaries and their neighbours () in Figure 2. Say that initially adversaries 1 and 2 run their summations, learning

44The added vertical lines group the columns per non-adversarial user.Next, say that user 1 updates their private value.This is noticed by the adversaries, who insert a new column into their system of equations.If user 1 then does another summation (which includes user 1 's new value), the adversaries know

45The last row represents adversary

46In the remainder of this work, to simplify notation, we will always assign the same number of columns to each user.

47Observations.Before we give a formal definition of reconstruction attacks, we make two observations:

48(1) Reconstruction does not rely on weaknesses in the summation algorithm; reconstruction works even if summation is done by a trusted third party.Instead, reconstruction relies only on the summation revealing both the identities of included variables and the sum of those variables.(2) Reconstruction is independent of how users update their private values, and works even if users update their models in random ways or multiple times.Reconstruction works because adversaries observe multiple summations with at least one unchanged value, and know how the summations are related.

Obtained Adversarial Knowledge

49We give a formal description of adversarial knowledge, which is the system of linear equations that adversaries obtain in a privacypreserving multi-party dynamic-data summation protocol, and observe two important properties.

50Let = ( , ) be an undirected graph, let ⊆ be a collusion of adversaries, let ≔ | ()|, and let ∈ N be the number of summations performed by .

51Definition 1 (Adversarial knowledge).The adversarial knowledge over summations by is a consistent system of linear equations = Θ, subject to the conditions that

52As in Property 1, the summation merely describes whether neighbour is included in the th linear equation.

Reconstruction from Adversarial Knowledge

53Finding a (partial) solution is not trivial.It is well-known that the reduced row echelon form (rref) of a system of linear equations reveals the system's unique solution, if it has one.Clearly, this unique solution is also at least a partial solution.However, if there is no unique solution, there may still be a partial solution, as in Equation 6.We will show in Theorem 1 that finding the reduced row echelon form of the adversarial knowledge is both necessary and sufficient to find all partial solutions.Moreover, we will show in Theorem 2 that this is true even if adversaries' own private values are removed from the adversarial knowledge matrix.We begin with some definitions.Let = ( , ) be an undirected graph, let ⊆ be a set of adversaries, let ≔ | ()|, let ∈ N, and let = Θ be the adversarial knowledge over summations by ; that is, ∈ R × .Definition 2 (Solution of a variable).Let ∈ R 1× and let ∈ ⟦⟧.We say that " solves in = Θ" if and only if the vector contains exactly one non-zero value, at index :

54Remark 2. Since Equation 15 is independent of and Θ, it is equivalent to say that " solves in ".

55Definition 3 (Partial solution).Let ∈ R 1× .If solves in for any ∈ ⟦⟧, then we say that " is a partial solution to ".

56We proceed with the central theorem of this section, which states that the reduced row echelon form of describes all partial solutions to .We remark that a weaker variant of this theorem is given by Wang et al. [49] without a formal proof.

57Theorem 1.Let ∈ ⟦⟧, and let ∈ R × such that = rref ().

58Then has a solution in if and only if there exists ∈ ⟦⟧ such that solves in .

59Proof.Given ∈ ⟦⟧, we give a proof for both directions.We first prove that if there exists ∈ ⟦⟧ such that solves , then has a solution in .Since = Θ, it follows that = Θ, and by Equation 15we have that = .Therefore, = Θ.This proves the first direction of Theorem 1.

60We prove the other direction of Theorem 1 by contradiction.Let ∈ R 1× be a solution to in , so has its only nonzero value at () .For the sake of contradiction, assume that there is no row in that solves in .Because is in the row space of , and the row space of is the same as the row space of rref (), there exists ′ ∈ R 1× such that = ′ • rref () = ′ .By associativity of matrix multiplication, ′ solves in .Furthermore, since we assumed (for the sake of contradiction) that no single row of solves in , it follows that ′ must have multiple non-zero coefficients.Thus, let ′ and ′ be any two nonzero coefficients in ′ , and let , such that () , and () , are the leading coefficients of their respective rows; these are their columns' only non-zero values, and ≠ .Therefore, () = ( ′ ) = ′ ≠ 0, and similarly () = ′ ≠ 0. However, this is a contradiction, because we initially assumed that has its only non-zero value at () .Therefore, there exists a row in that solves in .This proves the other direction of Theorem 1.

61Therefore, it is both necessary and sufficient to check the rows of = rref () to learn all partial solutions to . □ Note that does not describe that adversaries know each other's private values, since () excludes adversaries themselves.We show that including this knowledge does not reveal new partial solutions.Specifically, observe that the adversarial knowledge including self-knowledge over summations by adversaries is

62where is the ( ×) identity matrix, 0 is an appropriately-sized matrix of 0s, and is some appropriately-sized binary matrix.

Reconstruction Attack Feasibility

63We show that reconstruction is feasible for honest-but-curious adversaries.We run the attack in static graphs with randomlyplaced adversaries passively collecting data.We measure both the success rate and the number of rounds until success.Our source code is publicly available [22].

64Remark 3.This section pertains only to static graphs.We show a reduction from edge-dynamic graphs to static graphs in Section 5.4.

Experimental setup.

65By Theorem 1, the success rate of the attack depends only on the adversaries' direct neighbourhood.Therefore, instead of modeling large peer-to-peer networks, it suffices to model only the subgraph that is relevant for the attack.Additionally, by Theorem 2, edges between adversaries can be ignored.Therefore, given any graph = ( , ) and a set of colluding adversaries ⊆ , it suffices to model the induced subgraph [], minus edges between adversaries.This forms a bipartite graph .We provide an example of graph induction in Figure 3.We emphasise that reconstruction depends only on the adversaries' view, regardless of the remaining graph outside this view.However, the likelihood of obtaining any specific adversarial view does depend on the full graph.For example, the probability that a random adversarial view contains a cycle depends on the connectivity of the full graph.For our experiments, we choose not to make assumptions on the graph's topology, analysing all possible adversarial views equally, so that our results are agnostic to the specific network, application, and adversary.

66Bipartite graphs can be parameterised by three variables: the number of adversaries, the number of direct neighbours, and the number of edges.We generate random graphs according to these parameter, subject to some filtering:

67• We exclude graphs in which there is a adversary with only one edge because this would allow trivial attacks, as described in Section 3.3.• We do not exclude graphs in which there is an honest-butcurious user with only one edge, because this user may have more edges in that are not in .• We exclude graphs in which an honest-but-curious user has no neighbours, because these cases do not accurately represent the bipartite graph's parameters.• We do not exclude graphs in which an adversary has no neighbours.• We do not exclude disconnected graphs.4.4.2Amount of reconstructed data.For our first experiment, we measure the amount of private data that adversaries can reconstruct.We generate a large amount of random bipartite graphs as described above, and count the number of partial solutions in the biadjacency matrices.This corresponds to the adversarial knowledge if neighbours do not update their values, and thus represents the strongest reconstruction attack that adversaries can perform.In Section 4.4.3we also consider neighbours updating their values.

68Firstly, we look at the proportion of data that can be reconstructed, shown in Figure 4. We see that if the number of adversaries is close to the number of neighbours, the adversary is typically able to reconstruct all neighbours' data.As the number of neighbours increases, fewer data can be reconstructed, unless compensated for by a higher connectivity.If the graph has many neighbours and few edges, adversaries share fewer neighbours, and are thus typically unable to exploit the overlaps in their aggregates.

69Secondly, we look at the distribution of how much data can be reconstructed, shown in Figure 5.We see again that adversaries are more successful if they outnumber their neighbours.As the number of neighbours increases, so does the probability of being unable to reconstruct any data.However, even if three adversaries passively observe 15 neighbours, they still have an 11.0% probability of reconstructing at least one neighbour's datum, which is unacceptable for any privacy-preserving scheme.

4.4.3

70Rounds until first reconstruction.Some partial solutions are harder to obtain than others.For example, if the graph is such that users update their values faster than adversaries can collect them, adversaries may never "converge" to a (partial) solution.

71In the next experiment, we measure how many rounds adversaries need before reconstruction succeeds.For each of the subgraphs in Figure 4 that were found to be susceptible to the attack, we simulate a multi-party summation protocol as follows.Each round, a uniformly random user in the subgraph wakes up.If the user is an adversary, they learn the sum of their neighbours' values, and adds this to the adversarial knowledge.Otherwise, if a nonadversary wakes up, we simulate an update: The next adversarial sum that includes this non-adversary will use a new column in the adversarial knowledge matrix.After every round, the adversaries check for a partial solution.We repeat this procedure 100 times to control for the order in which users wake up, truncate instances that have no partial solutions after 250 rounds, and take the mean number of rounds until the first partial solution is found.

72We show the mean number of rounds until the reconstruction attack succeeds in Figure 6.We see that the attack is fastest when there are more adversaries, more edges, and fewer neighbours.Intuitively, this means that the required number of summations increases if neighbours can update their values at a higher rate than adversaries can observe them.For example, 3 adversaries against 15 neighbours require on average 8.8 rounds before they can reconstruct private data.In related works such as [11,16,48], users run hundreds or thousands of rounds before the protocol terminates, significantly more than required in our attack.

Conclusion of results.

73We sampled all possible views of randomly selected adversaries in random graphs, excluding some trivial attack cases.If the reconstruction attack succeeds, the adversaries obtain other users' private inputs to the information-theoretically secure summation operation.Our results show that passive honestbut-curious adversaries are able to obtain private data in this scenario with non-negligible probability.While we note that different classes of graph topologies may have varying susceptibility to reconstruction attacks, we conclude that, in general, individually protecting each summation is insufficient for confidentiality.

GIRTH AS A PEER-TO-PEER RECONSTRUCTION COUNTERMEASURE

74In a centralised protocol, the single aggregator can track which summations have occurred, and refuse a subsequent summation if it would result in a partial solution.However, in a distributed computation, there is no such aggregator, and simulating the aggregator using a multi-party protocol is impractical as this would require involving all users in each summation.In this section, we show that to prevent reconstruction it is sufficient to increase the network's girth, which is the length of the network's shortest cycle.The network's girth is an established metric for peer-to-peer networks, with various peer-to-peer algorithms for measuring and increasing the girth [9,24,36,41].Using such an algorithm before running a privacy-preserving dynamic-data multi-party summation protocol is thus sufficient to prevent reconstruction of private data by honest-but-curious adversaries.We begin in Section 5.1 by showing that reconstruction requires collusion.In Section 5.2, we show that reconstruction does not work in acyclic graphs, regardless of the number adversaries.In Section 5.3, generalise results to determine an upper bound on the number of adversaries.In Section 5.4, consider graphs with dynamic edges.Finally, in Section 5.5, we briefly evaluate the impact that increasing girth has on distributed convergence.

Privacy in Static Graphs without Collusion

75We begin by considering the special case of = 1, i.e. a setting without collusion.We show that, if the graph is static, the adversary cannot obtain other users' private values regardless of topology, barring trivial attacks.

76Assuming a privacy-preserving summation protocol, it is selfevident that repeating the summation over the same set of values does not leak any private data.However, while the set of neighbours is always the same in the static no-collusion setting, neighbours still update their local values.Thus, it remains to be shown that no reconstruction is possible with this kind of composition.Lemma 1.Given adversarial knowledge ∈ R × of a single adversary with ≥ 2 fixed neighbours, we have for any ∈ R 1× ∀, ∈ ⟦⟧ :

77Here, ∈⟦ ⟧ () + is the sum of components of relating to neighbour .The equation states that in any linear combination , every neighbour has the same sum of components.

78Proof.Firstly, because the adversary has fixed neighbours,

79In the linear combination , the rows of are scaled according to and then summed together.Therefore, since each row includes each neighbour exactly once,

80□ Corollary 1.Given adversarial knowledge ∈ R × of a single adversary with ≥ 2 fixed neighbours, there exists no ∈ R 1× such that has exactly one non-zero value.Therefore, there exist no partial solutions for .

Privacy in Static Graphs with Unbounded Collusion

81The special case of = 1 provides some insights into the workings of the reconstruction attack, but not allowing any collusion is not realistic, as honest-but-curious collusion in the form of secretly exchanging information is undetectable and there are no strong incentives against it.Therefore, we now proceed to consider the general case of ≥ 1. Partial solutions are linear combinations of the rows of the adversarial knowledge such that all but one column cancels out, as in Equation 1.We already know from Corollary 1 that a partial solution requires multiple adversaries.If two rows in the adversarial knowledge from different adversaries match in multiple columns, then these adversaries share multiple neighbours, and the graph has a cycle.Otherwise, if no two rows from different adversaries overlap in multiple columns, then, since each equation has at least two non-zero columns, each equation introduces new unknowns, taking the adversaries further from a partial solution.In this case, if the adversaries are able to find a partial solution, they must have another row that cancels out the unknowns of multiple other rows; but this, too, introduces a cycle.The intuition thus seems to be that partial solutions require a cyclic graph.We now formally prove that this intuition is correct.If is acyclic, then does not have partial solutions.

82Proof.We give a proof by contraposition: Given a partial solution to , we show that is cyclic.Let ∈ R 1× be a partial solution to .We show how to find a bipartite subgraph of such that its biadjacency matrix ′′ has a partial solution ′′ .We then show that this implies the existence of a cycle in .Our proof works in multiple steps: (1) combine columns of to create ′ , (2) remove rows from ′ to create ′′ , (3) create the corresponding partial solution ′′ , and finally (4) show that is cyclic.We show an example of this procedure in Figure 7.

83(

841 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0

85The adversarial knowledge after users from Figure 7a run in the sequence ( 1 , 2 , 3 , 3 , 3 , 4 ); the matrix ′ with collapsed columns; and the matrix ′′ without duplicate and unused rows.(2) Remove rows.We remove duplicate and unused rows from ′ to obtain ′′ .We define ′′ as a set of rows:

86∈ ⟦⟧ :

87Here, Equation

88Therefore, ′′ ′′ = ′ ′ , and ′′ is a partial solution to ′′ .(4) Find cycle.Note that ′′ is the biadjacency matrix of some bipartite subgraph = ( ′ , (), ) of , where ′ ⊆ and ⊆ .Assume, for the sake of contradiction, that is acyclic.Then has two distinct nodes , with degree one.Since adversaries cannot have degree one in , and ∀ ∈ ′ : ( () = () ∨ () = ∅), we know that , ∈ ().

89Consequently, the columns in ′′ for , must each contain only one non-zero value, and ′′ does not contain zeroes at all by Equation 25.Therefore, ( ′′ ′′ ) ≠ 0 and ( ′′ ′′ ) ≠ 0. However, this implies that ′′ ′′ has multiple non-zero values, which contradicts the earlier observation that ′′ is a partial solution to ′′ .Therefore, is cyclic, and so is .

□

90Our proof shows that partial solutions imply the existence of cycles.However, this does not mean that cycles imply the existence of partial solutions.Indeed, we show in Section 5.3 that structured cycles can be introduced without creating partial solutions.Remark 4. Theorem 3 pertains only to partial solutions.Even in an acyclic topology, there may be linear relations that reveal sensitive information without leaking private values outright, such as 1 = 2 or 3 = 4 × 5 .Protecting these relations is left for future work.

Privacy in Static Graphs with Bounded Collusion

91While acyclic graphs resist reconstruction attacks, these graphs are not well-suited for peer-to-peer networks for two reasons.Firstly, if any non-leaf node becomes unavailable, the network becomes disconnected.Secondly, leaf nodes have only one neighbour, and thus cannot initiate summations to learn from their neighbours.We show that no partial solutions exist given an upper bound on the number of adversaries.This bound depends on the graph's girth, which is the length of its shortest cycle.Theorem 4. Let = ( , ) be an undirected graph, let ⊆ be a set of adversaries, let ≔ | ()|, let be the number of summations performed by , and let ∈ R × be the adversarial knowledge.

92If girth() > 2, then does not have partial solutions.

93Proof.We give a proof by contraposition: Given a partial solution to , we show that girth() ≤ 2.Let be as in the proof of Theorem 3. Then is cyclic.Since is bipartite, every edge in the cycle is between an adversary and a neighbour.Since each node in the cycle is visited at most once, the cycle length is at most 2.This cycle also exists in .Therefore, girth() ≤ 2.□

Privacy in Dynamic Graphs

94So far, we have assumed that graphs are static.However, this prevents users from changing their neighbours, which is unrealistic if users move through the network.We briefly show that dynamic graphs can be reduced to static graphs.If a single user performs two summations over two sets of neighbours, they learn exactly the same information as two users would over those same sets of neighbours.We show an example in Figure 8.More generally, users with static neighbours can learn the exact same information as ℓ users with different sets of neighbours.Our results on reconstruction feasibility in static graphs from Section 4.4 can be translated similarly to dynamic graphs.

95We conclude that Theorem 4 implies the following.is guaranteed throughout the protocol, the upper bound implies a maximum number of changes that may occur during the protocol.

Impact on Convergence

96We briefly evaluate the impact of increasing the network's girth on the convergence of a protocol running over that network.Specifically, we numerically simulate a distributed averaging protocol [53], which is just a non-privacy-preserving form of distributed learning.We intentionally choose a simple, efficient, non-noisy protocol to make the impact of the girth parameter most apparent.The "numerical simulation" part of the description is because we do not actually create separate processes and communication for the nodes.Our source code is publicly available [22].We use the system model presented in Section 3.3.We create a network by generating a random Erdős-Rényi graph with 50 nodes and with each edge having a probability of being added.Each node holds a single private scalar value, sampled uniformly from the range {0 . . .50}.Each round, one random node updates their private value to be the unweighted mean of their neighbours' values and their own value.We then measure the number of rounds until convergence, and take the mean over 1000 repetitions of this procedure.We define convergence as the moment at which any two nodes' local values differ by at most 1.Changing this threshold does not give fundamentally different results.

97To measure the effect girth has on convergence, we "stretch" graphs to a given girth by iteratively removing random edges from cycles shorter than the desired girth until no such cycles remain.With 50 nodes, stretching to a girth of ensures reconstruction attacks are impossible when less than /2 /50 = % of users collude.For example, after stretching the girth to 25, the graph can resist collusions of less than 25% of users.We show our results in Figure 9. Since undirected graphs always have girth at least 3, no significant changes occur at these low girths.As the girth increases, so does the number of rounds required.As the girth approaches 25, the slope approaches zero.Graphs that initially have more edges (as determined by ) require more rounds at low girths, but settle at a lower number of rounds at high girths.When we look at our experiments in more detail, we see that ceilings occur once all cycles have been removed, and that graphs with high retain more edges.This matches the intuition that information propagates more efficiently when there are more edges.

98Our results show that increasing girth affects convergence speed significantly.Though state-of-the-art distributed learning protocols typically require several tens of thousands of rounds [11,16,48], the magnitude by which increasing girth increases the number of required rounds may be excessive for some applications.More sophisticated edge removal methods may ameliorate this issue.Furthermore, though implementing the cycle removal method from our experiment above as a distributed protocol is trivial, 2 these methods are not necessarily communicationally efficient.To the best of our knowledge, there is no research on communication-efficient distributed "graph stretching".That said, there are distributed protocols for measuring the network's girth [9] and for removing all cycles [24,41].We conclude that determining a network's resistance by measuring the girth is feasible in general, but increasing girth is practical only when communication efficiency is not a concern. 2 A node can break all cycles of at most length ℓ that they are part of as follows.The node floods a unique random message, paired with a counter starting at ℓ, through the network.Each time a node forwards the message, the counter is decreased.Once the counter reaches zero, nodes stop forwarding the message.If (and only if) the source node receives back their own message, they are part of a cycle of length at most ℓ, and remove the edge on which the message came in.

CONCLUSION

99We investigated reconstruction attacks in the setting of secure multi-party computation.We observed that existing multi-party computation literature does not consider protocols in which intermediate values are intentionally exposed by the ideal functionality, and seemingly assumes that protocols are not self-composed when deployed.In our investigation, we focused on a peer-to-peer setting with privacy-preserving summation in which users' data change over time.In random subgraphs with 18 users, we found that three passive honest-but-curious adversarial users have an 11.0% success rate at recovering another user's private data using a reconstruction attack, requiring an average of 8.8 rounds per adversary.We analysed the structural dependencies of the underlying network graph that permit this attack, and proved that successful reconstruction attacks correspond to cycles in the network.More generally, we showed that the length of the graph's shortest cycle determines the minimum number of adversaries required for the attack.We conclude that removing short cycles from the network is a feasible countermeasure, albeit with considerable cost towards the convergence speed of distributed protocols.

100Our work sets the first step towards preventing reconstruction in the peer-to-peer setting as seen in multi-party computation, and opens up multiple questions for future work.Firstly, and most obviously, though we have found a sufficient criterion to determine reconstruction feasibility, finding a criterion that is also necessary would allow using some graphs which our criterion currently forbids.Secondly, our work is limited to a strictly syntactic notion of privacy, and does not protect linear relations between data, which is required to protect against adaptive adversaries.Thirdly, though our restriction to the summation operation is already sufficient to analyse decentralised learning, our work could be extended to cover compositions with other operations, such as multiplication or comparison.Finally, the addition of differentially private noise may further strengthen the provided level of privacy.

Figure 1 :

101Figure 1: A network with 6 users .The adversaries = { 2 , 4 , 5 } are shaded.Removing edge ( 2 , 3 ) would violate our requirements, as adversary 2 would have exactly one non-adversary neighbour.

Figure 2 :

102Figure 2: Example graph with adversaries = { 1 , 2 , 3 } (shaded) and non-adversaries = () = { 1 , 2 , 3 }.

Figure 3 :

103Figure 3: A graph .Adversaries = { 1 , 2 , 3 } are shaded.The bipartite subgraph = [] consists of exactly the nondotted nodes and edges.

Figure 4 :

104Figure 4: Proportion of neighbours' private data that can be reconstructed by adversaries.Each point represents the mean over 1000 random bipartite graphs.Black points indicate no valid bipartite graphs could be found.Note the different y-axes.

Figure 5 :

105Figure 5: Probability of reconstructing a given number of neighbours' data, ignoring the number of edges.Each column adds up to 100%, and corresponds to a column in Figure 4.

Figure 6 :

106Figure 6: Mean number of adversarial summations needed to obtain private data.Each point corresponds to 100 attacks on each of the solvable graphs from Figure 4.

Theorem 3 .

107Let = ( , ) be an undirected graph, let ⊆ be the set of adversaries, let ≔ | |, let ≔ | ()|, let be the number of summations performed by the adversaries , and let ∈ R × be the adversarial knowledge.

108Partial solutions respectively of , ′ , and ′′ .

Figure 7 :

109Figure 7: Example transformation of graph and adversarial knowledge as seen in the proof of Theorem 3.

Figure 8 :

110Figure 8: Example of how a dynamic graph can be reduced to a static graph. learns the same as 1 and 2 together.

Figure 9 :

111Figure 9: Number of rounds until convergence in distributed averaging in random Erdős-Rényi graphs with 50 nodes and varying edge probabilities , as a function of the girth to which the graphs are "stretched".

1121 's new summation, and the second column represents user 1 's new value.Finally, if users 1 , 2 , and 1 subsequently update (in that order), then users 1 and 2 each get a new column, and 1 's update adds a new row, giving

113the private values of neighbours (), such that + is the ∈ ⟦⟧th unique private value of neighbour ∈ ⟦⟧ that is observed by any adversary in , • Θ ∈ R ×1 are the sums obtained by the adversaries, where Θ is the ∈ ⟦⟧th such sum, and • ∈ {0, 1} × indicates which private values are observed in which summation, such that , + = 1 if and only if the adversaries' ∈ ⟦⟧th summation includes the ∈ ⟦⟧th unique private value of neighbour ∈ ⟦⟧.Remark 1.In Theorem 2, we will show that it is not necessary to include adversaries' own private values in = Θ.Property 1.Let be the adversarial knowledge over summations by .In each equation, each neighbour in () contributes at most one private value: Property 2. Let be the adversarial knowledge over summations by .Since each equation is over all the neighbours of an adversary in , each row in corresponds exactly to () for some ∈ : ∀ ∈ ⟦⟧ : ∃ ∈ : ∀ ∈ ⟦⟧ :

114The bottom rows solve exactly in for ≥ .The upper rows solve in for < if and only if the rows of rref () do so.□ Intuitively, Theorem 2 holds because the linear dependencies that exist within remain unaffected by .

115The rows of represent that adversaries know each other's values, and represents the edges between adversaries.Theorem 2. Let < .Then has a solution in if and only if has a solution in ′ .

)

116Combine columns.We merge the columns in assigned to each neighbour to obtain ′ .Let ′ = , and let ′ ∈ R × Since contains exactly one non-zero value, so does ′ ′ .Therefore, ′ is a partial solution to ′ . featuring adversaries = { 1 , 2 , 3 , 4 } and nonadversaries = { 1 , 2 , 3 , 4 }.The bipartite graph corresponding to biadjacency matrix ′′ .

11724 excludes duplicates by only choosing row ′ if there is no < such that ′ = ′ , and Equation 25 excludes unused rows by only picking row ′ if the sum of ′ over all identical rows ′ is non-zero.(3) Create partial solution.We similarly combine and remove the corresponding columns from ′ to obtain ′′ .To do so, we define a function that describes how the rows of ′′ relate to the rows of ′ .Let be the number of rows in ′′ .Then we define : ⟦⟧ → ⟦⟧ * such that

118Corollary 2. Let = ( , ) be a dynamic undirected graph, let ⊆ be a set of adversaries, let ≔ | ()|, let be the number of summations performed by , let be the number of sets of neighbours the adversaries sum over, and let ∈ R × be the adversarial knowledge.If girth() > 2, then does not have partial solutions.There are several important limitations to this result.Firstly, the upper bound on the number of adversaries depends on the girth, but the girth may not be known beforehand if users move through the network in unpredictable ways.Secondly, even if a minimum girth has been split into 1 and 2 .

참고문헌

참고문헌 정보가 없습니다.