Manuscript Offprint
arXiv:2610.40453PhysInsert: Physically Plausible Object Insertion with Geometric Priors and Bidirectional Object-Scene Interactions
Abstract
We present PhysInsert, a framework for physically plausible reference-based object insertion that jointly adapts objects and their surrounding scenes. Existing methods often rely on masked inputs, generation-based pairs, or training pairs with limited viewpoint variation, leaving pose and illumination adaptation and bidirectional object–scene interactions insufficiently constrained. We construct the Insert World dataset with strictly aligned Blender-rendered counterfactual pairs and object references across viewpoints and lighting conditions. Building on these data, Geometry-Guided Adaptation couples a VGGT geometry stream with image and text streams under target-scene feature supervision to guide spatially consistent insertion. Complementary 2D Object–Scene Spatial Supervision jointly supervises object occupancy and environmental changes while grounding spatial instructions in object regions through image–text attention. We introduce PhysInsert-Bench with dedicated cross-environment and cross-view cases requiring illumination and pose adaptation beyond appearance copying. Experiments on PhysInsert-Bench and DreamBooth demonstrate improved image fidelity; A user study further show more accurate placement and improved lighting integration, perspective, and pose plausibility.
Project Page: https://arthuring.github.io/PhysInsert/
(a) Cross-environment

Reference object
Appearance only
Baseline
(b) Bidirectional interaction
Physically consistent
Ours

Reference object
Appearance only
Baseline
Physically consistent
Ours
(c) Cross-view

Reference object
Appearance only
Baseline
Physically consistent
Ours
322 Scenes
Strong Light
Mirrors
(d) InsertWorld Dataset Composition
Lowlight
Perspective
Colored Lighting
1,710 Objects
Deformable
Smooth
Transparent
Metal
Rigid
Rough
Emissive
12,951 Pairs
InsertWorld Dataset
Interaction
Lighting
Gest
Reflection
Occlusion
Shadow
Fitting
Illumination Adaptation
Hang
Figure 1 (a–c) PhysInsert simultaneously supports cross-environment adaptation, bidirectional object–scene interactions, and cross-view adaptation. (d) InsertWorld offers broad coverage of scenes, object properties, and interaction types.
This work was conducted during internship at MT Lab, Meitu Inc.
Corresponding authors: lt@meitu.com; liuyebin@tsinghua.edu.cn.
1 Introduction
Reference-based object insertion aims to integrate a specified object into a target scene while preserving its identity. Physically plausible insertion further requires geometric and optical consistency, with the object's perspective, pose, appearance, and effects on its surroundings all adapted to the target scene.
As illustrated in Figure 1, despite recent progress, three challenges remain in physically plausible object insertion. (a) Adaptation across environments. Existing methods (Chen et al., 2024a; Song et al., 2025; Tian et al., 2025) can insert objects into new scenes, but provide limited controlled supervision for adapting the same object across lighting environments. (b) Bidirectional object-scene interactions. Mask-and-fill methods (Gong et al., 2026; Yu et al., 2025) may adapt object illumination yet struggle to produce consistent scene changes; training pairs constructed through masking or generative editing (Chen et al., 2024a; Song et al., 2025) do not guarantee accurate supervision of shadows and reflections. Training examples with simplified backgrounds (Michel et al., 2023) also underrepresent complex occlusion, attachment, and spatial relationships with existing scene objects. (c) Adaptation across viewpoints. Even with consistent illumination, differing reference and target viewpoints still require perspective and pose adaptation; fixed-view training pairs (Yang et al., 2023; Wang et al., 2025b) offer limited supervision for this change. Reliance on mask or box guidance also limits fine-grained text control of placement and pose (Chen et al., 2024a; Gong et al., 2026). Methods relying primarily on 2D image supervision (Chen et al., 2024a; Song et al., 2025) lack direct constraints on object-scene geometry, making it difficult to guide adaptation to the target perspective and pose.
We propose PhysInsert, a framework combining counterfactual scene data, geometric priors, and spatial guidance for physically plausible object insertion.
To provide counterfactual supervision for object-scene adaptation, we construct InsertWorld from strictly aligned pairs rendered by changing only object presence in complete scenes, capturing both scene-dependent object appearance and object-induced environmental changes. Object references rendered across lighting environments and viewpoints support cross-environment and cross-view adaptation. Paired with spatial instructions, these examples support text-guided control of placement and complex interactions with existing scene objects.
To align object perspective and pose with the scene's 3D structure, Geometry-Guided Adaptation models post-insertion geometry as a supervised intermediate representation. Initialized from background VGGT features, a dedicated geometry stream evolves through joint attention with image and text tokens, with its feature readouts supervised against VGGT features of the with-object scene. The geometry stream remains active at inference to guide scene-consistent object adaptation.
To localize insertion-induced changes and ground spatial instructions in the image, we complement geometric adaptation with two forms of 2D supervision. Counterfactual Object–Scene Supervision uses object masks and aligned scene pairs to jointly supervise object occupancy and external effects. Soft-Mask Spatial Grounding aligns image–text attention with the object region to translate spatial instructions into placement control while retaining the full background input.
To evaluate scene adaptation beyond appearance copying, we construct PhysInsert-Bench with cases requiring illumination or pose adaptation and include text-guided and real-world evaluations.
Our main contributions are as follows:
• Dataset: InsertWorld combines strictly aligned counterfactual scene pairs, cross-view and cross-lighting object references, and spatial instructions to support learning object adaptation and complex object–scene interactions.
• Method: PhysInsert combines a background-initialized geometry stream supervised toward post-insertion scene features with 2D supervision, improving cross-environment and cross-view insertion and text-guided placement.
• Benchmark: PhysInsert-Bench tests illumination and pose adaptation beyond appearance copying through dedicated cross-environment, cross-view, and in-the-wild cases.
Reference-based Object Insertion. For supervision, ObjectDrop (Winter et al., 2024) and OmniPaint (Yu et al., 2025) use real counterfactual pairs, supplemented by generated bootstrapping or insertion-removal cycles. ObjectMate (Winter et al., 2025) and Insert-Anything (Song et al., 2025) construct backgrounds through learned editing, whose accuracy depends on the editor; PS-Diffusion (Wang et al., 2025b) uses rendered pairs. For control, mask-based methods (Yang et al., 2023; Chen et al., 2024a; Yu et al., 2025) discard background information within the editing region, while ObjectMate uses boxes, Insert-Anything also supports text guidance, and DIRECT (Gong et al., 2026) requires 3D proxy reconstruction and placement for pose control. For viewpoint adaptation, Paint by Example derives same-image references, PS-Diffusion retains the target viewpoint, and ObjectDrop preserves pasted-object pose and illumination; AnyDoor, Insert-Anything, and ObjectMate incorporate multiview data. PhysInsert combines controlled counterfactual rendering and diverse references with supervised geometry states, object-effect supervision, and spatial-text grounding.
3 InsertWorld Dataset
This section compares InsertWorld with existing datasets, describes its construction pipeline, and summarizes its statistics of training–test split.
(a) InsertWorld Construction Pipeline
1 Data Curation

2 Scene Augmentation
Scene Pairs
3 Object Augmentation
7 HDR Light Environment

Quality Check
VLM Caption
general Insert a apple in the plate.
spatial It is in front of a red apple.
12,951
Counterfactual Pairs

11Fix + 12 Random View-Point
Object Reference

1710x161 = 275,310
reference Object images
(b) PhysInsert-Bench Composition
400 Cases
20 Physical Tags
2 Major Category

Figure 2 Overview of InsertWorld construction and PhysInsert-Bench composition.
3.1 Comparison with Existing Datasets
Table 1 Comparison of object-insertion datasets.
| Dataset | CF | MV | ML | Ctrl. |
|---|---|---|---|---|
| AnyInsertion | ✕ | Partial | ✕ | Mask / Text |
| DIRECT | ✕ | ✓ | ✕ | Mask + pose |
| InsertWorld | ✓ | ✓ | ✓ | Text / Box |
CF: controlled counterfactual pairs; MV: multiview references; ML: multilight references; Ctrl.: control inputs.
√: provided; X: not specifically constructed; Partial: partial coverage.
As summarized in Table 1, AnyInsertion (Song et al., 2025) and DIRECT (Gong et al., 2026) do not explicitly provide controlled counterfactual scene pairs or dedicated multilight references. Multiview references cover only part of AnyInsertion. Our InsertWorld combines strictly aligned counterfactual pairs, multiview and multilight references to support adaptation across environments and viewpoints alongside object–scene interactions.
3.2 Dataset Construction
To reduce interpenetration and floating artifacts from random placement, we construct InsertWorld by removing existing objects from complete BlenderKit scenes (Figure 2). We render each scene with and without the object under fixed camera, lighting, and remaining scene settings, recomputing its shadows, mirror images, and reflections. These strictly aligned counterfactual pairs capture scene-dependent object appearance and object-induced environmental changes. Quality filtering and object deduplication retain suitable scene-object combinations.
We augment scene viewpoints and independently render each retained object across lighting environments and viewpoints to provide references for cross-environment and cross-view adaptation. Each example combines an object-free background, a with-object target, and reference images with Gemini-generated annotations comprising an editing instruction, a placement description, and a target-pose description. Filtering and sampling details are provided in Appendix I.
3.3 Dataset Overview
The InsertWorld training set contains 12,951 counterfactual scene image pairs and 275,310 reference images of 1,710 objects spanning different viewpoints and lighting conditions. For evaluation, PhysInsert-Bench comprises 400 cases from 103 scenes with no overlap with the training scenes and

