Compressed Gossip That Keeps Correlated Privacy Noise Cancelling

In decentralized federated learning, devices train one shared model without a central server. Each device trains on its own data and then averages its model with a few neighbors over a peer-to-peer network, a process called gossip averaging. Two problems make this hard to deploy. First, the messages are whole model updates, so bandwidth is a bottleneck. Second, the updates leak private data: a curious neighbor can run a gradient inversion attack, which searches for an input whose gradient matches the one it received, and recover training images or text. The best current privacy method for gossip learning, DECOR, has each pair of neighbors add equal and opposite random noise ($+v$ and $-v$) to their messages. Each individual message is hidden, the noise cancels when neighbors average, and accuracy comes close to what a trusted central server would achieve. That cancellation requires messages to combine exactly linearly. Most compression schemes, such as top-$k$ selection, sign binarization, and quantization, are not linear, so compressing DECOR's messages leaves noise behind that builds up over rounds.

This proposal claims that the conflict comes from the choice of compressor, not from compression itself. Suppose every node compresses with the same random linear operator each round: the same random subset of $k$ coordinates, or the same random sketch, derived from a seed fixed at setup. Then the paired noise still cancels exactly inside the compressed subspace. Bandwidth drops by $d/k$ (for model size $d$), and the privacy-utility behavior stays close to a trusted server rather than falling to the much worse level of purely local noise. We will build this protocol and prove its convergence with error feedback, a standard fix that carries forward the information compression discards. We will also test it against actual gradient inversion and membership inference attacks, which neither DECOR nor the compressed-and-private method PORTER measured.

Core Claim

Let $m_t \in \{0,1\}^d$ be a coordinate mask with $k$ ones, drawn each round from a seed shared by all nodes. Let $g_i^t$ be node $i$'s clipped update, $e_i^t$ its error-feedback memory, and $v_{ij}^t = -v_{ji}^t$ the paired Gaussian noise on edge $(i,j)$, drawn only on the $k$ active coordinates. Node $i$ sends

$$ s_i^t = m_t \odot \big(g_i^t + e_i^t\big) + \sum_{j \in \mathcal{N}_i} v_{ij}^t, \qquad e_i^{t+1} = (1-m_t) \odot \big(g_i^t + e_i^t\big), $$

where $\mathcal{N}_i$ is the set of $i$'s neighbors and $\odot$ is coordinate-wise multiplication. Masking is linear and the noise is added after masking and never enters the memory. As a result, the noise terms appear in the gossip sums exactly as in DECOR, restricted to the $k$ active coordinates.

The new claims are the following. DECOR's result that leftover noise vanishes over iterations should carry over to the subspace that changes each round. Error feedback should recover the convergence lost to sparsification without leaking noise into later rounds. The resulting accuracy at a fixed privacy level should stay close to DECOR's while sending $d/k$ times less data.

We do not claim privacy amplification from sparsification of the kind DP-FCRN exploits. Our mask is known to every participant, adversaries included. Any extra privacy we observe is an empirical bonus, not a guarantee. The design also rules out per-edge secret masks. Each node sends one message to all its neighbors, and every edge's noise must cancel, so the mask has to be common to the whole connected graph in each round.

Research Program

The work has three parts.

The first part is analysis. We extend DECOR's privacy notion, secret-based local differential privacy, and its utility proof to the masked protocol. The privacy accounting should be essentially unchanged, because each round still releases a clipped quantity with calibrated noise; only its support shrinks. The utility analysis is new: the gossip consensus error now evolves in a different coordinate subspace each round. We will bound it using error-feedback techniques from compressed decentralized optimization such as PORTER and ERIS. We expect the convergence rate to degrade by a factor that depends on the compression ratio $k/d$ and to be otherwise unaffected. That expectation follows from the standard contraction property of random-$k$ sparsification, which retains a $k/d$ fraction of the squared norm in expectation.

The second part is construction. We implement the protocol, plus a variant that uses a shared count-sketch, a linear hashing compressor, in place of masks. We apply both to full models and to LoRA adapters, the small low-rank matrices fine-tuned on top of a frozen large model, in the setting of Dec-LoRA. The adapter case works because gossip averages the two adapter factors separately, and averaging is linear in each factor.

The third part is attack evaluation. We give the curious neighbor everything it can observe: every message it receives, every round, and the shared mask seed. It then runs optimization-based inversion (Deep Leakage from Gradients) and membership inference. A colluding variant has several neighbors pool their views. This measures directly how far the topology-only privacy argument of Topology-Dependent Privacy Bound holds once compression and noise are combined.

