TL;DR
Human eyes only see razor-sharp detail in a tiny patch right where we are looking, yet streaming AI video models burn massive GPU resources rendering every single pixel uniformly. Pegas fixes this without retraining a single model weight, using eye-tracking data to dynamically route compute and memory toward the viewer’s gaze. The result is nearly double the generation speed and a 34% drop in VRAM—turning out-of-memory errors into smooth, high-resolution streams on consumer GPUs, with virtually zero perceived loss in visual quality.
What Problem Does This Paper Address?
Autoregressive diffusion models allow us to generate continuous, interactive video streams on the fly rather than waiting minutes for an offline clip to render. However, pushing high-resolution frames at interactive speeds hits a brutal wall of inference time and GPU memory—doubling resolution quadruples the tokens processed at every step.
Meanwhile, human biology offers a massive shortcut: our visual acuity peaks in the central fovea (roughly a 10° window) and drops off sharply toward the periphery. In traditional 3D graphics, foveated rendering exploits this by shading peripheral pixels coarsely. Applying this to streaming video diffusion is tricky for two reasons:
- Prior foveated diffusion methods require expensive retraining to handle mixed-resolution tokens.
- Unlike a game engine that renders frames milliseconds before display, video generators produce chunks of frames well in advance. By the time a generated chunk hits the screen, your eyes might have darted elsewhere.
The authors ask: Can we accelerate a frozen, pretrained streaming video pipeline by adapting compute and memory to human gaze, even with generation-to-display delays?
Methods
Pegas wraps around a frozen four-stage streaming pipeline (Ultra Flash, built on Wan2.1) consisting of a low-resolution causal generator, a latent upsampler, a one-step Super-Resolution Diffusion Transformer (SR DiT), and a pixel decoder. Pegas introduces training-free, gaze-guided heuristics across three of these stages:
- Region-Adaptive Denoising & Gaze-Driven KV Memory: Early diffusion steps establish global layout, while late steps add fine texture. Pegas skips the final two denoising steps outside the gaze region (refreshing the full frame every third chunk to prevent drift). To shrink the historical Key-Value (KV) cache—which normally balloons in memory—Pegas keeps a strict 25% token budget. It scores spatial cells by gaze proximity, age, and visual saliency (via a tiny 0.48M-parameter head), retaining gaze-heavy areas in full and merging peripheral tokens.
- Incremental Foveated Super-Resolution: To tackle the commit horizon—the delay between reading eye-tracking data and finishing frame playback—Pegas splits 1.5-second SR calls into nimble 0.5-second increments. Using a heatmap of recent gaze history, it refines only the top 22% of token blocks. Crucially, while it only computes queries for gaze blocks, it attends to keys and values across the entire frame so global lighting and context stay intact.
- Foveated Decoding: In the Fast configuration, Pegas decodes the super-resolved gaze window at full resolution and downsamples the peripheral latents to decode at half resolution, seamlessly blending them while maintaining a full-frame feature memory canvas. A Balanced mode keeps full-resolution decoding across the frame.
Datasets
Because Pegas is training-free (aside from its tiny saliency predictor trained to match UNISAL), datasets are used primarily for evaluation:
- MovieGen Bench: Evaluated across all 158 text prompts released with Ultra Flash.
- Simulated Gaze & Field of View: Eye movements are generated on the reference videos using an autoregressive gaze model, calibrated to a $47.9^\circ \times 28.1^\circ$ field of view following the GazeCom dataset setup.
- User Study: A custom two-interval forced-choice perceptual study across 20 prompts featuring sharp peripheral content under central fixation.
Key Insights and Ideas
- Beating the "Commit Horizon" via Stage Asymmetry: Humans make 3 to 4 rapid eye movements (saccades) per second. Because super-resolution happens much closer to display time than base generation, Pegas lets later pipeline stages react to newer gaze data than earlier stages, keeping the sharp window locked onto the viewer's eyes 84% of the time.
- Attention-Free Cache Compression: Popular KV-cache pruners (like H2O or SnapKV) rely on attention weights, which fast fused kernels like FlashAttention discard—forcing costly recomputations. Scoring tokens directly via gaze and latent saliency sidesteps this bottleneck entirely while yielding better fidelity at the fixation point.
- Where You Spend Compute Matters More Than How Much: A baseline that uniformly cuts compute to match Pegas's exact frame rate looks noticeably blurry to humans. Concentrating that exact same compute budget around the fovea makes the speedup perceptually free.
Key Results
- Speed & Memory: On a single NVIDIA L40S at 1K resolution, Pegas achieves a 1.77× (Balanced) and 1.85× (Fast) speedup over Ultra Flash (reaching up to 8.31 FPS) while cutting peak VRAM by 34% (from 32.8 GB down to 21.7 GB).
- Unlocking Consumer Hardware: That memory drop allows 1K streaming on a desktop 24 GB RTX 4090 (7.04 FPS) and 2K streaming on 48 GB GPUs—scenarios where standard Ultra Flash crashes out of memory.
- Perceptual Quality: In human user studies measured in Just-Objectionable-Differences (JOD), Balanced scored +0.03 JOD relative to full Ultra Flash (statistically indistinguishable), whereas a speed-matched uniform baseline plummeted to -2.45 JOD. On local gaze-crop visual quality (MUSIQ), Balanced beat the uniform baseline by 11.72 points (56.21 vs. 44.49).
Limitations and Future Work
- Simulated vs. Live Gaze: Moving-gaze benchmarks relied on simulated trajectories, and the human study required central fixation for controlled comparison. Validating Pegas with live VR/AR eye-tracking during natural free-viewing remains an open step.
- Frame Rate Ceiling: Sequential execution currently tops out around 8 FPS on an L40S. Hitting native headset refresh rates will require higher throughput—potentially by running pipeline stages concurrently across multiple GPUs, which would also shrink the commit horizon.
- Content Shifts: Modifying denoising steps and KV memory can subtly alter generated scene content, and systematic evaluation of strict text-prompt alignment remains future work.
Summary updated