Figure 3 PhysInsert combines a VGGT geometry stream with image and text streams. Target-scene features supervise geometry-token states, while 2D-OSS aligns object/effect predictions and spatial-text attention with image regions. Auxiliary supervision is used only during training.
object, including 180 Optical cases (154 with aligned reference–target viewpoints and 26 cross-view challenges) and 220 Structural cases with independent reference viewpoints. Benchmark construction is detailed in §4.2.
4 PhysInsert Model
This section introduces our geometry-conditioned object insertion model and then describes the construction of PhysInsert-Bench.
Given an object-free background , reference-object images , and an instruction , we aim to generate the with-object image while preserving object identity and adapting both the object and its environmental effects to the target scene.
4.1 Geometry-Conditioned Object Insertion
Our method combines Geometry-Guided Adaptation (GGA) for scene-consistent object adaptation with 2D Object–Scene Spatial Supervision (2D-OSS) for object regions, environmental changes, and spatial-text alignment (Figure 3). In our Qwen-Image-Edit-2511 backbone, the image stream contains the noisy target latent and frozen-VAE encodings of the complete background and references; a frozen multimodal encoder produces text tokens from the instruction and image context. Implementation and loss details are provided in Appendix E.
4.1.1 Geometry-Guided Adaptation
To guide scene-consistent object adaptation, GGA initializes a dynamic geometry stream from background features extracted by frozen VGGT (Wang et al., 2025a). An MLP maps these features to the DiT hidden space, with a learned geometry-modality embedding . Geometry, image, and text states interact through L three-stream DiT blocks:
(1)
At each block, the three streams compute their own queries, keys, and values, concatenate them for joint attention, and update through stream-specific modulation, output projections, and feedforward paths. The geometry states thus evolve through interaction with the target-image, background, reference, and text conditions throughout generation.
Background features describe the scene before insertion and alone do not specify its geometry after adding the object. We therefore extract target features using the same frozen VGGT and train a shared readout to predict them from geometry states at selected layers . This supervision guides the dynamic geometry stream toward the target scene structure, complementing the initial background prior. The Geometry Alignment Loss is
(2)
Here A and B denote predicted and target features, LN is layer normalization, controls the Smooth L1 transition, and weights cosine distance; are normalized nonnegative layer weights. Target features are stop-gradient supervision only and are never injected into the generator.
4.1.2 2D Object–Scene Spatial Supervision
Complementing GGA’s geometric feature supervision, 2D-OSS directly constrains where the inserted object and its visible environmental effects should appear in the image, while aligning spatial instructions with the object region.
Counterfactual Object–Scene Supervision (COSS). We downsample the ground-truth object mask to the target-token grid to obtain a soft object occupancy map . From the aligned counterfactual pair, we compute a smoothed difference map and exclude the object region to construct the external-effect map :
(3)
Here Down maps images to the target-token grid, MeanRGB averages channels, and controls smoothing. Thresholds map differences to soft effect strengths; and dilation radius exclude the object and its boundary neighborhood. Thus, provides proxy labels for visible changes such as shadows and reflections, rather than a semantic decomposition of optical effects.
A shared spatial head operates on target-image tokens at layers , averaging its logits across layers before producing object and effect probability maps. The Object Occupancy Loss and Scene Effect Loss each combine balanced binary cross-entropy and Dice losses, forming the Counterfactual Supervision Loss:
Soft-Mask Spatial Grounding (SSG). SSG grounds spatial instructions in the object region. The spatial description is a dedicated field of the generated caption (Figure 2); we use this field to identify its corresponding text-token subset in the instruction. At layer and head , let denote the query at target-image position and the key of spatial-text token . Their relevance is aggregated over phrase tokens using log-mean-exp and then averaged over heads:
where is the number of heads and the query/key dimension. With temperature , we normalize relevance over target-image positions and the soft object map over the same grid:
The Object Grounding Loss aligns these distributions over the supervised layer set :
\mathcal{L}_{\mathrm{g r o u n d}}=\frac{1}{\left|\mathcal{S}_{\mathrm{g r o u n d}}\right|}\sum_{\ell\in\mathcal{S}_{\mathrm{g r o u n d}}}D_{\mathrm{K L}}\Big(P_{o}\left\|P_{r}^{(\ell)}\right\). \tag{7}Together with COSS, which supervises object occupancy and external effects, this alignment connects textual placement requirements to the region occupied by the inserted object.
Overall Objective. We combine COSS and SSG as the 2D Object–Scene Spatial Supervision Loss and optimize
with nonnegative weights , , and . Text-guided inference uses , , and p. For box-guided inference, we additionally supply a reference image annotated with the target bounding box as visual conditioning. All three streams remain active in both settings; target images, object masks, and auxiliary heads are used only during training.
4.2 Benchmark Construction
As shown in Figure 2(b), PhysInsert-Bench evaluates optical and spatial-pose adaptation using aligned counterfactual scene pairs. Optical cases emphasize illumination differences and visible object-induced scene changes; their challenge cases and Structural cases additionally provide independent reference viewpoints to test pose adaptation. Each case is annotated for bidirectional interactions in lighting, spatial relationships, and pose, with physical-effect labels and evaluation-focus tags identifying the effects emphasized by that case.
5 Experiments
5.1 Experimental Setup
Implementation Details. Our method builds upon Qwen-Image-Edit-2511, a DiT-based image editing model, retaining its pretrained Qwen2.5-VL (Bai et al., 2025) multimodal encoder and VAE and adding a VGGT geometry stream alongside the image and text streams. We fine-tune the DiT using LoRA (Hu et al., 2022) with a rank of 32. Training is performed with a batch size of 8 and a
Table 2 Text-guided results on PhysInsert-Bench using one object-reference image per case for all reported metrics. Phy-VLM obtains three valid ratings per output with GPT-5.5, retrying null responses, and reports mean ± 95% confidence-interval half-width. Unless otherwise specified, the following conventions apply to this and subsequent tables: +PhysW. denotes fine-tuning on our InsertWorld dataset with the same training budget as ours under the corresponding guidance setting; bold/underline mark the best/second-best across methods.
| Method | DIoU (%)↑ | Mask IoU (%)↑ | DINO-Obj.↑ | PSNR↑ | SSIM↑ | LPIPS↓ | FID↓ | AbsRel↓ | δ1.25 (%)↑ | Phy-VLM↑ |
|---|---|---|---|---|---|---|---|---|---|---|
| Proprietary Models | ||||||||||
| Nano Banana Pro (Google DeepMind, 2025) | 54.58 | 48.34 | 0.7023 | 22.85 | 0.8231 | 0.1527 | 46.55 | 0.2066 | 77.08 | 3.48 ± 0.09 |
| GPT-Image-2 (OpenAI, 2026) | 38.02 | 31.92 | 0.6746 | 19.39 | 0.7017 | 0.2949 | 53.46 | 0.3129 | 65.48 | 3.17 ± 0.11 |
| Open-Source Models | ||||||||||
| OmniPaint + PhysW. (Yu et al., 2025) | 37.69 | 33.94 | 0.5828 | 20.67 | 0.8302 | 0.1733 | 73.54 | 0.2401 | 67.30 | 2.06 ± 0.13 |
| Insert-Anything + PhysW. (Song et al., 2025) | 22.66 | 21.46 | 0.6275 | 19.45 | 0.7711 | 0.3128 | 64.39 | 0.2651 | 67.79 | 2.36 ± 0.13 |
| JoyAI-Image-Edit-Plus (Song et al., 2026) | 46.37 | 39.21 | 0.6614 | 21.13 | 0.8211 | 0.1769 | 56.37 | 0.2308 | 75.70 | 3.04 ± 0.09 |
| Qwen-Image-Edit-2511 (Wu et al., 2025) | 48.32 | 44.14 | 0.6786 | 19.34 | 0.7840 | 0.2260 | 60.99 | 0.2207 | 73.35 | 2.94 ± 0.15 |
| Ours | 62.99 | 56.08 | 0.7276 | 24.40 | 0.8773 | 0.1118 | 41.96 | 0.1195 | 86.56 | 3.52 ± 0.11 |
Table 3 Box-guided results on PhysInsert-Bench. Ours is adapted from the text-guided model for an additional 4,000 box-guided steps; +PhysW. baselines use the same training budget with our method. † For PhysInsert-Bench, DIRECT uses GT-image-assisted pose fitting
| Method | Mask IoU (%)↑ | DINO-Obj.↑ | PSNR↑ | SSIM↑ | LPIPS↓ | FID↓ | AbsRel↓ | δ1.25 (%)↑ |
|---|---|---|---|---|---|---|---|---|
| Proprietary Models | ||||||||
| Nano Banana Pro (Google DeepMind, 2025) | 52.94 | 0.7152 | 22.53 | 0.8056 | 0.1609 | 45.32 | 0.1846 | 81.03 |
| GPT-Image-2 (OpenAI, 2026) | 39.61 | 0.6798 | 21.45 | 0.7716 | 0.2049 | 50.68 | 0.2860 | 71.24 |
| Open-Source Models | ||||||||
| AnyDoor (Chen et al., 2024a) | 55.92 | 0.5379 | 20.42 | 0.8158 | 0.2413 | 63.50 | 0.2070 | 67.01 |
| Insert-Anything (Song et al., 2025) | 55.09 | 0.6507 | 22.70 | 0.8735 | 0.1608 | 52.23 | 0.1911 | 74.99 |
| OmniPaint (Yu et al., 2025) | 40.72 | 0.5441 | 20.60 | 0.8473 | 0.1402 | 59.95 | 0.2285 | 72.55 |
| FreeCompose (Chen et al., 2024b) | 55.62 | 0.5037 | 20.85 | 0.7666 | 0.3288 | 62.62 | 0.2497 | 62.70 |
| PS-Diffusion (Wang et al., 2025b) | 60.58 | 0.5098 | 20.41 | 0.7384 | 0.2511 | 60.35 | 0.2122 | 68.49 |
| SHINE-Adapter (Lu et al., 2026) | 52.07 | 0.5567 | 21.94 | 0.7910 | 0.1798 | 65.77 | 0.1976 | 78.18 |
| DIRECT + GT Pose↑ (Gong et al., 2026) | 65.86 | 0.6626 | 23.14 | 0.8957 | 0.1270 | 49.97 | 0.2180 | 68.05 |
| Insert-Anything + PhysW. (Song et al., 2025) | 60.86 | 0.6991 | 24.38 | 0.8759 | 0.1554 | 43.80 | 0.1258 | 86.56 |
| OmniPaint + PhysW. (Yu et al., 2025) | 54.43 | 0.5447 | 22.49 | 0.8505 | 0.1290 | 57.85 | 0.1483 | 80.47 |
| Qwen-Image-Edit-2511 (Wu et al., 2025) | 37.39 | 0.5366 | 21.27 | 0.8605 | 0.1601 | 65.27 | 0.2654 | 71.85 |
| Ours | 68.62 | 0.7229 | 25.81 | 0.8876 | 0.1047 | 37.50 | 0.1064 | 89.41 |
maximum training-image pixel count of . We use the AdamW optimizer (Loshchilov & Hutter, 2019) with a learning rate of and a weight decay of 0.01. All experiments are conducted on eight NVIDIA L20X GPUs. We train our model in a single stage on our proposed InsertWorld dataset for approximately 16,000 steps. At inference, we use 40 denoising steps and a CFG (Ho & Salimans, 2022) scale of 4.0. Full training and inference hyperparameters are provided in Appendix F.
Test Datasets. We evaluate on PhysInsert-Bench ( ), 40 DreamBooth (Ruiz et al., 2023) cases covering all objects with one reference per case, and 50 PhysInsert-Bench-Wild cases with multiview reference pools. The Wild set draws on ABO (Collins et al., 2022), NAVI v1.5 (Jampani et al., 2023), ORIDa (Kim et al., 2025), and real target images paired with reference views rendered from SAM 3D Objects (Chen et al., 2026) reconstructions. We favor reference poses that differ from the target pose to test cross-view adaptation; construction details are provided in Appendix I.2.
Table 4 Results on PhysInsert-Bench-Wild with one or three reference images, and DreamBooth with one reference image.
| Method | PhysInsert-Bench-Wild | DreamBooth | |||||||
|---|---|---|---|---|---|---|---|---|---|
| 1-view | 3-view | 1-view | |||||||
| PSNR↑ | FID↓ | DINO-Obj.↑ | PSNR↑ | FID↓ | DINO-Obj.↑ | PSNR↑ | FID↓ | DINO-Obj.↑ | |
| Proprietary Models | |||||||||
| Nano Banana Pro (Google DeepMind, 2025) | 15.78 | 123.2 | 0.7881 | 15.72 | 115.3 | 0.7909 | 15.58 | 83.74 | 0.8650 |
| GPT-Image-2 (OpenAI, 2026) | 16.74 | 113.4 | 0.7457 | 16.88 | 112.9 | 0.7865 | 14.68 | 87.77 | 0.8821 |
| Open-Source Models | |||||||||
| OmniPaint (Yu et al., 2025) | 18.08 | 140.5 | 0.6393 | - | - | - | 15.10 | 115.8 | 0.7190 |
| Insert-Anything (Song et al., 2025) | 19.38 | 122.3 | 0.7536 | - | - | - | 16.95 | 90.53 | 0.8545 |
| Qwen-Image-Edit-2511 (Wu et al., 2025) | 12.87 | 208.1 | 0.5991 | 10.93 | 214.6 | 0.5787 | 16.58 | 86.17 | 0.8767 |
| Ours | 20.36 | 95.67 | 0.7784 | 20.60 | 87.90 | 0.7849 | 17.45 | 83.68 | 0.8856 |
Evaluation Metrics. We use PSNR and SSIM (Wang et al., 2004), LPIPS (Zhang et al., 2018), and FID (Heusel et al., 2017) to evaluate full-image fidelity, and DINO-Obj. to assess object identity preservation. Following PhyEdit (Xu et al., 2026), we use DIoU to measure object placement with a center-distance penalty, while Mask IoU measures visible-object overlap, including differences in visible extent caused by occlusion. AbsRel and assess estimated object-region depth consistency as a proxy for geometric plausibility. We also adapt the VLM-based physical plausibility evaluation of PhyEdit (Xu et al., 2026) as Phy-VLM, using GPT-5.5 with a fixed prompt template augmented by each case's physical-effect annotations and evaluation-focus tags (4.2). These tags direct attention to the physical effects emphasized by that case. Metric definitions and implementation details are provided in Appendix D.
5.2 Quantitative Results
Text-Guided Results. All metrics in Table 2 use one object-reference image per case. With placement specified through text instructions, PhysInsert achieves the highest DIoU and Mask IoU in Table 2, indicating more accurate object placement. It also leads the reported fidelity and identity metrics and achieves the best estimated depth consistency under the symmetric DA3 protocol. In the Phy-VLM evaluation, PhysInsert obtains the highest mean score.
Box-Guided Results. With one reference image per case, Table 3 shows that PhysInsert achieves the highest DINO-Obj. and PSNR, together with the lowest LPIPS and FID. Fine-tuning on InsertWorld (+PhysW.) improves all reported metrics for both Insert-Anything and OmniPaint under the same training budget, showing that our data also benefits existing insertion models.
Real-World Results. On PhysInsert-Bench-Wild and DreamBooth (Table 4), PhysInsert achieves the highest PSNR and lowest FID across the reported reference-view settings. Its DINO-Obj. scores lead the open-source methods throughout and all compared methods on DreamBooth.
User Study. In a blinded study, 27 participants rate 25 separate cases combining RealBokeh backgrounds and Distinctions-646 objects (Appendix K). PhysInsert receives the highest ratings for lighting integration, perspective, and pose, and the highest overall score of 4.04, while remaining competitive in identity and background preservation (Figure 4).

Figure 4 User-study result. Error bars show 95% confidence intervals.

Figure 5 Qualitative comparisons on PhysInsert-Bench (top), DreamBooth and PhysInsert-Bench-Wild (middle), and the user-study set (bottom).
5.3 Qualitative Results
Figure 5 compares PhysInsert-Bench optical and structural adaptation cases (top), DreamBooth and PhysInsert-Bench-Wild cases (middle), and user-study examples (bottom). PhysInsert better adapts the reflective containers and beverage can to scene lighting, including the can's reflection in the adjacent glass. The tray and toy examples show orientation adaptation, with the toy's cast shadow also matching the target scene more closely. User-study examples further illustrate foreground occlusion, perspective adaptation on an oblique window ledge, and object scale on a chair.
5.4 Ablation Studies
Quantitative Ablations. As Table 5, the full model improves PSNR, DIoU, and LPIPS over PhysW., demonstrating gains beyond dataset fine-tuning. Removing GGA, SSG, or COSS degrades all reported metrics, supporting each component's contribution.
Qualitative Ablations. Figure 6(b) shows that SSG corrects the white vase's placement, GGA

