Replica-Aware Split Inference for Edge IoT Systems

Zied Jenhani, Nasrin Razmi, Admela JukanarXiv 2026

TL;DR

This paper introduces a resilient "Split Inference" framework for TinyML that automatically recovers from IoT device failures. By formulating a Mixed-Integer Linear Programming (MILP) problem, the system dynamically deploys model replicas to surviving devices via over-the-air updates, minimizing end-to-end latency while strictly adhering to the tight memory constraints of edge hardware.

What Problem Does This Paper Address?

Tiny Machine Learning (TinyML) allows low-power IoT devices to run AI models locally, but these models are often too large for a single microcontroller's memory. Split Inference (SI) solves this by breaking a model into sequential segments and distributing them across a network of devices.

The catch? SI creates a "daisy chain" where every device is a single point of failure. If one device in the pipeline goes offline—due to battery depletion or hardware failure—the entire inference process grinds to a halt. While previous research suggested pre-deploying redundant copies of model segments, this wastes precious flash memory. The authors tackle the challenge of on-demand recovery: how do we quickly identify the best surviving hosts for failed segments and choose the right communication protocols to keep latency low without crashing the remaining devices?

Figure 1: Architecture of the replica-aware split-inference framework.

Methods

The authors propose a replica-aware recovery approach managed by an edge server. When a failure is detected via a heartbeat monitor, the server solves a Mixed-Integer Linear Programming (MILP) problem to reconfigure the pipeline.

Key components of their approach include:

  • Joint Optimization: Unlike simple heuristics that might just pick the fastest available processor, this model jointly optimizes for both computation latency and transmission latency (the time spent moving data between devices).
  • Resource-Aware Constraints: The MILP accounts for two distinct types of memory: Flash memory (for storing the model segments) and Runtime memory (SRAM/PSRAM for holding intermediate data during execution).
  • Differential OTA Updates: Instead of re-flashing entire devices, the system uses differential Over-The-Air updates to push only the necessary model replicas to the selected surviving hosts.
  • Protocol Selection: The model doesn't just choose where to send data; it chooses how (e.g., Wi-Fi vs. BLE) based on what the specific pair of devices supports and the current network conditions.

Datasets and Experimental Setup

The researchers evaluated their system using a simulated heterogeneous network based on real-world hardware specifications:

  • Workload: An ImageNet-pretrained MobileNetV2 model ($\alpha = 0.35$) with INT8 quantization.
  • Hardware Profiles: Specifications for ESP32-S3, Arduino Nano 33 BLE, Raspberry Pi Pico 2 W, and STM32 B-U585I-IOT02A.
  • Network Sizes: Configurations of 5, 10, and 15 devices.
  • Baselines: The MILP approach was compared against four heuristics: Random placement, Computation Greedy (minimizing compute time), SRAM Worst-Fit (balancing memory load), and Flash First-Fit Decreasing.

Key Insights and Ideas

  • Communication is the Bottleneck: In IoT environments, the time spent transmitting "activations" (data between model layers) often outweighs the time spent on actual math. The MILP's ability to consider link rates makes it significantly more robust than "Computation Greedy" approaches.
  • The "Aha" of Joint Selection: As network quality degrades (e.g., a 75% reduction in link rate), the gap between the optimized MILP approach and standard heuristics widens. This proves that "smart" placement is essential for edge networks where connectivity is rarely perfect.
  • On-Demand vs. Static: By using OTA updates for recovery rather than pre-deploying replicas, the system preserves flash memory for the primary tasks, allowing for larger, more complex models to be distributed in the first place.

Key Results

The MILP approach consistently outperformed all baselines in terms of end-to-end (E2E) latency:

  • Latency Gains: In a 15-device network, the MILP achieved an average E2E latency 6.8% lower than the Computation Greedy baseline and 18.3% lower than Random placement.
  • Resilience to Network Drops: When link rates were reduced by 75%, the MILP maintained a latency of 3361.92 ms, significantly outperforming the 4114.66 ms seen with Random placement.
  • Computational Overhead: While solving an MILP is more complex than a simple heuristic, the median computation time remained practical for edge management, reaching roughly 50.33 ms for a 15-device network with 5 failures.
Figure 2: Average E2E inference latency at the original link rates.

Limitations and Future Work

The authors identify several areas for further refinement:

  • OTA Latency: The current model optimizes for post-reconfiguration latency but does not yet include the time required to perform the OTA update itself in the optimization objective.
  • Energy Consumption: While latency is a primary concern, IoT devices are often battery-powered. Future iterations could include energy-per-inference as a constraint or objective.
  • Source Reliability: The current study assumes the "source" device (the one with the sensor) does not fail. Real-world scenarios would need to account for failures at the very start of the pipeline.

Summary updated

BibTeX
@misc{jenhani2026replica,
  author = {Zied Jenhani and Nasrin Razmi and Admela Jukan},
  title = {{Replica-Aware Split Inference for Edge IoT Systems}},
  year = {2026},
  eprint = {2611.04779},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.04779},
}
Figure