SOI: Scaling Down Computational Complexity by Estimating Partial States of the Model

Grzegorz Stefański, Paweł Daniluk, Artur Szumaczuk, Jakub Tkaczuk

Introduction

As deep learning models continue to grow in size and complexity, a significant "deployment gap" has emerged between state-of-the-art research and the practical constraints of the "tiny edge." Devices such as earbuds, smartwatches, and AR glasses—powered by Microcontroller Units (MCUs) rather than high-end GPUs—lack the computational resources to run modern neural networks. To address this, researchers from Samsung AI presented Scattered Online Inference (SOI) at NeurIPS 2024. SOI is a novel framework designed to reduce computational costs by exploiting the temporal redundancy inherent in time-series data, such as audio and video.

The Problem: Static Optimization in a Dynamic World

Traditional model optimization techniques, including pruning and quantization, typically treat neural networks as static black boxes. However, for real-time applications involving continuous sensor data, there is a massive amount of redundant computation occurring at every time step. Current hardware efficiency gains are failing to keep pace with the exponential growth of model parameters, making it increasingly difficult to deploy sophisticated AI on consumer electronics without significant trade-offs in performance or battery life.

Methodology: Scattered Online Inference

SOI builds upon Short-Term Memory Convolution (STMC), a technique that ensures each operation in a network is performed exactly once per input frame. SOI extends this by introducing "structured skipping," which allows the model to bypass redundant calculations and estimate internal states using temporal extrapolation.

1. Compression and Striding

The core of the SOI mechanism involves using strided convolutions to compress data along the time axis. By increasing the stride, the model reduces the number of elements that must be processed in deeper layers, effectively lowering the overall workload per frame.

2. Extrapolation and Estimation

To maintain the integrity of the network's internal representations when data is skipped, SOI "estimates" the missing states. The framework supports two primary methods for this:

  • Cloning: The simplest form, where the previous state is copied forward.
  • Interpolation: More advanced schemes using bilinear or bicubic interpolation to approximate the missing data points.

3. Operational Modes

SOI can be configured into two distinct modes depending on the deployment goals:

  • Partially Predictive (PP): This mode focuses on reducing average computational cost by utilizing buffered partial states.
  • Fully Predictive (FP): This mode predicts future states of the model, allowing the system to perform calculations in advance while waiting for new sensor data. This is particularly effective for reducing peak complexity and minimizing perceived latency.

Experimental Evaluation

The researchers validated SOI across three diverse domains to demonstrate its generalizability:

  • Speech Separation: Evaluated using the Deep Noise Suppression (DNS) Challenge dataset (Interspeech 2020).
  • Acoustic Scene Classification (ASC): Tested on the TAU Urban Acoustic Scene 2020 Mobile dataset.
  • Video Action Recognition: Measured using the HMDB-51 dataset, which contains 51 distinct human action classes.

Key Findings

The Accuracy Paradox

One of the most surprising results of the study was that SOI did not always result in a performance penalty. In Acoustic Scene Classification, a ResNet-101 model saw its accuracy increase from 94.74% to 96.22% even as complexity was reduced. The authors hypothesize that forcing the model to predict future states acts as a form of temporal regularization, helping the network capture a broader context of the signal.

Efficiency Gains

  • Speech Separation: SOI achieved a 64.4% reduction in computational complexity (MMAC/s) with only a minor 9.8% drop in the SI-SNRi metric.
  • Acoustic Scene Classification: On GhostNet architectures, the method achieved a 50% reduction in complexity with zero loss in accuracy.
  • Video Action Recognition: Complexity was reduced by 10-17% across MoViNet and ResNet variants, with several ResNet models showing improved Top-1 accuracy.
  • Memory Footprint: In specific S-CC 1 configurations, SOI reduced peak memory usage by nearly 46%.

Synergy with Pruning

SOI is designed to be complementary to existing optimization methods. When combined with traditional magnitude pruning, SOI provided a superior accuracy-vs-complexity trade-off compared to using pruning alone, suggesting that temporal optimization and structural optimization can work in tandem.

Limitations and Future Directions

While SOI offers a path toward more efficient edge AI, the authors noted several challenges. Finding the optimal placement for SOI layers within a specific architecture requires careful validation during the training phase. Additionally, because the model relies on self-predicted states, errors can accumulate over long sequences, necessitating periodic "resets" with full recalculations. Finally, high-precision tasks like high-fidelity denoising show a more sensitive trade-off between speed and quality than classification tasks.

Future research will likely explore more sophisticated extrapolation schemes and automated architecture searches to determine the most efficient SOI configurations for specific power budgets.

Summary updated

BibTeX
@inproceedings{stefanski2024soi,
  author = {Grzegorz Stefański and Paweł Daniluk and Artur Szumaczuk and Jakub Tkaczuk},
  title = {{SOI: Scaling Down Computational Complexity by Estimating Partial States of the Model}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=sZ7jj9kqAy},
}
Figure