Figure 6 Mechanism probes and qualitative ablations. (a) Spatial-text attention, object/effect predictions, and VGGT feature evolution under identical GT-noised inputs ( ). (b) Separate ablations of SSG, GGA, and COSS for placement and scale, perspective, and floor reflection. (c) Text-guided pose and placement control.
Table 5 Ablations on PhysInsert Bench.
| Variant | PSNR↑ | SSIM↑ | LPIPS↓ | FID↓ | DIoU (%)↑ | DINO-Obj.↑ | AbsRel↓ | δ1.25 (%)↑ |
|---|---|---|---|---|---|---|---|---|
| Init. | 19.34 | 0.7840 | 0.2260 | 60.99 | 48.32 | 0.6786 | 0.2207 | 73.35 |
| PhysW. | 22.53 | 0.8529 | 0.1442 | 48.61 | 60.19 | 0.7062 | 0.1372 | 84.18 |
| w/o GGA | 23.83 | 0.8702 | 0.1226 | 43.94 | 61.45 | 0.7206 | 0.1354 | 85.15 |
| w/o SSG | 23.73 | 0.8702 | 0.1203 | 44.97 | 62.51 | 0.7157 | 0.1287 | 86.06 |
| w/o COSS | 23.90 | 0.8722 | 0.1168 | 42.68 | 61.58 | 0.7232 | 0.1315 | 86.40 |
| Full model | 24.40 | 0.8773 | 0.1118 | 41.96 | 62.99 | 0.7276 | 0.1195 | 86.56 |
adapts the car poster to the scene's oblique perspective, and COSS strengthens its floor reflection compared with their respective ablations.
Spatial Attention. Under identical text, references, and GT-noised latents, the final model shows more object-focused spatial-text attention than SFT in Figure 6(a), supporting stronger alignment in this case.
Effect Localization. Under identical GT-noised inputs, the same frozen effect head yields a clearer response in the affected region from final-model features than from SFT features (Figure 6(a)).
Geometry Evolution. To inspect geometry-stream updates of GGA under the same GT-noised input, we compare auxiliary-head reconstructions from blocks 14, 29, and 59 with background and GT VGGT features in a shared PCA basis, revealing object-region feature changes alongside retained coarse scene structure in this example (Figure 6(a), bottom).
Text-Guided Control. Figure 6(c) further shows text-guided changes in laptop orientation and watering-can spout direction, together with placement behind a chair or on an upper shelf.
6 Conclusion
We presented PhysInsert, combining InsertWorld's counterfactual scene pairs and references across viewpoints and lighting with a VGGT geometry stream and 2D object–scene supervision for joint object and scene adaptation. PhysInsert-Bench and PhysInsert-Bench-Wild evaluate controlled adaptation and real-world generalization. Experiments demonstrate improved image fidelity and placement, supporting joint modeling of objects and their surroundings for physically plausible insertion.
References
Shuai Bai, Keqin Chen, Xuejing Liu, Jialin Wang, Wenbin Ge, Sibo Song, Kai Dang, Peng Wang, Shijie Wang, Jun Tang, et al. Qwen2.5-VL technical report. arXiv preprint arXiv:2502.13923, 2025. URL https://arxiv.org/abs/2502.13923.
Nicolas Carion, Laura Gustafson, Yuan-Ting Hu, Shoubhik Debnath, Ronghang Hu, Didac Suris, Chaitanya Ryali, Kalyan Vasudev Alwala, Haitham Khedr, et al. SAM 3: Segment anything with concepts. arXiv preprint arXiv:2511.16719, 2025. URL https://arxiv.org/abs/2511.16719.
Xi Chen, Lianghua Huang, Yu Liu, Yujun Shen, Deli Zhao, and Hengshuang Zhao. Anydoor: Zero-shot object-level image customization. In 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 6593–6602. IEEE, 2024a.
Xingyu Chen, Fu-Jen Chu, Pierre Gleize, Kevin J. Liang, Alexander Sax, Hao Tang, Weiyao Wang, Michelle Guo, Thibaut Hardin, Xiang Li, Aohan Lin, Jia-Wei Liu, Ziqi Ma, Anushka Sagar, Bowen Song, Xiaodong Wang, Jianing Yang, Bowen Zhang, Piotr Dollár, Georgia Gkioxari, Matt Feiszli, and Jitendra Malik. SAM 3D: 3Dfy anything in images. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pp. 7220–7232, 2026. URL https://openaccess.thecvf.com/content/CVPR2026/html/Chen_SAM_3D_3Dfy_Anything_in_Images_CVPR_2026_paper.html.
Zhekai Chen, Wen Wang, Zhen Yang, Zeqing Yuan, Hao Chen, and Chunhua Shen. Freecompose: Generic zero-shot image composition with diffusion prior. arXiv preprint arXiv:2407.04947, 2024b.
Jasmine Collins, Shubham Goel, Kenan Deng, Achleshwar Luthra, Leon Xu, Erhan Gundogdu, Xi Zhang, Tomas F. Yago Vicente, Thomas Dideriksen, Himanshu Arora, Matthieu Guillaumin, and Jitendra Malik. ABO: Dataset and benchmarks for real-world 3D object understanding. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2022. URL https://amazon-berkeley-objects.s3.amazonaws.com/index.html.
Timothée Darcet, Maxime Oquab, Julien Mairal, and Piotr Bojanowski. Vision transformers need registers. In International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=2dn03LLiJ1.
Jingbo Gong, Yikai Wang, Yushi Lan, Yuhao Wan, Ziheng Ouyang, Rui Zhao, Ming-Ming Cheng, Qibin Hou, and Chen Change Loy. Direct 3d-aware object insertion via decomposed visual proxies. In ICML, 2026.
Google DeepMind. Gemini 3 Pro Image – Nano Banana Pro, 2025. URL https://deepmind.google/models/gemini-image/pro/. Official model page.
Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. GANs trained by a two time-scale update rule converge to a local Nash equilibrium. In Advances in Neural Information Processing Systems, volume 30, 2017. URL https://arxiv.org/abs/1706.08500.
Jonathan Ho and Tim Salimans. Classifier-free diffusion guidance. arXiv preprint arXiv:2207.12598, 2022. URL https://arxiv.org/abs/2207.12598.
Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. LoRA: Low-rank adaptation of large language models. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id=nZeVKeeFYf9.
Varun Jampani, Kevis-Kokitsi Maninis, Andreas Engelhardt, Arjun Karpur, Karen Truong, Kyle Sargent, Stefan Popov, Andre Araujo, Ricardo Martin-Brualla, Kaushal Patel, Daniel Vlasic, Vittorio Ferrari, Ameesh Makadia, Ce Liu, Yuanzhen Li, and Howard Zhou. NAVI: Category-agnostic image collections with high-quality 3D shape and pose annotations. In Advances in Neural Information Processing Systems, 2023. URL https://navidataset.github.io/.
Jinwoo Kim, Sangmin Han, Jinho Jeong, Jiwoo Choi, Dongyeoung Kim, and Seon Joo Kim. ORIDa: Object-centric real-world image composition dataset. In Proceedings of the IEEE/CVF Conference on Computer
Vision and Pattern Recognition, pp. 3051–3060, 2025. URL https://openaccess.thecvf.com/content/CVPR2025/html/Kim_ORIDa_Object-centric_Real-world_Image_Composition_Dataset_CVPR_2025_paper.html.
Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In International Conference on Learning Representations, 2015. URL https://arxiv.org/abs/1412.6980.
Haotong Lin, Sili Chen, Junhao Liew, Donny Y. Chen, Zhenyu Li, Guang Shi, Jiashi Feng, and Bingyi Kang. Depth anything 3: Recovering the visual space from any views. arXiv preprint arXiv:2511.10647, 2025. URL https://arxiv.org/abs/2511.10647.
Yaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel, and Matt Le. Flow matching for generative modeling. In International Conference on Learning Representations, 2023. URL https://openreview.net/forum?id=PqvMRDCJT9t.
Shilong Liu, Zhaoyang Zeng, Tianhe Ren, Feng Li, Hao Zhang, Jie Yang, Qing Jiang, Chunyuan Li, Jianwei Yang, Hang Su, Jun Zhu, and Lei Zhang. Grounding DINO: Marrying DINO with grounded pre-training for open-set object detection. In Computer Vision – ECCV 2024, pp. 38–55, 2024. doi: 10.1007/978-3-031-72970-6_3. URL https://www.ecva.net/papers/eccv_2024/papers_ECCV/html/6319_ECCV_2024_paper.php.
Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In International Conference on Learning Representations, 2019. URL https://arxiv.org/abs/1711.05101.
Shilin Lu, Zhuming Lian, Zihan Zhou, Shaocong Zhang, Chen Zhao, and Adams Wai-Kin Kong. Does FLUX already know how to perform physically plausible image composition? In International Conference on Learning Representations, 2026. URL https://arxiv.org/abs/2509.21278.
Oscar Michel, Anand Bhattad, Eli VanderBilt, Ranjay Krishna, Aniruddha Kembhavi, and Tanmay Gupta. Object 3dit: Language-guided 3d-aware image editing. Advances in Neural Information Processing Systems, 36:3497–3516, 2023.
OpenAI. GPT-Image-2, 2026. URL https://developers.openai.com/api/docs/models/gpt-image-2. Official model documentation.
Maxime Oquab, Timothée Darcet, Théo Moutakanni, Huy Vo, Marc Szafraniec, Vasil Khalidov, Pierre Fernandez, Daniel Haziza, Francisco Massa, Alaaeldin El-Nouby, et al. DINOv2: Learning robust visual features without supervision. arXiv preprint arXiv:2304.07193, 2023. URL https://arxiv.org/abs/2304.07193.
William Peebles and Saining Xie. Scalable diffusion models with transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 4195–4205, 2023. URL https://arxiv.org/abs/2212.09748.
Nataniel Ruiz, Yuanzhen Li, Varun Jampani, Yael Pritch, Michael Rubinstein, and Kfir Aberman. DreamBooth: Fine tuning text-to-image diffusion models for subject-driven generation. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2023. URL https://arxiv.org/abs/2208.12242.
Lin Song, Wenbo Li, Guoqing Ma, Wei Tang, Bo Wang, Yuan Zhang, Yijun Yang, Yicheng Xiao, Jianhui Liu, Yanbing Zhang, et al. JoyAI-Image: Awaking spatial intelligence in unified multimodal understanding and generation. arXiv preprint arXiv:2605.04128, 2026. URL https://arxiv.org/abs/2605.04128.
Wensong Song, Hong Jiang, Zongxing Yang, Ruijie Quan, and Yi Yang. Insert anything: Image insertion via in-context editing in dit. arXiv preprint arXiv:2504.15009, 2025.
Xueyun Tian, Wei Li, Bingbing Xu, Yige Yuan, Yuanzhuo Wang, and Huawei Shen. MIGE: Mutually enhanced multimodal instruction-based image generation and editing. arXiv preprint arXiv:2502.21291, 2025. URL https://arxiv.org/abs/2502.21291.
Jianyuan Wang, Minghao Chen, Nikita Karaev, Andrea Vedaldi, Christian Rupprecht, and David Novotny. VGGT: Visual geometry grounded transformer. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 2025a. URL https://arxiv.org/abs/2503.11651.
Weicheng Wang, Guoli Jia, Zhongqi Zhang, Liang Lin, and Jufeng Yang. PS-Diffusion: Photorealistic subject-driven image editing with disentangled control and attention. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 18302–18312, June 2025b. URL https://openaccess.thecvf.com/content/CVPR2025/html/Wang_PS-Diffusion_Photorealistic_Subject-Driven_Image_Editing_with_Disentangled_Control_and_Attention_CVPR_2025_paper.html.
Zhou Wang, Alan C. Bovik, Hamid R. Sheikh, and Eero P. Simoncelli. Image quality assessment: From error visibility to structural similarity. IEEE Transactions on Image Processing, 13(4):600–612, 2004. doi:10.1109/TIP.2003.819861. URL https://www.cns.nyu.edu/~lcv/ssim/.
Daniel Winter, Matan Cohen, Shlomi Fruchter, Yael Pritch, Alex Rav-Acha, and Yedid Hoshen. Objectdrop: Bootstrapping counterfactuals for photorealistic object removal and insertion. In European Conference on Computer Vision, pp. 112–129. Springer, 2024.
Daniel Winter, Asaf Shul, Matan Cohen, Dana Berman, Yael Pritch, Alex Rav-Acha, and Yedid Hoshen. ObjectMate: A recurrence prior for object insertion and subject-driven generation. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pp. 16281–16291, 2025.
Chenfei Wu, Jiahao Li, Jingren Zhou, Junyang Lin, Kaiyuan Gao, Kun Yan, Sheng ming Yin, Shuai Bai, Xiao Xu, Yilei Chen, Yuxiang Chen, Zecheng Tang, Zekai Zhang, Zhengyi Wang, An Yang, Bowen Yu, Chen Cheng, Dayiheng Liu, Deqing Li, Hang Zhang, Hao Meng, Hu Wei, Jingyuan Ni, Kai Chen, Kuan Cao, Liang Peng, Lin Qu, Minggang Wu, Peng Wang, Shuting Yu, Tingkun Wen, Wensen Feng, Xiaoxiao Xu, Yi Wang, Yichang Zhang, Yongqiang Zhu, Yujia Wu, Yuxuan Cai, and Zenan Liu. Qwen-Image technical report, 2025. URL https://arxiv.org/abs/2508.02324.
Ruihang Xu, Dewei Zhou, Xiaolong Shen, Fan Ma, and Yi Yang. PhyEdit: Towards real-world object manipulation via physically-grounded image editing. arXiv preprint arXiv:2604.07230, 2026. URL https://arxiv.org/abs/2604.07230.
Binxin Yang, Shuyang Gu, Bo Zhang, Ting Zhang, Xuejin Chen, Xiaoyan Sun, Dong Chen, and Fang Wen. Paint by example: Exemplar-based image editing with diffusion models. In 2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pp. 18381–18391. IEEE, 2023.
Yongsheng Yu, Ziyun Zeng, Haitian Zheng, and Jiebo Luo. Omnipaint: Mastering object-oriented editing via disentangled insertion-removal inpainting. In 2025 IEEE/CVF International Conference on Computer Vision (ICCV), pp. 17324–17334. IEEE, 2025.
Richard Zhang, Phillip Isola, Alexei A. Efros, Eli Shechtman, and Oliver Wang. The unreasonable effectiveness of deep features as a perceptual metric. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2018. URL https://arxiv.org/abs/1801.03924.
Liangbing Zhao, Le Zhuo, Sayak Paul, Hongsheng Li, and Mohamed Elhoseiny. From statics to dynamics: Physics-aware image editing with latent transition priors. arXiv preprint arXiv:2602.21778, 2026. URL https://arxiv.org/abs/2602.21778.
Zhaohui Zheng, Ping Wang, Wei Liu, Jinze Li, Rongguang Ye, and Dongwei Ren. Distance-IoU loss: Faster and better learning for bounding box regression. In Proceedings of the AAAI Conference on Artificial Intelligence, 2020. URL https://arxiv.org/abs/1911.08287.
Appendix for PhysInsert: Physically Plausible Object Insertion with Geometric Priors and Bidirectional Object-Scene Interactions
A Limitations
PhysInsert does not explicitly optimize for object identity preservation. Its ability to preserve identity remains limited when the reference and target viewpoints differ substantially. Future work could better exploit complementary information across multiple reference views to preserve distinctive object features under large viewpoint changes.
B Geometric Foundation Models
VGGT (Wang et al., 2025a) jointly predicts camera parameters, depth, and 3D scene structure, while Depth Anything 3 (Lin et al., 2025) recovers consistent geometry across views. Geometry alone does not determine insertion-induced shadows and reflections, motivating our combination of geometric priors and counterfactual supervision.
C More Detailed Quantitative Results
Table S1 reports 180 Optical Adaptation cases, comprising 154 cases with aligned reference–target viewpoints and 26 cross-view Optical challenges, and 220 Pose Adaptation cases comprising 119 Spatial and 101 Mechanical examples. Their single-reference outputs together form the 400-case evaluation in Table 3; the three-reference setting covers the same 220 Pose Adaptation cases. +PhysW. baselines receive the same training budget. PhysInsert achieves the best PSNR, LPIPS, and FID on Optical Adaptation, and the best FID, DINO-Obj., and PSNR in both Pose Adaptation reference settings.
Table S1 Box-guided results on 180 Optical Adaptation and 220 Pose Adaptation cases.
| Method | Optical Adaptation | Pose Adaptation | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 1-view | 1-view | 3-view | ||||||||
| PSNR | SSIM | LPIPS | FID | FID | DINO-Obj. | PSNR | FID | DINO-Obj. | PSNR | |
| Proprietary Models | ||||||||||
| Nano Banana Pro (Google DeepMind, 2025) | 22.92 | 0.8153 | 0.1488 | 56.67 | 59.70 | 0.6886 | 22.20 | 60.85 | 0.6824 | 22.05 |
| GPT-Image-2 (OpenAI, 2026) | 22.01 | 0.8045 | 0.1785 | 66.55 | 64.31 | 0.6566 | 20.99 | 66.53 | 0.6404 | 21.06 |
| Open-Source Models | ||||||||||
| AnyDoor (Chen et al., 2024a) | 21.08 | 0.8327 | 0.2148 | 82.09 | 84.99 | 0.5081 | 19.88 | - | - | - |
| Insert-Anything (Song et al., 2025) | 22.79 | 0.8768 | 0.1491 | 68.09 | 67.83 | 0.6197 | 22.62 | - | - | - |
| Insert-Anything + PhysW. (Song et al., 2025) | 24.44 | 0.8789 | 0.1460 | 57.10 | 55.32 | 0.6717 | 24.33 | 61.72 | 0.6192 | 24.07 |
| OmniPaint (Yu et al., 2025) | 20.65 | 0.8526 | 0.1337 | 80.98 | 77.46 | 0.5607 | 20.56 | - | - | - |
| OmniPaint + PhysW. (Yu et al., 2025) | 22.73 | 0.8617 | 0.1141 | 68.67 | 80.24 | 0.5138 | 22.29 | 86.20 | 0.4570 | 22.06 |
| FreeCompose (Chen et al., 2024b) | 20.88 | 0.7711 | 0.3176 | 83.33 | 79.59 | 0.4828 | 20.82 | - | - | - |
| DIRECT + GT Pose (Gong et al., 2026) | 23.19 | 0.8975 | 0.1142 | 67.29 | 61.85 | 0.6422 | 23.10 | 62.36 | 0.6338 | 23.45 |
| Qwen-Image-Edit-2511 (Wu et al., 2025) | 21.44 | 0.8674 | 0.1433 | 83.97 | 86.51 | 0.4951 | 21.13 | 146.9 | 0.4406 | 14.93 |
| Ours | 25.99 | 0.8942 | 0.09989 | 49.82 | 45.62 | 0.7021 | 25.67 | 44.42 | 0.7146 | 25.75 |
D Evaluation Metric Definitions
Let and denote a generated image and its GT target. Table S2 summarizes the evaluation scope and preferred direction. Except for dataset-level FID, metrics are computed per case and averaged equally over the corresponding evaluation set; DIoU, Mask IoU, and are reported as percentages by multiplying their mean scores by 100. Reference-view settings and evaluation sets follow the respective result tables. All metrics in Table 2 use one object-reference image per case.
Table S2 Evaluation metrics and their scope.
| Metric | Evaluation scope | Preferred |
|---|---|---|
| PSNR | Full-image pixel fidelity | Higher |
| SSIM | Full-image structural similarity | Higher |
| LPIPS | Full-image perceptual distance | Lower |
| FID | Full-image feature distributions | Lower |
| DIoU (%) | Mask-box overlap and center distance | Higher |
| Mask IoU (%) | Visible foreground overlap | Higher |
| DINO-Obj. | Object-crop identity similarity | Higher |
| Phy-VLM | Physical plausibility with case-specific focus | Higher |
| AbsRel | Valid object-region depth error | Lower |
| (%) | Valid object-region depth agreement | Higher |
D.1 Full-Image Fidelity
PSNR. Peak signal-to-noise ratio measures pixel fidelity over the complete RGB image. For images of size and pixel dynamic range , it is
Our implementation uses RGB values in [0, 255] and .
SSIM. Structural similarity (Wang et al., 2004) compares local luminance, contrast, and structure. For corresponding local windows and from the generated and GT images,
where , , and are local means, variances, and covariance; and stabilize the ratios. We use the scikit-image implementation with RGB channel averaging and a dynamic range of 255, averaging local scores over the image.
LPIPS. Learned Perceptual Image Patch Similarity (Zhang et al., 2018) measures perceptual distance using deep features. Let denote channel-normalized features at layer and the learned channel weights. Then
We use the AlexNet-based LPIPS implementation on complete images, with RGB inputs mapped to .
FID. Fréchet Inception Distance (Heusel et al., 2017) compares the feature distributions of generated and GT full-image sets. With feature means , and sample covariances , ,
FID is computed once over all generated and GT images in each reported evaluation set, including by concatenating features across evaluation shards; it is not an average of per-image scores. The implementation evaluates the covariance cross term through an equivalent low-rank singular-value decomposition.
D.2 Text-Guided Placement Accuracy
Foreground extraction for Table 2. We apply one fixed evaluator to all methods on the same N = 400 original text-guided cases. Qwen3.5-Plus receives, in order, the input background, the object-reference collage, and the generated image. Using the editing instruction and a component vocabulary fixed per case across methods, it localizes all visible newly inserted target instances and parts, excluding pre-existing background objects, cast shadows, and reflections. Reference panels depict views of the same target assembly rather than additional copies. The grounder returns component boxes in xyxy coordinates normalized to [0, 1000], with temperature 0 and a requested maximum of 8192 output tokens. Neither GT RGB images nor GT masks or boxes are provided to localization or segmentation.
RGB images are resized bilinearly to a shared canvas preserving the background aspect ratio, with longest side at most 1024 pixels. The reference collage preserves its own aspect ratio with the same size cap. VLM inputs are encoded as RGB JPEGs with quality 95 and no chroma subsampling. SAM 3 (Carion et al., 2025) (facebook/sam3) generates candidates for each component phrase, using score and mask-probability thresholds of 0.5 and discarding masks smaller than 16 pixels. For each VLM box, we select every same-component candidate whose tight-box center lies inside that box and at least half of whose mask pixels lie inside it. If no candidate meets both conditions, we select the existing same-component candidate with highest box DIoU to the VLM box, retaining negative match scores. If that component has no candidates, we retry its category head noun (preserving “bean bag” as a phrase); if still unmatched, SAM3’s box-prompt tracker supplies a single mask with logit threshold 0. Selected masks are united into . Model weights remain in float32 with bfloat16 autocasting and TF32 enabled. There is no GT-based mask selection, per-method tuning, or manual mask correction. Automatic localization and segmentation can still omit parts or select background regions.
Mask IoU. Let be the GT visible-object mask, resized to the same canvas by nearest-neighbor interpolation and binarized at values greater than 127. We report
This measures foreground overlap rather than enclosing-box overlap. The GT visible mask is used only at this scoring stage.
DIoU. Let and be tight, axis-aligned boxes of and , using half-open pixel coordinates. Let and denote their centers, and the diagonal length of the smallest box enclosing both.
For a nonempty prediction, the distance-IoU score (Zheng et al., 2020) is
An empty predicted mask receives zero for both metrics and remains in the 400-case average. Negative DIoU values are retained: a displaced box can incur a center-distance penalty larger than its overlap. Higher values are better for both metrics. The JoyAI row uses the existing text400 outputs from JoyAI-Image-Edit-Plus-Diffusers, as in the depth evaluation below.
Tables 2 and 5 use the same percentage-scaled DIoU definition in Eq. equation S6.
D.3 Object Identity Preservation
DINO-Obj. DINO-Obj. measures identity preservation by comparing object crops from the generated and GT images. We use the evaluator's GroundingDINO-selected (Liu et al., 2024) prediction box and the GT object box, expand both with the same crop factor, and crop the respective RGB images while retaining context inside each box. The crop evaluator uses detection confidence and the fraction of changed pixels relative to to select its prediction box; the SAM3-based placement metrics above are evaluated separately and do not change these DINO-Obj. crops. The crop-expansion factor is 1.1. Let and denote the generated-image and GT object crops for case n, and let f extract the CLS feature from frozen DINOv2 (Oquab et al., 2023) with registers (Darcet et al., 2024) (facebook/dinov2-with-registers-base). We define the per-case score and the dataset average as
Here indexes all evaluated cases, including missed detections, for which . Features are -normalized before computing the similarity. The comparison uses the GT target-object crop rather than the reference-view collage, and pixels outside the object silhouette but inside the crop are retained.
D.4 Object-Region Depth Consistency
Following the depth-metric definitions and paired-input procedure described in PhyEdit (Xu et al., 2026), we use frozen Depth Anything 3 (DA3NESTED-GIANT-LARGE) (Lin et al., 2025). Let be the background, the GT target, and the generated image. We estimate depths in two separate forward passes:
Both branches use the same model weights, preprocessing, and per-case random seed, and we compare the second depth output from each pair. The generated-image branch receives only the background and generated image; the GT image is used to obtain the reference depth for scoring.
All RGB inputs are resized to a common canvas preserving the target aspect ratio, with a longest edge of 768 pixels; the GT object mask uses nearest-neighbor resizing. When needed, depth outputs are resized to this canvas by bilinear interpolation and validity masks by nearest-neighbor interpolation. For case , let and . The evaluation region is the GT object mask intersected with the non-sky validity masks from both outputs, retaining only pixels with finite , . Corresponding pixel coordinates are compared directly, without additional depth-scale or offset fitting.
AbsRel and . For each case, absolute relative error measures the mean absolute depth difference relative to the estimated target depth, and threshold accuracy measures the fraction of valid object pixels passing the ratio threshold:
(S9)
The threshold is strict: pixels with a depth ratio equal to 1.25 do not pass. Lower AbsRel and higher indicate better agreement.
Within each setting, every method is evaluated on the same N = 400 cases: the text-guided outputs for Table 2, and the single-view box-guided outputs for Table 3 (180 Optical Adaptation and 220 Pose Adaptation cases). All cases have valid object pixels. We report equally weighted per-image averages:
The JoyAI row uses the existing text400 outputs from JoyAI-Image-Edit-Plus-Diffusers for depth evaluation. Both target and generated depths are DA3 estimates. These scores therefore measure estimated depth consistency and remain sensitive to depth-estimator errors and paired-image context.
D.5 VLM-Based Physical Plausibility
We adapt the VLM-based physical plausibility assessment in PhyEdit (Xu et al., 2026) to PhysInsertBench, using GPT-5.5 to evaluate the outputs of all compared methods on the same 400 cases. Each evaluation prompt combines a fixed template with the case's annotated physical effects and evaluation-focus tags from Appendix I.1. The tags specify which physical effects warrant particular attention, such as illumination adaptation, cast shadows, reflections, or occlusion relationships, as applicable to the case. The same template and case-specific tag information are used across methods. For each method and case, we obtain three valid numerical ratings, retrying any evaluation that returns null until three valid ratings are available. No case is excluded because of a null response. We first average the three valid ratings within each case, then average these case-level scores equally over all 400 cases. We report the resulting Phy-VLM mean with the half-width of its 95% confidence interval; higher values indicate greater physical plausibility as judged by the VLM.
Scoring prompt. The following is an English translation of the scoring prompt used for Phy-VLM in Table 2. The placeholders contain the case-specific evaluation focus and the original insertion instruction.
Phy-VLM scoring prompt (English translation)
Evaluate the physical plausibility of the edited result relative to the ground truth (GT). Do not evaluate aesthetics, identity preservation, or pixel similarity, and do not speculate about the generation method.
Image 1: edited result; Image 2: GT; Image 3: original background; Image 4: reference object (multiple views still depict the same object). The background and reference object are provided only to aid understanding.
First compare against the GT and separately verify the physical relationships in the GT and the result. Do not assume that a relationship present in the GT is also present in the result.
Evaluation focus: {{CASE_FOCUS_TEXT}}
Original insertion instruction (in this instruction, Image 1 refers to the background and Image 2 to the reference object, rather than the scoring-image order above): {{ORIGINAL_INSTRUCTION}}
Incorrect object size alone does not constitute physical implausibility: do not deduct points merely because the object is larger or smaller than in the GT, relative to neighboring objects, or than specified by the instruction. This rule takes precedence over size requirements in the case annotations and the instruction.
Evaluate only gravitational relationships (support, contact, and hanging), optical relationships (illumination, environmental color, shadows, reflections, and transmission), and geometric relationships (perspective, orientation, occlusion, and interpenetration). Do not separately penalize object size or changes in shadow or reflection extent that naturally result from it; do not infer errors in these relationships solely from a size difference.
Compare with the GT according to the evaluation focus:
5: Key relationships are confirmed to be consistent or physically equivalent.
4: Key relationships are retained, with only minor local deviations.
3: The main relationships hold, but important effects clearly deviate.
2: Key relationships deviate substantially, with only partial consistency.
1: Core relationships are missing, reversed, or fundamentally broken.
Large discrepancies from the GT in key physical relationships must receive a low score; appearance or size differences alone do not count.
A clearly visible, severe gravitational, optical, or geometric error outside the stated focus caps the score at 2. Assign 1 for an entirely unsupported floating object, a disconnected primary load-bearing contact, obvious interpenetration, or impossible occlusion. Minor issues outside the focus do not reduce the score. Proximity or overlapping contours do not establish load-bearing support; any deduction must be supported by visible evidence.
Return null when key evidence is unclear or the GT contains an obvious error that affects the judgment; do not automatically treat such cases as good or bad.
Return only JSON: {"score": an integer from 1 to 5 or null, "reason": "One sentence identifying the key physical difference between the result and the GT, or stating the evidence for consistency or the need for review."}.
E Method Details and Notation
We use Z for latents, , , and for image-, text-, and geometry-stream states, and F for VGGT features. is the number of reference images, L the number of three-stream DiT blocks, and the layer/state index; denotes the corresponding update block. The sets , , and select the layers used for geometry readout, counterfactual spatial prediction, and grounding supervision, respectively; denotes a set's cardinality.
E.1 Latent Encoding and Flow Matching
A frozen VAE encodes the target image , background , and each reference into , , and , respectively. The reference latents are concatenated as . A frozen multimodal encoder produces the initial text tokens from instruction and the image context. The image stream is initialized as . During training, we sample noise , form the noisy target latent, and optimize
(S11)
Here is the sampled diffusion timestep, the noise-mixing coefficient, the timestep-dependent loss weight, and the predicted velocity field. The coefficients and follow the backbone's flow-matching scheduler (Lipman et al., 2023). We adapt the image and text branches with LoRA and train the added geometry branch, while keeping the VAE and multimodal encoder frozen.
E.2 Geometry Features and Alignment
The frozen VGGT (Wang et al., 2025a) extracts background features at layer . The MLP maps these -dimensional features to the -dimensional DiT (Peebles & Xie, 2023) hidden space, and the learned geometry-modality embedding gives . Each stream computes its own queries, keys, and values, which are concatenated for joint attention, and updates its states through stream-specific modulation, output projections, and feed-forward paths. Motivated by similarities between depth and RGB features, the geometry branch reuses the image branch's linear weights as a frozen base and applies independent low-rank adapters. The geometry states evolve alongside the image and text states through the three-stream blocks and their own residual updates.
The same frozen VGGT extracts target features , where sg stops gradient propagation. A shared readout head predicts these features from geometry states, with . The distance used in the main-text geometry objective is
The projector and readout have trainable parameters and . Here LN denotes layer normalization; controls the transition between the quadratic and linear regions of Smooth L1, and weights the cosine-distance term. The layer weights satisfy and . Target features serve only as training targets and are never injected into the generator.
E.3 Counterfactual Targets and Spatial Prediction
We downsample the ground-truth object mask to the target-token grid to obtain the soft object occupancy map . From aligned with/without images, the difference map D and external-effect map are
All three maps are defined on the target-token grid. Down downsamples an image to this grid, MeanRGB averages the absolute differences over RGB channels, and is the side length of the average-pooling kernel. The thresholds map a difference magnitude to a soft effect strength: values below the lower threshold map to zero, values above the upper threshold map to one, and intermediate values are linearly rescaled. binarizes object occupancy, and Dilate expands that region by radius in grid coordinates to exclude the object and its boundary neighborhood. is an indicator and clip( , 0, 1) clamps its argument to the unit interval. Thus, is a proxy for visible changes outside the object, including cast shadows and reflections, rather than a semantic decomposition of individual optical effects.
An object–effect spatial head is shared across target-image tokens at layers in . After averaging its logits across layers, denotes the predicted probability map for channel , corresponding to object occupancy and external effects. Each channel combines balanced binary cross-entropy and Dice losses:
The nonnegative weights and sum to one. The main-text counterfactual objective combines the two channels as , with and .
E.4 Spatial-Text Attention and Mask Alignment
The generated caption contains a dedicated spatial-description field, shown in Figure 2. We use that field to identify the corresponding text-token subset in the instruction. Indices and range over target-image token positions, whereas indexes . At layer and head , is the target-image query and the spatial-text key; each has dimension , and there are heads. The spatial relevance score aggregates over the phrase tokens using log-mean-exp and then averages over heads:
The positive temperature controls the concentration of the attention distribution, whose softmax is taken over target-image positions only. We normalize the soft object mask on the same grid and compute
\mathcal{L}_{\mathrm{g r o u n d}}=\frac{1}{\left|\mathcal{S}_{\mathrm{g r o u n d}}\right|}\sum_{\ell\in\mathcal{S}_{\mathrm{g r o u n d}}}D_{\mathrm{K L}}\Big(P_{o}\left\|P_{r}^{(\ell)}\right\). \tag{S18}Here denotes Kullback–Leibler divergence. This objective supervises the spatial distribution of image–text relevance. The object mask supplies training supervision and is not required at inference.
Overall loss weights. The overall coefficients , , and weight the geometry, counterfactual, and grounding objectives relative to . They are nonnegative and are not constrained to sum to one, unlike the normalized layer and channel weights within the auxiliary objectives. The 2D-OSS loss groups the weighted counterfactual and grounding terms as , preserving these coefficients.
F Training and Inference Hyperparameters
We use AdamW (Loshchilov & Hutter, 2019), which applies decoupled weight decay to the adaptive-moment updates of Adam (Kingma & Ba, 2015). Tables S3 and S4 report the training, inference, and auxiliary-supervision settings of the base PhysInsert model. The base PhysInsert model is trained in a single stage for approximately 16,000 optimizer updates using the joint objective in Eq. (8). The box-guided model is obtained by fine-tuning the text-guided model for an additional 4,000 steps. The +PhysW. baselines use the same training budget in each setting, including the additional adaptation for box-guided evaluation.
Table S3 Base-model training and inference hyperparameters. The additional box-guided training budget is listed separately.
| Setting | Value |
|---|---|
| Base-model training | |
| Optimizer | AdamW |
| Base learning rate | |
| Weight decay | 0.01 |
| Learning-rate scheduler | PyTorch ConstantLR (defaults) |
| Effective batch size | 8 |
| Batch size per GPU / accumulation steps | 1 / 1 |
| Training hardware | 8× NVIDIA L20X |
| Mixed precision | BF16 |
| LoRA rank (image, text, and geometry) | 32 |
| Maximum training-image pixels | |
| Training schedule | Single-stage joint optimization |
| Total base-model updates | Approximately 16,000 |
| Additional box-guided adaptation | |
| Additional optimizer updates | 4,000 |
| Inference | |
| Classifier-free guidance (CFG) scale | 4.0 |
| Denoising steps | 40 |
| Sampler | Euler flow-matching solver |
| Noise schedule | Qwen-Image dynamic shift |
| Denoising strength | 1.0 |
| Negative prompt | Empty |
| Maximum output pixels | |
We jointly optimize flow matching, geometry alignment, COSS, and SSG in a single training stage using Eq. (8). The auxiliary-loss weights are listed below; all layer indices are zero-based.
Table S4 Auxiliary-loss weights and module hyperparameters for single-stage training.
| Parameter | Value |
|---|---|
| Flow Matching Loss coefficient | 1 |
| Geometry Alignment Loss, | 0.02 |
| Counterfactual Supervision Loss, | 0.01 |
| Object Grounding Loss, | 0.005 |
| Module settings | |
| VGGT feature layer, | 23 |
| Feature / DiT dimensions, | 2048 / 3072 |
| Projector / readout MLP hidden width | 256 / 256 |
| GGA readout layers, | \{14, 29, 44, 59\} |
| GGA normalized layer weights, | (1, 2, 4, 10)/17 |
| Smooth L1 transition, | 0.1 |
| Cosine-distance weight, | 0.25 |
| COSS / SSG layers, | \{35, 47, 56\} |
| Object / effect weights, | 0.65 / 0.35 |
| BCE / Dice weights, | 0.5 / 0.5 |
| Balanced-BCE positive-weight cap | 20 |
| Effect thresholds, | 0.02 / 0.10 |
| Object threshold, | 0.01 |
| Smoothing-kernel side length, | 3 |
| Exclusion dilation radius, | 1 token-grid cell |
| Grounding temperature, | 1.0 |
Effect thresholds operate on RGB values normalized to [0, 1], while smoothing and dilation operate on the target-token grid.
G Inference Efficiency
Table S5 Inference efficiency on one NVIDIA L20X GPU at 1024 × 1024, batch size 1, 40 denoising steps, and CFG 4.0. Parameter counts are obtained from the loaded inference modules. Latency is the mean and sample standard deviation over five cases after two warmup calls; memory is the maximum PyTorch-allocated GPU memory over the timed calls. B denotes parameters.
| Method | Denoiser params (B) | Pipeline params (B) | Time/image (s) | Peak memory (GiB) |
|---|---|---|---|---|
| Qwen-Image-Edit-2511 | 20.430 | 28.849 | 55.92 | |
| Ours (MLP) | 20.815 | 30.143 | 60.80 |
Parameter accounting. We count parameters in the loaded MLP-based PhysInsert model. The geometry MLP contains 1,314,048 parameters; including input LayerNorm and the geometry-modality embedding gives 1,321,216 parameters. Denoiser counts include the DiT, its LoRA parameters, the geometry projector, and third-stream adapters. Pipeline counts additionally include the multimodal encoder, VAE, and frozen VGGT aggregator. Shared weights are counted once, and training-only feature readout and spatial heads are excluded. This gives approximately 20.815B denoiser and 30.143B pipeline parameters, a 4.48% pipeline increase over the backbone.
Measurement protocol. Both models use the same NVIDIA L20X GPU, BF16 weights, PyTorch 2.12.1, CUDA 12.6, and no model offloading, with identical background, reference, and box-guidance images, prompts, and seeds. CUDA synchronization brackets each complete pipeline call, including encoding, denoising, and decoding; file I/O and model loading are excluded. PhysInsert measurements include online VGGT extraction and unfused LoRA execution.
H More Qualitative Results
Figures S1 and S2 show ten selected single-reference cases per guidance setting on PhysInsert-Bench, illustrating relative advantages in placement, viewpoint adaptation, and scene integration. Box-guided Ours uses the additional 4,000-step adaptation from Table 3; text-guided Ours uses the text-guided checkpoint without this adaptation. Object references are center-cropped for display only; inference inputs and generated outputs are unchanged.
Object
reference
Background
GT
OmniPaint
- SFT
Insert-Anything
- SFT
SHINE
DIRECT
- GT Pose
GPT-
Image-2
Nano Banana
Pro
Ours

