TL;DR
Ctrl&Shift is a novel diffusion-based framework that enables precise, geometry-aware object manipulation (like moving or rotating objects) in images and videos without requiring explicit 3D reconstruction at inference. By decomposing manipulation into a unified process of object removal and pose-controlled inpainting, it achieves state-of-the-art results in both geometric accuracy and visual realism.
The Challenge of Object Manipulation
In the world of visual effects and creative editing, "object manipulation"—the ability to pick up an object in a photo and move or rotate it—is a holy grail. Currently, researchers face a frustrating trade-off:
- Geometry-based methods (like NeRF or 3D Gaussian Splatting) offer surgical precision but require tedious per-scene optimization and often fail to generalize to "in-the-wild" images.
- Diffusion-based methods (like ControlNet or DragAnything) are incredibly flexible and generalize well to any image, but they lack fine-grained geometric control. If you ask them to rotate a mug, you might get a different-looking mug or a warped background.
The authors identify that the core issue is a lack of disentangled control. Existing models struggle to separate the object's identity, its 3D pose, and the surrounding background, leading to "identity drift" or messy artifacts when an object is moved.
Methods: The Ctrl&Shift Framework
The authors introduce Ctrl&Shift, which treats object manipulation as a two-stage problem solved within a single Diffusion Transformer (DiT) architecture.
1. Task Decomposition
Instead of trying to "move" an object in one go, the model learns to:
- Remove the object from its original spot (inpainting the background).
- Re-insert the object at a new location/orientation based on a reference image and a specific camera pose.
2. The 8D Relative Pose Descriptor
To give the model "3D eyes," the authors use an 8D relative pose descriptor. This encodes the change in yaw, pitch, distance, and screen-space shifts between the source and target views. Crucially, they use relative poses rather than absolute ones, making the system much more intuitive for "drag-and-drop" style interactions.
3. Multi-Task, Multi-Stage Training
To ensure the model doesn't get confused by all these signals (background, identity, pose, masks), the authors use a clever training strategy:
- Stage I (Geometric Priors): Pre-training on massive synthetic 3D data to teach the model how objects look from different angles.
- Stage II (Photorealism): Fine-tuning on high-quality real-world images and videos to ensure the results look natural.
- Multi-Tasking: The model is simultaneously trained on object removal, reference-guided inpainting, and full manipulation. This forces the model to learn exactly which input signal (e.g., the pose descriptor) controls which output feature (e.g., the object's orientation).
Datasets and Benchmarks
To train and evaluate Ctrl&Shift, the authors leveraged and created several datasets:
- Synthetic Dataset: ~2 million image pairs generated by rendering 100,000 3D meshes under randomized camera poses.
- Real-World Dataset: ~100,000 high-quality image and video pairs curated from Pexels, processed through a custom pipeline to estimate 3D poses.
- GeoEditBench: A newly introduced benchmark containing 346 carefully curated image pairs captured by photographers. It is designed specifically to evaluate geometry-aware editing, measuring how well models preserve background and object identity while following pose commands.
- ObjectMover-A: An existing benchmark used for zero-shot evaluation of object translation.
Key Insights
- Relative is Better than Absolute: Encoding camera changes relative to the input frame is more scalable than trying to define a "canonical" 3D pose for every possible object in the world.
- Mask Unshuffling: Standard VAEs can "smear" binary masks. The authors use a pixel-unshuffle operation to map masks directly to the latent grid, preserving sharp boundaries and preventing the model from confusing mask data with RGB colors.
- Freezing the Backbone: During Stage II fine-tuning, they freeze the main DiT backbone and only update the control branch. This prevents the model from "forgetting" the broad geometric knowledge it learned in Stage I while it learns to handle complex real-world backgrounds.
Key Results
Ctrl&Shift sets a new bar for controllable editing:
- Quantitative: On the new GeoEditBench, it achieved a Pose MAPE of 17.70% (lower is better), significantly beating the next best model (24.36%). It also led in Object IoU (0.83), showing it places objects much more accurately.
- Qualitative: The model can handle extreme rotations (e.g., turning a car 90 degrees) and large translations while keeping the background perfectly intact—a feat that causes most other diffusion editors to hallucinate or warp.
- Zero-Shot Performance: On the ObjectMover-A benchmark, it outperformed existing methods in PSNR and DINO scores without any specific training on that dataset.
Limitations and Future Work
While highly capable, the framework has a few limitations:
- Practical Usability: While the 8D descriptor is powerful, manually typing in yaw and pitch values isn't user-friendly. Future work aims to map intuitive mouse "drags" directly to these descriptors.
- Physical Realism: The model doesn't explicitly calculate lighting or reflections. While it "learns" to add shadows from data, it can still struggle with physically correct reflections on transparent or highly metallic surfaces.
- Rigid Body Assumption: The current pipeline relies on 3D mesh reconstruction, which assumes objects are rigid. It currently struggles with non-rigid items like flowing cloth, hair, or smoke.
Summary updated