ASTRA: Low-Overhead Runtime Architecture for STReam Adaptation in Video Analytics

Mahshid Ghasemi, Zoran Kostic, Javad Ghaderi, Gil ZussmanarXiv 2026

TL;DR

ASTRA is a low-overhead runtime architecture designed for real-time video stream adaptation at the edge, dynamically adjusting camera resolutions and frame rates to match changing network conditions and video content. By replacing slow camera-side channel switching with local edge down-sampling and an asynchronous Fork-Join pipeline, ASTRA slashes adaptation overhead by an order of magnitude, achieving near-optimal performance with just ~2% GPU overhead per camera.

What Problem Does This Paper Address?

Real-time video analytics powered by Deep Neural Networks (DNNs) are vital for smart city infrastructure and autonomous vehicle control. To maximize object detection accuracy, systems ideally want to process video at the highest resolution and frame rate. However, streaming maximum-quality feeds from dozens of geo-distributed cameras quickly overwhelms network bandwidth and edge compute resources, leading to severe latency spikes.

While online adaptation algorithms can dynamically tune camera configurations to balance accuracy and latency, deploying them in practice introduces two major system-level bottlenecks:

  1. Switching Delays: Constantly requesting different stream profiles from physical cameras introduces massive internal buffering delays (ranging from 400ms to over 1.2s).
  2. Measurement Costs: Calculating real-time accuracy requires generating a "proxy ground truth" by running the heaviest model configuration, which is computationally expensive and highly sensitive to frame misalignment.

Methods

Figure 2: Deployment of online adaptation in a multi-camera setup connected to edge servers. The adaptation system updates the configuration of the system periodically in response to changes in the environment.

ASTRA solves these execution overheads by treating adaptation algorithms as a black box and optimizing the underlying runtime pipeline through several novel mechanisms:

  • Local Down-sampling: Instead of asking the camera to switch channels, ASTRA pulls a single high-resolution, high-frame-rate "golden stream." It then mirrors and down-samples this stream locally on the edge server, bypassing camera-side delays entirely.
  • Asynchronous Fork-Join Pipeline: Using FIFO queues, futures, and promises, ASTRA decouples the adapted inference pipeline from the proxy ground-truth generation. This allows both processes to run concurrently without stalling the main adaptation loop.
  • Receiver-Side Latency Estimation: To avoid unreliable camera clock synchronization (NTP drifts), ASTRA estimates network latency using only edge-side arrival timestamps combined with periodic round-trip time (RTT) pings.
  • GPU Memory Optimization: Video frames remain entirely within GPU device memory (NVMM) across the entire pipeline. Supported TensorRT engines are preloaded into memory, reducing configuration switching times to a mere 10–20 ms.

Datasets

The authors evaluated ASTRA using a mix of real-world testbeds and emulated environments:

  • COSMOS Testbed Data: Real-time deployment and validation using live street-level traffic cameras in New York City.
  • Video Dataset: A dataset consisting of 52 pairs of 10-minute videos (104 total) recorded simultaneously from the COSMOS cameras, capturing diverse traffic densities and weather conditions (sunny, rainy, etc.).
  • Network Latency Dataset: A large-scale public 4G network dataset used to inject realistic latency and jitter variations into the emulated Google Cloud platform experiments.

Key Insights and Ideas

  • The Camera is the Bottleneck: Standard commodity cameras are poorly suited for rapid profile switching due to internal smoothing and jitter-control buffers. Moving profile generation to the edge server via down-sampling cuts switching latency by roughly 20×.
  • Timing is Everything: Even a single-frame misalignment (drift) between the ground-truth pipeline and the adapted pipeline completely distorts F1-score accuracy calculations. This distortion can easily mislead adaptation algorithms into selecting suboptimal configurations.
  • Algorithmic Agnosticism: Because ASTRA treats the optimization algorithm as a black box, it can seamlessly host diverse strategies—ranging from theoretically guaranteed methods (like GP-UCB-C) to empirical ones (like Chameleon++).

Key Results

  • Order-of-Magnitude Speedup: ASTRA reduced the per-iteration execution overhead of iterative adaptation algorithms from seconds down to hundreds of milliseconds.
  • Near-Optimal Efficiency: When integrated with the GP-UCB-C algorithm, ASTRA achieved performance within 10% of an "offline optimal" benchmark that possesses perfect future knowledge.
  • High Reliability: The architecture successfully met strict system accuracy and latency constraints over 90% of the time.
  • Minimal Resource Footprint: ASTRA operates with an incredibly light footprint, adding an average GPU utilization overhead of only ~2% per camera.

Limitations and Future Work

While ASTRA proves highly effective, the authors note a few areas for ongoing development:

  • Scalability: The current live and emulated evaluations scale up to 8 concurrent cameras; future work will focus on scaling to significantly larger camera networks.
  • Fixed Adaptation Windows: The architecture currently relies on fixed time windows (e.g., 60 seconds) to trigger adaptation. Developing adaptive time windows would allow the system to dynamically respond to sudden, highly volatile environmental shifts.
  • Cloud Integration: Extending ASTRA to large-scale, geo-distributed edge-cloud systems that feature dynamic, multi-tenant resource allocation.

Summary updated

BibTeX
@misc{ghasemi2026astra,
  author = {Mahshid Ghasemi and Zoran Kostic and Javad Ghaderi and Gil Zussman},
  title = {{ASTRA: Low-Overhead Runtime Architecture for STReam Adaptation in Video Analytics}},
  year = {2026},
  eprint = {2609.07020},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.07020},
}
Figure