Figure S1 Selected box-guided comparisons on PhysInsert-Bench with one reference image. DIRECT additionally receives GT pose.
Object
reference
Background
GT
OmniPaint
- SFT
Insert-Anything
- SFT
JoyAI
GPT-
Image-2
Nano Banana
Pro
Ours

Figure S2 Selected text-guided comparisons on PhysInsert-Bench with one reference image. References are center-cropped only for visualization.
Figures S3 and S4 present additional qualitative comparisons on 20 DreamBooth cases, with one reference image per case. Figure S5 presents further comparisons on 11 cases from the separate in-the-wild user-study set.

Figure S3 Additional qualitative comparisons on DreamBooth (1/2). Columns show the background, object reference, ground-truth target (GT), OmniPaint, InsertAnything, DIRECT, GPT-Image2, Nano Banana Pro, and Ours. DIRECT uses a GT-pose RGB proxy; GPT-Image2 and Nano Banana Pro use text guidance.

Figure S4 Additional qualitative comparisons on DreamBooth (2/2). The column order and method settings are the same as in Figure S3.

Figure S5 Additional qualitative comparisons on 11 cases from the in-the-wild user-study set. Columns show the object reference, background scene, OmniPaint, InsertAnything, DIRECT, Nano Banana Pro, and Ours. White boxes in the scene column indicate approximate insertion regions. OmniPaint is included for qualitative comparison only and was not part of the user-study ratings.
I Dataset Construction Details
Sample Filtering and Deduplication. We randomly select candidate objects from complete BlenderKit scenes and render counterfactual pairs under fixed camera, lighting, and remaining scene settings, recomputing shadows, mirror images, and reflections after removal. Rule-based filtering first rejects pairs with excessively small or large image changes. Gemini then examines the scene pair and object views for object completeness, background plausibility after removal, image quality, and realism, excluding unsuitable scene structures, residual semantic parts, and visible rendering artifacts. We deduplicate retained objects using DINO feature similarity while retaining their associated scenes. The complete Gemini quality-scoring and interaction-classification prompts, including image order and JSON output examples, are reproduced in Appendix J.1.
Scene Augmentation. For each retained scene-object combination, we keep the object and scene configuration unchanged while randomly varying the camera position. At each viewpoint, we rerender a matched with/without pair and apply a second quality check.
Object Reference Rendering. Each deduplicated object is independently rendered under seven lighting conditions: fixed white light, fixed studio lighting, and five randomly sampled HDR environments. For each condition, we use 11 fixed and 12 random viewpoints while preserving object geometry and material, yielding reference images per object. These references are associated with the corresponding scene pairs.
Dataset Comparison. Table 1 compares AnyInsertion (Song et al., 2025), DIRECT (Gong et al., 2026), and InsertWorld. CF denotes object-presence/absence pairs acquired through controlled capture or physical re-rendering under otherwise fixed settings; MV/ML denote same-object multiview/multilight data, and Ctrl. denotes control inputs. A blue check mark indicates that the corresponding data is provided; a red cross indicates that it is not specifically constructed; Partial indicates partial coverage.
I. 1 Controlled Benchmark Construction
Each controlled PhysInsert-Bench example contains an object-free background , a reference set , an insertion instruction p, the corresponding with-object target , and the target object region. The target box is the 2D bounding box enclosing the object rendered in Blender at its target pose. For box guidance, an additional reference image annotated with this box is supplied as visual conditioning, alongside the object-reference images. The object-reference counts reported in the tables do not include this additional box-annotated image. Text guidance instead uses spatial instructions describing position, scale, orientation, and occlusion relationships without an inference-time mask.
Each case also carries physical-effect labels and evaluation-focus tags, which specify the interactions emphasized by that example and are incorporated into the fixed Phy-VLM prompt. Interaction annotations describe scene-to-object requirements in illumination, visibility, and placement, and object-to-scene effects including cast shadows, reflections, mirror images, and occlusion changes. Optical cases combine substantial reference-target illumination differences with visible environmental effects. Spatial & Mechanical cases and 26 Optical challenges provide independent reference viewpoints to test scene-dependent orientation or pose adaptation.
I. 2 Real-World Test Set Construction
DreamBooth. We construct 40 test cases covering all objects in DreamBooth. For each case, we randomly select one image as the target and use the remaining images of the same object as the reference pool; we report one-reference evaluation. We remove the object from the target image using Nano Banana Pro and manually review the resulting background.
PhysInsert-Bench-Wild. The 50 cases draw on Amazon Berkeley Objects (ABO) (Collins et al., 2022), NAVI v1.5 (Jampani et al., 2023), the training and validation splits of ORIDa (Kim et al., 2025), and real images with references generated using SAM 3D Objects (Chen et al., 2026). Reference pools contain multiview product images from ABO, multiview photographs of the same object from NAVI, and cross-scene observations of the same object from ORIDa. For the SAM 3D-based cases, we use real target images and render reference views from SAM 3D Objects reconstructions.
J Dataset and Benchmark Samples
We visualize five examples from the InsertWorld training set and twenty examples from PhysInsertBench. The training examples show counterfactual scene pairs, isolated objects, and references under different viewpoints and illumination. The benchmark examples cover twenty distinct interaction tags, with one example per selected tag. These are illustrative data samples, not model predictions or a performance-ranked selection. Images retain their original aspect ratios and are resized for display. In the training examples, the original transparency of Removed-only renders is displayed over white; all other image contents are unchanged.
With
Without
Removed-only
(a) Planters
Object references: 2 lights x 4 views
View 1
View 2
View 3
View 4

