Efficient Compressed Ratio Estimation Using Online Sequential Learning for Edge Computing

Hiroki Oikawa, Hangli Ge, Noboru Koshizuka

TL;DR

This paper introduces AC-OSELM (Actor-Critic Online Sequential Extreme Learning Machine), a lightweight reinforcement learning method designed to run directly on resource-constrained edge devices. By adaptively optimizing the compression ratio for Compressed Sensing (CS), it successfully balances data reduction and reconstruction accuracy with up to a 90% reduction in inference time compared to existing edge-compute RL baselines.

What Problem Does This Paper Address?

The explosion of Internet of Things (IoT) devices has created a massive influx of real-time sensor data, straining communication bandwidth and driving up power costs. Compressed Sensing (CS) is a popular technique used to alleviate this burden by compressing sparse data directly on edge devices. However, CS requires choosing an optimal compression ratio: compress too much, and you introduce severe reconstruction errors; compress too little, and you waste bandwidth.

While Deep Reinforcement Learning (DRL) can dynamically find the sweet spot for this trade-off, standard DRL algorithms are far too computationally heavy for low-power edge nodes (e.g., simple sensor microcontrollers or Raspberry Pis). Existing lightweight alternatives, like the OS-ELM-Q-Network (OS-QNet), solve the training intensity problem but introduce a new bottleneck: they rely on discrete action spaces. To find the best compression ratio, they must evaluate every single possible discrete choice during inference, which scales poorly and cannot handle truly continuous compression ratios.

Methods

To overcome these limitations, the authors developed AC-OSELM, an Actor-Critic framework built upon the Online Sequential Extreme Learning Machine (OS-ELM).

Unlike deep networks that update thousands of weights across multiple layers via backpropagation, an ELM is a single-layer neural network where the input-to-hidden layer weights are randomly assigned and fixed. Only the output weights ($\beta$) are learned analytically, making it incredibly fast and lightweight.

Overview of Actor-Critic-OS-ELM

The core novelty lies in how the Actor and Critic interact:

  • The Critic: Uses standard OS-ELM sequential learning to estimate the value of the current state-action pair.
  • The Actor: Outputs a continuous action (the exact compression ratio) and is updated using the Deterministic Policy Gradient (DPG).

By using DPG to directly compute the optimal continuous action, AC-OSELM completely bypasses the need to evaluate multiple discrete action patterns during inference.

Datasets

The system was evaluated using subsets of two widely recognized computer vision benchmarks, chosen because image data can be effectively framed as sparse vectors suitable for Compressed Sensing:

  • MNIST: The classic dataset of handwritten digits (0–9).
  • Kuzushiji-MNIST (KMNIST): A dataset of traditional Japanese handwritten characters, offering a slightly more complex structural challenge than standard MNIST.

From each dataset, 100 sparse data elements were extracted for sequential compression and evaluation.

Key Insights and Ideas

  • Prioritizing Inference over Learning: In edge computing, inference happens continuously in real time, while learning can happen periodically in batches. AC-OSELM smartly shifts the computational burden: it increases learning time by roughly 52% compared to OS-QNet but slashes inference time by 90%. This is an ideal trade-off for real-time edge deployment.
  • Unlocking Continuous Action Spaces: By moving away from Q-learning to an Actor-Critic DPG approach, the time complexity of selecting an action drops from $O(|A|(D^2 + k^2))$ to $O(D^2 + k^2)$, where $|A|$ is the number of action choices. The algorithm's speed is no longer held hostage by how finely you want to tune the compression ratio.

Key Results

The authors deployed and tested their system on a Raspberry Pi 3 (representing a typical edge node environment).

  • Compression Accuracy: AC-OSELM achieved superior transmission efficiency ($E(c)$) compared to both OS-QNet and static, fixed-ratio compression baselines. It achieved a maximum accuracy score of 0.930 on MNIST (vs. 0.921 for OS-QNet) and 0.844 on KMNIST (vs. 0.838 for OS-QNet).
  • Inference Speedup: On the MNIST dataset, AC-OSELM required just 2.72 ms for inference, compared to 27.1 ms for OS-QNet—effectively eliminating the computational bottleneck at the edge.

Limitations and Future Work

Despite its efficiency, the authors note two primary limitations:

  1. Data Complexity Constraints: Because OS-ELM architectures are inherently small-scale, they struggle to adaptively compress highly complex data streams that cannot be easily modeled by standard Compressed Sensing.
  2. The Training Bottleneck: Calculating the reward function during the learning phase requires recovering the data to check for errors, an operation that scales at $O(D^3)$. This makes the training phase a significant computational bottleneck.

Future work will focus on implementing small-scale deep generative models at the edge to approximate data recovery faster, further optimizing the training loop.

Summary updated

BibTeX
@inproceedings{oikawa2023efficient,
  author = {Hiroki Oikawa and Hangli Ge and Noboru Koshizuka},
  title = {{Efficient Compressed Ratio Estimation Using Online Sequential Learning for Edge Computing}},
  booktitle = {PIMRC},
  year = {2023},
  doi = {10.1109/pimrc56721.2023.10294022},
}
Figure