Wavelet-Based Autoencoders for Lower-Compute Latent Diffusion

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Autoencoders, particularly when used in latent diffusion models (LDMs) for high-resolution image generation, face significant computational demands due to the resource-intensive nature of traditional variational autoencoders (VAEs), which affect training efficiency and limit the use of data augmentation techniques.

Innovation Solution

Pre-processing input images using a multi-level discrete wavelet transform (DWT) to reduce the complexity of feature extraction and aggregation networks in the encoder, allowing for faster and more efficient training of LDMs by using either learned or non-learned encoders, thereby reducing computational requirements and memory usage.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional variational autoencoders are used in latent diffusion models, then image generation capability is achieved, but computational demands and resource consumption increase significantly

Engineering Contradiction:
Improveimage generation capabilityVSAvoidcomputational demands
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent applies segmentation by decomposing the image processing task into frequency sub-bands using wavelet transform. The encoder processes different frequency components (approximation and detail coefficients) separately, allowing for more efficient feature extraction and reducing the overall computational burden while maintaining image generation capability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts and removes the computationally intensive components from the traditional VAE architecture by replacing them with wavelet-based processing. Specifically, the discrete wavelet transform extracts frequency information that can be processed more efficiently, taking out the heavy computational requirements while preserving the essential autoencoding functionality.

Inventive Principle:
Principle #2Taking out (Extraction)

2Manufacturing precision

If traditional autoencoders are used for feature extraction, then reconstruction quality is achieved, but training efficiency decreases

Engineering Contradiction:
Improvereconstruction qualityVSAvoidtraining efficiency
Core Design Contradiction:
Manufacturing precisionVSProductivity

Solution Approach 1:

The patent changes the parameter representation by transforming images from spatial domain to frequency domain using wavelet transform. This parameter transformation allows the model to work with frequency coefficients instead of pixel values, enabling faster training while maintaining reconstruction quality through the invertible nature of the wavelet transform.

Inventive Principle:
Principle #35Parameter changes

3Measurement precision

If complex feature extraction networks are used in the encoder, then reconstruction accuracy is improved, but memory usage and computational resources increase

Engineering Contradiction:
Improvereconstruction accuracyVSAvoidmemory usage
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent segments the feature extraction process by operating on wavelet sub-bands independently. The encoder processes approximation coefficients and detail coefficients through separate but parallel pathways, reducing the memory required for each individual processing stream while maintaining overall reconstruction accuracy through the combined frequency information.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20250252533A1Wavelet-based autoencoders for latent diffusion models
Publication Date: 2025.08.07 DISNEY ENTERPRISES INC
  • US20250252533A1 patent drawing
  • US20250252533A1 patent drawing
  • US20250252533A1 patent drawing

AI summary

The computational requirements of an encoder of an autoencoder can be reduced by pre-processing the images using a discrete wavelet transform (DWT). In one embodiment, the encoder uses a multi-level DWT to extract multiscale information from the input images. If using a learned encoder, performing the multi-level DWT enables the encoder to have less complex feature extraction and aggregation networks (e.g., convolution neural networks (CNNs)) than a standard encoder for an autoencoder. This means the VAE can execute faster, use less computational resources (such as GPU memory), and use less power than traditional VAEs. If using a non-learned encoder, the result of the multi-level DWT can be used as the latent code without using feature extraction and aggregation networks.