Disentangling Dual Image References in Frequency Aware Diffusion Models for Personalized Generation

Haipeng Liu, Yang Wang, Meng WangNeurIPS 2026

TL;DR

Conditioning diffusion models on reference images often feels like a tug-of-war: the dense visual data from a reference image easily overwhelms your sparse text prompt, causing objects to vanish or unwanted styles to leak everywhere. This paper introduces Dual-FDM, a paradigm that transforms reference images into the frequency domain—separating color, structure, and texture—and surgically splices them together. The result is crisp, personalized image generation that blends dual visual references (like a custom subject plus an artistic style, or a color palette plus a brushwork style) without ignoring what you actually typed.

Figure 1: Personalized images generated by our Dual-FDM. (a) The generated examples of Dual- FDMcust for customized references (left) and style references (above); (b) The generated examples of Dual-FDMcost for color references (left) and style references (above).

What Problem Does This Paper Address?

Personalized image generation usually falls into two buckets: image customization (putting your specific dog into a new scene) and style transfer (painting a new scene in Van Gogh’s brushwork). Both rely on feeding a reference image alongside a text prompt into a diffusion model.

The catch? Image embeddings are information-dense, while text prompts are sparse. In image customization, the model fixates so heavily on the reference subject that it forgets background details from the prompt (ask for "a dog with a flower wreath sipping coffee," and the coffee disappears). Conversely, in style transfer, dense background style leaks into the foreground, warping objects or miscounting them (ask for "seven women," get nine). Spatial layout masks try to fix this by walling off regions, but they often break the natural cohesion of complex scenes.

The authors trace this headache to frequency entanglement. Images are made of low frequencies (color), mid frequencies (global structure/shape), and high frequencies (local texture). During early, noisy denoising steps, diffusion models lock in low and mid frequencies; in later steps, they refine high frequencies. When all these bands are fed in tangled together, they reinforce each other early on and steamroll the text guidance.

Methods

Built atop a standard decoupled cross-attention architecture (specifically IP-Adapter with SDXL), Dual-FDM untangles two reference images at once to tackle Customization Style Transfer and Color Style Transfer. Instead of spatial masks, it operates in the frequency and linear-algebraic domains:

  1. Popping Up the Background via SVD: Standard cross-attention key projection matrices naturally highlight salient foreground objects. To isolate the background without spatial bounding boxes, the authors apply Singular Value Decomposition (SVD) to the key matrix and invert its singular values. This suppresses dominant foreground features and brings background style information to the forefront.
  2. Frequency-Domain Splicing: Using a 2D Discrete Cosine Transform (DCT) and binary coordinate masks, the authors isolate and swap specific frequency bands before inverting back (IDCT) to form the cross-attention keys and values:
  3. Customization Style Transfer ($\text{Dual-FDM}_{cust}$): Takes the background of the style reference and replaces its mid-frequency band (structure) with that of the custom subject's foreground.
  4. Color Style Transfer ($\text{Dual-FDM}_{cost}$): Takes the background of the style reference and replaces its low-frequency band (color) with the low frequencies of both foreground and background from a color reference.
  5. Adaptive Timestep Modulation: Because structure and color settle early in denoising while textures emerge late, Dual-FDM uses two mask widths—a wider frequency band early on, and a narrower one later. Rather than hardcoding when "early" becomes "late," it calculates the information entropy ratio between the two masked representations to dynamically set the transition timestep for every generation.
Figure 3: Illustration of our proposed Dual-FDM pipeline (a). For customization style transfer (b), we replace the mid-frequency band of the background in the style reference with that from the foreground of the customized reference, named Dual-FDMcust (Sec. 2.3). For the color style transfer (c), we substitute the low-frequency band of the background in the style reference with that from both the foreground and background of the color reference, named Dual-FDMcost (Sec. 2.4). Each of the two personalized image generation tasks are conducted in the early and late stage of the whole denoising process guided by text prompts as illustrated in Eq. (1).

Datasets

Because Dual-FDM requires pairs of references alongside complex text, the authors evaluate on combinations of established benchmarks (using a training-free setup on pre-trained SDXL/IP-Adapter):

  • Small-scale Customization Style Transfer: Subjects from DreamBench and the Textual Inversion (TI) benchmark paired with styles from IS-Plus.
  • Large-scale Customization Style Transfer: DreamBench++ paired with StyleBench.
  • Color Style Transfer: References from IS-Plus and StyleBench paired with complex compositional prompts (testing spatial relations, object counts, etc.) from T2I-CompBench++.