(b) Armchair
L1
L2


(c) Wooden stool

L1
L2


(d) Pendant lamp

L1
L2


(e) Cup and saucer

L1
L2



L1
L2

Figure S6 Five InsertWorld training examples. Each row contains the with-object scene (With), the corresponding object-free scene (Without), and the isolated target rendered from the scene viewpoint on a white display background (Removed-only). The right panel shows the same target under two lighting conditions (rows L1 and L2) and four corresponding fixed viewpoints (columns). Lighting conditions and viewpoints are selected separately for each example.
Without
GT
Input object (1-view)
Optical
Multi-light
projection
Case 046

Optical
Cast shadow
Case 103
Optical
Glossy
reflection
Case 117
Optical
Mirror
reflection
Case 288
Optical
Reflective
receiver
Case 232
Figure S7 PhysInsert-Bench samples (1/4). The original interaction tag appears at left in readable form, followed by the object-free scene (Without), with-object target (GT), and actual single-view object input. Case IDs refer to the benchmark manifest.
Without
GT
Input object (1-view)
Optical
Transparent /
directional
Case 361

Optical
Emissive
lighting
Case 021
Optical
Environment
reflection
Case 325
Mechanical
Contained
Case 136
Mechanical
Inserted /
fitted
Case 098
Figure S8 PhysInsert-Bench samples (2/4). Column meanings follow Figure S7. The reference is the actual one-view benchmark input, including its original background; it is neither a multiview collage nor a newly rendered reference.
Without
GT
Input object (1-view)
Mechanical
Cloth
Case 039

