TL;DR
Autoregressive video generation models suffer from massive memory bottlenecks due to an ever-growing Key-Value (KV) cache. Instead of discarding historical tokens—which causes severe temporal flickering and identity loss—this paper introduces ISPA, a method that mathematically "absorbs" historical context directly into the model's weights during a brief warmup phase, cutting the KV cache by up to 50% with virtually no loss in visual quality.
What Problem Does This Paper Address?
Generating long, coherent videos is incredibly computationally expensive. To make it feasible, state-of-the-art models use an Autoregressive (AR) streaming approach, breaking the video into consecutive chunks and generating them frame-by-frame. To keep the video consistent over time, the model relies on a Key-Value (KV) cache to remember past frames.
However, this cache grows linearly as the video unfolds, quickly overloading GPU memory and slowing down inference speeds. While Large Language Models (LLMs) can easily drop old or redundant tokens from their cache to save memory, doing so in video generation is catastrophic. Discarding visual history breaks long-range dependencies, leading to background flickering, structural distortions, and "temporal amnesia" (e.g., a character's face or identity morphing mid-video).
Methods
The authors propose Instance-Specific Parametric Absorption (ISPA), shifting the KV cache reduction strategy from discarding tokens to distilling them directly into the model's parameters.
As shown in Figure 1, the ISPA framework operates in three distinct phases:
- Dual-Stream Warmup: For the first few frames ($T_{warm} = 12$), the model runs normally using Full-Attention Layers (F-Layers). Crucially, the authors design a Decomposable Attention mechanism. By leveraging the Log-Sum-Exp (LSE) states already tracked by hardware-optimized kernels like FlashAttention, they can simultaneously extract both global attention outputs ($A_{full}$) and local attention outputs ($A_{loc}$) during a single forward pass with less than 1% computational overhead.
- Layer Absorb: At the transition frame, the difference between full and local attention is treated as a reconstruction problem. ISPA solves a closed-form, non-iterative least-squares problem to compute an instance-specific weight modulation ($\Delta W$) for the output projection layer. Layers are ranked by their reconstruction error, and the top $K$ "absorbable" layers are selected.
- Memory-Efficient Inference: The selected $K$ layers permanently evict their historical KV caches and transition into Local-Attention Layers (L-Layers). They use the updated weights ($W + \Delta W$) to emulate the long-range history using only local frames, effectively internalizing the external memory.
Datasets
The method was evaluated using the VBench-Long benchmark (covering both 5-second and 30-second long-form video generation horizons). To further challenge the models, the authors incorporated complex, full-length text prompts from MovieGen.
ISPA was validated across four distinct autoregressive model architectures:
- LongLive (1.3B parameters, text-to-video)
- Reward-Forcing (1.3B parameters, text-to-video)
- Krea-Realtime (14B parameters, text-to-video)
- LiveAvatar (speech-to-video talking-head synthesis)
Key Insights and Ideas
- Parametric Memory Consolidation: Instead of treating the KV cache as an external memory bank to be pruned, ISPA treats it as a source of stable contextual bias that can be analytically absorbed into the model's linear weights via test-time adaptation.
- Test-Time Structural Elasticity: Not all layers in a video transformer behave the same way. Some layers handle highly dynamic, nonlinear temporal interactions and must remain Full-Attention layers. Others handle more stable, global context that is easily compressed linearly. ISPA dynamically discovers which layers are "absorbable" on a per-instance basis.
- Quantization Synergy: Because the closed-form reconstruction preserves the model's original activation distributions, ISPA is highly compatible with Post-Training Quantization (PTQ), allowing memory savings and quantization to compound for even greater speedups.
Key Results
- Cache & Memory Reduction: ISPA successfully removes up to 50% of the KV cache. On the large 14B Krea-Realtime model, this translated to a massive 23.7 GB reduction in peak GPU memory, making long video generation possible on consumer-grade hardware.
- Near-Lossless Quality: Across all architectures, ISPA maintained near-lossless (<1% deviation) quality across VBench metrics like semantic alignment, subject consistency, and motion smoothness.
- Significant Speedups: ISPA achieves a 1.35× standalone inference speedup. When combined with W8A8 quantization, it reaches an aggregate 1.86× speedup.
- Versatility: Beyond text-to-video, integrating ISPA into the LiveAvatar speech-to-video model successfully preserved fine-grained facial expressions and precise lip-syncing (visemes) across hundreds of frames.
Limitations and Future Work
While ISPA demonstrates excellent performance, it relies on a linear approximation (modifying the linear projection layer) to absorb context. As a result, it cannot compress 100% of the layers without quality degradation, as some complex temporal interactions are inherently nonlinear.
Additionally, while the authors note that the warmup-to-absorption pipeline can be re-triggered when a video undergoes a massive scene transition, the paper does not deeply explore automated, real-time trigger mechanisms for these distribution shifts. The authors hope this work inspires the community to look beyond external token-level management and further explore parametric memory consolidation for streaming generative models.
Summary updated