NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Private Sparse Gossip: Canceling Noise That Follows the Mask

Decentralized learning drops the central server. Devices train their own copy of a model and swap updates only with a few neighbors in a communication graph. This removes the upload bottleneck at the hub, but it gives every neighbor a direct view of your updates. Those updates can be inverted to reconstruct your training images. To keep bandwidth low, practical systems add a second economy: each device sends only a sparse, personalized subset of its parameters. We argue that this sparsity quietly breaks the best available privacy tool for decentralized learning. That tool is pairwise noise that cancels when neighbors average. With masked messages, the averaging graph differs for every parameter. For many parameters, a device ends up with one or zero partners, and a single neighbor can then strip the noise away.

The proposal makes that failure measurable and then repairs it. We will show that sparse personalized gossip has a hidden per-coordinate topology. We will test whether adaptive inversion attacks exploit it. We then add a masking rule: a device transmits a coordinate only if enough neighbors also hold it, and keeps the rest local. Under this rule, pairwise canceling noise remains exact while the bandwidth savings of sparse gossip survive. The two-sentence version is this: sparse gossip turns one communication graph into thousands of per-parameter graphs, many too thin for canceling noise to protect. Making the sparsity mask respect a minimum-coverage constraint restores protection at almost no bandwidth cost.

Core Claim

Three lines of prior work motivate the claim.

DisPFL lets each device keep an evolving sparse mask and gossip only its active subnetwork. Neighbors average only on the coordinates they share. This reaches 85.70% accuracy on Dirichlet-partitioned CIFAR-10, against 78.07% for FedAvg, and cuts busiest-node communication by roughly half.

DECOR has each pair of neighbors add equal and opposite Gaussian noise to their messages, so the noise cancels in the average. It matches central differential privacy on any connected static graph, provided every honest node has at least two neighbors. On MNIST it stayed within 1% of centralized accuracy, where plain local noise lost nearly 10 points.

Topology-Dependent Privacy Bound For Decentralized Federated Learning shows that an eavesdropper learns at best the sum within each "honest component", meaning a connected group of honest nodes. The best-case privacy loss is about $1/(2(m-1))$ for a component of size $m$, and gradient inversion becomes near-perfect when $m=1$.

None of these papers analyzes masked, personalized messages.

Our claim follows from putting them together. Under masked gossip, coordinate $j$ is averaged over its own graph $G_j^t$. This graph contains only edges $(u,v)$ where both endpoints have $j$ active at round $t$. DECOR's two-neighbor condition and the honest-component bound must therefore hold on every $G_j^t$, not on the nominal graph. Personalized masks are built to diverge under non-IID data. We therefore predict that a large fraction of transmitted coordinates sit at nodes of degree one or zero in $G_j^t$. Those coordinates are exactly where a single curious neighbor, or a pair of colluding neighbors, can remove the noise and run inversion.

The fix changes both where noise goes and which coordinates get sent. The noise for edge $(u,v)$ is placed only on the shared coordinates:

$$\tilde{x}_u^t = x_u^t \odot m_u^t + \sum_{v \in N(u)} s_{uv}\, z_{uv}^t \odot (m_u^t \odot m_v^t),$$

Here $x_u^t$ is node $u$'s parameters and $m_u^t$ is its binary mask. $z_{uv}^t$ is Gaussian noise generated from a seed shared by $u$ and $v$. The sign $s_{uv}=-s_{vu}$ is opposite at the two endpoints, so the noise cancels in the per-coordinate average.

The mask is also constrained. A coordinate may be transmitted only if its per-coordinate degree in $G_j^t$ is at least $k \ge 2$. Otherwise it stays purely local, which is free personalization. Mask regrowth is steered toward coordinates that already have coverage.

We call this coverage-aware masking. It turns the privacy condition from a property of the graph that nobody controls into a constraint on a quantity each device already optimizes.

Research Program

The first phase is an audit. It asks whether sparse gossip leaks more or less than dense gossip under the strongest attacks in the file.

On the (In)security of Peer-to-Peer Decentralized Machine Learning is the reference point. It showed that neighbors in dense decentralized learning can isolate a victim's contribution and invert it, and that sparse graphs make leakage worse. However, it evaluated only uncompressed updates. We extend its passive neighbor attack to masked messages. Two reconstruction attacks are run against the victim's masked update. The first is the cosine-matching reconstruction of Inverting Gradients. The second is a learned inverter in the style of Learning To Invert, trained on auxiliary data with the mask treated as augmentation. That paper showed its learned inverter reaching MSE 0.014 through sign compression, where optimization attacks sat near 0.11.

We add a mask-only attack as well. DisPFL itself found that mask Hamming distance tracks label-distribution similarity, so a neighbor can predict the victim's class histogram from mask coordinates alone.

The second phase is the analysis. We measure the empirical distribution of per-coordinate degrees in $G_j^t$ as a function of mask density, non-IID strength, and graph family. The families are ring, random regular, Erdős–Rényi (Poisson), and power-law, following the contrast drawn by Li et al.

