LayoutRecall: Preserving Appearance in Multi-Round 3D Layout-Controlled Image Editing

Yankuan Chi, Xin Lin, Baihan Yang, Yuheng Liu, Jason Li, Truong NguyenarXiv 2026

TL;DR

Image editors lack "object permanence": if you move a sofa in front of a toy car and later delete that sofa, the editor has completely forgotten what the car looked like and invents a brand new one. LayoutRecall solves this by treating 3D bounding boxes as sticky memory banks, "painting" observed visual features onto the faces of each object's 3D box so its exact appearance can be retrieved rounds later—even from new camera angles.

What Problem Does This Paper Address?

Controlling image editing via 3D bounding boxes is wonderfully intuitive: want to rearrange a digital living room? Just slide, add, or delete a 3D box, or swing the virtual camera around.

In practice, creative editing isn't a one-shot deal; it happens over multiple rounds. Existing editors take a Markovian approach—round $t$ only looks at the output image from round $t-1$. While researchers know that recursive editing causes gradual blurriness or quality drift, 3D spatial editing introduces a sharper, structural failure: evidence loss.

If an object gets hidden behind another object (like an added armchair blocking a red toy car) or moves out of the camera frame, its pixels vanish from the current image. When a subsequent edit reveals that space again, the 3D box tells the model where the car should be, but its appearance is gone. Standard models simply hallucinate a completely different car. The same goes for background walls revealed after moving furniture.

A red toy car visible in an early round becomes completely occluded when a brown armchair is placed in front of it. In a subsequent editing round, the armchair sits where the toy car used to be visible, erasing all visual evidence of the car from the current frame.

Methods

Built on top of a standard FLUX.2 diffusion editor fine-tuned with operation-specific LoRA adapters, LayoutRecall introduces three novel mechanisms to give the model spatial memory:

  • Box-Surface Latent Memory (BSLM): A 3D bounding box isn't just a spatial prompt; it is a local coordinate system that travels and rotates with the object. When an image is generated, the system uses SAM 3 to mask visible objects, shoots rays from the camera through the image tokens (FLUX.2 VAE latents), and writes those tokens onto a discrete grid on the faces of the object's 3D box. To prevent blurry overwrites when an object moves away, a cell is only updated if the new view offers higher resolution. During generation, rays cast from the target camera hit the 3D boxes in their new poses to retrieve the stored tokens. (Background tokens are stored separately indexed by camera view and 2D coordinates).
  • Geometry-Aligned Memory Conditioning (GAMC): Retrieved memory tokens are fed into FLUX.2 as an extra reference stream alongside the current image and layouts. To ensure tokens land in the right spot without getting mixed up across objects, GAMC uses three signals:
  • Target-view placement: Spatial RoPE (Rotary Position Embeddings) indices project retrieved tokens directly to their new 2D target locations.
  • BLC-Fourier: A shared Fourier MLP embedding encodes exact 3D box-local surface coordinates, linking the same physical corner of a chair across views.
  • Object-wise attention: Attention masks strictly isolate an object's noisy target tokens so they can only attend to that specific object's memory.
  • Correspondence Attention Loss (CAL): Early tests showed the diffusion model lazily ignored memory tokens even when handed to it. CAL adds a hinge-loss penalty during training that explicitly forces target tokens to assign attention mass to matching geometric memory tokens.

Datasets

  • LayoutLoop (Newly Introduced): Existing 3D editing datasets focus on single-step pairs or simple object trajectories without calibrated camera returns. LayoutLoop is a synthetic multiview benchmark built with BlenderKit (25,964 renders across 164 scenes). Crucially, it features designed revisits—sequences mixing additions, deletions, movements, and camera shifts that deliberately hide and later re-expose objects or return to old viewpoints. It provides two-edit revisit sequences for training and 10-round rollouts for testing.
  • Real-Scene Evaluation: 80 single-round and 10 ten-round editing sequences constructed from COCO photographs paired with WildDet3D 3D bounding box annotations.

Key Insights and Ideas

  • Dual-purpose 3D proxies: The core "aha!" moment is realizing that coarse 3D boxes—already provided by the user for layout control—double as invariant geometric address books. Even if both the camera and the object move simultaneously, local box coordinates keep track of which visual patch belongs where.
  • Short-horizon training generalizes to long horizons: The authors only train LayoutRecall on tiny two-edit sequences ($I_0 \rightarrow I_1 \rightarrow I_2$), yet because BSLM reads and writes recursively, the model generalizes zero-shot to 10-round editing rollouts without collapsing.
  • Attention needs a nudge: Simply concatenating retrieved memory tokens into a powerful transformer like FLUX.2 isn't enough; without explicit supervision (via CAL) and local surface embeddings (BLC-Fourier), objects warp or fail to recover their identities.

Key Results

Across 10-round editing rollouts, LayoutRecall substantially outperforms single-round 3D editors (BoxCtrl, Thinking-in-Boxes), layout generators (SeeThrough3D), and general multi-turn editors (MT-OPSD, FreqEdit):

  • Appearance & View Consistency: On LayoutLoop 10-round edits, LayoutRecall achieves 0.733 object self-similarity (Self, DINOv2 similarity to first observation) vs. 0.596 for the next best method (FreqEdit), and 23.75 dB PSNR on camera returns (Back) vs. 15.46 dB for BoxCtrl.
  • Real-Scene Robustness: On real COCO scenes over 10 rounds, LayoutRecall keeps 83.8% of unedited objects intact and detectable (Survive), compared to 42.1% for Thinking-in-Boxes and 19.1% for BoxCtrl. It also maintains crisp image quality (|ΔMUSIQ| of 2.96 vs. 4.36–26.05 for baselines).
  • No Single-Round Trade-off: Adding memory (with 15% training dropout) doesn't hurt single-step performance—it sweeps every metric on real-scene single-round edits (e.g., 90.0% edit success rate, 29.33 dB preservation PSNR). Each inference round takes ~24 seconds.

Limitations and Future Work

  • Loose Bounding Boxes: Because a 6-sided box is a coarse approximation of complex 3D shapes, looking up neighboring cells during ray retrieval can occasionally bleed object textures into empty space inside a loosely fitted box.
  • View-Dependent Background Memory: Unlike objects, the background doesn't have a 3D proxy—its tokens are stored per camera view. Recovering occluded background regions therefore relies on having previously observed the scene from that camera angle. (Future work is not explicitly discussed in the paper).

Summary updated

BibTeX
@misc{chi2026layoutrecall,
  author = {Yankuan Chi and Xin Lin and Baihan Yang and Yuheng Liu and Jason Li and Truong Nguyen},
  title = {{LayoutRecall: Preserving Appearance in Multi-Round 3D Layout-Controlled Image Editing}},
  year = {2026},
  eprint = {2611.33885},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.33885},
}
Figure