EpiStream: Utility-Aware Temporal Abstraction for Dense-Action Streams

Tan Kai Ze, Ran Zhang, Feng Yichao, Matthew Heng Yu Jie, Dong FangNeurIPS 2026

TL;DR

Continuous, fast-paced video streams—like competitive video games or live sports—don't come with neat "scene changes," making it tough for real-time AI models to package raw frames into clean, usable memories. EpiStream solves this by reframing video segmentation as an optimal stopping problem: instead of hunting for visual transitions, it learns when an unfolding video prefix is informative enough to save to memory for downstream tasks. The result is an AI that builds sharper episodic memories on the fly, leading to better real-time coaching and intention prediction.

What Problem Does This Paper Address?

Imagine watching a first-person shooter (FPS) match. A player is simultaneously sprinting, scanning a ridgeline, looting ammo, and listening to footsteps. Unlike a movie where scenes cut cleanly from a kitchen to an office, dense-action streams (DAS) feature overlapping actions and continuously evolving intentions without obvious boundaries.

Dense-action streams feature overlapping low-level actions and continuously evolving intentions without clear scene cuts.

Now, put an AI in the passenger seat to act as a real-time coach. Because the stream is live and unbounded, the AI operates under strict causal constraints (it can't peek into the future or rewrite past memories) and has a fixed memory budget. It must periodically compress recent video frames into compact "episodic memory units" to feed a downstream LLM.

Existing segmentation methods look for visual shifts or action boundaries. In dense streams, committing a memory too early leaves it half-baked; committing too late muddies multiple distinct phases together, confusing the downstream LLM. The real question isn't "Did the scene just change?"—it's "Has the stream accumulated a coherent, useful chunk of context worth saving right now?"

Methods

EpiStream turns episode formation into an online CONTINUE vs. COMMIT decision policy using a clever offline-to-online distillation pipeline:

  1. Utility Function Design: First, the authors mathematically define what makes a "good" episode. Their utility score balances internal semantic coherence (is the episode about one main thing?), inter-episode distinctiveness (is it different from the last memory?), and task-oriented granularity.
  2. Offline Teaching Signals via Privileged Telemetry: Training this via reinforcement learning directly on long videos is unstable due to sparse rewards. Instead, during offline training, EpiStream uses synchronized game-engine telemetry (privileged data like health, coordinates, and combat logs) to calculate a close-versus-continue advantage ($A_t$) at candidate timestamps—measuring the exact utility gained by committing a memory now versus waiting for a better moment soon.
  3. Peak-Aware Online Policy Learning: Online, a Vision-Language Model (Qwen2.5-VL-Instruct) processes only causal video frames and past memories—zero telemetry—to predict that commit advantage. Because optimal commit moments are rare spikes in a sea of CONTINUE steps, standard regression tends to smooth out and underestimate the peaks. EpiStream fixes this with a two-head architecture: one MLP regresses the continuous advantage score (upweighting high-advantage moments), while an auxiliary MLP classifies whether the current moment is in a "peak" closure region.
Figure 2: Overview of EpiStream. Offline telemetry defines episode utility and close-versus-continue advantage targets. Online, a VLM encodes causal inputs into a decision state ht, from which coupled predictors estimate commit advantage ˆAt and peak probability ˆpt. The policy is trained with a joint advantage-peak objective and commits an episode when ˆAt exceeds the stopping threshold.

At inference time, the auxiliary head is dropped, and the model commits an episode whenever the predicted advantage crosses a threshold (within min/max duration bounds).

Datasets

Because existing benchmarks lack dense, overlapping actions paired with ground-truth state dynamics, the authors introduce DAS-Utility:

  • Scale: 107.3 hours of proprietary FPS gameplay across 60 long-form sessions (>20 minutes each), totaling ~153,600 video frames aligned with 151,163 game-engine telemetry events.
  • Downstream Tasks: Includes human-verified and telemetry-grounded labels for two streaming tasks: Player Intention Forecasting (predicting tactical intent over the next 15 seconds) and Proactive Advice Retrieval (providing timely, actionable coaching like "rotate through cover to safe zone").

Key Insights and Ideas

  • Segmentation $\neq$ Temporal Abstraction: Visually salient transitions don't necessarily make useful memories. Optimizing directly for downstream utility creates far cleaner building blocks for reasoning than generic boundary detection.
  • Pure Regression Misses the Moment: Because 95%+ of streaming timesteps should just CONTINUE, a standard Mean Squared Error loss gets pulled toward the background average and misses rare COMMIT spikes. Adding the auxiliary peak-classification head forces the shared representation to isolate those critical decision moments.
  • Less Fragmented, More Useful: While Fixed-10s windows and online boundary detectors (like OnGEBD) chop sessions into 140–173 tiny fragments, EpiStream forms an average of just 15.5 high-purity episodes per session—preventing noisy clutter from flooding the fixed memory budget.
Clean episodic memories enable accurate intention forecasting and timely advice, whereas fragmented or mixed windows confuse downstream reasoning.

Key Results

Across all experiments, the memory constructor, memory budget, and downstream LLM are held strictly constant—isolating the impact of when episodes are formed:

  • Episode Quality: Compared to the best baselines, EpiStream reduces internal state entropy by 53.8% (0.092 vs. 0.199), boosts state purity to 0.896 (+17.7%), and jumps average marginal boundary utility by 67.3% (0.522 vs. 0.312).
  • Player Intention Forecasting: EpiStream hits 0.38 Top-1 and 0.92 Soft accuracy, outperforming raw video with No-Memory (0.08 Top-1 / 0.72 Soft) and the strongest online segmentation baseline, OnGEBD (0.32 Top-1 / 0.78 Soft).
  • Proactive Advice Retrieval: EpiStream beats the strongest baseline (DisPider) across weighted coverage (0.466 vs. 0.425) and ranking quality (0.509 vs. 0.494 nDCG@K), while cutting advice latency by over 3 seconds (14.4s vs. 17.7s). Short fixed windows (10s, 20s) actually performed worse than having no memory at all.
  • Oracle Approximation: Without seeing future frames or game telemetry at test time, EpiStream achieves a 99.2% positive-utility closure rate, nearly matching the privileged offline oracle (99.4%).

Limitations and Future Work

The primary limitation acknowledged by the authors is domain scope: this study focuses exclusively on FPS gameplay, where game engines conveniently provide clean, synchronized telemetry to construct offline teaching signals. However, the authors note that the online policy itself requires no telemetry at inference, making the framework well-suited for expansion into broader dense-action domains—such as autonomous driving (using offline sensor/CAN-bus logs for training), live sports commentary, and continuous human activity streams.

Summary updated

Abstract

Video understanding is commonly built on action-triggered responses or scene-level aggregation, implicitly assuming clear temporal boundaries. This assumption breaks in dense-action streams such as gameplay and sports, where overlapping actions induce continuous latent dynamics without explicit transitions. The challenge is further amplified in streaming settings, where models operate under strict causal constraints and must progressively construct episodic memory for downstream reasoning. Existing segmentation-based strategies therefore often produce fragmented or semantically mixed episodes, leading to degraded understanding. We present EpiStream, an online framework for utility-aware semantic episode formation in dense-action streams. Instead of detecting event boundaries, EpiStream learns when an evolving video prefix should be committed into an episode unit that maximizes downstream utility under limited memory budgets. The framework consists of three steps: (i) utility function design for semantic coherence, inter-episode distinctiveness, and downstream objectives; (ii) utility-optimal commit advantage construction from teaching signals; and (iii) peak-aware advantage learning for training a causal online commitment policy from prefix-only observations. Extensive experiments show that EpiStream substantially improves temporal semantic coherence and consistently benefits challenging downstream tasks, including real-time advice and player intention prediction.
BibTeX
@inproceedings{ze2026epistream,
  author = {Tan Kai Ze and Ran Zhang and Feng Yichao and Matthew Heng Yu Jie and Dong Fang},
  title = {{EpiStream: Utility-Aware Temporal Abstraction for Dense-Action Streams}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=OZd2dd0dZ6},
}
Figure