From Dense Prediction to Visual Editing: Structured Supervision for Unified Image and Video Creation

Zhefan Rao, Bin Zou, Xuanhua He, Chong Hou Choi, Yanheng Li, Rui Liu, Haoxuan Che, Qifeng ChenarXiv 2026

TL;DR

This paper introduces a unified image and video creation framework that leverages dense prediction tasks (like depth and surface normals) as structured visual supervision to dramatically improve editing precision and temporal consistency. By formulating geometric prediction as standard image-form denoising targets within a shared Multimodal Diffusion Transformer (MMDiT), the model learns spatial layout and boundaries without requiring any extra inference-time modules. The resulting system achieves state-of-the-art performance across unified generation and editing benchmarks, proving that teaching a model how to see helps it how to edit.

What Problem Does This Paper Address?

Unified visual creation models are designed to handle a massive variety of tasks—from text-to-video generation to instruction-based editing—all within a single checkpoint. However, these models frequently suffer from a lack of precise control. When you ask them to edit a specific object in a video, they often modify unedited regions, distort scene geometry, or introduce temporal flickering.

The root cause is that standard models rely heavily on lossy, high-level semantic conditioning (like text prompts or abstract visual tokens) which discard pixel-aligned geometric details like object boundaries, occlusions, and surface orientations. While existing editors try to patch this during inference using attention manipulation or feature propagation, the underlying model backbone is rarely trained to understand the dense spatial structure it is supposed to preserve.

Methods

The authors tackle this by treating perception tasks as a form of regularized supervision for generation.

  1. Unified Task Formulation & Decoupled Conditioning: The framework casts all generation, editing, and perception tasks as conditional denoising in a single latent space using a shared MMDiT backbone. Crucially, it decouples semantic intent from visual evidence. A semantic pathway processes text and reference images into high-level tokens, while a visual pathway injects spatially aligned VAE latents directly into the transformer blocks, avoiding a lossy bottleneck.
Fig. 1. Unified visual creation framework. The semantic pathway encodes instruction intent and cross-modal relations, while the visual pathway preserves spatial evidence from sources, references, and controls. Noisy target tokens, clean condition tokens, and their role identifiers are processed by one shared MMDiT. Creation outputs and depth/normal structured-supervision targets use the same target slots and denoising objective.
  1. Dense Prediction as Supervision: During training, the model is tasked with predicting normalized depth maps and surface normals formatted as standard three-channel images. Because these are expressed as denoising targets, they use the exact same parameters and loss function as standard image synthesis. No task-specific output heads are added, and these tasks are completely omitted during inference.
  2. Mutual Context Attention (MCA): To generate high-quality training pairs for video editing, the authors introduce MCA. This mechanism couples two denoising branches (source and target) during generation, sharing key/value contexts at specific layers and timesteps to lock down coarse layout and motion while allowing the target branch to execute the requested edit.
  3. Unified Progressive Curriculum: Training happens in three stages to avoid disrupting pretrained synthesis priors: first aligning conditions, then introducing instruction editing mixed with dense prediction, and finally scaling up to complex reference-conditioned creation.

Datasets

The model was trained and evaluated using a mix of standard datasets and a newly introduced corpus:

  • InsEdit Data (New): A dataset of approximately 300K source-target-instruction video triples generated via the automated MCA pipeline. It covers categories like object insertion/removal, background replacement, and viewpoint changes, specifically capturing edits that start or end mid-clip.
  • Evaluation Benchmarks: The unified model was evaluated on OpenVE-Eval (subject-to-video), GEdit (image editing), OpenVE-Bench, and a newly curated InsEdit-Bench containing 82 manually verified video editing cases across 13 categories.
Fig. 4. MCA-generated editing pairs. Examples include edits whose onset occurs after the first frame or only within an intermediate interval, while unchanged content remains aligned.

Key Insights and Ideas

  • Perception as a Generative Regularizer: Traditionally, researchers use generative models to improve perception features. This paper flips the script, showing that forcing a generative model to predict geometry acts as an excellent regularizer, teaching it the structural boundaries necessary for localized editing.
  • Zero Inference Overhead: Because geometry prediction is baked into the shared denoising weights as an alternate task, the model gains structural awareness without needing heavy auxiliary networks (like ControlNet) or extra attention-conflation steps at inference time.
  • Fixing the First-Frame Bias: Most video editing datasets apply an edit to the first frame and propagate it forward. The paper's MCA pipeline allows edits to naturally emerge and disappear anywhere in the video timeline, creating a much more robust training signal for temporal localization.

Key Results

The unified checkpoint achieved an overall score of 4.15 (on a 0–5 scale judged by Qwen3-VL-32B), outperforming unified baselines like VINO (4.12) and UniVideo (4.03).

A controlled ablation study isolated the impact of the dense prediction tasks:

  • Adding dense supervision raised the OpenVE Overall editing score from 3.98 to 4.06.
  • The largest absolute gains were seen in structure-sensitive metrics: Local Add jumped from 3.92 to 4.18, and Local Change improved from 3.89 to 4.11.
  • On dedicated video editing benchmarks, the specialized editing variant (InsEdit) achieved a top score of 4.43 on OpenVE-Bench and 4.61 on InsEdit-Bench, while maintaining a low latency of 1.95 minutes per 81-frame video.

Limitations and Future Work

While the results are compelling, the authors note several boundaries:

  • Resolution Limits: Training and video evaluations were restricted to 480p, leaving performance at higher resolutions unverified.
  • No SOTA Claims for Perception: The model is not meant to compete with standalone depth estimators; its geometric outputs are purely a means to an end for better generation.
  • Long-Video Challenges: The model still exhibits identity drift in longer video sequences and struggles with fine-grained precision on very small objects.
  • Future Directions: The authors suggest expanding the structured supervision mixture to include optical flow and semantic segmentation targets.

Summary updated

BibTeX
@misc{rao2026from,
  author = {Zhefan Rao and Bin Zou and Xuanhua He and Chong Hou Choi and Yanheng Li and Rui Liu and Haoxuan Che and Qifeng Chen},
  title = {{From Dense Prediction to Visual Editing: Structured Supervision for Unified Image and Video Creation}},
  year = {2026},
  eprint = {2608.14740},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.14740},
}
Figure