Interference-aware Edge Runtime Prediction with Conformal Matrix Completion

Tianshu Huang, Arjun Ramesh, Emily Ruppel, Nuno Pereira, Anthony Rowe, Carlee Joe-Wong

Introduction

In the rapidly evolving landscape of edge computing, hardware resources are often scarce and highly diverse. To optimize efficiency, system orchestrators frequently co-locate multiple workloads on a single device. However, this practice introduces significant interference, where programs competing for shared CPU or memory resources slow each other down in unpredictable ways. For time-critical applications like industrial robotics or autonomous sensors, these delays can be catastrophic. Pitot is a novel framework designed to solve this by predicting runtimes with high accuracy (5.2% error) while providing mathematically guaranteed safety buffers for task execution.

The Pitot Framework

Pitot approaches runtime prediction as a matrix completion problem. By conceptualizing a grid where rows represent programs and columns represent hardware devices, the model learns to fill in missing performance data. The core of the system is a Two-Tower Matrix Factorization architecture.

The Pitot architecture uses a two-tower neural network to predict runtime residuals by combining workload and platform features.

As shown in the architecture diagram, Pitot utilizes two neural networks to create mathematical "embeddings" for both workloads and hardware platforms. It incorporates side information, such as opcode counts for software and CPU specifications for hardware, allowing it to generalize to devices or programs it has never encountered before.

A key technical innovation is the Log-Residual Objective. Rather than predicting raw execution time, Pitot predicts the "log-residual," which normalizes data across vastly different scales—from millisecond tasks on edge servers to minute-long tasks on microcontrollers. This approach turns multiplicative scaling (e.g., a 2x faster CPU) into additive components, which are significantly easier for machine learning models to process.

Experimental Setup and Datasets

To validate Pitot, the researchers assembled a massive, heterogeneous hardware cluster consisting of 24 unique devices across x86, ARM, and RISC-V architectures.

The experimental hardware cluster includes 24 unique devices used to collect over 410,000 data points across diverse architectures.

The team collected over 410,000 unique data points during 80 hours of continuous execution. They utilized 249 benchmarks from standard suites like Polybench and MiBench, all compiled to WebAssembly (Wasm). Using Wasm as a universal format allowed the same code to run seamlessly across the entire diverse hardware cluster, providing a consistent baseline for measuring interference.

Key Results and Insights

Pitot demonstrates a significant leap in performance over existing methods:

  • Superior Accuracy: It achieves a 5.2% Mean Absolute Percent Error (MAPE), doubling the accuracy of naive applications of standard matrix factorization.
  • Reliable Safety Buffers: By employing Conformalized Quantile Regression (CQR), Pitot generates uncertainty intervals that are 58% tighter than standard neural network baselines. These bounds are statistically valid, ensuring that time-critical tasks have a reliable "safety budget" without wasting hardware capacity.
  • Operational Efficiency: The model is exceptionally lightweight, taking only ~12 seconds to train on a modern GPU and performing inferences in microseconds, making it ideal for real-time edge orchestration.

One of the most powerful insights from the study is that interference can be treated as a "signature." By observing a program's behavior in just a few scenarios, Pitot learns its interference profile, allowing it to predict how that program will interact with entirely new combinations of workloads.

Limitations and Future Work

Currently, Pitot focuses primarily on compute-bound tasks. Future iterations could expand the framework to include features for I/O-heavy workloads, such as those with heavy disk or network usage. Additionally, while the current model assumes relatively constant program behavior, the authors aim to address "phase shifts" where a program's resource demands change dynamically during its run. Finally, as machine learning workloads become more prevalent at the edge, integrating standardized interfaces for these tasks into the Pitot framework remains a priority.

Summary updated

Abstract

Accurately estimating workload runtime is a longstanding goal in computer systems, and plays a key role in efficient resource provisioning, latency minimization, and various other system management tasks. Runtime prediction is particularly important for managing increasingly complex distributed systems in which more sophisticated processing is pushed to the edge in search of better latency. Previous approaches for runtime prediction in edge systems suffer from poor data efficiency or require intensive instrumentation; these challenges are compounded in heterogeneous edge computing environments, where historical runtime data may be sparsely available and instrumentation is often challenging. Moreover, edge computing environments often feature multi-tenancy due to limited resources at the network edge, potentially leading to interference between workloads and further complicating the runtime prediction problem. Drawing from insights across machine learning and computer systems, we design a matrix factorization-inspired method that generates accurate interference-aware predictions with tight provably-guaranteed uncertainty bounds. We validate our method on a novel WebAssembly runtime dataset collected from 24 unique devices, achieving a prediction error of 5.2\% - 2x better than a naive application of existing methods.
BibTeX
@inproceedings{huang2025interference,
  author = {Tianshu Huang and Arjun Ramesh and Emily Ruppel and Nuno Pereira and Anthony Rowe and Carlee Joe-Wong},
  title = {{Interference-aware Edge Runtime Prediction with Conformal Matrix Completion}},
  booktitle = {MLSys},
  year = {2025},
  url = {https://openreview.net/forum?id=jDYKh6ay0X},
}
Figure