Stable Diffusion 2 微调 433 张园林图片实现住宅景观局部重绘
Domain-Adapted Stable Diffusion for Mask-Guided Residential Landscape Inpainting: A Small-Data Case Study
只用了 433 张园林图片微调 Stable Diffusion 2,就能改自家花园照片里涂选的区域,边界外像素几乎不动。论文附失败案例和 46 次编辑的量化数据,做房产视觉或小数据微调的人可以直接抄这个配方。
arXiv 论文 2612.03083v1 展示了一个小数据领域适配案例:在 433 张带说明的园林景观图片上微调 Stable Diffusion 2 的 U-Net,冻结 autoencoder 和 text encoder,得到能理解 decking、石板路、绿篱、抬高花坛等造园词汇的 checkpoint。
推理阶段采用 mask 引导的潜空间编辑(SDEdit 风格),只重新生成用户涂画的地面区域,照片其余部分严格保留。评估基于 10 张住宅照片的 46 次编辑、11 次探索性会话,使用无参考指标:编辑区外像素中位 PSNR 56.3 dB、SSIM 0.998,接缝处边缘能量比值 0.94(原图为 0.96),不同 seed 能产生明显不同的布局。
由于不存在真实的重设计 ground truth,作者采用 reference-free 测量并诚实列出失败案例,包括一次被忽略的否定指令和对提示词过于字面的渲染。对需要在真实房产照片上做景观设计的从业者,这是一个低数据量领域适配的可复现参考。
Domain-Adapted Stable Diffusion for Mask-Guided Residential Landscape Inpainting: A Small-Data Case Study
Text-guided diffusion models can generate convincing outdoor scenes, but redesigning the garden in a photograph of a real home requires two things that general-purpose models do not provide by default: familiarity with landscaping vocabulary (decking, stone pathways, hedging, raised planters) and strict preservation of everything outside the region being redesigned. We study a simple recipe that targets both. We briefly fine-tune the U-Net of Stable Diffusion 2 on 433 captioned landscaping images, keeping the autoencoder and text encoder frozen, and use the resulting checkpoint for mask-guided latent editing in which only a user-painted ground region is regenerated. We analyze 46 edits of 10 residential photographs produced in 11 exploratory sessions with recorded seeds and sampler settings. Because no ground-truth redesigns exist, we use reference-free measurements: the pipeline leaves pixels outside the estimated edit region unchanged (median PSNR 56.3 dB, mean SSIM 0.998); the edit boundary carries no more edge energy than the original photograph (seam ratio 0.94 vs. 0.96); different seeds give visibly different layouts; and the magnitude of change is consistent with the denoising strength, as expected from SDEdit-style editing. We also show observed failure cases, including an ignored negation and an overly literal rendering of a prompt phrase.
This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Stable Diffusion 2, image generation, fine-tuning, diffusion models.
Source attribution: curated from arXiv cs.LG (@Moazzam Umer Gondal, Muhammad Arham, Abdullah Umar, Hamad Ul Qudous). Cross-source corroboration: 4 independent sources have covered this development (including elvis, orange.ai, 歸藏(guizang.ai)), confirming industry-wide signal strength.