Manuscript Offprint
arXiv:2610.34597Finetuning Prompt-Based Image Editor for Geometry-Consistent Room Defurnishing
Prakhar Kulshreshtha
Brian Pugh
Zachary Nussdorfer
Salma Jiddi
Geomagical Labs, Inc.
Input
SD + LoRA + Controlnet
FLUX.2
FLUX.2 + LoRA (ours)

ground-truth floor
generated floor
Figure 1: Qualitative comparison of defurnishing methods on two room scans. Red lines denote ground-truth boundaries; blue lines denote generated floor boundaries. SD+LoRA+ControlNet preserves geometry but sacrifices texture fidelity, whereas FLUX.2 improves realism at the cost of geometry. FLUX.2 + LoRA (ours) achieves both geometric consistency and high-quality synthesis.
ABSTRACT
Erasing all furniture from a single room image to generate its empty counterpart is valuable for XR applications such as diminished reality and virtual staging. The challenge is twofold: inpainting the furniture regions with realistic content, and doing so without distorting the room's 3D geometry. Prompt-driven image editors, such as FLUX.2, handle realism impressively, but their structural faithfulness is inferior to explicit layout conditioned inpainting. To improve geometric consistency, we propose a training recipe for finetuning a LoRA on 2,500 furnished-empty room pairs. FLUX.2 with our LoRA adaptor significantly improves geometric consistency while retaining the high texture fidelity. This single-photo inpainter can be an effective building block for depth-aware and 3D-consistent XR pipelines.
Index Terms: Diminished Reality, Defurnishing, Prompt-based Editing, Geometry Consistent Inpainting.
1 INTRODUCTION
Defurnishing is the virtual removal of furniture from a photo, 3D scan, or other digital representation of a room for XR applications such as diminished reality and virtual staging (Fig. 2). Achieving it requires not only inpainting furniture and their shadows, but also preserving geometric consistency so that reconstructed walls and floors remain faithful to the underlying room structure [4]. Such consistency is particularly important in AR and MR, where virtual objects are anchored to the physical environment. Diminished reality (DR) is an established XR problem that aims to remove or conceal real-world objects while maintaining a coherent scene appearance [6]. Recent DR methods leverage explicit scene geometry through structure-aware RGB-D inpainting [2] or by restoring

original
defurnished
virtually staged
Figure 2: Example of defurnishing and virtually staging a room.
background scene content from pre-captured 3D Gaussian Splat representations [8]. In contrast, we focus on improving prompt-based editing from a single RGB image. Our lightweight LoRA adaptation can serve as the generative inpainting module within future depth-aware and 3D XR pipelines.
We focus on removing all furniture from a single RGB image to generate an empty-room image. One way to preserve structure is through layout-guided per-plane inpainting [4], but it is not robust to shadows and often introduces artifacts in non-planar regions. Prompt-based image editors such as FLUX.2 [1] and Qwen-ImageEdit [9] produce highly realistic edits but offer no explicit geometric constraints. This raises our central question: How geometrically consistent are prompt-based editors for defurnishing, and how can we improve them?
We compare layout-guided Stable Diffusion (SD) inpainting against FLUX.2 using LPIPS [11] to measure texture fidelity and Layout Error [3] to measure geometric consistency. To improve FLUX.2's geometric consistency, we propose a lightweight LoRA finetuning recipe on 2,500 furnished-empty room pairs. FLUX.2 with our LoRA adaptor achieves the best texture fidelity and geometric consistency across all three methods, as shown qualitatively in Fig. 1.
*e-mail: {prakhar, bpugh, zachary.nussdorfer, salma}@geomagical.com

