From Federated Learning to X-Learning: Breaking the Barriers of Decentrality Through Random Walks

Seyyedali Hosseinalipour (Ali Alipour), Allan Salihovic, Payam Abdisarabshali, Michael Langberg, Seyyedali HosseinalipourarXiv 2025 · DOI

Introduction

Traditional Federated Learning (FedL) often suffers from a "center of gravity" problem, relying on central servers for model aggregation. This centralized dependency introduces significant bottlenecks, high energy consumption, and privacy vulnerabilities. While decentralized peer-to-peer alternatives exist, they are frequently constrained by rigid, fixed communication patterns that do not adapt well to the dynamic, heterogeneous nature of modern "Cloud-to-Things" or 6G IoT environments.

X-Learning (XL) is proposed to overcome these limitations by decoupling intelligence from fixed network structures. Instead of data being pushed to a central model, the model itself becomes a mobile "walker" that autonomously navigates the network to find and learn from local data.

The X-Learning Framework

The core innovation of XL is the treatment of machine learning models as autonomous agents. Rather than every node training a local model simultaneously, a set of "walkers" traverses the network graph using multi-hop device-to-device (D2D) jumps.

Comparison of distributed learning architectures: Centralized (A), Semi-Decentralized (B), Fully-Decentralized (C), and X-Learning (D).

Key technical components include:

  • Biased Random Walks: Walkers transition between nodes based on "Node Importance," a metric combining network centrality (Spatial Quality) and data representativeness (Data Quality).
  • Elastic Learning: Walkers adapt their residency time at nodes. They stay longer at high-quality data sources and move quickly past biased or low-quality nodes to prevent model degradation.
  • Perception-Aware Design: The walk policy evolves during training. Initially, walkers explore the network broadly; as model accuracy improves, they become more selective, prioritizing high-utility nodes.
  • Flexible Memory: To mitigate catastrophic forgetting, walkers maintain both a Stale Model (SM) and an Instantaneous Model (IM), synchronizing them periodically to preserve long-term knowledge.
  • Inter-Walker Attraction: In multi-walker scenarios, physics-inspired attraction mechanisms encourage walkers to "collide" and aggregate, reducing individual bias.

Experimental Setup

The XL framework was evaluated using two standard image classification benchmarks: CIFAR-10 and SVHN (Street View House Numbers). These datasets were tested across different network topologies, including Caveman Graphs (representing clustered social/sensor networks) and Random Geometric Graphs (modeling wireless D2D links).

Results and Discussion

Experimental results demonstrate that XL provides a highly scalable and communication-efficient alternative to traditional distributed learning.

Validation accuracy vs. jump count for CIFAR-10 and SVHN datasets, comparing various sampling and consensus strategies.

Key findings include:

  • Superior Accuracy: XL with balanced node importance (weighting both data and network position) significantly outperformed uniform random walks and pure gossip learning.
  • Efficiency Gains: The "Elastic" walker strategy achieved higher validation accuracy with fewer total SGD updates compared to inelastic baselines, demonstrating "smarter" learning.
  • Dynamic Superiority: Perception-aware strategies, which adapt the walk policy as the model matures, consistently outperformed static traversal methods.
  • Resource Efficiency: By limiting activity to only $R$ active nodes (where $R$ is the number of walkers), XL is exceptionally efficient for low-power IoT networks compared to FedL, where hundreds of nodes may communicate simultaneously.

Conclusion and Future Work

X-Learning breaks the barriers of decentrality by making models mobile. While it offers significant gains in efficiency and scalability, several areas remain for future exploration:

  • Security: Protecting opportunistic model transfers against "Byzantine" or adversarial nodes.
  • Advanced Metrics: Utilizing Graph Signal Processing (GSP) to refine node importance metrics.
  • Mobility: Testing XL in highly dynamic environments like vehicular networks (V2V).
  • Multi-Tasking: Investigating the ability of a single walker to learn multiple tasks during its traversal.

Summary updated

BibTeX
@misc{alipour2025from,
  author = {Seyyedali Hosseinalipour (Ali Alipour) and Allan Salihovic and Payam Abdisarabshali and Michael Langberg and Seyyedali Hosseinalipour},
  title = {{From Federated Learning to X-Learning: Breaking the Barriers of Decentrality Through Random Walks}},
  year = {2025},
  eprint = {2509.03709},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.03709},
}
Figure