Abstract: Nowadays we are witnessing rapid development of the Internet of Things (IoT), machine learning, and cellular network technologies. They are key components to promote wireless networks beyond 5G (B5G). The plenty of data generated from numerous IoT devices, such as smart sensors and mobile devices, can be utilised to train intelligent models. But it still remains a challenge to efficiently utilise IoT networks and edge in B5G to conduct model training. In this paper, we propose a parallel training method which uses operators as scheduling units during training task assignment. Besides, we discuss a pebble-game-based memory-efficient optimisation in training. Experiments based on various real world network architectures show the flexibility of our proposed method and good performance compared with state of the art.
The Challenge of Distributed Edge Learning
As we transition toward Beyond 5G (B5G) and 6G infrastructures, the primary objective is to process the massive data generated by IoT devices—such as environmental sensors, industrial cameras, and wearables—directly at the network "edge." This shift minimizes latency and bandwidth consumption compared to traditional cloud-centric processing. However, training modern deep learning models at the edge faces two significant hurdles:
- Sequential Dependency: Standard backpropagation is inherently sequential. The gradient for layer $i$ cannot be calculated until the computation for layer $i+1$ is complete. This bottleneck makes it difficult to leverage the collective power of multiple edge devices in parallel.
- Resource Constraints: Individual IoT devices often possess very limited RAM and processing capabilities. Large-scale models that fit easily on data-center GPUs can completely overwhelm the memory of a local baseband unit or a smart sensor.
Existing solutions often sacrifice model accuracy by using "stale" gradients or parallelize only at a coarse layer level, failing to fully exploit the heterogeneous resources available in complex IoT networks.
Proposed Framework: Operator-Level Parallel Backpropagation (OLPB)
To address these challenges, the authors introduced Operator-Level Parallel Backpropagation (OLPB), implemented within the Owl scientific computing library. The core innovation lies in shifting the granularity of training from layers to individual mathematical operators (e.g., conv, add, relu).
Granular Scheduling
By treating a neural network as a fine-grained directed acyclic graph (DAG) of operators rather than a simple stack of layers, the system can identify parallel execution paths that are invisible at the layer level. This is particularly beneficial for complex, non-linear architectures like Inception or ResNet, where multiple operators within a single logical "block" can be computed simultaneously across different nodes.
Backpropagation as a Parallel Scan
The framework reframes the chain rule of calculus as a "scan" operation—a classic parallel computing primitive. By applying the Hillis-Steele algorithm, OLPB allows multiple IoT nodes to compute segments of the gradient chain in parallel, significantly reducing the total time spent in the backward pass.
Memory Optimization via the Pebble Game
To overcome the memory limitations of edge devices, the researchers modeled memory allocation as a Pebble Game. In this theoretical framework, a "pebble" represents a block of memory. The objective is to traverse the computation graph using the minimum number of pebbles possible.
While finding the absolute optimal strategy is computationally expensive (NP-complete), the authors implemented a fast heuristic. This heuristic identifies exactly when a memory block is no longer required and immediately reassigns it to another node in the graph. Unlike standard frameworks that typically only reuse memory from direct parent nodes, this approach considers the entire graph lifecycle, enabling much more aggressive memory reclamation.
Experimental Evaluation
The framework was evaluated using several standard deep learning architectures to simulate diverse real-world workloads:
- MNIST & CIFAR-10: Used for initial graph optimization and basic training tests.
- Complex Architectures: The core evaluation utilized SqueezeNet, VGG16, InceptionV3, ResNet50, and Mask R-CNN, representing a spectrum from lightweight edge models to memory-intensive segmentation networks.
Key Results
- Speedup: OLPB reduced training time by up to 60% compared to the state-of-the-art layer-level method (BPPSA).
- Memory Efficiency: The results for Mask R-CNN were transformative, with memory usage dropping from 6.5 GB to 870 MB—an 86% reduction that allows such models to run on significantly cheaper hardware.
- Graph Simplification: A graph optimizer further improved efficiency by reducing a standard LeNet graph from 201 nodes to 103 nodes through operator fusion and constant folding.
- Scalability: The system demonstrated strong scaling as the number of IoT nodes increased from 4 to 64, maintaining performance advantages even as network communication overhead grew.
Conclusion and Future Outlook
OLPB demonstrates that moving to a finer grain of computation—the operator level—is key to unlocking the potential of distributed edge learning. By combining parallel scan techniques with pebble-game memory heuristics, the framework makes complex AI training feasible on resource-constrained B5G IoT networks.
Future work will focus on improving resilience against "straggler" nodes—individual devices that slow down due to battery or local task interference—and refining heuristics to handle even more extreme network latencies in massive IoT deployments.
Summary updated