Key Insights and Ideas

  • Inverting singular values acts as a training-free background extractor: Larger singular values in cross-attention keys map to salient foregrounds, while smaller ones map to backgrounds. Flipping them ($1/\sigma_i$) cleanly extracts background style without external segmentation models.
  • Frequency bands map cleanly to visual semantics and diffusion time: Low = color, Mid = global shape, High = texture. Aligning frequency masks with the natural coarse-to-fine timeline of diffusion prevents reference images from hijacking the prompt.
  • Standard CLIP metrics are easily fooled by style: Because CLIP was trained on real photos, heavy artistic styles distort text-image similarity scores. The authors introduce modified evaluation metrics (CLIP-TS and CLIP-TC) that factor in the reference images and text together to measure alignment more fairly.

Key Results

Dual-FDM consistently outperforms state-of-the-art baselines across text alignment, reference similarity, and human preference metrics:

  • Customization Style Transfer: Compared against two-stage pipelines (e.g., MS-Diffusion + CSGO), $\text{Dual-FDM}_{cust}$ achieves the highest scores across the board, beating MS-Diffusion + CSGO by margins of up to 2.27% on CLIP-T, 7.5% on CLIP-TC, and boosting Image Reward ($\text{IR}_{\times 10}$) from 4.2023 to 5.3487 (while many single-stage adapters score in the negatives on IR).
  • Color Style Transfer: Across all 8 compositional categories of T2I-CompBench++ (including 2D/3D spatial relations and object counting), $\text{Dual-FDM}_{cost}$ beats competitors like InstantStyle, StyleAligned, and StyleStudio—reaching 0.5122 CLIP-TS and 0.7314 CLIP-S on 2D spatial prompts.
  • Ablations confirm that removing SVD inversion drops style similarity (CLIP-S falls from 0.5737 to 0.5459 on DreamBooth++), and dynamic entropy timestep modulation hits the sweet spot between rigid style adherence and subject fidelity.

Limitations and Future Work

Not discussed in the paper. (Note: Within the provided main text, the authors do not include a dedicated limitations or future work section).

Summary updated

Abstract

Personalized image generation aims to synthesize text-driven images conditioned on reference images, while mainly casting the generation as image customization for foreground and style transfer for background. Previous arts of diffusion models suffers from the text misalignment with background for image customization and foreground for style transfer during the denoising process. Such facts, as we observed, rooted from the entanglement among hybrid frequency bands during the denoising process. In particular, the low-frequency band primarily captures color information, mid-frequency band encodes global structure, while high-frequency band corresponds to local texture. Besides, the early (high-noise) denoising stage mainly focuses on the low-and-mid frequency bands, while the late (low-noise) denoising stage progressively exhibits the high-frequency band, which, all together, overwhelm the text prompt guidance, suffering from the heavy reliance on reference image. To address such salient limitation, in this paper, we study personalized generation based on dual references - customization and color style reference - to propose a paradigm to disentangle these **Dual** image references within **F**requency-aware **D**iffusion **M**odels, dubbed **Dual-FDM**, to simultaneously tackle two crucial personalized image generation tasks: customization style transfer and color style transfer, by disentangling different frequency bands via mask strategy within frequency domain. For customization style transfer, we replace the mid-frequency band of the background in the style reference with that from the foreground of the customized reference. For color style transfer, we substitute the low-frequency band of the background in the style reference with that from both the foreground and background of the color reference. Both the substituted frequency bands are used as the key and value to reconstruct the query foreground and background of the denoised personalized image. We further compute the ratio of information entropy of the substituted frequency bands to adaptively modulate the denoising timesteps between the early and late stages. Extensive experiments validate the superiority of **Dual-FDM** over the state-of-the-art diffusion models for personalized image generation. Our code can be accessed from [https://github.com/htyjers/Dual-FDM](https://github.com/htyjers/Dual-FDM).
BibTeX
@inproceedings{liu2026disentangling,
  author = {Haipeng Liu and Yang Wang and Meng Wang},
  title = {{Disentangling Dual Image References in Frequency Aware Diffusion Models for Personalized Generation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=l5xRQDiYkv},
}
Figure