Manuscript Offprint
arXiv:2609.04976RefDiT: Local Attribute Guidance in Reference-Based Image Generation
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Rameshwar Mishra¹,*, Srikrishna Karanam², and A V Subramanyam¹
¹ Indraprastha Institute of Information Technology Delhi, India {rameshwarm, subramanyam}@iiitd.ac.in ² Adobe Research skaranam@adobe.com

Fig. 1: RefDiT guides reference-based image generation using attributes of semantically matched local elements. Unlike global conditioning approaches, our triplet-conditioned LoRA training for Diffusion Transformer (DiT) blocks establishes region-level correspondence between attribute tokens and their visual regions, enabling selective local attribute guidance.
Abstract. Personalization models generate images guided by a few subject references, while style transfer methods aim to produce images aligned with a global style derived from a reference image. Recent approaches perform well when the reference image contains a single object, effectively capturing a global style that encompasses all implicit attributes. However, when applied to complex real-world scenes containing multiple objects with distinct attributes, existing methods struggle to selectively control generation using attributes from specific local regions of the reference image. Due to their primarily global conditioning strategies, these methods cannot reliably guide generation using attributes from specific
- Work done during internship at Adobe Research
R. Mishra et al.
local elements in the reference image. Moreover, existing methods typically employ a single identifier token to capture all details from the reference, resulting in a lack of individual, attribute-level control.
Motivated by these limitations, we propose RefDiT, a novel framework for reference-guided image generation. RefDiT takes as input a reference image, a text prompt, and an optional user-provided guidance control. RefDiT employs local region guidance using the attributes of local elements. It constructs an attribute-aware conditioning signal from the reference image by performing attribute-level decomposition of the identifier tokens to train low-rank adapter (LoRA) blocks of a diffusion transformer (DiT)-based generative model. RefDiT leverages multi-modal joint attention to learn the correspondence between identifier tokens and local regions in the reference image, enabling more effective local guidance. RefDiT achieves a local attribute matching score of 0.88, outperforming state-of-the-art methods such as UnZipLoRA (0.54), K-LoRA (0.58), and B-LoRA (0.42). Compared to commercial models like Gemini-Banana (0.74) and GPT-5 (0.84), user studies indicate that participants find RefDiT's outputs to be of similar quality.
Keywords: Local attribute guidance · Reference-guided image generation · Diffusion Transformer
1 Introduction
Diffusion models [8,27] have demonstrated strong capabilities in generating diverse and high-quality images. While text has been the most common form of guidance for controlling the generation process, the limitations of natural language in describing nuanced scenes have motivated the development of reference-guided generation. DreamBooth [28] and StyleDrop [30] train diffusion models to capture both content and style details from subject images. B-LoRA [3], K-LoRA [24], and ZipLoRA [29] introduce strategies to learn the global style and content by training a few low-rank adapter (LoRA) [9] blocks. Once trained, these weights can generate images that combine style and content from different references. UnZipLoRA [19] decomposes a single image into content and style concepts, enabling effective text-conditioned generation guided individually by either the content or the style. ProSpect [36] and MATTE [2] inject attribute-level details from a reference into different stages of the generation.
Recent DiT-based editing methods, such as Flux.1 Kontext [15] and FlowEdit [13], demonstrate strong performance in editing local properties. These models can modify attributes within local regions, but they are not well-suited for generating new components guided by localized regions in a reference image. One possible adaptation is to treat our task as a sequence of editing operations, starting from the reference image and applying a series of edits to arrive at the desired output. However, as reported in [15], these methods lose a substantial amount of the original source information after only a few editing steps, often resulting in distorted images.
However, reference images contain far more information than just global style and content. Consider real-world images that include multiple objects, where a user may wish to generate a new image guided by attribute-level details of a specific local element in the reference image. In such cases, critical and substantial guidance can come from the attributes of local regions, particularly when generating novel images containing similar local elements.
When we analyzed the performance of personalization methods and LoRA-based stylization approaches on complex real-world scenes involving interactions among multiple objects, we observed that these methods often fail to provide effective local guidance. Existing approaches rely on global-level image conditioning along with a single identifier to capture all details of the elements present in the image. This design results in a lack of both local and attribute-level control.
As shown in Figure 2, row 1 presents a reference image containing three objects, a cube, a cat, and a coffee mug.
When generating a new image with a prompt "cup and saucer", existing methods fail to localize the mug, the most similar local element to a cup and saucer, and are unable to guide the generation based on local attributes such as the mug's color and material. Furthermore, there is no control for the user to specify which local elements and their corresponding attributes should guide the generation process. In contrast, Figure 1, column 3, shows results from our method, where users can explicitly provide such controls, enabling more precise guidance.
Through extensive experiments on multi-object reference scenes, we identify a critical research gap in existing reference-based image generation methods. Current approaches struggle to generate images where local attribute concepts from the reference should guide the generation process. In this work, we propose RefDiT, a method in which relevant local regions from the reference image guide the generation process. For example, in the second row of Fig. 2, when the user wants to generate a "person using a tool (sander)", RefDiT produces an image where attributes such as the color, material, appearance, and size of the new tool are guided by a similar tool (drill) found locally in the reference. RefDiT extracts structured object triplets from the reference image using a multi-modal large language model (MLLM), capturing both object-level attributes and inter-object relationships. This triplet formulation provides a semantic representation that does not require explicit spatial supervision, such as bounding boxes or segmentation masks. The extracted triplet-level information is then used to construct both global and local guidance signals for the generation model through attribute-aware identifier tokens. Furthermore, RefDiT introduces a mechanism

