TL;DR
PISCO is a novel video diffusion framework that enables precise object insertion into existing videos using only sparse user controls, such as a single keyframe or start-and-end frames. By introducing dedicated mechanisms to handle sparse conditioning without breaking pretrained video autoencoders, PISCO automatically propagates object appearance, motion, and physical interactions (like shadows and occlusions) while strictly preserving the original background.
What Problem Does This Paper Address?
In AI-assisted filmmaking and post-production, inserting a specific object into an existing video clip—known as video instance insertion—is a highly demanding task. Traditional video inpainting methods require dense, per-frame segmentation masks, which are incredibly tedious for users to draw manually. On the other hand, modern image-to-video (I2V) models can animate a single edited frame but suffer from "background hallucination," where unedited parts of the background drift and change over time.
Furthermore, simply masking out missing frames in pixel space introduces a severe distribution shift for pretrained temporal video Variational Autoencoders (VAEs). This mismatch typically results in severe flickering, miscoloring, and incomplete rendering of the inserted object. PISCO tackles these challenges, aiming for precise spatial-temporal placement, realistic scene interactions (shadows, reflections), and background preservation under minimal user effort.
Methods
PISCO builds upon the Wan video diffusion backbone and introduces a multi-channel context adapter alongside three core technical components:
- Variable-Information Guidance (VIG): A dynamic contextual dropout strategy used during training. By randomly sampling the density of available frames, VIG trains the model to handle everything from a single sparse keyframe to dense per-frame supervision.
- Distribution-Preserving Temporal Masking (DPTM): To prevent VAE distribution shifts, PISCO performs pixel-space nearest-frame interpolation to create a temporally complete clip with natural video statistics. It then applies token-space masking in the latent space so the model can distinguish real user inputs from interpolated fillers. An availability channel aligned to token resolution is also introduced to preserve fine-grained observability patterns.
- Geometry- and Appearance-Robust Training:
- Depth-aware conditioning: The model is conditioned on both background depth and instance depth to resolve scale and occlusion ambiguities.
- Amodal instance augmentation: The authors train a frame-wise completion model to reconstruct complete "pseudo-amodal" instances from occluded inputs, forcing the diffusion model to learn proper layer compositing logic.
- Instance relighting augmentation: Training data is augmented with relighted instances (via IC-Light) to ensure the inserted object adapts naturally to the target scene's illumination.
Datasets
The model was trained on 16,642 video clips curated from real-world datasets including ROSE, VPData, MOSE, and DAVIS. Paired clean backgrounds were generated using a side-effect-aware instance removal model.
For evaluation, the authors introduced PISCO-Bench, a curated benchmark built on top of the BURST dataset. It consists of 100 videos spanning diverse real-world scenarios (urban driving, movie clips, wild internet videos) with manually verified instance annotations and paired clean background videos.
Key Insights and Ideas
- The VAE Bottleneck in Sparse Control: A major "aha moment" is that naive pixel-space masking destroys the temporal consistency of pretrained video VAEs. Decoupling distribution preservation (via pixel-space interpolation) from information masking (via token-space latents) is essential for stable generation.
- Monotonic Scalability: PISCO demonstrates a clear, monotonic improvement in performance as more control signals are added (e.g., moving from First-Frame to First & Last-Frame, and up to a Five-Frame setting). This makes the tool highly predictable for professional workflows.
- Amodal Learning for Occlusion: Supplying the model with artificially completed objects during training teaches it how to cut off and occlude objects naturally based on scene depth, rather than generating fragmented objects.
Key Results
PISCO was evaluated against strong baselines including agentic pipelines (Nano-banana-Pro + Wan2.2), video inpainting (CoCoCo, VideoPainter), and video-to-video editing (VACE, UniVideo).
- Quantitative Performance: On PISCO-Bench, PISCO-14B (using First & Last frame control) significantly outperformed the closest baseline (VACE), reducing the whole-video Fréchet Video Distance (FVD) from 371 to 204, and improving the Foreground FVD to 138.
- Perceptual Quality: In VBench evaluations, PISCO-14B achieved a Subject Consistency score of 91.57, proving it maintains object identity and appearance far more faithfully over time than competing methods.
- Qualitative Excellence: PISCO successfully generates realistic secondary physical effects, such as correct depth ordering behind obstacles and accurate shadow casting on the ground.
Limitations and Future Work
While PISCO excels at propagating motion, the authors note that under strict first-frame-only control, the object's trajectory can occasionally drift over long sequences due to spatial ambiguity. This is easily resolved by providing a closing keyframe (First & Last control).
Beyond simple insertion, the authors demonstrated that PISCO's underlying machinery can naturally generalize to broader applications such as background replacement, instance repositioning/rescaling, speed modification, and generating counterfactual trajectories for autonomous driving simulations. Future work will likely focus on expanding these broader editing capabilities.
Summary updated