Hardware-Efficient Text-to-Image Diffusion Models

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current diffusion models, such as those using UNet architectures, require substantial computational power due to the use of attention layers, leading to tradeoffs between training time and the quality of generated data.

Innovation Solution

The introduction of hardware-efficient architectures for diffusion-based generative models, which include a convolution-only block at the first stage of the UNet and minimal attention layers, allowing text semantics to be injected only at lower spatial resolutions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If attention layers are used in diffusion models, then the quality of generated data is improved, but the computational power required increases substantially

Engineering Contradiction:
Improvequality of generated dataVSAvoidcomputational power required
Core Design Contradiction:
Manufacturing precisionVSPower

Solution Approach 1:

The patent extracts and removes attention layers from the neural network architecture, keeping only convolutional blocks. This eliminates the computationally expensive attention mechanism while retaining the essential image generation capability through convolutional operations alone, thereby reducing computational power requirements while maintaining generation quality

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent replaces expensive attention layer computations with cheaper convolutional block operations. Convolutional blocks require significantly less computational resources compared to attention layers, allowing for efficient generation without sacrificing the core functionality of the diffusion model

Inventive Principle:
Principle #27Cheap short-living objects (Disposable)

2Manufacturing precision

If attention layers are used in diffusion models, then the quality of generated data is improved, but the training time increases

Engineering Contradiction:
Improvequality of generated dataVSAvoidtraining time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

By removing attention layers from the architecture, the patent eliminates the time-consuming attention computations during training. The convolutional-only architecture processes data faster through each training iteration, reducing overall training time while preserving the ability to generate high-quality images through the diffusion process

Inventive Principle:
Principle #2Taking out (Extraction)

3Speed

If convolution-only blocks are used at the first stage, then the processing speed is improved, but the attention mechanism is removed

Engineering Contradiction:
Improveprocessing speedVSAvoidattention mechanism
Core Design Contradiction:
SpeedVSDevice complexity

Solution Approach 1:

The patent systematically removes attention mechanisms from the first stage and replaces them with convolutional blocks. This extraction eliminates the complex attention computation while maintaining the network's ability to process and generate images effectively through convolutional feature extraction

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent substitutes the attention mechanism (a complex computational system) with a simpler convolutional block system. Convolutional blocks provide a more efficient mechanical-like operation that processes data through localized feature extraction, replacing the more complex global attention computations with faster local operations

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Data Source

PatentUS20250131606A1Hardware-aware efficient architectures for text-to-image diffusion models
Publication Date: 2025.04.24 QUALCOMM INC
  • US20250131606A1 patent drawing
  • US20250131606A1 patent drawing
  • US20250131606A1 patent drawing

AI summary

A processor-implemented method includes receiving a text-semantic input at a first stage of a neural network, including a first convolutional block and no attention layers. The method receives, at a second stage, a first output from the first stage. The second stage comprises a first down sampling block including a first attention layer and a second convolutional block. The method receives, at a third stage, a second output from the second stage. The third stage comprises a first up sampling block including a second attention layer and a first set of convolutional blocks. The method receives, at a fourth stage, the first output from the first stage and a third output from the third stage. The fourth stage comprises a second up sampling block including no attention layers and a second set of convolutional blocks. The method generates an image at the fourth stage, based on the text-semantic input.