Lost in Transmission: On the Impact of Networking Corruptions on Video Machine Learning Models

Trenton Chang, Daniel Y. FuarXiv 2022 · DOI

Introduction

While most video machine learning (ML) research assumes high-quality input, real-world deployment often happens over shaky networks. This paper reveals that networking corruptions—like packet loss and bandwidth limits—drastically degrade model performance, and standard "robustness" techniques like data augmentation are surprisingly ineffective at fixing the problem.

The Problem: Networking Corruptions in the Wild

Most computer vision models are benchmarked on "clean" datasets, but in the wild, videos are often streamed over mobile or congested networks. These environments introduce networking corruptions: errors caused by the underlying transmission protocols (like UDP) and hardware constraints.

The authors identify a major gap: we don't really know how these specific networking artifacts—which look very different from standard image noise like blur or "salt and pepper" pixels—impact downstream ML tasks. Interestingly, they even discovered that these corruptions have already "leaked" into standard research datasets like Kinetics-400, meaning our models might be training on corrupted data without us realizing it.

Methodology

The researchers conducted a comprehensive simulation study using the Pantheon networking benchmark. They emulated real-world network conditions (e.g., a Wi-Fi link in Nepal or a cellular link in Mexico) and streamed videos in real-time via a UDP link to a receiver.

Overview of the impact of networking corruptions on video ML models, from original video to performance drops.

They categorized the resulting "glitches" into two main types:

  1. Visual Artifacts: Smearing, blocky pixels, and "color bands" caused by packet loss. Because modern video codecs (like H.264) use "keyframes" to update the whole image and "delta frames" to update only changes, losing a packet in a keyframe causes errors to "smear" across subsequent frames.
  2. Temporal Truncation: Dropped frames at the end of a video caused by insufficient bandwidth.

The study evaluated how these artifacts affected four distinct video ML tasks: action recognition (HMDB51, UCF101, Kinetics-400, SSV2), single-object tracking (OTB-2015), video object segmentation (DAVIS2017), and video captioning (MSR-VTT).

Key Insights

  • The "Smear" Effect: Unlike static image noise, networking artifacts are temporal. A single lost packet can ruin the visual quality of several seconds of video because the error propagates through the codec's motion compensation logic.
Visual artifacts such as smearing and color bands caused by packet loss in video transmission.
  • Task-Specific Vulnerability: Not all tasks suffer equally. Action recognition is highly sensitive to temporal truncation (losing the end of the video), especially on datasets like SSV2 where the "action" (e.g., "putting something down") happens at a specific moment. Conversely, frame-by-frame tasks like tracking and segmentation are more bothered by visual artifacts that obscure the object's boundaries.
  • Misleading Metrics: In object tracking, performance metrics can actually improve under low bandwidth. Because the video is truncated (shortened), the tracker has less time to "fail" or lose the object, leading to an artificially inflated score.
  • Standard Defenses Fail: Common robustness strategies, such as data augmentation (adding noise during training), provided only a marginal (+3%) improvement against visual artifacts and actually hurt performance when trying to account for truncation.

Experimental Results

  • Action Recognition: On Kinetics-400, accuracy plummeted by up to 46% (from 69.4% to 23.4%) under severe network conditions.
  • Segmentation: The JF-Mean score for the STM model on DAVIS2017 dropped from 96.2 to 14.0 when faced with strong visual artifacts.
  • Captioning: While standard metrics like BLEU-4 only dropped slightly, the content of the captions changed significantly, often substituting words or contradicting the original "clean" caption.
  • Data Augmentation: Training with corrupted videos didn't recover the lost performance, suggesting that networking corruptions represent a fundamentally different distribution shift than what current augmentation techniques can handle.

Conclusion and Future Work

The study highlights a critical vulnerability in current video ML models. Future work should focus on developing network-aware architectures and creating new data augmentation policies that specifically simulate the way video codecs fail during transmission. Additionally, evaluation protocols for tracking and segmentation need updating to ensure that "shorter" videos don't result in misleadingly high scores.

Summary updated

BibTeX
@misc{chang2022lost,
  author = {Trenton Chang and Daniel Y. Fu},
  title = {{Lost in Transmission: On the Impact of Networking Corruptions on Video Machine Learning Models}},
  year = {2022},
  eprint = {2206.05252},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.05252},
}
Figure