Baselines

The naive reference point is uncompressed, unprotected gossip SGD, meaning plain decentralized averaging with local SGD. It sets the accuracy ceiling and the attack's best case.

The strongest privacy baseline is DECOR itself, run with dense messages. It reports that "while LDP lost nearly 10 accuracy points at low privacy budgets, DECOR stayed within 1% of the centralized accuracy baseline" on MNIST with a one-hidden-layer network. Our method beats DECOR if it stays within that 1% band at the same privacy budget while sending at most one-tenth of the data.

The strongest compressed-and-private baseline is PORTER-DP, which combines error-feedback compression with clipping and local differential privacy. No reported result on Lacuna was found for PORTER's MNIST or a9a accuracy, so we will rerun it. To beat it, we must achieve higher accuracy at equal privacy budget and equal bytes sent.

For the LoRA setting, the reference is Dec-LoRA. It reports "average accuracy of 89.61% across tasks" on GLUE with RoBERTa-Base, against 89.39% for centralized LoRA, using 0.60M exchanged parameters. Our method must approach that accuracy while also giving formal privacy and lower inversion success.

All methods share the same data partitions, graphs, number of rounds, clipping norm, and hyperparameter search budget. Each method gets the same number of trials for learning rate and noise scale.

The key ablation replaces the shared mask with independent per-node random-$k$ masks, and separately with top-$k$ selection, while keeping the paired noise. In this ablation, noise lands on non-matching coordinates and stops cancelling. If accuracy stays the same, our central mechanism is unnecessary.

Why not just…?

Why not just add independent local noise after compression, as PORTER-DP does? Independent noise does not cancel, so its total grows with the number of nodes. DECOR's own MNIST comparison shows local differential privacy losing nearly 10 accuracy points where correlated noise loses about 1. Running PORTER-DP alongside our method at matched privacy budget and matched bytes will show whether that gap survives compression.

Why not just shard updates across peers, as ERIS does? ERIS reports that even two aggregators reduce reconstructions to "unrecognizable noise" on face images (LFW). That guarantee rests on the aggregators not colluding, and it is information-theoretic rather than differentially private. This alternative is a real threat when there are no colluders, so we include ERIS-style sharding over the gossip graph as a baseline. Our collusion experiment should show sharding failing once colluders hold all the shards, while our differential privacy guarantee does not depend on non-collusion.

Why not just use secret quantization keys or encryption, as Mixed Quantization and SHE-LoRA do? Mixed Quantization drops inversion PSNR from 55.3 to 8.1 dB on CIFAR-10 by keeping each client's dequantization parameters secret. However, the neighbor that has to average those messages would need the same parameters. SHE-LoRA relies on one encryption key shared by all clients, so in a peer-to-peer graph any neighbor holding that key can decrypt. Neither approach transfers to gossip without a trusted aggregator. We will still run quantized gossip as a negative control for the cancellation failure.

Why not just rely on topology for privacy? The topology-dependent bound shows privacy collapsing in power-law graphs when hub nodes are corrupted. Our hub-collusion experiment tests whether noise restores protection there.

Proposed Experiments

We will run the protocol on MNIST (one-hidden-layer network) and a9a (logistic regression) to match the DECOR and PORTER setups. We will add CIFAR-10 with GN-LeNet under a Dirichlet non-IID split and GLUE with RoBERTa-Base LoRA. Graphs include ring, Erdős–Rényi, expander, power-law, and the Facebook ego graph, with compression ratios $k/d$ from 1/4 to 1/100. Metrics are test accuracy against privacy budget $\epsilon$ and against total bytes sent; DLG reconstruction PSNR as seen by one neighbor and by colluding sets; and membership inference advantage.

Four checks are decisive. First, residual noise energy in the consensus model should go to zero over rounds under shared masks and grow under independent masks or quantization. Second, at a fixed $\epsilon$, accuracy should stay within DECOR's 1% band down to some compression ratio. Finding where that ratio sits is a main result. Third, as a reference point for leakage, EdgeDetect reports 15.1 dB PSNR against 31.7 dB for undefended FedAvg. Inversion PSNR under our protocol should fall to that level or below while undefended gossip stays high. Fourth, the LoRA variant should keep GLUE accuracy near Dec-LoRA's 89.61%.

If the third check fails, meaning compressed updates with noise remain invertible even though the privacy accounting holds, that is itself a reportable warning about how formal privacy budgets translate into protection against attacks in practice.