Mechanical
Suspended
Case 142
Mechanical
Leaning
Case 169
Mechanical
Flat support
Case 161
Spatial
Depth order
Case 390
Figure S9 PhysInsert-Bench samples (3/4). Column meanings follow Figure S7. The examples illustrate cloth, suspension, leaning, flat support, and depth ordering using the original benchmark annotations.
Without
GT
Input object (1-view)
Spatial
Partial
occlusion
Case 225

Spatial
Placement
relation
Case 195
Spatial
Scale
adaptation
Case 177
Spatial
Perspective
foreshortening
Case 035
Spatial
Viewpoint gap
Case 048
Figure S10 PhysInsert-Bench samples (4/4). Column meanings follow Figure S7. These examples cover partial occlusion, placement relations, scale adaptation, perspective foreshortening, and viewpoint gaps.
J.1 Gemini Prompts for Dataset Curation
We reproduce the quality-scoring and interaction-classification prompts used by the dataset-curation implementation. These prompts inspect rendered training-data candidates, not predictions from the methods compared in our result tables. Both produce a short insertion caption (insertion_description) as part of a structured JSON response; this caption is distinct from the full editing prompt used to condition the generation model. The wording and example responses below are preserved, with only typographic reformatting. The JSON examples are part of the prompts, not measured sample annotations.
Ordered visual inputs. Both stages receive the same first six images. Classification additionally receives an environment-difference visualization. A single prompt accompanies the ordered image list; changing this order would change the intended interpretation.
| Index | Input | Role |
|---|---|---|
| 1 | with | Scene with the candidate target inserted. |
| 2 | without | Matched scene after target removal. |
| 3 | removed_only | Isolated target/group in the scene view. |
| 4–6 | Front, right, top | Three canonical views of the target/group. |
| 7 | Environment difference | Classification only: signed changes outside the target; blue/darker, red/brighter, green/chromatic. |
Two complementary annotations. Stage 1 assigns six integer scores in [0, 5]: object validity, three-view quality, insertion-result validity, image realism, insertion difficulty, and overall quality. Difficulty rewards useful complexity but must not compensate for severe quality failures. Stage 2 retains an image-realism score, assigns relative scale and mechanical type, and records seven scene-interaction attributes. Mechanical interaction and lighting/shadow complexity use integer levels 0/1/2; the other five interaction fields are Boolean. These are evidence-based annotations, not mutually exclusive benchmark-subset labels. In particular, a visible change in the amplified difference map is not sufficient evidence of a reflection without confirmation in the original scene pair.
Version scope. The following templates correspond to the six-image quality-scoring and seven-image interaction-classification implementations. Older prompt variants and batch-level model overrides may differ; reproducing a historical annotation also requires that batch's recorded request configuration. The templates do not by themselves specify a universal dataset-retention threshold.
J.1.1 Stage 1: Six-Dimension Quality Scoring
Prompt S1: Quality scoring — complete request text
You are a senior quality-control expert for 3D object-insertion training data. You will receive 6 images and must judge whether this sample is suitable for object-insertion training.
[Inputs]
-
Image 1: with, the result after inserting the object.
-
Image 2: without, the background before insertion.
-
Image 3: removed_only, an isolated rendering of the object to be inserted.
-
Image 4: front view of the object.
-
Image 5: right view of the object.
-
Image 6: top view of the object.
Prompt S1: Quality scoring (continued)
[Task]
-
Describe the sample from the insertion perspective: "insert [object] at [location]". Treat Image 1 as the result of inserting the object shown in Images 3-6 into the scene in Image 2. If the object cannot be identified, write "unclear insertion object".
-
Score the following 6 dimensions from 0 to 5, where 5 is best. Use Images 3-6 especially for object_validity and three_view_quality, and compare Images 1-2 especially for insertion_result_validity.
-
Output JSON keys must be English exactly as specified. Chinese labels below are only references.
If the inserted object is unclear, insertion_description must be "unclear insertion object", and all six scores must be 0.
[Dimensions]
1. object_validity
-
Judge whether the target is a reasonable independent object or a tightly bound object group.
-
Reasonable examples: cups, chairs, flowerpots, lamps, curtains, wire mesh, hanging ornaments, decorative objects, or strongly bound small parts.
-
Unreasonable examples: walls, floors, ceilings, large background regions, large cabinet/room structures, or structural surfaces that change the whole scene.
-
If removed_only or the three views show a wall, floor, ceiling, or huge background structure, score <= 1.
-
Curtains, rugs, wire mesh, railings, hanging screens, etc. may be large but can still be valid if they are semantically independent insertable objects.
-
Thin disk-like or sheet-like objects such as coasters, pads, washers, thin trays, dials, rugs, and similar items are valid when they have clear semantics or physical relations, such as a cup-coaster support/contact relation. Do not give a low score only because they are thin.
-
The inserted target should preferably be one object or a semantically coherent object group. Spatial separation is acceptable when the objects form one continuous semantic unit or a natural arrangement, such as a row of chairs. However, if the target contains multiple disconnected object groups placed in different unrelated regions, such as several groups of books in different compartments of a bookshelf, score <= 2.
2. three_view_quality
-
Judge whether Images 4-6 provide enough clear, learnable information about the inserted object.
-
At least one or more views should clearly show the object's outline, scale, orientation, part relationship, or key material information. Penalize if all three views are blurry, overexposed, too dark, too small, heavily cropped, or nearly duplicate the same view.
-
Do not give a low score just because one or two views look like a line. Flat objects such as disks, coasters, pads, thin boards, trays, and dials naturally look line-like from front/side views. If the top view or another view clearly shows the shape, and the object has clear semantics or a physical relation, this dimension can be medium or high.
-
If at least one three-view image provides enough information, for example a coaster/disk/dial shape is clear in top view, the score should usually be >= 3.
-
Score <= 2 only when all three views provide little useful information, or when the object is extremely thin/long and lacks learnable shape, material, or semantic information, such as a very thin railing/rod/cable.
3. insertion_result_validity
-
Focus on Image 2 without: whether it is suitable as the pre-insertion background. The sample was constructed by deletion, so with is usually more reliable and without is more likely to contain artifacts.
-
Core check: whether Image 2 still contains parts that belong to the same semantic object, same object group, or strongly bound components of the inserted object. For a flowerpot, without should not leave leaves/soil/tray from the same plant; for a pendant lamp, without should not leave the lampshade/bulb/wire/rod of the same lamp.
-
If unrelated objects in without are floating, structurally odd, abstract, or physically unnatural, but they are not the same semantic object/group and not strongly bound to the inserted object, do not heavily penalize this dimension.
-
Penalize this dimension only when without has same-object residuals, same-group residuals, strongly bound residual parts, or an obvious hole/break at the insertion region that makes it unusable as a pre-insertion background.
Prompt S1: Quality scoring (continued)
-
If Image 1 contains an obvious violation of physical plausibility in an otherwise highly realistic scene, such as a clearly floating object in an indoor environment, or if the inserted object has physically implausible mesh penetration with the scene, the score for this dimension should be .
-
If the difference between the Image 1 and Image 2 is too small, such as when the inserted object is heavily occluded or visually too similar to the surrounding environment, making the insertion result difficult to identify, the score for this dimension should be .
4. image_realism
-
Judge whether Images 1 and 2 contain rendering or geometry quality problems that make the sample unusable. Do not simply penalize the scene for being stylized or abstract.
-
Acceptable: minimal abstract geometry scenes, simple 3D style, unrelated floating objects in without, unrelated physically unnatural context, or small black rendering artifacts outside the object insertion region that do not affect insertion quality.
-
Accept reasonable contact, support, attachment, or slight embedding between an object and its support, such as a cup on a coaster or an object attached to a pad/base. Do not label such physical contact as mesh penetration.
-
Penalize: severe visible mesh penetration, broken geometry, abnormal faces, wrong-normal black/bright faces, obviously wrong material rendering, abnormal exposure or lighting, large black/blank image regions, large unintended solid-color backgrounds, or rendering collapse.
-
If the image contains large black unrendered regions, or if the scene lighting is so low that key scene information is difficult to recognize, the score should be .
5. insertion_difficulty
-
This is a bonus-like dimension. It measures whether the sample contains difficult but valuable insertion conditions. It must not hide severe failures in the basic dimensions above.
-
Difficulty has three categories: spatial complexity (occlusion, perspective deformation), physical complexity (size, support, tilt, suspension, contact), and lighting/material complexity (high contrast, strong shadows, reflection, self-emitting lamp-like objects, metal/transparent/glass/complex textures).
-
If the object is frontal, unoccluded, under simple lighting, with simple material and simple physical relation, difficulty should be low or medium.
6. overall_quality
-
Overall suitability for object-insertion training, considering the five dimensions above.
-
If any basic dimension among object_validity, three_view_quality, insertion_result_validity, and image_realism has a severe error, overall_quality must be low and cannot be rescued by high insertion_difficulty.
-
If the four basic dimensions have no severe problem, insertion_difficulty can boost overall_quality. High-quality high-difficulty samples can receive 5. Low-difficulty samples usually tend toward 3-4 unless the basic dimensions are exceptionally good.
[Scoring Discipline]
Be strict. Do not give 4 or 5 lightly; reserve high scores for samples with clearly strong evidence and no serious issues in the relevant dimensions.
For each dimension, the reason must be specific: point out the problem location and problem type, and avoid vague generic comments.
[Output Requirements]
Return only one JSON object wrapped by “json and “: Do not output any extra text.
The JSON object must contain exactly these top-level keys: insertion_description, object_validity, three_view_quality, insertion_result_validity, image_realism, insertion_difficulty, overall_quality, reason.
reason must be a JSON object, not a string. It must contain exactly these six keys: object_validity, three_view_quality, insertion_result_validity, image_realism, insertion_difficulty, overall_quality.
All six score values must be integers from 0 to 5.
[Valid Output Template]
{
"insertion_description": "insert a white vase on the tabletop",
"object_validity": 5,
"three_view_quality": 4,
}
Prompt S1: Quality scoring (continued)
"insertion_result_validity": 4, "image_realism": 4, "insertion_difficulty": 2, "overall_quality": 4, "reason": { "object_validity": "The target is an independent vase and is a reasonable insertable object.", "three_view_quality": "The three views clearly show the vase outline, volume, and material cues.", "insertion_result_validity": "The without image is usable and has no same-object residual parts around the insertion region.", "image_realism": "The scene has no severe rendering collapse, broken geometry, or obvious material errors.", "insertion_difficulty": "The object is mostly unoccluded with simple lighting and material, so the insertion difficulty is moderate to low.", "overall_quality": "The four basic dimensions are acceptable, but the task is not very difficult, so it is a usable regular training sample." }
J.1.2 Stage 2: Object Properties and Scene Interactions
Prompt S2: Interaction classification — complete request text
You are a senior analyst of 3D object-insertion data. You will receive seven images describing one insertion case. Classify the inserted object and its interactions with the scene. Also retain an image-realism quality score.
[Input images]
-
Image 1: with, the scene containing the target object.
-
Image 2: without, the same scene after removing the target object.
-
Image 3: removed_only, an isolated rendering of the complete removed object group.
-
Image 4: front view of the complete removed object group.
-
Image 5: right view of the complete removed object group.
-
Image 6: top view of the complete removed object group.
-
Image 7: signed environment difference map after masking the target object's own pixels. Black means little or no detected change. Blue means the pre-existing scene became darker after insertion, red means it became brighter, and green means a mainly chromatic change with little luminance change. Intensity represents amplified change magnitude. Use it only to locate and type candidate changes, then verify their physical meaning in Images 1-2.
Use Images 3-6 to identify intrinsic object properties. Compare Images 1 and 2 to identify object-environment relations. Do not infer a relation merely because it is theoretically possible. For boolean fields, mark true only with visible evidence. For 0/1/2 fields, choose a positive level only with visible evidence supporting that level.
[Tasks]
-
Write insertion_description in the form "insert [object] at [location]".
-
Score image_realism from 0 to 5, where 5 is best. The inserted target must be correctly rendered in Image 1 (with). Check Images 1 and 2 for rendering collapse, broken or missing geometry, wrong normals, severe penetration, abnormal exposure, missing textures, genuinely unrendered regions, abnormal black target parts, and clearly incorrect material rendering. Stylized but internally consistent scenes are acceptable.
-
Judge rendering and geometry quality only to determine whether the insertion sample is visually usable. Do not lower image_realism merely because the scene is stylized, abstract, minimal, semantically unusual, or physically implausible in ways unrelated to the insertion.
-
Acceptable context includes minimal abstract geometry, a simple 3D rendering style, unrelated floating objects already present in without, unrelated physically unnatural scene content, and small isolated black rendering artifacts outside the target/insertion region when they do not affect insertion quality or interpretation.
-
Accept reasonable contact, support, attachment, and slight embedding between the target and its intended support, such as a cup resting on a coaster or an object attached to a pad/base. Do not call ordinary load-bearing contact, a tight attachment, or shallow support embedding severe mesh penetration. Penalize
Prompt S2: Interaction classification (continued)
penetration only when geometry visibly passes through another surface by an implausible amount, produces broken/interleaved faces, or materially damages the target or support silhouette.
-
Quality problems include severe visible mesh penetration, broken or missing geometry, abnormal faces, wrong-normal black/bright faces, clearly incorrect material rendering, abnormal exposure or lighting, large black/blank unrendered regions, large unintended solid-color backgrounds, and partial or complete rendering collapse.
-
Large-black/low-light score cap: if Image 1 contains a large genuinely unrendered black/blank region, or scene illumination is so low that the target or key scene structure is difficult to recognize, image_realism must be 0, 1, or 2 and never higher. Use 2 when the sample remains usable despite the defect; use 0 or 1 when the blank region or darkness dominates, hides the target, or prevents reliable interpretation. This cap concerns missing content or unusable visibility, not physically plausible black materials or shadows.
-
Large unintended solid-color backgrounds of any color cap image_realism at 2 when they visibly replace expected scene content or indicate rendering failure. Apply the stricter flat-gray gate below when the failed region is a substantial near-uniform neutral gray area.
-
Mandatory target-integrity gate: first identify the target's complete expected structure, parts, silhouette, and materials from removed_only and the front/right/top views. Then inspect every visible target region in with. The target must appear as a coherent rendered object: expected visible parts must exist, surfaces must be continuous, geometry must not look shattered, torn, erased, hollow, or accidentally clipped, and materials/textures must not be replaced by anomalous featureless black patches. Do not award 5 unless this target-integrity check clearly passes.
-
Mandatory target-visibility gate: compare with against removed_only and determine whether a meaningful, recognizable portion of the inserted target is actually visible in the scene image. If the target is almost invisible because it is nearly entirely outside the frame, hidden by scene geometry, reduced to only a tiny sliver or scattered fragments, extremely underexposed, or merged with the background so strongly that its silhouette and material cannot be judged, image_realism must be 0 or 1 and never 2 or higher. Use 0 when the target is effectively absent or cannot be reliably located in with; use 1 when only a tiny insufficient fragment or extremely weak trace remains. As a practical cue, visibility of roughly less than 10 percent of the expected projected target silhouette, or the absence of any coherent identifiable target part, normally triggers this rule. A physically small XS/S object is not a failure when it is still clearly resolved and recognizable.
-
Target-defect score caps: a clear but localized target rendering defect, such as a broken surface, missing small part, isolated invalid black patch, wrong-normal patch, texture dropout, or obvious unintended intersection, caps image_realism at 2. A widespread defect, a missing major target part, severe geometry collapse, or a black/corrupt region that materially prevents recognizing or judging the inserted target requires image_realism 0 or 1. A visible but milder suspicious artifact that does not clearly break geometry or materials caps the score at 3.
-
For target defects, one direct contradiction with removed_only or the three object views is sufficient evidence; do not require two independent indicators. Examples include an expected target surface becoming a featureless black hole, a target part abruptly disappearing without a foreground occluder, or a material region being replaced by black pixels whose boundary cuts across the target's own geometry. This target-specific rule takes priority over the general black/gray-region rule below.
-
Mandatory flat-gray unrendered-region gate: if Image 1 contains a visually substantial region of nearly uniform neutral gray that is clearly empty/unrendered rather than scene geometry, image_realism must be 0 or 1 and never 2 or higher. The decisive evidence is a pure-color-like gray area with almost no texture, material detail, geometry, shading gradient, lighting variation, or physically meaningful structure, often ending at an artificial boundary or replacing an area where scene content should exist. This gate applies even when the gray region does not overlap the target and takes priority over the general non-target two-indicator rule below. Use 0 when the blank gray region dominates or makes the image unusable; otherwise use 1.
-
Do not confuse the flat-gray gate with darkness caused by the inserted object or scene lighting. A cast/contact shadow, shaded wall, gray material, fog, or underexposed surface remains valid when it preserves scene texture, geometry, gradual illumination or penumbra, material variation, reflections, or boundaries consistent with physical objects. A dark region is not a pure-gray unrendered region merely because it is large or low-contrast.
-
Dark pixels, a large black/gray area, low exposure, or contact with the image boundary are not by themselves rendering failures. Before lowering the score, first identify what geometry occupies that region using with, removed_only, and the three object views. Dark target materials, dark scene objects, fabric folds, physically
Prompt S2: Interaction classification (continued)
plausible cast/contact shadows, naturally dark rooms, foreground objects close to the camera, and ordinary image-frame cropping are valid rendered content.
-
Evidence of valid rendering includes a coherent object silhouette, continuous geometry, material texture, fabric detail or folds, soft shading gradients, plausible shadow transitions, highlights, and boundaries that follow visible scene geometry. A dark region with any of these cues must not be called flat, blank, or unrendered merely because its average brightness is low.
-
General non-target hard failure rule: assign image_realism 0 or 1 for a black/gray/blank scene region only when there is positive visual evidence that rendering content is actually missing or corrupted and it materially prevents judging the target. For non-target/background regions, require at least two of these indicators: (a) the region is genuinely featureless with no geometry, texture, shading gradient, or plausible shadow structure; (b) it has an abrupt boundary that does not follow any object silhouette, occluder, image frame, or physical shadow; (c) it cuts through or replaces target parts that removed_only or the three views show should be visible; (d) it is inconsistent with the corresponding scene geometry in with/without; (e) it produces impossible holes, erased surfaces, or broken topology. This two-indicator requirement does not apply to a directly verified target defect under the target-integrity gate. A dark region appearing only in with is valid only when it is visibly coherent target material or shading, not merely because it overlaps the target location.
-
Image-frame cropping is not a failure when enough of the target remains clearly visible and judgeable. However, cropping becomes a hard visibility failure under the target-visibility gate when almost the entire target lies outside the frame or only a tiny unjudgeable fragment remains. Similarly, foreground target parts may legitimately cover the bed, floor, support surface, or other background content.
-
Calibration example: dark pillows or other soft furnishings close to the camera may occupy and be cropped by a lower corner. If their silhouettes, fabric folds, shading, and mutual shadows remain coherent, this is valid rendering and must not receive 0 or 1 merely for being dark. It should normally receive 4; use 5 only if the entire image also satisfies the exceptional score-5 gate below.
-
The image_realism reason must explicitly report both the target-visibility gate and the target-integrity gate. State whether the target is clearly visible and judgeable in with. If visibility fails, describe what little remains visible and assign 0 or 1. If integrity fails, name the damaged/missing target part or abnormal black region, compare it with removed_only or a specific object view, and state the applied score cap. If both pass, explicitly state that a meaningful target portion is visible and its geometry and materials are coherent. Also state whether the large-black/low-light cap, unintended-solid-color cap, flat-gray gate, or any other general hard failure applies. Do not describe normal dark materials, shadows, foreground coverage, moderate frame cropping, reasonable support contact, attachment, or slight support embedding as corruption or penetration.
-
Score 5 is exceptional and must be rare. Award 5 only when the target is clearly visible and fully coherent, placement and contact are physically plausible, geometry/normals/materials/textures are clean, lighting and shadows are consistent, and no visible artifact, suspicious blank area, penetration, corruption, or meaningful quality concern remains anywhere in Image 1. Passing the hard-failure gates alone is not enough for 5. Use 4 for a strong, fully usable image with any minor imperfection, uncertainty, small artifact, slightly awkward integration, or merely ordinary rendering quality. When uncertain between 4 and 5, always choose 4.
- Classify object properties:
-
relative_scale: exactly one of "XS", "S", "M", "L", or "XL". Judge the complete removed object group's physical scale relative to the visible scene and nearby objects in Images 1-2. Never use its enlarged crop size in removed_only or the three views.
-
XS: an object component or sub-part rather than a normally complete standalone object, such as a handle, knob, bulb, small panel, fixture part, or one component of a larger assembly.
-
S: a small standalone or handheld/tabletop object, such as a cup, book, small ornament, small lamp, or compact container.
-
M: a normal standalone scene object larger than typical tabletop items but clearly below major furniture scale, such as a floor lamp, medium plant, stool, waste bin, or small appliance.
-
L: a large object at furniture or major appliance scale, such as a chair, table, sofa, bed, refrigerator, or substantial cabinet.
-
XL: an architectural or near-architectural-scale object occupying a broad scene region, such as a long wall-spanning curtain, a large built-in wardrobe/cabinet wall, a room divider, or another object comparable to a wall opening or building element.
Prompt S2: Interaction classification (continued)
Choose the closest scale class from visible scene evidence. Semantic identity is only an anchor; prioritize the object's actual scale in this scene.
- mechanical_type: exactly "rigid" or "non_rigid". Use "non_rigid" for cloth, curtains, soft furnishings, flexible sheets, deformable vegetation, cables, and similar objects whose shape can deform. Use "rigid" for objects whose shape is normally fixed. Judge the dominant property of a coherent object group.
- Classify environment_relations using the exact types and levels below.
Boolean fields:
-
has_occlusion: true only when the target is meaningfully partially hidden by foreground scene geometry or participates in a nontrivial layered occlusion boundary. Use removed_only as the primary reference: compare the target silhouette and visible parts in with against the isolated target in removed_only, which represents the same target without scene occluders. If a part is visible in removed_only but disappears or is cut off in with exactly where foreground scene geometry passes in front of it, that is strong evidence of occlusion. Use the front/right/top views as additional references for the target complete structure when needed. Do not classify image-frame cropping, an incomplete removed object, self-occlusion, shadows, or ordinary coverage of the background by a fully visible target as scene occlusion. The reason must identify the foreground occluder and which target part it hides, and should mention the removed_only comparison when it provides the evidence.
-
has_strong_perspective_depth: true when the scene has strong depth perspective around the target, such as large near-far scale variation, deep spatial placement, or substantial perspective deformation that makes insertion geometry harder. A normal perspective camera alone is not enough.
-
has reflective_surface_interaction: this field is specifically about the inserted target changing the appearance of a pre-existing reflective or transmissive scene surface. Use Image 7 only to locate scene regions changed by inserting the target, then inspect the same coordinates in the original with and without images. Image 7 colors mean: blue = the scene became darker, red = the scene became brighter, green = the scene mainly changed color. The color itself does not determine the label.
Return true only when all of the following are satisfied: (1) the changed region is outside the inserted target; (2) the receiving scene surface is visibly identifiable as glossy, polished, metallic, glass, water, or another genuinely reflective/refractive material; (3) the aligned with/without comparison shows a clear target-caused change on that surface; (4) the change has reflection, specular-highlight, or refraction characteristics rather than ordinary diffuse illumination; and (5) the change is readily visible to a human at normal viewing scale. Examples that may qualify include the target or its color appearing in a glossy cabinet or polished floor, a target-caused specular highlight changing on metal or glass, or visible refraction through a transmissive scene surface.
Return false for ordinary diffuse brightening or darkening of walls, ceilings, fabric, matte wood, or other non-reflective surfaces; generic bounce light or color bleeding; illumination cast by an emissive target; target cast/contact shadows; ordinary light blocking; ambient occlusion; and any vague change for which the receiving surface cannot be confidently identified as reflective or transmissive. A recognizable mirror reflection belongs exclusively to has_mirror_reflection_interaction and must be false here.
Material identity alone is not enough: the reflective/refractive content or highlight on that surface must visibly change between with and without. Conversely, a changed region alone is not enough: do not infer reflection merely from red, green, or blue pixels in Image 7. Image 7 is amplified and is never sufficient evidence by itself. When the material, cause, or human visibility is uncertain, return false.
The reason must name the receiving scene surface and its visible reflective/transmissive material cue, identify the changed reflection/highlight/refraction, state whether Image 7 shows blue/red/green there, and confirm that the change remains readily visible in the original with/without images. For false, explicitly state which required condition is missing, such as no identifiable reflective receiver, only diffuse illumination, only shadow/light blocking, only a mirror reflection, or insufficient human-visible change.
- has_mirror_reflection_interaction: true only when one of the following two evidence paths is satisfied:
A. Scene-mirror change: a mirror or mirror-like scene surface contains recognizable reflected content that changes because of the target insertion. Compare the same mirror region at aligned coordinates in with and without. The reflected target, or another recognizable reflected scene object/structure whose mirror image is altered or occluded by the target, must appear, disappear, move, or visibly change between the two images. A mirror merely being present is false. An unchanged mirror image is false, even if it contains many recognizable scene objects.
B. Target-is-mirror: the inserted target itself is a mirror or contains a genuine mirror surface, and in with that target mirror visibly reflects recognizable objects or spatial structure from the surrounding environment. Use removed_only and the three views to confirm that the reflective surface belongs to the target, then identify
Prompt S2: Interaction classification (continued)
the specific reflected environment content visible after insertion. This path does not require a with/without comparison inside the target region because the target mirror is absent in without.
Mandatory decision procedure: first determine whether the candidate mirror belongs to the pre-existing scene or to the inserted target. For a pre-existing scene mirror, true requires a concrete aligned with/without change in its recognizable reflected content caused by the target. For a target mirror, true requires recognizable environment content inside the target mirror. Otherwise return false.
Do not use this field for ordinary glossy highlights, reflected color, illumination changes, vague silhouettes, blurry metallic reflections, dark screens, glass without recognizable reflected content, or changes outside the mirror region. Those may belong to has_reflective_surface_interaction but are not mirror interaction. The reason must name the mirror owner, the reflected object or structure, and either the exact with/without mirror-content change for path A or the recognizable environment content reflected by the target mirror for path B.
- has_emissive_large_scale_lighting_change: true only when the target is self-emissive and its presence causes a visible large-scale illumination or color change in the surrounding environment. A glowing pixel or bright lamp surface without substantial environmental lighting change is false.
Three-level integer fields (must be JSON integers 0, 1, or 2, not booleans):
-
has_mechanical_interaction:
-
0 (none): no clearly visible support, contact, suspension, attachment, or other meaningful force relation with scene geometry can be identified.
-
1 (simple): ordinary static support and gravity balance through one simple support arrangement, such as an object resting on a table, shelf, floor, or a single regular base. A target simply mounted on or placed against a wall also counts as simple when no explicit load-bearing suspension mechanism or positional constraint is visible; an object that could plausibly occupy an arbitrary wall position must not be promoted to level 2 merely because it is described as hanging. Several feet touching the same flat floor still normally count as simple unless they create a genuinely nontrivial balance.
-
2 (complex): nontrivial force balance involving multiple independent support/contact points or constraints from different directions, tension, clamping, leaning with multiple force-bearing contacts, or another mechanically coupled arrangement whose stability depends on more than ordinary single-surface support. A hanging or suspended target qualifies as level 2 only when the images show an explicit suspension dependency and load path, such as a visible hook, rope, cable, chain, bracket, slot, ceiling attachment, or multiple suspension points that constrain and support the target. Do not infer complex suspension from semantic identity or wall placement alone.
Mere proximity without visible force-bearing contact is 0. Assign level 2 only from visible mechanical evidence, not from an assumption about how the object is normally installed. State the visible support/contact points, suspension mechanism, and force relation in the reason.
-
has_complex_lighting_shadows:
-
0 (none): no clearly identifiable target-related shadow is visible; extremely weak generic ambient occlusion that cannot be confidently attributed to the target also counts as 0.
-
1 (simple): exactly one dominant target-related contact/cast shadow direction or one coherent shadow lobe is visible under otherwise simple lighting. A soft shadow still counts, but level 1 is allowed only after checking all sides of the target and finding no second independently directed target shadow.
-
2 (complex): assign level 2 whenever two or more distinct target-related cast-shadow lobes or projections are visible in different directions, on opposite sides of the target, or on different receiving surfaces. This is direct evidence of multiple or spatially varied light contributions. The shadows may be soft, faint, partially overlapping, or unequal in strength; they do not need to be crisp, high-contrast, intricate, or produced by obvious visible lamps. Also use level 2 for split illumination across the target, multiple light directions, overlapping shadows, strongly spatially varying light, or intricate/high-contrast shadow patterns.
Mandatory shadow inspection procedure:
-
Locate the complete target using with and removed_only, then inspect the floor/support and the full perimeter on its left, right, front, and back image sides rather than stopping at the strongest shadow.
-
Compare the same coordinates in with and without. A dark or shaded lobe that appears with the target and disappears or weakens without it is target-related evidence. Use Image 7 to locate subtle non-target changes, then verify them in with/without.
-
Inspect shadows cast by nearby scene objects as supporting evidence for the scene light directions. If those shadows reveal illumination from multiple directions, actively search for the corresponding weaker target projections; scene-object shadows are clues, but level 2 still requires visible target-related shadow or split-light evidence.
Prompt S2: Interaction classification (continued)
-
If two target shadows extend to the left and right, or otherwise diverge in direction, classify level 2 even when one is much softer or less visible than the other. A common level-2 case is one strong lobe on one side plus one broad faint lobe on the opposite side. Do not merge them into one soft shadow and do not reject the weaker lobe merely because its boundary is diffuse.
-
Distinguish ambient occlusion from a weak cast shadow spatially. Ambient occlusion is restricted to a narrow contact rim or crevice that tightly hugs the target base with no directional outward extent. A dark region that spreads outward from the silhouette over the receiving surface, has a displaced or directional lobe shape, or occupies a broader area than the immediate contact rim is a shadow projection, even if it is faint and soft.
-
Use scene lighting evidence as a tie-breaker. When nearby objects show shadows or highlights consistent with two light directions, and the target has one strong lobe plus a weaker outward-spreading lobe in the corresponding second direction, count both target lobes and assign level 2. Do not call the weaker lobe ambient occlusion unless it is strictly confined to the narrow target-contact boundary.
Calibration example: a round chair on a rug with a visible projection to its right and a weaker but spatially extended projection to its left is level 2, not level 1. Softness and unequal intensity do not reduce the number of shadow directions.
Do not count truly generic ambient occlusion or texture darkening as an additional cast shadow. The reason must enumerate every detected target shadow by image-relative direction and receiving surface. A level-1 reason must explicitly state that every other dark region is confined to a narrow contact rim with no outward directional extent; saying only that it is faint or soft is not sufficient to reject it.
[Output requirements]
Return only one JSON object wrapped in a json code fence. Use exactly the English keys shown below. Every classification and every relation must have a concise, evidence-based reason.
Keep every reason to exactly one sentence of at most 20 English words. Keep the complete response below 700 English words; do not add commentary outside the JSON.
{ "insertion_description": "insert a table lamp on the side table", "image_realism": 4, "object_properties": { "relative_scale": "S", "mechanical_type": "rigid" }, "environment_relations": { "has_occlusion": false, "has_strong_perspective_depth": false, "has_mechanical_interaction": 1, "has_complex_lighting_shadows": 1, "has_reflective_surface_interaction": false, "has_mirror_reflection_interaction": false, "has_emissive_large_scale_lighting_change": true }, "reason": { "image_realism": "The scene is coherent and has no severe rendering defects.", "relative_scale": "The lamp is a small tabletop object relative to the room and nearby furniture.", "mechanical_type": "The lamp has a fixed rigid body.", "environment_relations": { "has_occlusion": "The complete lamp is visible without meaningful foreground occlusion.", "has_strong_perspective_depth": "The lamp is viewed in a locally shallow region without strong near-far deformation.", "has_mechanical_interaction": "Level 1: the lamp has a simple single-surface support relation with the tabletop.", "has_complex_lighting_shadows": "Level 1: one straightforward cast shadow from the lamp is visible on the tabletop.", "has_reflective_surface_interaction": "No nearby reflective surface visibly changes because of the lamp.", "has_mirror_reflection_interaction": "The lamp is not visibly reflected by a scene mirror and does not itself contain a mirror reflecting recognizable scene objects.", "has_emissive_large_scale_lighting_change": "The lamp visibly changes illumination over a broad surrounding region." } } }
Prompt S2: Interaction classification (continued)
}
}
}
K User Study Protocol
We collect complete responses from 27 distinct participants on 25 in-the-wild insertion cases, comparing PhysInsert, Insert-Anything, DIRECT, and Nano Banana Pro. Method identities are hidden, and case and method orders are randomized. These cases form a separate user-study set constructed by combining scenes from RealBokeh with foreground objects from Distinctions-646. With the background and object reference visible, participants rate side-by-side results from 1 to 5 (higher is better) on lighting integration (including object illumination and cast shadows), perspective, pose, identity preservation, and background preservation. We average over cases within each participant, then across participants; the overall score equally weights the five criteria.
The error bars in Figure 4 show 95% percentile confidence intervals estimated from 50,000 participant-level bootstrap resamples, with the 25 cases held fixed.