Multi-Modal Image Editing With Masked Diffusion Inpainting

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional image editing systems, such as generative adversarial networks (GANs) and blended diffusion models (BDMs), struggle with realistic integration of foreground and background elements in images, often requiring repetitive user interaction and failing to utilize rich background information effectively.

Innovation Solution

A multi-modal image editing system that uses a diffusion model to denoise a masked region of an image based on a text prompt, allowing user control through a user interface, and trains the model to recover missing information from the mask region, ensuring realistic inpainting of objects or textures.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If conventional image editing systems (GANs, BDMs) are used to edit images, then image editing functionality is provided, but the integration of foreground and background elements is not realistic and requires repetitive user interaction

Engineering Contradiction:
Improverealistic integration of foreground and backgroundVSAvoidrepetitive user interaction
Core Design Contradiction:
ReliabilityVSEase of operation

Solution Approach 1:

The image is divided into a masked region (to be edited) and a non-masked region (to be preserved). The diffusion model processes these segments differently, applying denoising only to the masked region while maintaining the original non-masked region, enabling precise localized editing without affecting other parts of the image.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system pre-processes the image by creating a partially noisy image map where noise is selectively applied to the masked region before feeding into the diffusion model. This preliminary preparation guides the diffusion model to focus computational resources only on the regions requiring editing, improving efficiency and reducing repetitive user interactions.

Inventive Principle:
Principle #10Preliminary action

2Loss of information

If conventional image editing systems are used, then image editing is performed, but rich background information is not utilized effectively

Engineering Contradiction:
Improveutilization of background informationVSAvoidrealistic inpainting
Core Design Contradiction:
Loss of informationVSReliability

Solution Approach 1:

The partially noisy image map serves as an intermediary that bridges the original image and the final edited output. It preserves background information in non-masked regions while introducing controlled noise in masked regions, allowing the diffusion model to leverage existing background context for generating realistic inpainted content.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

Different regions of the image are treated with different qualities of processing. The non-masked regions retain their original quality and information, while the masked regions undergo denoising processing. This local differentiation ensures that background information is preserved where needed and actively utilized to guide the inpainting process.

Inventive Principle:
Principle #3Local quality

3Reliability

If diffusion model is used to denoise masked region based on text prompt, then realistic inpainting is achieved, but computational complexity increases

Engineering Contradiction:
Improverealistic inpaintingVSAvoidcomputational complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The computational domain is segmented into masked and non-masked regions. The diffusion model applies computational intensity only to the masked region for denoising, while the non-masked region is processed minimally or not at all. This spatial segmentation of computational workload reduces overall complexity while maintaining high-quality inpainting results.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Instead of applying full denoising processing to the entire image, the system applies partial denoising only to the masked region. This partial action approach reduces computational complexity significantly while achieving the desired realistic inpainting effect in the specific regions that need editing.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS12430829B2Multi-modal image editing
Publication Date: 2025.09.30 ADOBE INC
  • US12430829B2 patent drawing
  • US12430829B2 patent drawing
  • US12430829B2 patent drawing

AI summary

Systems and methods for multi-modal image editing are provided. In one aspect, a system and method for multi-modal image editing includes identifying an image, a prompt identifying an element to be added to the image, and a mask indicating a first region of the image for depicting the element. The system then generates a partially noisy image map that includes noise in the first region and image features from the image in a second region outside the first region. A diffusion model generates a composite image map based on the partially noisy image map and the prompt. In some cases, the composite image map includes the target element in the first region that corresponds to the mask.