Figure 3: We benchmark three approaches: (1) Stable Diffusion Inpainting + LoRA via ControlNets, (2) FLUX.2, and (3) FLUX.2 + LoRA
2.1 SD + LoRA + ControlNet
We condition Stable Diffusion 1.5 (SD1.5) inpainting with the room layout. Since the base SD1.5-inpainting often leaves residual furniture shadows, we also finetune a LoRA on our dataset of furnished-empty pairs. Layout is estimated via a 3D layout extractor [5], which uses perceptual cues such as depth and semantic segmentation to localize the wall and floor planes in 3D. We render depth and normal maps from this model and feed them to SD1.5-inpainting through two ControlNets [10], each at a condition weight of .
2.2 FLUX.2
We apply the mask to the RGB image, marking the masked regions with magenta. We then use the 4-step distilled version of FLUX.2[klein] [1] on the masked image with the prompt:
This is a photo of a room in which all objects are marked with a magenta mask. Remove all the masked regions and their shadows from this photo, while ensuring that all the unmarked regions remain absolutely unchanged.
With no geometric conditioning, this serves as a reference point for evaluating the structural consistency of a purely prompt-driven editor.
2.3 FLUX.2 + LoRA
To improve geometric consistency, we adapt FLUX.2[klein] by finetuning a LoRA (rank 64, alpha 32) on an in-house dataset of 2,500 furnished-empty room pairs. Inputs are a masked RGB image and a prompt, same as the previous approach. We train for 3,000 steps, with learning rate , batch size 4, height 768, emadecay 0.999. Differential guidance is turned on to encourage focus on inpainted areas. Training is done using ai-toolkit[7] on a single NVIDIA A5000, and takes 12 hours. During inference, the LoRA is applied onto the distilled 4-step model.
2.4 Evaluation metrics
We evaluate the defurnishing pipelines along two criteria: texture fidelity and geometric consistency. For texture fidelity we report the standard perceptual similarity score, LPIPS, on a test-set of 300 furnished-empty room pairs. For geometric consistency we report Layout Error on a test-set of 100 furnished room images annotated with layout boundaries. Layout Error is the distance of each annotated layout boundary pixel to the nearest predicted one [3]. The predicted layout is the boundary of the 'floor' region, extracted from semantic segmentation of the inpainted image.
where and are the ground-truth and predicted edge pixels, the distance to the nearest predicted edge,
Table 1: Quantitative comparison of inpainting models; all metrics defined in Sec. 2.4 (↓: lower is better). Best result per column in bold.
| Model | LPIPS ↓ | Layout Error (px) ↓ |
|---|---|---|
| SD + LoRA + ControlNet | 0.249 | 1.84 |
| FLUX.2 | 0.170 | 2.03 |
| FLUX.2 + LoRA (ours) | 0.166 | 1.41 |
and a threshold capping the penalty for severely missed boundaries.
3 RESULTS AND CONCLUSION
Table 1 summarizes the performance of the three methods. SD+LoRA+ControlNet achieves lower Layout Error than FLUX.2 due to explicit layout conditioning, but obtains worse LPIPS scores, reflecting the stronger image synthesis capability of FLUX.2. Although FLUX.2 produces realistic edits, it can distort room geometry since it is a generalist model, not optimized for preserving geometry. Our lightweight LoRA adaptation specializes FLUX.2 for defurnishing by learning task-specific geometric cues, including vanishing lines, room element sizes, and scene layout. Consequently, FLUX.2 with our LoRA adaptor achieves the best performance on both texture fidelity and geometric consistency.
To conclude, generalist prompt-based image editors achieve high visual realism but lack geometric faithfulness for room defurnishing, which our lightweight LoRA adaptation recovers while retaining texture fidelity. Our approach is image-only: it uses no explicit 3D conditioning and builds no persistent scene representation, so multiview and temporal consistency are not guaranteed. Inference takes up to 5 seconds per image, so our method currently supports offline scene preparation rather than real-time XR. Future work will incorporate explicit geometry through depth or normal conditioning, and the resulting model can distill faster real-time variants or precompute empty-room assets for DR systems such as DimSplat [8].
ACKNOWLEDGMENTS
AI assistance was used for figure formatting and proofreading.
REFERENCES
[1] Black Forest Labs. FLUX.2 [klein]: Towards Interactive Visual Intelligence. Blog post, Jan. 2026.
[2] C. Gsaxner et al. DeepDR: Deep structure-aware RGB-D inpainting for diminished reality. In Proc. 3DV, pages 750–760, 2024.
[3] T. Koch, L. Liebel, F. Fraundorfer, and M. Korner. Evaluation of CNN-based single-image depth estimation methods. In Proc. ECCV Workshops, pages 331–348, 2018.
[4] P. Kulshreshtha, N. Lianos, B. Pugh, and S. Jiddi. Layout aware inpainting for automated furniture removal in indoor scenes. In Proc. IEEE ISMAR-Adjunct, pages 839–844, 2022.
[5] K.-N. Lianos, L. Puig, A. Unagar, and S. Jiddi. Robust planar optimization for general 3D room layout estimation. In Proc. IEEE ISMAR-Adjunct, 2022.
[6] S. Mori, S. Ikeda, and H. Saito. A survey of diminished reality: Techniques for visually concealing, eliminating, and seeing through real objects. IPSJ Trans. Comput. Vis. Appl., 9(1):17, 2017.
[7] Ostris. AI toolkit. https://github.com/ostris/ai-toolkit, 2025.
[8] K. Waldow, J. Scholz, and A. Fuhrmann. DimSplat: A real-time diminished reality system for revisiting environments using Gaussian splats in mobile WebXR. In Proc. IEEE VRW, pages 1372–1373, 2025.
[9] C. Wu et al. Qwen-Image technical report. arXiv:2508.02324, 2025.
[10] L. Zhang, A. Rao, and M. Agrawala. Adding conditional control to text-to-image diffusion models. In Proc. IEEE/CVF ICCV, pages 3813–3824, 2023.
[11] R. Zhang, P. Isola, A. A. Efros, E. Shechtman, and O. Wang. The unreasonable effectiveness of deep features as a perceptual metric. In Proc. IEEE CVPR, pages 586–595, 2018.