Augmentations for Robust and Efficient Imitation Learning in Streamed Video Games

Somjit Nath, Abdelhak Lemkhenter, Pallavi Choudhury, Chris Lovett, Katja Hofmann, Sergio Valcarcel Macua, Lukas SchäferarXiv 2026

TL;DR

This paper introduces "streaming augmentations"—a novel set of spatiotemporal data perturbations designed to make imitation learning agents robust to the visual artifacts (like lag and compression) common in cloud gaming. By training on these synthetic artifacts, agents achieve up to 41% better performance in low-data regimes and maintain high success rates even under severe network lag that causes standard agents to fail catastrophically.

What Problem Does This Paper Address?

Imitation Learning (IL) is a powerful way to train game-playing agents by having them "watch" human experts. However, two major hurdles remain:

  1. Data Scarcity: Collecting high-quality human demonstrations for complex 3D games is expensive and time-consuming.
  2. Streaming Distribution Shift: Modern games are increasingly played via streaming services (like Xbox Cloud Gaming). In these environments, network fluctuations introduce visual artifacts—pixelation, blur, and "ghosting"—that are absent from the clean training data.

When an agent trained on perfect video encounters these spatiotemporally correlated artifacts at test time, it experiences a "covariance shift," leading to erratic behavior or total failure. The authors aim to bridge this gap by making agents "expect" the messiness of a real-world internet connection.

Methods

The researchers propose four specific streaming augmentations that mimic real-world network issues:

  • Scrubs: Moving vertical bands of pixelation, simulating partial-frame corruption.
  • Pixelation: Localized "macroblocks" where compression obscures details.
  • Fuzziness: A global Gaussian blur that fades in and out, mimicking bitrate drops.
  • Ghosting: Temporal smearing where remnants of previous frames linger, simulating inter-frame prediction errors.
Fig. 2: Examples of our streaming perturbations applied to two temporally close video frames. Colored boxes indicate the affected region at each timestamp. For scrubs, the artifact is a thin vertical corrupted band (orange band in the left figure) whose position shifts over time (cyan band in the right); For pixelation, a localized region orange box is down- and then up-sampled into blocky macroblocks and the pixelated region cyan box moves smoothly. For fuzziness, a global blur is applied to the whole frame with smoothly increases in strength from the first to second frame. For ghosting, a region from the previous frame (orange box) is blended into a new frame (cyan box), producing transparent overlays.

Unlike standard image augmentations (like random cropping or color shifts) which are applied frame-by-frame, these are spatiotemporal. They persist across sequences of frames (chunks) and evolve smoothly using a sinusoidal schedule and "fade-in/fade-out" envelopes to ensure temporal coherence.

Fig. 3: Exemplary modulation of a streaming perturbation parameter across normalized time within a chunk. We visualize the sinusoidal schedule, the fade-in and fade-out factor that suppresses perturbations near the beginning and end of a chunk, and the actual parameter value obtained by multiplying the sinusoidal schedule with the fade factor. For readability, the fade-in and fade-out are slightly exaggerated compared to our experiments. We apply this scheduling to control parameters of streaming augmentations, such as the movement or intensity of perturbations.

The authors implemented these on top of a Predictive Inverse Dynamics Model (PIDM), which uses a frozen visual backbone (THEIA) to map video frames to latent features, then predicts the actions needed to reach a future state.

Datasets

The approach was evaluated on three distinct tasks across two modern 3D video games:

  • Game 1 (Tasks 1 & 2): Short-horizon tasks (35-45 seconds) involving navigation and object interaction (e.g., jumping over boxes, hitting a gong).
  • Game 2 (Task 3): A long-horizon, multi-stage mission (~2.5 minutes) requiring precise timing for crouching, jumping, and weapon usage.
  • Training Data: Only 30 human expert demonstrations were collected for each task, representing a "small data" regime.

Key Insights and Ideas

  • Temporal Coherence is King: Standard augmentations treat every frame as an independent image. Streaming artifacts, however, are "bursty" and persistent. By modeling this persistence, the authors provide the agent with a much more realistic training signal for streamed environments.
  • Complementary Strengths: The study found that standard image augmentations and streaming augmentations work best together. Standard augs provide general visual diversity, while streaming augs provide specific robustness to channel noise.
  • Robustness to the "Unseen": Even when evaluated under synthetic stress tests (where 50% of frames were corrupted), agents trained with these augmentations maintained high performance, proving they learned features invariant to these specific distortions.

Key Results

  • Sample Efficiency: In the most data-starved scenario (only 5 human demonstrations), agents trained with all augmentations performed 41% better in Task 1 and 31% better in Task 2 compared to non-augmented baselines.
  • Robustness to Lag: The researchers injected real network lag (2–10 ms) during evaluation.
  • Baseline agents saw their performance plummet by 49.82%.
  • Augmented agents only saw a minor degradation of 7.45%.
  • Generalization: The benefits transferred to Game 2, a completely different environment with different dynamics, where the augmented agent completed roughly 10% more milestones than the baseline.
Fig. 1: Streaming artifacts appearing under artificially induced network lag, simulating a low-bandwidth user connection. The green numbered regions highlight common temporally correlated artifacts that appear in bursts and persist across consecutive frames: (1) a vertical scrub/partial-frame corrup- tion band (a pixelated strip spanning the frame height), (2) localized macroblock pixelation where compression blocks obscure scene details, (3) global fuzziness/blur consistent with transient bitrate drops, and (4) ghosting/temporal smearing where remnants of previous frames linger as patches or trails.

Limitations and Future Work

  • Fixed Schedules: The current augmentations use a fixed sinusoidal schedule. Future work could explore online adaptation, where the strength of the augmentation during training is dynamically adjusted based on real-time measurements of stream quality.
  • Encoder Interaction: The study used a frozen visual backbone. It remains to be seen how these augmentations would interact with end-to-end training of the visual encoder itself.
  • Scope: While successful in 3D games, the authors suggest testing these methods across a broader range of streamed applications and network conditions to further validate their generalizability.

Summary updated

BibTeX
@misc{nath2026augmentations,
  author = {Somjit Nath and Abdelhak Lemkhenter and Pallavi Choudhury and Chris Lovett and Katja Hofmann and Sergio Valcarcel Macua and Lukas Schäfer},
  title = {{Augmentations for Robust and Efficient Imitation Learning in Streamed Video Games}},
  year = {2026},
  eprint = {2607.14200},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.14200},
}
Figure