Fig. 2: Limitations of global conditioning in existing reference-guided image generation methods.
R. Mishra et al.
to update the multi-modal DiT weights to learn correspondences between these identifier tokens and their associated local regions in the reference image.
We summarize our contributions as follows:
-
We identify and show a critical gap in existing reference-based image generation methods, showing that they have limited capacity to provide effective attribute-aware, local-level guidance when the reference image contains multiple objects with distinct attribute properties.
-
We propose RefDiT, which approaches reference guidance differently from prior methods. RefDiT leverages triplet-level information from the reference image to curate simple yet effective guidance signals for generative models. We introduce a triplet-conditioned LoRA training for DiT-based generative models that establishes region-level correspondences between identifier tokens and their corresponding visual regions in the reference image.
-
We demonstrate the effectiveness of RefDiT across a diverse set of references. Through extensive qualitative and quantitative comparative analysis with LoRA-based personalization methods, DiT-based editing approaches, and commercial image generation models, we demonstrate that RefDiT yields consistent improvements in reference-guided image generation.
LoRA training for reference guidance. LoRA [9] weights and their variants [6, 12, 26] have recently demonstrated strong effectiveness across a variety of tasks. B-LoRA [3] analyzes different blocks of the SDXL U-Net architecture [25] to define content and style components. It trains content and style LoRAs independently, allowing either to guide the generation process. K-LoRA [24] employs adaptive weight selection using pre-trained LoRAs for content and style references. ZipLoRA [29] merges LoRA weights through fusion matrices and hyperparameter tuning, while UnZipLoRA [19] uses prompt and block separation strategies to disentangle content and style characteristics, enabling independent guidance during generation. Although these methods are effective, they lack the ability to guide generation based on local regions of the reference. They condense all image properties into a global style representation, thus limiting the granularity of guidance.
DiT-based editing methods. Advances in diffusion models have led to numerous image editing approaches [7, 17, 21, 32]. Recently, DiT-based image editing models have shown strong performance in localizing edits. Flux.1 Kontext [15],
FlowEdit [13], and [35] can effectively modify attributes of locally present elements in an image. However, these methods are not suitable for our task, where the goal is to guide the generation of a new image based on locally present elements, rather than manipulating an existing one. Comparative results shown later demonstrate the inapplicability of these models for our setting. Commercial models such as GPT-5 [23] and Nano-Banana [31] allow users to generate images guided by a reference, though the exact handling of guidance in these models is not publicly known. We also include comparisons with these systems.
3 Method
3.1 Preliminaries
Rectified-Flow Models. Flux and Stable Diffusion 3 employ multi-modal DiTs trained to parameterize rectified-flow models. Flow-based methods [18] map samples from a noise distribution to data samples from the data distribution , while rectified flows [20] learn ODEs along straight paths between and , defined as: . Flux and SD3 are optimized with the following conditional flow matching loss:
where denotes the signal-to-noise ratio and is a time-dependent weight. is parameterized by a multi-modal diffusion transformer.
Multi-Modal DiT Layer. Multi-modal diffusion transformers (DiTs) extend standard transformer layers with multi-modal attention (MMATTN) that jointly process image patches and text tokens. Each layer operates on image embeddings and prompt embeddings . In MMATTN layers, modality-specific queries, keys, and values are projected for both image and text streams, denoted as and , and are combined into a unified attention operation:
where , , and represent concatenated projections across modalities. The resulting outputs are modulated via adaptive layer normalization [34] and integrated through residual connections, producing updated embeddings and for the next layer. This dual-stream structure allows effective alignment of visual and textual information.
3.2 RefDiT
Problem Setup. Given a reference image , a text prompt , and an optional text based control , the goal is to generate a new image where the generation process is guided by relevant local elements present in . The selection of relevant elements can be determined either through or by predefined category matching, where local elements in the reference are matched with those in the
R. Mishra et al.

