Source Anonymity for Private Random Walk Decentralized Learning

Maximilian Egger, Svenja Lage, Rawad Bitar, Antonia Wachter-Zeh · DOI

Abstract

Decentralized learning (DL) enables collaborative model training without a central authority, yet it remains vulnerable to privacy attacks where neighbors can infer raw data from model updates. This paper proposes a "source anonymity" framework for random-walk-based DL. By combining public-key encryption with strategic routing via optimized probability distributions, the framework ensures that the origin of an update remains hidden from the receiver. We demonstrate that this approach achieves high entropy in source identification, even against adversaries with side information, while maintaining a manageable trade-off with communication overhead.

Introduction

In decentralized learning, nodes share model updates directly with peers. This direct interaction creates a significant privacy risk: a curious neighbor can often "invert" received gradients to reconstruct a user's private training data. While Differential Privacy (DP) and Homomorphic Encryption (HE) offer solutions, they often come at the cost of model utility or prohibitive computational overhead.

This work explores Source Anonymity as a complementary defense. If a receiver cannot determine which node in the network originated a specific update, they cannot link any inferred information to a specific individual. The primary challenge lies in the network's "hitting times"—the time it takes for a message to traverse the graph—which can serve as a side channel for identifying the sender.

Methodology

The proposed framework relies on three core components:

  1. Public-Key Cryptography: Updates are not sent in the clear. A source node selects a "destination node" and encrypts the update using that node's public key.
  2. Random Walk (RW) Routing: The encrypted update travels through the network as a "token" via a random walk. Intermediate nodes act as relays, unable to decrypt the content.
  3. Anonymizing Distributions: The researchers design a specific probability distribution, $p_{D_i}$, for selecting destination nodes. This distribution is mathematically optimized so that the observed hitting time at the receiver makes all nodes in the network appear equally likely to be the source.

The theoretical analysis focuses on Random Regular Graphs (RRGs), where each node has a uniform degree, providing a baseline for privacy guarantees.

Evaluation Framework

Rather than training on standard image datasets, the study evaluates the architectural privacy guarantees of the network topology. The authors utilize:

  • Synthetic Random Regular Graphs: Networks of $N=300$ nodes with degree $c=4$.
  • Probabilistic Simulations: Measuring the "first hitting time" and "return time" to calculate the entropy (uncertainty) of the source identity.

Key Insights and Results

The research introduces $\alpha$-privacy, a formal metric based on entropy. High entropy indicates that a receiver's best guess for the source is essentially a uniform choice among all network participants.

Entropy and Side-Information Resilience

A sophisticated attacker might use "return time" (the time since they last saw the token) as side information to narrow down the source. The authors demonstrate that by tuning a design parameter $\kappa$, the system maintains high entropy even under such eavesdropping conditions.

Entropy $H(W_{\delta, \kappa'})$ vs. parameter $\kappa'$, showing that the proposed distribution $p^*$ approaches maximum entropy and outperforms uniform distributions.

As shown in Figure 1, the entropy for the proposed distribution $p^*_{\kappa, \delta}(\ell)$ quickly stabilizes at a high level as $\kappa'$ increases, significantly outperforming a simple uniform distribution.

Privacy Trade-offs

The results indicate a near-linear relationship between anonymity ($\alpha$) and mean iteration time. Increasing the number of hops a token takes enhances privacy at the cost of slower convergence.

The privacy metric $\alpha$ as a function of $1 - \delta'$, illustrating the performance of different distributions against theoretical guarantees.

Figure 2 illustrates how the $\alpha$-privacy metric behaves across different parameter settings, confirming that the proposed method closely follows theoretical guarantees until extreme parameter regimes are reached.

Conclusion and Future Work

This framework demonstrates that source anonymity can significantly bolster privacy in decentralized learning. By hiding the source, the amount of noise required for Differential Privacy can be reduced, preserving model accuracy.

However, limitations remain. The current proofs are tailored to symmetric Random Regular Graphs; real-world, irregular topologies may require more complex distribution calculations. Additionally, the communication overhead of "silent" hops and the impact of active, malicious adversaries are areas for future investigation.

Summary updated

BibTeX
@inproceedings{egger2025source,
  author = {Maximilian Egger and Svenja Lage and Rawad Bitar and Antonia Wachter-Zeh},
  title = {{Source Anonymity for Private Random Walk Decentralized Learning}},
  booktitle = {ITW},
  year = {2025},
  doi = {10.1109/itw62417.2025.11240466},
}
Figure