We then state and prove the natural extension of DECOR's secret-based privacy guarantee to coordinate-dependent graphs. The guarantee holds per coordinate whenever that coordinate's honest component has size at least $k$. For colluding sets, the relevant quantity is the per-coordinate honest component. We will also report where the guarantee's hypotheses are violated in unconstrained DisPFL.

The third phase builds and tunes coverage-aware masking. Seeds are established once per edge, as in DECOR, and the per-round noise is derived from the seed and the round index. Because both endpoints see each other's masks, they can compute the shared mask locally without any extra messages. The coverage threshold $k$ and the regrowth bias are the only new hyperparameters. The residual uncorrelated noise that DECOR adds to shield the final consensus is kept and accounted for.

Baselines

The naive reference point is DisPFL with no privacy mechanism. It gives the accuracy ceiling and the unprotected leakage floor. We run it at the published CIFAR-10 Dirichlet configuration. The paper's 85.70% is the target our reproduction must approach before any other comparison is trusted.

The second baseline is dense D-PSGD with DECOR on the same graph. This is the strongest existing privacy method in the file. It carries central-DP-level utility, reported within 1% of centralized accuracy on MNIST in DECOR, and it sits entirely inside its own assumptions. It is the method our approach must match on privacy and utility while beating it on bytes per round. We run it with the same privacy budget, the same number of rounds, the same neighbor count, and the same learning-rate and noise-level tuning grid as our method.

The third baseline is sparse DisPFL with independent per-node Gaussian noise, which is local differential privacy. It is calibrated to the same epsilon. This represents what a practitioner would do by default.

The fourth baseline is naive DECOR on sparse messages. Here each endpoint adds its pairwise noise to its own mask rather than the shared mask. Noise then fails to cancel on non-shared coordinates, and we expect it to cost accuracy.

The key ablation separates the two ingredients. We run mask-aligned canceling noise without the coverage constraint, which should cancel correctly but leave degree-one coordinates exposed. We also run the coverage constraint without canceling noise, which removes thin coordinates but provides no masking.

Our method beats the field if it meets three conditions together. First, its accuracy is within one point of dense DECOR at equal epsilon. Second, busiest-node traffic stays within 10% of unconstrained DisPFL. Third, reconstruction by a single neighbor and by colluding pairs is no better than under dense DECOR.

Why not just…?

Why not just rely on sparsity, since most coordinates are never sent? Learning To Invert is direct evidence that dropping or quantizing gradient entries does not stop a learned inverter. It reports MSE 0.014 under sign compression and about 62% sentence recovery on CoLA, where the TAG attack got 1.6%. Masks additionally leak label histograms. Phase one tests this directly on DisPFL messages. If a learned inverter trained on masked updates fails at every density, that is a real negative finding, and we would report it and reframe the work around mask leakage alone.

Why not just add local noise to the sparse updates? DECOR documents that independent local noise degrades error by a factor of $n$ relative to central privacy. Learning To Invert shows a learned inverter reaching MSE 0.012 through Gaussian noise with $\sigma=0.1$, where optimization attacks sat at 0.150. The equal-epsilon comparison against the local-noise baseline measures this cost in the sparse personalized setting.

Why not just run DECOR on dense messages, or on the union of both neighbors' masks? This is the serious competitor. It is correct by construction, and if masks overlap heavily the union may cost little. The answer depends on the overlap, so we will plot bytes against privacy and accuracy for dense DECOR, union-mask DECOR, and our method across mask densities and non-IID levels. If union-mask DECOR is within a few percent of our traffic, the coverage constraint is not worth its complexity, and we will say so.

Why not just shard updates across several neighbors as in ERIS? ERIS splits each compressed update across client aggregators so no single one sees a full gradient. It reports unrecognizable reconstructions on LFW even with two aggregators. However, it explicitly assumes those aggregators do not collude, and in a peer mesh neighbors can trivially pool shards. Our colluding-pair attack is run against an ERIS-style sharded variant to test this.

Why not just use a dense graph? Pasquini et al. note that dense graphs reduce leakage but erase the communication advantage that motivated decentralization in the first place.

Proposed Experiments

The main benchmark is CIFAR-10 under the Dirichlet partition used by DisPFL, with 100 nodes on ring, random-regular, Erdős–Rényi, and power-law graphs, at mask densities from 0.2 to 0.8. Face reconstruction is evaluated on LFW, following ERIS, with a small ResNet. Privacy accounting is sanity-checked on the Housing regression task, where MAFALDA-SGD reports tight decentralized bounds. MAFALDA's matrix-factorization noise design assumes a static communication matrix, so it serves as a static-graph comparison only.

Utility metrics are accuracy and bytes sent by the busiest node. Privacy metrics are reconstruction PSNR and MSE for single, paired, and triple colluders. We also report membership-inference AUC, label-histogram inference error from masks, and the fraction of transmitted coordinates with per-coordinate degree below two.

The decisive checks are three. First, the fraction of thin coordinates in unconstrained DisPFL must be substantial. If it is near zero, the core premise fails. Second, reconstruction quality on those thin coordinates must exceed that on well-covered ones under naive sparse DECOR. Third, coverage-aware masking must close that gap while staying near DisPFL's traffic.

We report mask-based label leakage separately. The mechanism does not claim to hide mask shape, and a positive result there marks the next problem to solve rather than a success.