Text-Guided Image Editing With Time-Dependent Embedding Mixing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing text guided image editing methods require training for each new edit, are computationally expensive, and struggle with preserving the subject's identity and controlling edit strength effectively.

Innovation Solution

An embedding mixer is introduced to control the mixing of base and edit embeddings using a weight dependent on the time step, ensuring that base embeddings maintain the subject's identity while edit embeddings apply the desired changes, thereby mitigating the issues of entanglement and contextual encoding.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If text guided image editing methods are used to make semantic changes to images, then editing capability is improved, but computational cost and training requirements increase

Engineering Contradiction:
Improveediting capabilityVSAvoidcomputational cost
Core Design Contradiction:
Adaptability or versatilityVSUse of energy by stationary object

Solution Approach 1:

The method performs preliminary encoding of text prompts into embeddings before the diffusion process. These embeddings are then reused and mixed across different editing iterations, avoiding the need to re-encode text repeatedly and reducing computational overhead for each editing operation.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The method creates and uses cross-attention maps from the base image encoding that can be copied and applied to multiple edit operations. These attention maps capture structural information that can be reused across different editing scenarios, reducing the need for repeated heavy computations.

Inventive Principle:
Principle #26Copying

2Adaptability or versatility

If existing text guided image editing methods are applied, then editing flexibility is improved, but subject identity preservation deteriorates

Engineering Contradiction:
Improveediting flexibilityVSAvoidsubject identity preservation
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The method dynamically mixes base embeddings and edit embeddings using a time-dependent weighting mechanism. The mixing ratio changes throughout the diffusion process, allowing the model to preserve subject identity in early stages while incorporating edit semantics in later stages, thus maintaining both flexibility and identity preservation.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The method introduces cross-attention maps as an intermediary between the base image and edit prompt. These attention maps mediate the interaction between base embeddings and edit embeddings, ensuring that edits are applied in a controlled manner that preserves the subject's identity while achieving the desired semantic changes.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Productivity

If text guided image editing is performed without controlled embedding mixing, then editing speed is improved, but edit strength control deteriorates

Engineering Contradiction:
Improveediting speedVSAvoidedit strength control
Core Design Contradiction:
ProductivityVSEase of operation

Solution Approach 1:

The method changes the weighting parameter dynamically based on the diffusion time step. By adjusting the mixing ratio of base and edit embeddings as a function of time, the system achieves both efficient processing and fine-grained control over edit strength without requiring manual parameter tuning for each operation.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20250308115A1Text guided image editor
Publication Date: 2025.10.02 FUJITSU LTD
  • US20250308115A1 patent drawing
  • US20250308115A1 patent drawing
  • US20250308115A1 patent drawing

AI summary

A computer-implemented method includes obtaining a base prompt and an edit prompt; converting the base and edit prompts to base and edit embeddings; repeating, for a plurality of iterations the following. Determining new edit embeddings based on: the base and edit embeddings, a time step relating to the iteration, and a weight that controls mixing of the base and edit embeddings and dependent on the time step. Inputting the base embeddings into a diffusion model in a base reverse process to update a base latent relating to the base image. Inputting the new edit embeddings into the diffusion model in an edit reverse process to update an edit latent relating to an edited image. Cross-attention maps generated from the diffusion model in the base reverse process are input into the diffusion model in the edit reverse process. Finally, the edit latent is converted to the edited image and output.