Abstract
Diffusion models have revolutionized text-driven video editing. However, applying these methods to real-world editing encounters two significant challenges: (1) the rapid increase in GPU memory demand as the number of frames grows, and (2) the inter-frame inconsistency in edited videos. To this end, we propose NVEdit, a novel text-driven video editing framework designed to mitigate memory overhead and improve consistent editing for real-world long videos. Specifically, we construct a neural video field, powered by tri-plane and sparse grid, to enable encoding long videos with hundreds of frames in a memory-efficient manner. Next, we update the video field through off-the-shelf Text-to-Image (T2I) models to impart text-driven editing effects. A progressive optimization strategy is developed to preserve original temporal priors. Importantly, both the neural video field and T2I model are adaptable and replaceable, thus inspiring future research. Experiments demonstrate the ability of our approach to edit hundreds of frames with impressive inter-frame consistency.
Introduction
Text-to-video editing currently faces a "Goldilocks" problem. On one hand, diffusion-based methods often require loading multiple frames into GPU memory simultaneously to maintain consistency. As video length increases, memory demands explode, creating a "Memory Wall" that makes long-form editing impossible on consumer hardware. On the other hand, Text-to-Image (T2I) models lack temporal awareness. If frames are edited individually, the resulting video suffers from a "Consistency Gap," characterized by flickering or texture crawling because the model makes slightly different creative choices for every frame.
Existing solutions like video atlases, which map pixels to a 2D canonical image, struggle with complex motions or viewpoint changes. NVEdit addresses these issues by leveraging a continuous neural representation that is both memory-efficient and temporally robust.
The NVEdit Framework
The core of NVEdit is the Neural Video Field (NVF), a hybrid representation that combines explicit and implicit components. The video is encoded using tri-planes (three 2D feature maps) and sparse grids (3D parameter blocks). A small Multi-Layer Perceptron (MLP) decodes these features into RGB values for any given $(x, y, t)$ coordinate.
As shown in the figure above, the framework operates in two distinct stages:
- Stage 1: Video Fitting: The NVF is first trained to reconstruct the original video. This allows the model to learn the specific motion and temporal priors of the scene, effectively "anchoring" the representation to the original footage.
- Stage 2: Field Editing: The trained NVF is updated using a T2I model, specifically InstructPix2Pix (IP2P). In each iteration, the NVF renders a frame, the T2I model edits it based on a text prompt, and the NVF is optimized to match this edited version.
To prevent the model from losing the original motion during editing, NVEdit employs a Progressive Optimization strategy. This "weak-to-strong" approach starts with low text-guidance intensity and gradually increases it, ensuring the new textures adhere to the original temporal structure. Additionally, the authors introduced Instruct-Pix2Pix+ (IP2P+), which uses an auxiliary mask derived from internal noise predictions to restrict edits to relevant regions, preventing unnecessary background alterations.
Key Insights and Innovations
- Constant Memory Complexity: Because the T2I model only needs to process one rendered frame at a time to update the field, the GPU memory requirement remains constant regardless of video length. This allows NVEdit to process sequences of 600+ frames where other methods would fail.
- The Field as a Consistency Anchor: By optimizing the parameters of a continuous field rather than individual pixels, the model naturally enforces temporal smoothness. If the field is spatially and temporally smooth, the rendered video will be as well.
- Implicit Interpolation: Since the NVF represents the video as a continuous function of time ($t$), it can perform frame interpolation (super-slomo) or super-resolution without additional training.
Experimental Results
NVEdit was evaluated using high-definition sequences from UVG-HD, DAVIS, and various in-the-wild clips. The framework demonstrated superior performance in both qualitative and quantitative metrics.
As illustrated in the results above, NVEdit successfully handles diverse prompts—from stylistic changes like "watercolor painting" to structural transformations like turning a wolf into a brown bear. Quantitatively, NVEdit achieved the highest Temporal Consistency (Tem-Con) scores compared to state-of-the-art methods like TokenFlow and CoDeF. In subjective user studies, volunteers consistently preferred NVEdit for its superior edit quality and visual stability.
Conclusion
NVEdit provides a scalable and consistent solution for long-form video editing. By shifting the editing target from discrete frames to a continuous neural field, it bypasses the memory limitations of current diffusion models while maintaining high visual fidelity. While the iterative optimization process currently prevents real-time application, the modular nature of the framework allows for future integration with faster T2I models and more efficient field architectures.
Summary updated