Manuscript Offprint

arXiv:2609.04976

RefDiT: Local Attribute Guidance in Reference-Based Image Generation

Rameshwar Mishra, Srikrishna Karanam, A V Subramanyam

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

Figure

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

Figure

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.

References (34)