LayoutRecall: Preserving Appearance in Multi-Round 3D Layout-Controlled Image Editing
Organizations: University of California San Diego · University of California Irvine · Nanyang Technological University
Abstract
3D layout-controlled image editing gives users explicit control over object placement and camera viewpoint. In a sequence of edits, however, the latest image can lose the appearance of an object when it is occluded or leaves view. The target layout specifies where the object should reappear, while its appearance must be recovered from earlier observations. We introduce LayoutRecall, a multi-round editor that stores and reuses appearance in the local coordinate systems of 3D boxes. Box-Surface Latent Memory retains image latents on box faces and retrieves them along rays in the target view. Geometry-Aligned Memory Conditioning supplies the retrieved tokens to a FLUX.2 editor using target-view positions, shared box-local embeddings, and object-wise attention. A correspondence loss encourages the editor to attend to matching observations during denoising. We also introduce LayoutLoop, a multi-round 3D layout-controlled image editing benchmark with calibrated layouts and designed revisits. We conduct extensive experiments on LayoutLoop and real-scene data to verify the ability of our method. The project page is at https://ykchizs.github.io/layoutrecall.github.io/.
Figures & tables
| Quality | Editing Accuracy | Preservation | ||||||
|---|---|---|---|---|---|---|---|---|
| Method | MUSIQ | Add | Move | Delete | Camera | PSNR | SSIM | LPIPS |
| BoxCtrl [ 51 ] | 10.93 | 0.203 | 0.500 | 0.576 | 0.643 | 22.37 | 0.801 | 0.301 |
| Thinking in Boxes [ 5 ] | 3.27 | 0.215 | 0.585 | 0.691 | 0.756 | 26.03 | 0.862 | 0.202 |
| SeeThrough3D [ 1 ] | 7.57 | 0.234 | 0.308 | 0.261 | 0.270 | 9.32 | 0.418 | 0.803 |
| LayoutRecall (ours) | 1.79 | 0.218 | 0.602 | 0.774 | 0.792 | 32.66 | 0.911 | 0.132 |
| Quality | Editing Accuracy | Preservation | |||||
|---|---|---|---|---|---|---|---|
| Method | MUSIQ | mIoU | Succ. | Survive | PSNR | SSIM | LPIPS |
| BoxCtrl [ 51 ] | 6.43 | 0.712 | 0.887 | 0.326 | 21.48 | 0.736 | 0.205 |
| Thinking in Boxes [ 5 ] | 2.25 | 0.541 | 0.713 | 0.742 | 23.66 | 0.764 | 0.134 |
| SeeThrough3D [ 1 ] | 5.81 | 0.507 | 0.713 | 0.616 | 9.37 | 0.206 | 0.746 |
| LayoutRecall (ours) | 1.57 | 0.728 | 0.900 | 0.916 | 29.33 | 0.900 | 0.047 |
| Quality | Editing Accuracy | Preservation | Consistency | |||||
| Method | MUSIQ | mIoU | Succ. | PSNR | SSIM | LPIPS | Back | Self |
| BoxCtrl [ 51 ] | 18.65 | 0.485 | 0.540 | 17.16 | 0.688 | 0.491 | 15.46 | 0.287 |
| Thinking in Boxes [ 5 ] | 4.32 | 0.470 | 0.568 | 18.03 | 0.676 | 0.430 | 14.96 | 0.570 |
| SeeThrough3D [ 1 ] | 7.36 | 0.618 | 0.816 | 9.24 | 0.411 | 0.816 | 9.48 | 0.340 |
| MT-OPSD [ 68 ] | 10.79 | 0.149 | 0.180 | 15.46 | 0.650 | 0.504 | 12.98 | 0.414 |
| FreqEdit [ 26 ] | 4.98 | 0.280 | 0.288 | 16.76 | 0.621 | 0.424 | 15.14 | 0.596 |
| Quality | Editing Accuracy | Preservation | Consistency | |||||
| Method | MUSIQ | mIoU | Succ. | Survive | PSNR | LPIPS | Back | Self |
| BoxCtrl [ 51 ] | 26.05 | 0.442 | 0.530 | 0.191 | 29.86 | 0.113 | 31.42 | 0.215 |
| Thinking in Boxes [ 5 ] | 4.42 | 0.372 | 0.430 | 0.421 | 28.18 | 0.075 | 19.96 | 0.500 |
| SeeThrough3D [ 1 ] | 7.02 | 0.522 | 0.710 | 0.604 | 12.74 | 0.518 | 15.52 | 0.453 |
| MT-OPSD [ 68 ] | 12.74 | 0.118 | 0.130 | 0.104 | 26.66 | 0.090 | 19.80 | 0.394 |
| FreqEdit [ 26 ] | 4.36 | 0.160 | 0.150 | 0.191 | 26.27 | 0.092 | 25.13 | 0.491 |
| Quality | Preservation | Consistency | ||
|---|---|---|---|---|
| Variant | MUSIQ | PSNR | Back | Self |
| ours | 2.19 | 24.97 | 23.75 | 0.733 |
| w/o BLC-Fourier | 2.19 | 24.24 | 22.54 | 0.721 |
| w/ last 2 frames | 2.70 | 22.96 | 19.18 | 0.678 |
| w/o mem | 3.73 | 20.18 | 15.71 | 0.601 |
| Quality | Preservation | Consistency | ||
|---|---|---|---|---|
| Variant | MUSIQ | PSNR | Back | Self |
| ours | 2.96 | 32.84 | 28.80 | 0.756 |
| w/o BLC-Fourier | 2.28 | 32.58 | 28.60 | 0.753 |
| w/ last 2 frames | 2.96 | 32.42 | 24.57 | 0.648 |
| w/o mem | 4.02 | 32.23 | 16.55 | 0.596 |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Box-Surface Latent Memory | |
| Cell size | 8 cm on each box face |
| Object token threshold | 20% mask coverage |
| Replacement margin | projected area |
| Memory budget | 1024 (training), 2048 (inference) |
| Instance masks (SAM 3 [ 11 ] ) | |
| Text prompts | category and short caption |
| Operation | Metric |
|---|---|
| Addition | CLIP-T [ 44 ] : crop at the target box vs. “a photo of {caption}” |
| Movement | DINOv2 [ 37 ] cosine similarity: crop at the target box vs. crop at the source box of the source image |
| Deletion | DINOv2 cosine similarity: output vs. reference render, both cropped at the box of the removed object |
| Camera | DINOv2 cosine similarity: full output vs. full reference render |
| Scale | |
| Scenes, arrangements | 164, 498 |
| Assets used | 247 (208 in base layouts, 39 only added) |
| Views | 6,954 |
| Renders | 25,964 (base, moved and added 6,954 each; offset 5,102) |
| Scene type | interior 78, exterior 86 |
| Asset categories | 126 |