TL;DR
STGV (Spatio-Temporal Hash Encoding for Gaussian-based Video Representation) advances video modeling by explicitly decoupling static and dynamic video components using a novel combination of 2D spatial and 3D temporal hash encodings. Combined with a keyframe-based initialization strategy, it eliminates feature overlap and motion blur in the canonical space, delivering state-of-the-art reconstruction quality (+0.98 dB PSNR on the UVG dataset) alongside real-time decoding speeds of up to 625 FPS.
What Problem Does This Paper Address?
Representing videos efficiently and with high fidelity is a long-standing challenge in computer vision. Recently, 2D Gaussian Splatting (2DGS) has emerged as a powerful alternative to Implicit Neural Representations (INRs), offering faster rendering by deforming a set of base ("canonical") 2D Gaussian primitives across time.
However, existing 2DGS video methods struggle to accurately model the distinct properties of static backgrounds and dynamic foregrounds. They typically fall into two traps:
- Content-agnostic embeddings: Methods using standard positional encodings treat static backgrounds and moving objects identically, failing to capture complex motion boundaries.
- Spatio-temporal feature overlapping: Methods that decompose video features into three explicit 2D planes ($xy$, $xt$, $yt$) suffer from feature collisions. When different Gaussian primitives share overlapping coordinates on these projection planes, their features entangle, leading to blurry reconstructions and ghosting artifacts.
Furthermore, current frameworks initialize their canonical space by averaging features across multiple frames. Because objects move, this multi-frame supervision bakes motion blur directly into the initial geometry, forcing the downstream deformation network to correct for structural inconsistencies rather than learning true motion patterns.
Methods
STGV solves these issues through two core contributions integrated into a Group of Pictures (GoP) training pipeline:
1. Spatio-Temporal Hash Encoding
Instead of tri-plane projections or simple positional encodings, STGV utilizes a decoupled multiresolution hash encoding framework:
- 2D Spatial Hash Encoder ($G_{2D}$): Maps spatial coordinates $(x, y)$ to retain sharp, consistent background details across the timeline.
- 3D Temporal Hash Encoder ($G_{3D}$): Maps spatio-temporal coordinates $(x, y, t)$ to capture complex, time-varying motion patterns.
By separating the spatial and temporal dimensions into distinct 2D and 3D hash tables, the network drastically reduces feature collisions for overlapping coordinates. A dual-head deformation decoder then ingests these concatenated features (alongside a timestamp positional encoding regularizer) to predict frame-specific coordinate displacements ($\Delta\mu$) and color changes ($\Delta c$).
2. Key Frame Canonical Initialization (KFCI)
To establish a clean, structurally coherent base geometry, STGV abandons multi-frame initialization. Instead, it performs a brief coarse training stage using only the first frame of each GoP. This ensures the canonical space is sharp and free of motion-induced blur, providing a pristine reference geometry for the deformation network to build upon.
Datasets
The authors evaluated STGV on three widely recognized video benchmarks:
- UVG: High-framerate 4K sequences (subsampled by $4\times$ and resized to 720p for experiments).
- DAVIS: A benchmark for video object segmentation, from which six representative video sequences were selected and resized to 720p.
- Bunny: A standard animation sequence, center-cropped and resized to $640\times1280$.
Key Insights and Ideas
- Baking blur ruins deformation learning: Initializing a canonical space with multiple frames forces the deformation field to spend its capacity "undoing" the averaged blur of the background. Initializing from a single keyframe allows the deformation field to focus entirely on actual dynamic motion.
- Dimensional separation prevents collision: Decomposing features into explicit 2D and 3D hash spaces—rather than projecting everything onto 2D planes—naturally segregates static spatial features from dynamic trajectories, preventing the feature corruption that degrades standard explicit methods.
Key Results
STGV achieves a superior balance of visual quality, training efficiency, and rendering speed:
- Reconstruction Quality: Outperforms previous Gaussian-based video representations, delivering a +0.98 dB PSNR increase on the UVG dataset and a +0.27 dB PSNR increase on the DAVIS dataset compared to the closest competitor (D2GV).
- Decoding Speed: Achieves highly efficient real-time rendering, reaching up to 625 FPS on the Bunny dataset and 460 FPS on UVG.
- Downstream Tasks: Demonstrates strong performance in video compression (favorable rate-distortion trade-offs), video inpainting (cleaner boundary restoration without artifacts), and spatial interpolation (high-fidelity super-resolution without retraining).
Limitations and Future Work
Despite its strong performance, the authors note two primary limitations:
- High-Frequency Noise Overfitting: The inherent high-frequency bias of multiresolution hash encodings makes the model susceptible to overfitting to transient noise patterns in corrupted videos. Future work will explore incorporating smoothness regularization losses to mitigate this.
- Rigid Keyframe Selection: Currently, STGV strictly selects the first frame of each GoP as its canonical anchor. If that frame contains unrepresentative or heavily occluded content, performance can suffer. Developing an adaptive keyframe selection mechanism remains an open problem.
Summary updated