Diffusion Model Fine-Tuning via Selective Attention Updates

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing diffusion models face challenges in efficiently learning new concepts while avoiding overfitting and forgetting previous learning, particularly when fine-tuning involves updating all parameters, which is computationally expensive and inefficient.

Innovation Solution

Fine-tuning a diffusion model by adjusting selected parameters, specifically those in attention blocks, while keeping other parameters fixed, particularly the projection matrices of cross-attention and self-attention components, to learn new concepts without overfitting or forgetting previous knowledge.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If all parameters of the diffusion model are optimized during fine-tuning, then the model can learn new concepts, but the model forgets previously learned concepts and overfits

Engineering Contradiction:
Improveability to learn new conceptsVSAvoidretention of previously learned concepts
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent segments the model parameters into two distinct groups: trainable parameters (embeddings and attention block parameters) and fixed parameters (all other parameters). This segmentation allows selective optimization of only the necessary components for learning new concepts while preserving the integrity of previously learned knowledge stored in the fixed parameters.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts and isolates the specific parameters that need to be updated (embeddings and attention blocks) from the complete set of model parameters. By separating these trainable parameters from the fixed parameters, the method enables focused fine-tuning that learns new concepts without disrupting the broader model knowledge.

Inventive Principle:
Principle #2Taking out (Extraction)

2Adaptability or versatility

If all parameters are updated during fine-tuning, then new concepts can be learned, but computational costs and memory requirements increase

Engineering Contradiction:
Improveability to learn new conceptsVSAvoidcomputational cost
Core Design Contradiction:
Adaptability or versatilityVSUse of energy by moving object

Solution Approach 1:

The patent extracts only the essential parameters (embeddings and attention blocks) that are necessary for learning new concepts, excluding all other parameters from the training process. This extraction dramatically reduces the number of parameters requiring gradient computation and memory storage during fine-tuning.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent applies partial action by updating only a subset of parameters rather than all parameters. This partial fine-tuning approach performs sufficient action to learn new concepts while avoiding the excessive computational burden of updating the entire model parameter set.

Inventive Principle:
Principle #16Partial or excessive action

3Use of energy by moving object

If only embeddings are optimized during fine-tuning, then computational costs are reduced, but the model cannot effectively combine new concepts with peripheral ideas

Engineering Contradiction:
Improvecomputational costVSAvoidability to combine concepts with peripheral ideas
Core Design Contradiction:
Use of energy by moving objectVSAdaptability or versatility

Solution Approach 1:

The patent segments the trainable parameters into two categories: embeddings and attention block parameters. This segmentation allows the model to not only store new concept information in embeddings but also to process and integrate peripheral ideas through the attention mechanisms, achieving both computational efficiency and conceptual versatility.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent applies local quality by enabling different parts of the model to serve different functions during fine-tuning: embeddings capture new concept information while attention blocks handle the integration and relationship modeling between concepts and peripheral ideas. This localized functionality achieves comprehensive adaptability with reduced computational overhead.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS12633099B2Fine-tuning and controlling diffusion models
Publication Date: 2026.05.19 ADOBE INC
  • US12633099B2 patent drawing
  • US12633099B2 patent drawing
  • US12633099B2 patent drawing

AI summary

Systems and methods for fine-tuning diffusion models are described. Embodiments of the present disclosure obtain an input text indicating an element to be included in an image; generate a synthetic image depicting the element based on the input text using a diffusion model trained by comparing synthetic images depicting the element to training images depicting elements similar to the element and updating selected parameters corresponding to an attention layer of the diffusion model based on the comparison.