ReGain:在合成图像个性化中恢复主体保真度

·

研究论文 · 2026/10/09

文本到图像扩散模型通过DreamBooth在少量主体图像上微调实现个性化。这些图像越来越多地来自扩散模型而非相机。我们发现,在此类合成图像上微调会降低主体保真度,产生过饱和颜色和过多高频细节。为了分离原因,我们使用相同的DreamBooth配方从同一基础模型微调两个模型,一个在主体的真实照片上,另一个在由第一个模型生成的主体合成图像上。我们将退化追溯到无分类器引导(CFG)。对于在合成图像上个性化的模型,条件与无条件噪声预测之间的夹角及其差值的范数远大于在真实照片上个性化的模型。这种膨胀向高频增长,并且也出现在其他与主体语义接近的提示上,例如其类别名词,但在不相关的提示上则不会。我们提出ReGain,一种在采样时应用的无训练校正,它测量每个频带的引导相对于基础模型的膨胀程度,并相应地缩放该频带。ReGain不需要真实照片。在Stable Diffusion v1.5上,ReGain将主体保真度差距缩小到在真实照片上个性化模型的51-64%,通过DINO、DINOv2和CLIP-I测量。它还提高了SDXL和SD 3.5上的主体保真度,并在所有三个主干上保持文本对齐。

该研究解决了合成图像个性化中的关键问题,提出了无需真实照片的实用校正方法,对文本到图像扩散模型的个性化应用有重要改进。

Text-to-image diffusion models are personalized to a subject by DreamBooth fine-tuning on a handful of its images. Increasingly, these images come from a diffusion model rather than a camera. We show that fine-tuning on such synthetic images degrades subject fidelity, producing oversaturated color and excess high-frequency detail. To isolate the cause, we fine-tune two models from the same base model with the same DreamBooth recipe, one on real photos of a subject and one on synthetic images of that subject generated by the first. We trace the degradation to classifier-free guidance (CFG). For the model personalized on synthetic images, the angle between the conditional and unconditional noise predictions, and with it the norm of their difference, is much larger than for the model personalized on real photos. This inflation grows toward high frequencies and also appears at other prompts semantically close to the subject, such as its class noun, but not at unrelated ones. We propose ReGain, a training-free correction applied at sampling time that measures how much each frequency band of the guidance is inflated relative to the base model and scales that band down accordingly. ReGain needs no real photos. On Stable Diffusion v1.5, ReGain closes 51-64% of the subject-fidelity gap to the model personalized on real photos, as measured by DINO, DINOv2 and CLIP-I. It also improves subject fidelity on SDXL and SD 3.5 and preserves text alignment on all three backbones.

阅读原文

参与讨论