Random Walk Learning and the Pac-Man Attack
Not on the map. Why?
Abstract (arXiv)
Random walk (RW)-based algorithms have long been popular in distributed systems due to low overheads and scalability, with recent growing applications in decentralized learning. However, their reliance on local interactions makes them inherently vulnerable to malicious behavior. In this work, we investigate an adversarial threat that we term the ``Pac-Man'' attack, in which a malicious node probabilistically terminates any RW that visits it. This stealthy behavior gradually eliminates active RWs from the network, effectively halting the learning process without triggering failure alarms. To counter this threat, we propose the Average Crossing (AC) algorithm--a fully decentralized mechanism for duplicating RWs to prevent RW extinction in the presence of Pac-Man. Our theoretical analysis establishes that (i) the RW population remains almost surely bounded under AC and (ii) RW-based stochastic gradient descent remains convergent under AC, even in the presence of Pac-Man, with a quantifiable deviation from the true optimum. Our extensive empirical results on both synthetic and real-world datasets corroborate our theoretical findings. Furthermore, they uncover a phase transition in the extinction probability as a function of the duplication threshold. We offer theoretical insights by analyzing a simplified variant of the AC, which sheds light on the observed phase transition.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 10 of its 41 references that are in the map. First posted on arXiv 1 Aug 2025.
Builds on
10 of 41 references.
References · 10
- 2021Convex optimizationcited by 2,515
- 2019Measuring the Effects of Non-Identical Data Distribution for Federated Visual Classificationcited by 851
- 2020A Unified Theory of Decentralized SGD with Changing Topology and Local Updatescited by 367
- 2018On Markov Chain Gradient Descentcited by 63
- 2023Stochastic Gradient Descent under Markovian Sampling Schemescited by 38
- 2018Walkman: A Communication-Efficient Random-Walk Algorithm for Decentralized Optimizationcited by 31
- 2022Walk for Learning: A Random Walk Approach for Federated Learning from Heterogeneous Datacited by 19
- 2024The Entrapment Problem in Random Walk Decentralized Learningcited by 4
- 2023Coupled-Space Attacks against Random-Walk-based Anomaly Detectioncited by 2
- 2024Self-Regulating Random Walks for Resilient Decentralized Learning on Graphscited by 2
Built on by
Citing papers per year: 2026: 3.
3 papers.