DEFT: Decompositional Efficient Fine-Tuning for Text-to-Image Models

Komal Kumar, Rao Muhammad Anwer, Fahad Shahbaz Khan, Salman Khan, Ivan Laptev, Hisham Cholakkal

TL;DR

DEFT (Decompositional Efficient Fine-Tuning) is a novel parameter-efficient fine-tuning framework for text-to-image models that solves the classic trade-off between concept personalization and instruction-following capability. By decomposing weight updates into a subspace projection and a flexible low-rank adjustment, DEFT achieves state-of-the-art image generation and composition without suffering from catastrophic forgetting or overfitting.

What Problem Does This Paper Address?

Adapting large text-to-image (T2I) models like Stable Diffusion or OmniGen to specific tasks—such as learning a new object ("personalization") or following complex multi-subject prompts—is notoriously difficult.

Standard fine-tuning methods often fall into two traps:

  1. Overfitting & Artifacts: Methods like DreamBooth can overfit when given only a few reference images, leading to poor generalization across diverse prompts or weird blending artifacts in multi-concept compositions.
  2. Catastrophic Forgetting: Popular low-rank adaptation (LoRA) methods can degrade the model's original ability to follow complex text instructions, especially over longer training durations.

The authors introduce DEFT to strike a stable balance, allowing models to learn highly specific visual concepts while retaining their universal instruction-following and editing capabilities.

Overview of diverse image generation and personalization tasks achieved by DEFT.

Methods

DEFT rethinks how parameter-efficient updates modify a pre-trained weight matrix $W_0$. Instead of simply adding a low-rank matrix (like LoRA) or reducing the rank directly (like PaRa), DEFT decomposes the update into two distinct components using two trainable low-rank matrices, $P$ and $R$:

$$\mathbf{h} = W_{\text{reduce}}x = W_0x - PP^\top W_0x + PRx$$

  1. Subspace Projection (Rank Reduction): The term $-PP^\top W_0$ projects out and eliminates specific subspaces from the original weights.
  2. Low-Rank Adjustment: The term $+PR$ injects flexible, task-specific parameter adaptations within that newly defined subspace.
Structural comparison between LoRA, PaRa, and the proposed DEFT framework.

The framework is highly modular and supports multiple matrix decomposition techniques to construct the projection matrix $P$, including QR decomposition, TruncatedSVD, Low-Rank Matrix Factorization (LRMF), and Non-Negative Matrix Factorization (NMF). Additionally, applying a non-negative constraint via $\text{ReLU}(P)\text{ReLU}(P)^\top$ allows for sparser, more structured feature updates.

Displacement field visualization comparing full span projection vs. non-negative shadow projection.

Datasets

The authors evaluated DEFT across several challenging benchmarks:

  • DreamBooth Benchmark: 30 personalized concepts across 15 categories to test subject-driven generation.
  • DreamBench Plus: A human-aligned benchmark consisting of 150 concepts with 8 diverse prompts each.
  • InsDet: A high-resolution instance detection dataset containing 100 objects and 5 scenes, augmented with detailed BLIP-2 and Qwen-32B descriptions.
  • VisualCloze: Used for universal image generation via visual in-context learning, featuring 3 million custom-created instructions for fine-tuning.

Key Insights and Ideas

  • Dynamic Subspace Expansion: Unlike standard LoRA, which applies unconstrained updates that can misalign with pre-trained weights, DEFT restricts its modifications to a controlled subspace. If the task demands it, the subspace can safely expand without corrupting the model's foundational knowledge.
  • Resilience to Long Training Horizons: A common issue with LoRA is that image-text alignment (CLIP-T) drops significantly if trained for too many steps. DEFT maintains stable instruction adherence and image quality even at 8,000 training steps.
  • Structural Biases Matter: Introducing non-negativity constraints ($\text{ReLU}(P)$) yields weaker but highly selective displacements, mimicking additive feature combinations that excel in fine-grained prompt control.

Key Results

  • State-of-the-Art Text Alignment: On the DreamBench Plus dataset using SDXL v1.0, DEFT achieved a top CLIP-T score of 0.361, outperforming LoRA (0.341) and PaRa (0.354).
  • Superior Image Consistency: Quantitative evaluations on VisualCloze showed that DEFT consistently beats baseline OmniGen and VisualCloze models in both Canny Edge and Depth Map conditional generation tasks (e.g., achieving a DINOv2 image consistency score of 90.65 vs. OmniGen's 87.60).
  • Training Efficiency: Despite the added mathematical complexity of matrix decomposition, DEFT remains highly efficient. It processes at 11 steps/second with a peak memory usage of 7.95 GB (on par with LoRA's 12 steps/second at 8.03 GB, and faster than PaRa's 8 steps/second).

Limitations and Future Work

While DEFT demonstrates excellent stability and performance, the authors note a few areas for improvement:

  • Computational Overhead: Because it requires matrix multiplication and decomposition during the forward pass, it is marginally slower than standard LoRA.
  • 3D-Aware Generation: Although DEFT successfully learned camera-aware generation using Structure-from-Motion (SFM) data, incorporating explicit camera position encodings could further boost spatial fidelity.

Summary updated

BibTeX
@inproceedings{kumar2025deft,
  author = {Komal Kumar and Rao Muhammad Anwer and Fahad Shahbaz Khan and Salman Khan and Ivan Laptev and Hisham Cholakkal},
  title = {{DEFT: Decompositional Efficient Fine-Tuning for Text-to-Image Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=R9xJSk5SQ2},
}
Figure