When processing continuous data—whether it is a live video feed, a sensor stream from a wearable, or real-time speech—the standard approach has long been the sliding window. To understand what is happening now, a model looks at a fixed-size buffer of the most recent data. As time moves forward, the window slides, dropping the oldest frame and adding a new one.
While intuitive, this approach carries a hidden "redundancy tax." If a window contains 100 frames and slides forward by one, 99 of those frames have already been processed. In a standard deep learning pipeline, the model re-calculates the features for those 99 frames from scratch, wasting massive amounts of energy and computation.
A growing body of research is moving away from these "batch-oriented" windows toward Continual Inference, where models update their internal state incrementally, processing only the new data point while reusing everything they have already learned.
The Sliding Window Tax
The inefficiency of sliding windows is a recurring bottleneck across domains. In video super-resolution, Takashi Isobe and colleagues note in Video Super-Resolution with Recurrent Structure-Detail Network that these methods perform redundant calculations on overlapping frames for every single output. This isn't just a minor overhead; it often prevents high-resolution models from running in real-time.
This problem scales poorly. For long-form video tasks, Xiangteng He and the team behind SOONet point out that partitioning hour-long videos into overlapping segments creates a massive computational burden and requires complex post-processing to reconcile conflicting predictions. Similarly, in 3D object detection for autonomous driving, Jianyun Xu argues in INT that re-processing the same frames within a window leads to a linear increase in latency that prevents models from leveraging long-term temporal context.
From Windows to Stateful Streams
The solution is to transform the architecture from a "window-processor" into a "state-updater." Instead of looking at a block of data, the model maintains a hidden state or cache that summarizes the past.
Lukas Hedegaard and Alexandros Iosifidis formalized this in their Continual Inference Library. By replacing standard layers with "continual" counterparts, they achieved over 100x reductions in FLOPs. The intuition is simple: if you are calculating a convolution over time, you don't need the whole window; you just need the current input and the intermediate activations from the previous step.
This "stateful" shift is appearing in diverse fields:
- Speech Recognition: Somshubra Majumdar and researchers at NVIDIA developed the Stateful Conformer, which uses activation caching to eliminate redundant computations in overlapping audio chunks.
- Video Denoising: Chenyang Qi introduced BSVD, which uses bidirectional buffers to leverage past and future frames without the memory overhead of a full sliding window.
- Action Detection: Shuqiang Cao proposed E2E-LOAD, which uses a token-reuse mechanism to avoid re-calculating features for the same frames as the window advances.
Exploiting Mathematical Invariance
Beyond just caching, some researchers are using the mathematical properties of neural networks to skip work. Christodoulos Kechris and the authors of StreamiNNC exploit shift invariance. Since a CNN's filters look for the same patterns regardless of where they appear in a window, the features for a frame at position $t$ in one window are identical to its features at position $t-1$ in the next window. By "stitching" these results together, they achieve linear speedups.
For ultra-low-power edge devices, Zhaolan Huang and Emmanuel Baccelli introduced TinyDéjàVu. They mathematically transform standard convolutions into State-Space Models (SSMs). This conversion allows a microcontroller to perform streaming inference with 60% less RAM and up to 200x faster speeds, effectively "remembering" the past rather than re-calculating it.
The Impact of "Scanning Only Once"
The shift toward single-scan, recursive processing isn't just about speed—it's about enabling new capabilities. In the realm of remote sensing, Spaceborne Video SAR algorithms now reuse processed "sub-apertures" to achieve near-real-time radar imaging. In scheduling, Sirui Li and Cathy Wu developed L-RHO, which prunes redundant optimizations by "fixing" decision variables that are unlikely to change between planning windows.
Even Large Language Models are being adapted. Joya Chen and the VideoLLM-online team moved away from processing static clips to a "Learning-In-Video-Stream" (LIVE) framework. This prevents the model from generating redundant, repetitive messages for every frame, allowing it to maintain a coherent conversation about a live video feed.
By treating time as a continuous flow rather than a series of overlapping snapshots, these researchers are closing the gap between heavy, offline models and the efficient, real-time demands of the physical world.