Fig. 3: (a) SCM extracts attribute-aware object triplets from the reference image to construct global and local conditioning signals. (b) Triplet-conditioned LoRA training enables identifier tokens to learn region-level correspondence in DiT.
target based on the semantic similarity of their text labels. Next, we describe our proposed method, RefDiT, which first prepares an attribute-aware guidance signal from the reference image and employs a triplet-conditioned LoRA training strategy for DiT blocks.
Structural Conditioning Module (SCM). Existing personalization methods [19, 28, 29], in addition to the reference image, typically expect a brief textual description as input. Given this description, these methods introduce a single identifier token per image or per object to capture the details of the reference image, which may not be sufficient to represent nuanced, attribute-level details of real-world images containing multiple objects with diverse properties. Figure 2, row 3, shows that UnZipLoRA generates the umbrella color based on the wall instead of the umbrella in the reference image, highlighting the ambiguity caused by the conditioning. Frenkel et al. [3] avoid using a description and simply create a conditioning text such as “A [identifier token].” Given the limitations of existing strategies, we introduce a new approach that uses local triplets to generate more effective conditioning signals.
Figure 3(a) provides an overview of SCM. We use a multi-modal large language model (MLLM) based local triplet extraction to extract attribute-level triplets from the reference image. Given a reference image, we obtain a set of triplets , where triplet is represented as , with and denoting the and objects in the image, and representing the interaction between them. Each object is associated with a set of attributes, denoted for the object as , corresponding respectively to the five key attribute types: . In this work, similar to [2,36], we limit ourselves to these five key attributes, and for a single image, we obtain such triplets. To capture intrinsic details not described by attributes such as color and material, we introduce a global appearance attribute, defined over a curated vocabulary of style descriptors (e.g., glossy, neon, grainy). This improves alignment with the appearance of the corresponding local element. Next, we create a global conditioning signal by introducing multiple attribute-level identifiers for objects in the image. We define an identifier as “<attr_{type_j} _{value_j} >”, where type_j is the element of and value_j is the value of the attribute for object . We append these identifier tokens to each object and concatenate all triplets with their respective identifiers to generate a global conditioning signal . Example of for a particular case is as follows:
for triplets : [(O1, R12, O2), (O3, R32, O2), (O3, R34, O4)]
An Image having (<a_{type}{value}>,...,O1 O1 R12 (<a{type}{value}>,...,O2 O2, (<a{type}{value}>,...,O3 O3 R32 (<a{type}{value}>,...,O2 O2, (<a{type}{value}>,...,O3 O3 R34 (<a{type}_{value}>,...,O4 O4
Using the set of triplets and an optional user-defined text based control , we employ MLLM based local triplet selection to select a subset that contains local elements matching the inference prompt and relevant attributes constrained by the user provided control. If the control is not provided, we define it using “category matching”, where triplet selection is guided by semantic similarity of object labels. We provide multiple rule based ambiguity resolving instructions to triplet selection MLLM to tackle ambiguous cases. We also include interactions among objects, as these contribute to improved guidance and control during the generation process by replicating interactions in the new images. After obtaining matching triplets, we perform control adjustment in the inference prompt by adding attribute identifiers corresponding to the matched local elements from the reference image.
Training LoRA Blocks to Establish Region-Level Correspondence.
After obtaining the triplet-level details from the reference and constructing the attribute-aware conditioning signal, the next step is to map the identifiers to their visual appearances in the reference image.
We discover that simply training the weights with the new global conditioning causes identifier tokens to attend broadly across spatial regions, instead of focusing on their corresponding local objects. Figure 4 row 2 shows mean cross-attention map for identifier tokens in the global conditioning signal, it can be seen that they are not focusing on local objects effectively. To provide effective local guidance we utilize matched local triplets to train the LoRA blocks of our generation model. Figure 3(b) illustrates how RefDiT integrates global and triplet-level conditioning using shared attention weights.

Fig. 4: Comparison of attention maps illustrating local correspondence of identifier tokens for mentioned objects, where yellow denotes higher attention and black denotes lower attention.
R. Mishra et al.
As described in the preliminaries, DiT jointly processes image and text modalities. Let denote the attention weights for the visual stream (patch features) and denote those for the text-conditioning stream at layer . For our global conditioning feature and reference image patch features , following Eq. 2, the output of a DiT block is:
where are concatenated attention outputs from the individual streams, for example,
The DiT architecture fuses both modalities through a joint attention mechanism, where text features are collectively mapped to patch features in latent space. We utilize multi-modal fusion in DiTs to establish local region correspondence for identifier tokens in our text conditioning. From global-level features, we compute triplet region candidates as follows. Suppose SCM provides matching triplets, where the triplet is . We define a corresponding triplet visual candidate for at layer as , initialized with the reference patch features . We use the same attention weights and to update these triplet candidates in each layer as follows:
where , and are computed similarly. This modification to the DiT block allows a triplet candidate, initialized with reference patch features, to progressively guide attention toward corresponding local regions across layers through fusion with triplet-level text conditioning. Figure 4 row 3 shows cross attention maps of identifier tokens in the triplet conditioning after training. It can be seen that the identifier tokens attend local objects more dominantly. Importantly, triplet candidates are processed using shared DiT weights and serve as auxiliary attention streams during LoRA training, without modifying inference-time architecture. We utilize these triplet candidates to define our training objective, which enables efficient guidance of the generation process using relevant local regions.
Training Objective. We use a combination of two losses to train the LoRA blocks of our generation model. The first is a standard global reconstruction loss, which guides the weights to capture overall information from the reference image, defined as:
We also use the same network with shared weights for triplet conditioning to denoise triplet candidates. To enable identifier tokens to attend to their corresponding local regions, we define the triplet region consistency loss as:
If there are matching triplets, the overall triplet region consistency loss is written as . Finally, the complete training objective is defined as:
As shown in Figure 4, this training strategy enables identifiers to effectively attend to their corresponding local regions in the reference image. Ablation studies (Sec. 4.4) further validate the effectiveness of our training objective.
4 Experiments
4.1 Implementation Details
Dataset. Consistent with prior reference guided generation works [19, 24, 29], we curate 500 evaluation images, ensuring direct comparability with existing methods. We first collect 60 diverse reference images from open-source repositories [36] and text-to-image models. We also extend single-object datasets used in previous works [28, 30] to include multiple objects. For each reference image, we use 3–5 validation prompts and generate 3 samples per prompt, resulting in more than 500 evaluation images. At each iteration, we randomly select 200 images to report evaluation metrics.
Experimental Setup. We use Stable Diffusion 3.5 and Flux as our DiT-based generation models. We adopt GPT-4o as the MLLM [22] for triplet extraction and selection in SCM. We additionally evaluate with an open-source MLLM (InternVL, sec 4.4) to verify robustness across extraction models. Following the block heuristics in [10], we train LoRA blocks for layers 12–24 and 30–37, while keeping the base model weights and text encoder frozen. The LoRA weights are trained with a rank of 32, , using the Adam optimizer (learning rate = ) for 750 steps with a batch size of 1. More details on the runtime and hardware specifications are provided in the supplementary material.
4.2 Qualitative Comparisons
Figure 5 shows the results of our method on real-world scenes containing multiple objects, where the validation prompts include objects that match local elements in the reference image. Row 1 in Figure 5 shows that, given a reference containing a drill and an inference prompt “A person holding a toolbox”, RefDiT accurately guides the generation using the drill’s color, material, and appearance. In contrast, UnZipLoRA fails to replicate the red color, while Gemini-Banana and GPT-5 generate single-colored outputs, miss the two color design of the drill, and lack material and appearance consistency. As shown in Rows 2 and 3, our method achieves performance competitive with commercial models. In Row 3, Gemini-Banana fails to align with the input prompt, as it generates the “teapot” not present in the prompt. GPT-5 better preserves the color alignment,
R. Mishra et al.

Fig. 5: Qualitative comparison on complex multi-object scenes. Open-source methods rely on global conditioning and often transfer attributes from incorrect regions or partially ignore the prompt. Commercial models generate realistic images but may overfit to reference objects not specified in the prompt. In contrast, RefDiT selectively transfers attributes from the local elements while preserving prompt consistency.
but our method maintains superior material details and pattern quality of the teapot. Row 4 shows that existing methods tend to overfit to the original scene by generating nearly identical copies of the same person. In contrast, our method produces a similar tool while generating a different person, demonstrating better local guidance without identity overfitting.
Existing methods perform well for single-object cases, but struggle with localizing reference guidance. To evaluate this, we extend single-object datasets from prior work by introducing additional objects with distinct visual attributes using commercial inpainting models [1], creating more complex evaluation samples. Figure 6a shows results for such examples. For instance, in rows 1 and 2, we add a container and a teapot to a popular toy reference image. RefDiT generates outputs consistent with local regions of the reference. Figure 6b compares our results with various image editing methods, supporting our claim that such methods are not adaptable to our task. As shown in row 1 of Figure 6b, editing methods fail when the user-provided control requires guiding the generation pro-cess using the attributes of the cube. In this case, all editing methods were unable to generate a cup and saucer consistent with the cube's attributes, demonstrating their inability to preserve relevant local attributes when generating novel images. Additional qualitative comparisons are provided in the supplementary.

(a)
(b)
Fig. 6: (a) Visual illustration of the limited localization capabilities of existing personalization methods when single-object datasets are extended to include multiple objects. (b) Comparison of RefDiT with editing models, highlighting their limited adaptability in preserving local attributes during novel image generation. The corresponding inference prompts are shown at the end of each row.
4.3 Comparative Analysis
We formulate our task as reference-guided generation, where attribute-level details of local regions in a single reference image guide the generation process in complex scenes containing multiple objects. To the best of our knowledge, there is no existing DiT-based approach that addresses reference guidance in this manner. The most relevant baselines are LoRA-based personalization models, which learn implicit content and style concepts from a reference image to generate contextually guided outputs.
These LoRA-based methods perform well in capturing the overall style of a reference image and can implicitly learn certain attributes such as color and material. We compare our method with DreamBooth-LoRA (DLoRA) [28] using the same DiT architecture. For B-LoRA [3], and K-LoRA [24], we discard the content LoRA blocks since we aim to generate new content, and use only the style blocks for guidance. Similarly, in UnZipLoRA [19], we decompose the reference, and discard content-related details. We also evaluate image editing methods to show that they cannot be directly adapted for our task. We include DiT-based editing models such as FluxKontext [15] and FlowEdit [13], as baselines.
Following [19, 24, 37], we report CLIP image similarity (CLIP-I) and text similarity (CLIP-T) scores for the generated images. While these scores measure overall alignment with the reference image and text prompt, they do not capture
R. Mishra et al.
Table 1: Comparison of RefDiT with existing methods. Bold indicates best overall performance and underline indicates best open-source baseline performance.
| CLIP-I↑ | CLIP-T↑ | Attr-Match↑ | Attr-SIM↑ | |
|---|---|---|---|---|
| DLoRA [28] | 0.71 | 0.29 | 0.48 | 0.41 |
| B-LoRA [3] | 0.70 | 0.29 | 0.42 | 0.44 |
| K-LoRA [24] | 0.77 | 0.27 | 0.58 | 0.50 |
| UnZipLoRA [19] | 0.73 | 0.30 | 0.52 | 0.46 |
| ProSpect [36] | 0.68 | 0.21 | 0.28 | 0.33 |
| SDEdit [21] | 0.75 | 0.22 | 0.33 | 0.35 |
| FlowEdit [13] | 0.73 | 0.24 | 0.38 | 0.38 |
| FluxKontext | 0.79 | 0.28 | 0.60 | 0.52 |
| Commercial Models | ||||
| Gemini-Banana | 0.78 | 0.29 | 0.74 | 0.65 |
| GPT-5 | 0.82 | 0.31 | 0.84 | 0.70 |
| Ours (SD 3.5 DiT) | 0.80 | 0.32 | 0.88 | 0.70 |
| Ours (Flux DiT) | 0.83 | 0.31 | 0.86 | 0.74 |
attribute-level correspondence. To address this, we introduce the Attr-Match score, which measures the attribute-level match between relevant local regions in the reference and generated images. We compute Attr-Match score using MLLM to extract attribute details for five key attributes, color, material, shape, size, and global appearance. Since language models can produce varied textual descriptions for the same attribute, we restrict their output by defining a vocabulary of attribute values from the test set. The model must select from this vocabulary or return an “out-of-vocabulary” value. Attr-Match is defined as the ratio of matched attributes for corresponding objects between the reference and generated images. We manually validate the Attr-Match score on a subset of test combinations to ensure reliability. We use LLaMA3.2-11B for Attr-Match computation, distinct from GPT-4o used in SCM extraction as prior work on LLM-as-a-judge [16] indicates that this combination exhibits minimal preference leakage.

Fig. 7: Human User Study: Green portion of each bar represents the percentage of responses preferring our outputs over the corresponding baseline.
Similar to CLIP-T, we also report the Attr-SIM score. Here, we query a language model to describe corresponding local regions in both the reference and generated images using attribute-based captions and compute their text similarity. Attr-SIM captures cases where semantically similar attributes are described using different words, complementing Attr-Match. Attr-SIM uses free-form descriptions, not constrained on vocabulary.
Results. Table 1 presents the quantitative comparison of our method with
relevant baselines. Based on CLIP-I and CLIP-T scores, our method generates images consistent with both the reference image and the inference prompt. We observe significant improvements in Attr-Match and Attr-SIM scores compared to open-source baselines, demonstrating effective attribute-based local guidance by RefDiT. Our results are also competitive with large-scale commercial models such as OpenAI's GPT-5 and Google's Gemini-Banana.

Fig. 8: Mean IoU of identifier-token attention maps in M2 versus triplet-conditioned RefDiT across training iterations.
Human User Study. To further evaluate our method and assess human perception of the generated results, we conducted a user study. We prepared two types of questionnaires, one asking participants to select outputs that best align with the relevant region in the reference image, and another asking them to verify whether individual attributes match between the local regions of the reference and generated images. A total of 45 participants submitted their responses, each answering 10 questions, resulting in 450 responses overall. Figure 7 shows the results of our user study. Participants preferred RefDiT
over UnZipLoRA (92%), DreamBooth (88%), and FluxKontext (80%). When compared to GPT-5, 28% preferred RefDiT while 48% rated the outputs as comparable in quality. We provide additional analyses, results, and failure cases of our method in the supplementary material.
4.4 Ablation Analysis
In this section, we provide additional analysis to demonstrate the effectiveness of each component in RefDiT. Table 2 reports the quantitative results of these ablations.
Impact of SCM. In M1, we adopt the DreamBooth setup, which uses a single identifier token and a recon-
struction loss. In M2, we integrate our SCM module into M1 without including the triplet conditioning. The improvement from M1 to M2 demonstrates that using a structurally attribute-aware conditioning signal enhances guidance.
Impact of Triplet Conditioning. The improvement from M2 to our final model indicates that the triplet conditioned training provides more effective local guidance. Furthermore, Figure 8 shows that the mean Intersection over Union (mIoU) of cross-attention masks corresponding to identifier tokens improves by 0.17 compared to M2, which uses only global conditioning. The IoU scores are computed with respect to the original object masks obtained using SAM [11].
Choosing . In M3, we set , and in M4, . M3 and M4 show that setting higher or lower than 0.5 leads to reduced performance.
Robustness of SCM Extraction. In M5, to evaluate SCM's dependence on the MLLM, we replace GPT-4o with the open-source InternVL-3.5 [33] to extract attribute-level triplets.
Table 2: Ablation results showing the contribution of each component. indicates presence of the component, indicates absence.
| SCM | Triplet Cond. | CLIP-I↑ | CLIP-T↑ | Attr-SIM↑ | ||
|---|---|---|---|---|---|---|
| M1 | ✗ | ✗ | ✗ | 0.71 | 0.29 | 0.43 |
| M2 | ✓ | ✗ | ✗ | 0.77 | 0.27 | 0.57 |
| M3 | ✓ | ✓ | 0.7 | 0.79 | 0.32 | 0.68 |
| M4 | ✓ | ✓ | 0.3 | 0.80 | 0.30 | 0.66 |
| M5 | ✓ (InternVL) | ✓ | 0.3 | 0.73 | 0.30 | 0.63 |
| Ours | ✓ (GPT-4o) | ✓ | 0.5 | 0.80 | 0.32 | 0.70 |
R. Mishra et al.
As shown in Table 2 (M5), InternVL yields competitive results (Attr-Match 0.80, Attr-SIM 0.63), validating that SCM's triplet-based conditioning is effective even with open-source MLLMs.
Table 3: User study preferences comparing different variants.
| % Preference for: | ||
|---|---|---|
| M2 over M1 | Ours over M2 | Ours over M4 |
| 72.8% | 68.7% | 58.4% |
We also conducted a user study for our ablations. Table 3 shows that users preferred the outputs of our complete method over variants with modified configurations.
5 Discussion
SCM Validation: To assess the reliability of attribute-based triplet extraction, we manually validate a randomly selected subset of 50 images from our test set. Averaged over five key attributes, SCM achieves 90.5% attribute accuracy (96.2% for color and 89.7% for material) and 94% accuracy for object classification. In supplementary, we provide a detailed analysis of the limitations and sensitivity to failure cases of using an MLLM for SCM, along with simulating SCM extraction failures. Even under simulated SCM extraction errors, performance remains above open-source baselines, due to its effective mapping of identifier tokens to local visual regions. Nevertheless, errors in object detection, attribute labeling, or relation parsing can propagate into conditioning signals, particularly in scenes with rare objects, ambiguous attributes, or heavy occlusion.
Evaluation limitations: Evaluating local attribute correspondence remains challenging. While RefDiT achieves strong performance on global alignment metrics such as CLIP-I and CLIP-T, these measures are insufficient for assessing region-level guidance. To address this, we introduce Attr-Match and Attr-SIM, which quantify attribute-level consistency between corresponding local regions. Since these metrics rely on language-model-based extraction and constrained vocabularies, they may introduce bias or overlook subtle perceptual nuances. To reduce circular evaluation effects, we use an MLLM (LLaMA), distinct from GPT-4o used in SCM extraction. Human studies further complement automatic metrics; however, scalable and fully objective evaluation of fine-grained local guidance remains an open research problem.
6 Conclusion
We propose RefDiT, a method that enables effective local, attribute-level guidance for reference-constrained image generation. Through an extensive evaluation of existing reference-guided image generation models, we identify a key limitation when users attempt to generate new images guided by multiple local attributes in the reference image. To address this, we introduce a local attribute-guided, LoRA-based training strategy for DiT-based image generation models. Our experiments demonstrate that RefDiT improves reference guidance across a diverse set of references and provides users with greater control over the generation process. We validate the effectiveness of our method using multiple evaluation metrics and support our findings with a user study that highlights the perceptual quality of the generated outputs.
References
-
Adobe Systems Incorporated: Adobe photoshop. Software (2023)
-
Agarwal, A., Karanam, S., Shukla, T., Srinivasan, B.V.: An image is worth multiple words: Multi-attribute inversion for constrained text-to-image synthesis. In: 2025 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV). pp. 6053–6062. IEEE (2025)
-
Frenkel, Y., Vinker, Y., Shamir, A., Cohen-Or, D.: Implicit style-content separation using b-lora. In: European Conference on Computer Vision. pp. 181–198. Springer (2024)
-
Gal, R., Alaluf, Y., Atzmon, Y., Patashnik, O., Bermano, A.H., Chechik, G., Cohen-Or, D.: An image is worth one word: Personalizing text-to-image generation using textual inversion. arXiv preprint arXiv:2208.01618 (2022)
-
Han, L., Li, Y., Zhang, H., Milanfar, P., Metaxas, D., Yang, F.: Svdiff: Compact parameter space for diffusion fine-tuning. In: Proceedings of the IEEE/CVF International Conference on Computer Vision. pp. 7323–7334 (2023)
-
Hayou, S., Ghosh, N., Yu, B.: Lora+: Efficient low rank adaptation of large models. arXiv preprint arXiv:2402.12354 (2024)
-
Hertz, A., Mokady, R., Tenenbaum, J., Aberman, K., Pritch, Y., Cohen-Or, D.: Prompt-to-prompt image editing with cross attention control. arXiv preprint arXiv:2208.01626 (2022)
-
Ho, J., Jain, A., Abbeel, P.: Denoising diffusion probabilistic models. Advances in neural information processing systems 33, 6840–6851 (2020)
-
Hu, E.J., Shen, Y., Wallis, P., Allen-Zhu, Z., Li, Y., Wang, S., Wang, L., Chen, W., et al.: Lora: Low-rank adaptation of large language models. ICLR 1(2), 3 (2022)
-
Hugging Face: Dreambooth sd3 example for diffusers (2025), accessed: 2025-09-28
-
Kirillov, A., Mintun, E., Ravi, N., Mao, H., Rolland, C., Gustafson, L., Xiao, T., Whitehead, S., Berg, A.C., Lo, W.Y., Dollár, P., Girshick, R.: Segment anything. arXiv:2304.02643 (2023)
-
Kopiczko, D.J., Blankevoort, T., Asano, Y.M.: Vera: Vector-based random matrix adaptation. arXiv preprint arXiv:2310.11454 (2023)
-
Kulikov, V., Kleiner, M., Huberman-Spiegelglas, I., Michaeli, T.: Flowedit: Inversion-free text-based editing using pre-trained flow models. arXiv preprint arXiv:2412.08629 (2024)
-
Kumari, N., Zhang, B., Zhang, R., Shechtman, E., Zhu, J.Y.: Multi-concept customization of text-to-image diffusion. In: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. pp. 1931–1941 (2023)
-
Labs, B.F., Batifol, S., Blattmann, A., Boesel, F., Consul, S., Diagne, C., Dockhorn, T., English, J., English, Z., Esser, P., et al.: Flux. 1 kontext: Flow matching for in-context image generation and editing in latent space. arXiv preprint arXiv:2506.15742 (2025)
-
Li, D., Sun, R., Huang, Y., Zhong, M., Jiang, B., Han, J., Zhang, X., Wang, W., Liu, H.: Preference leakage: A contamination problem in llm-as-a-judge. ICLR'26 (2025)
-
Li, S., Singh, H., Grover, A.: Instructany2pix: Image editing with multi-modal prompts. In: Findings of the Association for Computational Linguistics: NAACL 2025. pp. 594–619 (2025)
-
Lipman, Y., Chen, R.T., Ben-Hamu, H., Nickel, M., Le, M.: Flow matching for generative modeling. In: The Eleventh International Conference on Learning Representations
R. Mishra et al.
-
Liu, C., Shah, V., Cui, A., Lazebnik, S.: Unziplora: Separating content and style from a single image. arXiv preprint arXiv:2412.04465 (2024)
-
Liu, X., Gong, C., Liu, Q.: Flow straight and fast: Learning to generate and transfer data with rectified flow. arXiv preprint arXiv:2209.03003 (2022)
-
Meng, C., He, Y., Song, Y., Song, J., Wu, J., Zhu, J.Y., Ermon, S.: Sdedit: Guided image synthesis and editing with stochastic differential equations. arXiv preprint arXiv:2108.01073 (2021)
-
Nie, J., Zhang, G., An, W., Xing, Y., Tan, Y.P., Kot, A.C., Lu, S.: Mmrel: Benchmarking relation understanding in multi-modal large language models. arXiv preprint arXiv:2406.09121 (2024)
-
OpenAI: Gpt-5 (2025), openAI-Large multimodal language model
-
Ouyang, Z., Li, Z., Hou, Q.: K-lora: Unlocking training-free fusion of any subject and style loras. arXiv preprint arXiv:2502.18461 (2025)
-
Podell, D., English, Z., Lacey, K., Blattmann, A., Dockhorn, T., Müller, J., Penna, J., Rombach, R.: Sdxl: Improving latent diffusion models for high-resolution image synthesis. arXiv preprint arXiv:2307.01952 (2023)
-
Ren, P., Shi, C., Wu, S., Zhang, M., Ren, Z., de Rijke, M., Chen, Z., Pei, J.: Melora: Mini-ensemble low-rank adapters for parameter-efficient fine-tuning. arXiv preprint arXiv:2402.17263 (2024)
-
Rombach, R., Blattmann, A., Lorenz, D., Esser, P., Ommer, B.: High-resolution image synthesis with latent diffusion models. In: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. pp. 10684–10695 (2022)
-
Ruiz, N., Li, Y., Jampani, V., Pritch, Y., Rubinstein, M., Aberman, K.: Dreambooth: Fine tuning text-to-image diffusion models for subject-driven generation. In: Proceedings of the IEEE/CVF conference on computer vision and pattern recognition. pp. 22500–22510 (2023)
-
Shah, V., Ruiz, N., Cole, F., Lu, E., Lazebnik, S., Li, Y., Jampani, V.: Ziplora: Any subject in any style by effectively merging loras. In: European Conference on Computer Vision. pp. 422–438. Springer (2024)
-
Sohn, K., Jiang, L., Barber, J., Lee, K., Ruiz, N., Krishnan, D., Chang, H., Li, Y., Essa, I., Rubinstein, M., et al.: Styledrop: Text-to-image synthesis of any style. Advances in Neural Information Processing Systems 36, 66860–66889 (2023)
-
Team, G.D..G.G.: Gemini 2.5 flash image (aka nano banana) (2025), image generation and editing model from Google, internally codenamed Nano Banana
-
Wang, Q., Cvejic, A., Eldesokey, A., Wonka, P.: Editclip: Representation learning for image editing. arXiv preprint arXiv:2503.20318 (2025)
-
Wang, W., Gao, Z., Gu, L., Pu, H., Cui, L., Wei, X., Liu, Z., Jing, L., Ye, S., Shao, J., et al.: Internvl3.5: Advancing open-source multimodal models in versatility, reasoning, and efficiency. arXiv preprint arXiv:2508.18265 (2025)
-
Xu, J., Sun, X., Zhang, Z., Zhao, G., Lin, J.: Understanding and improving layer normalization. Advances in neural information processing systems 32 (2019)
-
Yin, Z., Dai, X., Chen, L.H., Zhou, D., Wang, J., Wang, D., Yu, G., Ni, L.M., Shum, H.Y.: Training-free text-guided color editing with multi-modal diffusion transformer. arXiv preprint arXiv:2508.09131 (2025)
-
Zhang, Y., Dong, W., Tang, F., Huang, N., Huang, H., Ma, C., Lee, T.Y., Deussen, O., Xu, C.: Prospect: Prompt spectrum for attribute-aware personalization of diffusion models. ACM Transactions on Graphics (TOG) 42(6), 1–14 (2023)
-
Zhong, M., Shen, Y., Wang, S., Lu, Y., Jiao, Y., Ouyang, S., Yu, D., Han, J., Chen, W.: Multi-lora composition for image generation. arXiv preprint arXiv:2402.16843 (2024)