Learning Centric Wireless Resource Allocation for Edge Computing: Algorithm and Experiment

Liangkai Zhou, Yuncong Hong, Shuai Wang, Ruihua Han, Dachuan Li, Rui Wang, Qi Hao

TL;DR

This paper introduces a novel "learning-centric" approach to wireless resource allocation for edge computing, aiming to optimize the training of multiple machine learning models simultaneously. By considering the unique data demands of each model and the realities of wireless communication, their proposed LCWRA scheme significantly outperforms existing methods, demonstrating robustness in both simulations and real-world experiments.

What Problem Does This Paper Address?

Edge intelligence, where computing and machine learning happen closer to data sources, promises to reduce latency and transmission costs. However, a key challenge is efficiently allocating limited wireless resources (like time and energy) to train multiple, diverse machine learning models at the edge concurrently. Existing methods often treat all learning tasks equally, failing to account for the fact that different models require varying amounts of data to achieve good performance. Furthermore, these methods are typically validated only in simulations, ignoring practical issues like transmission overhead and unreliable wireless channels, which can lead to a performance gap in real-world deployments. This paper tackles this gap by proposing a resource allocation strategy that prioritizes the worst-performing model, ensuring a baseline level of performance across all tasks, and validates it through both simulation and physical experiments.

Methods

The core of this paper is the Learning Centric Wireless Resource Allocation (LCWRA) scheme. It leverages statistical mechanics of learning to model the relationship between the amount of training data and the generalization error (how well a model performs on unseen data) for each learning task. This allows them to predict the learning accuracy based on data volume.

The problem is formulated as a min-max optimization problem: minimize the maximum generalization error across all learning tasks, subject to constraints on total transmission time and energy. To solve this, they employ Difference of Convex Programming (DCP). This technique involves approximating a non-convex constraint with a convex upper bound (using a first-order Taylor expansion) to create a convex surrogate problem. This surrogate problem is then solved iteratively, refining the solution until convergence.

For scenarios with ample energy, they derive a Ranking-Based LCWRA solution. This approach reveals an inverse power relationship between transmission time and generalization error, allowing for a more analytical and efficient allocation strategy. This ranking-based method is further decomposed into subproblems for each learning model, which can be solved analytically.

Datasets

The paper uses two primary datasets for evaluation:

  • MNIST dataset: Used for training a Convolutional Neural Network (CNN) for image classification.
  • Digits dataset (from Scikit-learn): Used for training a Support Vector Machine (SVM) for digit classification.

For experimental validation, they collect:

  • Robotic Image Dataset: MNIST data samples collected by a robot.
  • Vehicular Point-Cloud Dataset: Data generated using the CARLA simulator for object detection in autonomous driving scenarios.

Key Insights and Ideas

  • Heterogeneity is Key: Different ML models have vastly different data needs. Ignoring this leads to suboptimal resource allocation and poor overall performance. LCWRA explicitly accounts for this.
  • Worst-Case Performance Matters: Optimizing for the best-performing task is insufficient. Focusing on maximizing the worst-case performance ensures a minimum level of service for all tasks.
  • Inverse Power Law: The analysis reveals a fundamental relationship: to reduce generalization error, transmission time needs to increase according to an inverse power law. This provides a theoretical basis for resource allocation.
  • Simulation vs. Reality: The paper strongly emphasizes the need for experimental validation due to the discrepancies between simulated and real-world wireless environments (e.g., transmission overhead, channel fluctuations).

Key Results

  • Simulation Performance: The proposed LCWRA scheme consistently outperforms benchmark schemes (time fairness, throughput fairness) by reducing classification error by up to 50%. This improvement is observed even when model parameters are imperfectly estimated.
  • Ranking-Based LCWRA: This analytical approach also shows significant error reduction (at least 20%) compared to simpler schemes.
  • Experimental Validation:
    • Robotic Image Dataset: LCWRA improved online and offline accuracy by 9.2% and 5.6% respectively, demonstrating robustness against real-world uncertainties.
  • Vehicular Point-Cloud Dataset: LCWRA achieved significantly better learning accuracies (67.3% vs. 46.84% for the worse task) compared to an equal-time allocation scheme, highlighting its effectiveness in more complex environments.

Limitations and Future Work

  • Model Parameter Estimation: The paper acknowledges that estimating the parameters {am, bm} for the generalization error model can be challenging in practice. While they demonstrate robustness to estimation errors, further research into more accurate and efficient estimation techniques would be beneficial.
  • Scalability: The current work focuses on a limited number of users and tasks. Investigating the scalability of LCWRA to larger, more complex edge intelligence systems would be a valuable next step.
  • Advanced Wireless Scenarios: While the paper addresses some practical wireless channel issues, exploring LCWRA in more dynamic and challenging wireless environments (e.g., highly mobile users, complex interference patterns) could further enhance its applicability.

Summary updated

Abstract

Edge intelligence is an emerging network architecture that integrates sensing, communication, computing components, and supports various machine learning applications, where a fundamental communication question is: how to allocate the limited wireless resources (such as time, energy) to the simultaneous model training of heterogeneous learning tasks? Existing methods ignore two important facts: 1) different models have heterogeneous demands on training data; 2) there is a mismatch between the simulated environment and the real-world environment. As a result, they could lead to low learning performance in practice. This paper proposes the learning centric wireless resource allocation (LCWRA) scheme that maximizes the worst learning performance of multiple tasks. Analysis shows that the optimal transmission time has an inverse power relationship with respect to the generalization error. Finally, both simulation and experimental results are provided to verify the performance of the proposed LCWRA scheme and its robustness in real implementation.
BibTeX
@article{zhou2021learning,
  author = {Liangkai Zhou and Yuncong Hong and Shuai Wang and Ruihua Han and Dachuan Li and Rui Wang and Qi Hao},
  title = {{Learning Centric Wireless Resource Allocation for Edge Computing: Algorithm and Experiment}},
  journal = {IEEE Trans. Vehicular Technology},
  year = {2021},
  url = {https://openreview.net/forum?id=MDQuKAVGdum},
}
Figure