TL;DR
GaVS introduces a novel 3D perspective to video stabilization by treating it as a temporally consistent "local reconstruction and rendering" task using 3D Gaussian Splatting (3DGS). By combining a feed-forward primitive prediction network with test-time optimization and scene extrapolation, it delivers full-frame, distortion-free stabilized videos even in highly dynamic scenes.
What Problem Does This Paper Address?
Traditional video stabilization approaches typically operate in the 2D domain (using homographies or mesh warps) or the 2.5D domain (using depth maps). While these methods remove shakiness, they frequently introduce unpleasant geometric distortions or require aggressive frame cropping, which discards valuable visual content.
Explicit 3D modeling could theoretically solve these issues, but existing 3D or 4D global reconstruction methods are computationally expensive, slow, and highly fragile when dealing with dynamic objects (e.g., moving people, vehicles, or fluids). The authors tackle this dilemma by asking: Can we achieve high-fidelity, full-frame 3D video stabilization efficiently without full global scene optimization?
Methods
GaVS reformulates video stabilization as a frame-by-frame local reconstruction problem. The pipeline consists of two main phases:
- Scene Extrapolation: To prevent frame cropping, the input unstable frames are first expanded using a video completion model (ProPainter). This ensures that the local 3D models have enough content to render full frames from adjusted camera angles.
- Local 3DGS Prediction & Test-Time Finetuning: Instead of optimizing a single global 3D scene, a feed-forward network predicts 3D Gaussian Splatting primitives for each frame individually. To ensure these independent snapshots are temporally consistent, the network's decoder undergoes a rapid test-time optimization on the target video using two novel mechanisms:
- Multi-View Dynamics-Aware Photometric Supervision: Primitives from a source frame are rendered from the viewpoints of neighboring frames and supervised with a photometric loss. To handle moving objects that violate standard 3D epipolar geometry, a flow-based compensation mechanism decouples rigid camera motion from dynamic object motion.
- Dilated Reconstruction Regularization: This module enforces geometric similarity between adjacent frames' 3D primitives across a progressively widening temporal window (dilation) during optimization.
Finally, stabilized frames are rendered from these consistent local reconstructions along a smoothed camera trajectory.
Datasets
The authors evaluated their method by repurposing the gyro-based video stabilization dataset from Shi et al. [2022] (originally used for DeepFused). They curated 15 diverse video sequences covering a wide range of camera movements and scene dynamics, categorized into three distinct subsets:
- Mild: Static scenes with minor shakiness.
- Intense: Static scenes with severe camera motion.
- Dynamics: Challenging scenes containing prominent moving objects (e.g., dancing, flowing water).
Key Insights and Ideas
- Global Reconstruction is Overkill: Because unstable and stabilized camera poses are spatially very close, globally reconstructing an entire 3D video sequence is unnecessary. Local, frame-by-frame 3D snapshots are sufficient and much more robust.
- Implicit Dynamics via Per-Frame Primitives: Predicting 3DGS primitives on a per-frame basis naturally unifies static and dynamic scene parts. It implicitly captures complex non-rigid motions (like a person dancing) without needing explicit, brittle 4D deformation fields.
- The Power of Compact Parameterization: Test-time optimization takes only a few minutes because updating the neural network weights simultaneously regularizes similar image patches across neighboring frames, making the adaptation highly efficient.
Key Results
- Superior Geometry Consistency: GaVS significantly outperformed full-frame baselines (like FuSta and MetaStab) and cropping baselines (like Deep3D) on both Sparse and Dense Geometry Consistency metrics (GC-S and GC-D), effectively eliminating wobbling and shearing artifacts.
- No Content Loss: GaVS achieved a perfect 1.0 cropping ratio across all test scenes, preserving the original field of view entirely.
- Massive Computational Speedup: Compared to state-of-the-art global 4D reconstruction methods (such as Shape-of-Motion), GaVS achieved a 12× speedup in preprocessing and a 20× speedup in optimization, making 3D-grounded stabilization far more practical.
- User Preference: In a user study with 28 participants, GaVS was preferred over 60% of the time against competing methods, particularly in complex dynamic scenarios.
Limitations and Future Work
- Reliance on Visual Odometry: The method requires accurate 3D camera poses from visual odometry (GLOMAP). It can fail in low-texture environments, low-light conditions, or selfie videos dominated by pure camera rotation.
- Open-Loop Trajectory Smoothing: Camera paths are smoothed independently of scene boundaries, which can occasionally lead to un-reconstructed black borders under extreme, sudden camera motions.
- Resolution Scaling: Predicting per-pixel Gaussian Splatting primitives scales poorly to higher resolutions (e.g., 4K), leading to high GPU memory demands. The authors suggest exploring hierarchical reconstructions or primitive pruning as future directions.
Summary updated