arXiv:2610.07684cs.CVOct 2026

Manuscript Offprint

arXiv:2610.07684

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

Haipeng Liu, Yang Wang, Meng Wang

Haipeng Liu Yang Wang ∗^{*} Meng Wang

School of Computer Science and Information Engineering

Hefei University of Technology, China

hpliu_hfut@hotmail.com yangwang@hfut.edu.cn eric.mengwang@gmail.com

Style Reference

Customized Reference

Figure

Color Reference

a cat playfully chasing a butterfly in a garden

Style Reference

a frog on the top of a bowl

a lighthouse by the sea

a flying dragon

a samurai meditating in a serene temple garden

a frog on the top of a bowl

a lighthouse by the sea

a flying dragon

a vintage van on a bustling city street decorated with festival lights

(a) Customization Style Transfer

a frog on the top of a bowl

a lighthouse by the sea

a flying dragon

(b) Color Style Transfer

Figure 1: Personalized images generated by our Dual-FDM. (a) The generated examples of Dual-FDM cust_{cust} for customized references (left) and style references (above); (b) The generated examples of Dual-FDM cost_{cost} for color references (left) and style references (above).

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, resulting in the dominance of low-and-mid over high frequency bands, especially when entangled within a single image reference, tends to reinforce each other at the early stage,

∗^{*}Yang Wang is the corresponding author

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

hence the pitfall of overwhelming suppression of text prompt guidance. To address such salient limitation, in this paper, we study personalized generation based on dual references - customization and color and style reference - and propose a paradigm to disentangle these Dual image references within Frequency-aware Diffusion Models, 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.

1 Introduction

Personalized image generation focuses on synthesizing text-driven images conditioned on reference images, which enjoys remarkable progress, benefiting from the powerful denosing capabilities of Denoising Diffusion Probabilistic Models (DDPMs) [9, 20, 21], e.g., Stable Diffusion [33, 5, 27, 30, 29, 41?]. Typically, the personalized image generation involves two key subtasks, i.e., image customization and style transfer. Given text prompts, image customization [43, 48, 25, 6, 35, 15, 23, 24, 18, 17, 22, 2, 14] aims to generate images by substituting the foreground semantics in the text prompts with the foreground extracted from the reference images, while preserving the background of the text prompts. In contrast, style transfer [31, 34, 19, 36, 50, 28, 8, 16, 7, 44, 38, 37, 13, 40] focuses on disentangling style (background) from reference images and aligning the foreground with the text prompt. However, prior arts have struggled to align the generated image with the text prompts within each individual subtask.

For image customization, substantial efforts [47, 1, 11] aim to emphasize dense image references of the foreground while overwhelming sparse text prompts of the background, especially for complex ones,

Figure

MS-Diffusion

(a) Image customization

Figure

StyleRef.

Two pillows and one lemon

A couple is sitting on a swing

Seven women

Text prompt

(b) Style Transfer

Figure

Low-Mid-High frequency bands

Low-frequency band

Mid-frequency band

High-frequency band

(c) Hybrid Frequency

Figure 2: (a) Comparison of the generated results, as well as the attention score map of text prompts and image references, between IP-Adapter [47] and MS-Diffusion [39] for image customization. (b) Comparison of the generated results between InstantStyle [37] and StyleStudio[16] for style transfer. (c) Comparison of generated results guided by different frequency band of the image reference.

e.g., a degraded “flower wreath” and the missing “coffee” in the IP-Adapter [47] of Fig. 2(a). Building on this, layout-based methods [39, 11, 49] exploit spatial layouts to explicitly constrain reference concepts to the foreground, while assigning background regions to text prompts. This preserves the foreground identity, but the explicit separation of foreground and background in the layout disrupts overall consistency, leading to the misalignment with (complex / long) text prompts. As illustrated in the MS-Diffusion [39] of Fig. 2(a), the generated spatial arrangement of “flower wreath” and “coffee” diverges from the prompt and instead resembles “A flower wreath around a dog near a coffee”.

Figure

(a) Overall Framework

(b) Customization Style Transfer

(c) Color Style Transfer

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-FDM cust_{cust} (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-FDM cost_{cost} (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).

When coming to style transfer, during the early stage of the denoising process with high-level noise, the foreground is reconstructed from sparse text prompts, the dense style information intended for the background often leaks into the foreground, resulting in misalignment with the text prompts, e.g., the incorrect number of “woman” in the InstantStyle [37] of Fig. 2(b). To resolve such issue, StyleStudio [16] applies style via instance normalization [12] in the cross-attention layers and leverages layout to preserve foreground in the self-attention layers. Nevertheless, self-attention score maps highlight only the most salient regions, implying that the extracted layout can align only with simple text prompts (i.e., “a dog”) rather than the multi-objects (“two pillows and one lemon” in the StyleStudio [16] of Fig. 2(b)) text prompts, thereby preventing it from handling the complex text prompts.

So far, neither image customization nor style transfer achieves satisfactory alignment between the generated image and the text prompt for diffusion models. Such facts, as we observed, rooted from the entanglement among hybrid frequency bands. Intuitively, as shown in Fig. 2(c), the low-frequency and mid-frequency bands capture color and global structure, while high-frequency band focuses on local texture, where different frequency bands are mainly denoised during different stages of the denoising process. As we observed, 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 (See Sec. A of the Appendix), the dominance of low-and-mid over high frequency bands, especially when entangled within a single image reference, suggesting reinforce each other at the early stages, resulting in an overwhelming suppression of text prompt guidance.

To resolve the text misalignment for personalization generation, we propose to solve the problem upon dual references and develop a paradigm to disentangle these Dual image references within Frequency-aware Diffusion Models, dubbed Dual-FDM, for two classical personalized image generation tasks in a row: customization style transfer and color style transfer, by disentangling different frequency bands via mask strategy within frequency domain. Specifically:

• We propose to map the foreground or background of image references into the frequency domain via Discrete Cosine Transform (DCT), where a mask is applied from left to right to progressively disentangle the low-, mid-, and high-frequency bands. Notably, 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, named Dual-FDM cust_{cust} (Fig. 1(a)). The style reference with the mid-frequency band substituted is used as the key and value to reconstruct the query foreground and background of the denoised personalized image in the decoupled cross-attention layer. For the 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, named Dual-FDM cost_{cost} (Fig. 1(b)). The style reference with the substituted low-frequency band is further utilized as the key and value to reconstruct the query foreground and background of the denoised personalized image in the decoupled cross-attention layer.

• To pop up the foreground or background of the image reference, we utilize the key projection matrices in the decoupled cross-attention layer to represent the foreground, which are then reformulated through singular value decomposition (SVD) to derive the corresponding background matrix for the background.

• For each task, 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, so as to achieve a well-balanced performance between text alignment and dual-image similarity.

Extensive experiments validate the superiority of Dual-FDM over the state-of-the-art diffusion models for personalized image generation.

References (47)