TL;DR
Copy-Transform-Paste is a zero-shot, test-time optimization framework that aligns two 3D meshes based on a short text prompt (e.g., "Pinocchio wearing a hat"). By combining vision-language gradients from CLIP with physics-inspired geometric constraints like fractional soft-ICP and penetration losses, it achieves semantically accurate and physically plausible 3D compositions without requiring any training data.
What Problem Does This Paper Address?
Everyday 3D tasks like placing a cup on a saucer, putting a lid on a pot, or topping a sundae with a cherry require arranging one object relative to another. In computer vision, this is known as Object-Object Alignment (OOA).
To automate this, systems need to understand both the semantics of the request (where does a hat go on a character?) and the physical constraints of the real world (objects shouldn't float or clip through each other).
While human-object interaction benefits from rich datasets, 3D object-object interaction data is incredibly scarce. Existing methods either rely purely on geometry (which lacks semantic awareness) or try to train models using 2D diffusion priors, which can be unstable and data-hungry. This paper introduces a zero-shot approach that bypasses training entirely, optimizing the alignment directly at test time.
Methods
The authors propose a test-time optimization pipeline that adjusts the translation, rotation, and isotropic scale of a "source" mesh relative to a "target" mesh.
Key components of the methodology include:
- Differentiable Rendering + CLIP Guidance: The framework renders multiple 2D views of the combined meshes. It passes these images and the text prompt through a pretrained CLIP model, optimizing the 3D pose parameters by maximizing the cosine similarity between the text and image embeddings.
- Fractional Soft-ICP: Standard Iterative Closest Point (ICP) algorithms try to align entire shapes. For OOA, objects only touch at specific contact patches. The authors introduce a fractional variant that computes probabilistic soft correspondences only for the closest $r$-fraction of vertices, ensuring tight surface attachment without distorting the global alignment.
- Penetration Loss: To prevent objects from unrealistically intersecting, a signed-depth penalty discourages the source mesh from intruding into the target mesh.
- Phased Scheduling & Camera Control: Optimization is broken into distinct phases. Early phases allow objects to pass through one another to explore candidate regions based on text guidance. Later phases ramp up the geometric and penetration penalties to lock the objects into place. Simultaneously, the rendering cameras progressively zoom in on the interaction zone to provide sharper semantic gradients.
- LLM-in-the-Loop: At test time, a Large Language Model (LLM) reads the prompt to automatically infer hyperparameters, such as the initial scale ratio, the contact fraction $r$, and whether penetration should be permitted (e.g., "a knife cutting a steak").
Datasets
Because standard benchmarks for language-conditioned object alignment are severely limited, the authors curated a new benchmark consisting of 50 diverse mesh-pair and text-prompt cases. The benchmark spans various categories and spatial relations to establish a standardized evaluation protocol for OOA. They also evaluated the LLM's hyperparameter selection accuracy on a separate held-out set of 61 object-pair instances.
Key Insights and Ideas
- Semantics and Geometry are Symbiotic: Vision-language models like CLIP are excellent at macro-level spatial reasoning but completely blind to physical boundaries, often leaving objects floating or intersecting. Coupling CLIP with fractional ICP and penetration losses bridges the gap between semantic intent and physical reality.
- Ramping Constraints Prevents Local Minima: If physical constraints (like penetration penalties) are enforced too strictly from step one, the optimization gets stuck. Letting objects "ghost" through each other early on allows them to find the correct semantic orientation before settling into a physically valid contact patch.
- LLMs as Common-Sense Oracles: Tuning geometric hyperparameters per object pair is tedious. Leveraging an LLM's semantic understanding to guess real-world scale ratios and physical behaviors makes the entire pipeline robustly zero-shot.
Key Results
The framework was evaluated against several geometric and LLM-based baselines (including Shrinkwrap, SceneTeller, and SceneMotifCoder):
- Quantitative Performance: The method achieved the highest semantic alignment scores across three different vision-language encoders (CLIP, ALIGN, and SigLIP) while maintaining a highly competitive, low intersection volume.
- User Study: In a study with 47 participants across 15 instances, the proposed method was overwhelmingly preferred. It won 85.24% of votes for best matching the textual description and 79.65% of votes for being the most physically plausible.
Limitations and Future Work
Despite its success, the authors note a few remaining challenges:
- Penetration Residuals: Minor interpenetrations can still occur in complex meshes, sometimes requiring multiple random restarts to resolve.
- Viewpoint-Sensitive Predicates: Prompts containing relative terms like "left of" or "behind" can become unstable because the lateral frame of reference shifts as the rendering cameras rotate.
- Extreme Scale Disparities: If one object is massive and the other is tiny, the smaller object can occupy a negligible fraction of the rendered image, diluting CLIP's gradients.
Future directions include exploring stronger vision-language models, enforcing stricter multi-view consistency, and incorporating explicit physics-based reasoning.
Summary updated