Autoencoder Face Swapping with Latent Space Compression

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional techniques for digital image and voice processing, such as face-swapping, require significant computer resources and time, limiting their efficiency and resolution capabilities.

Innovation Solution

The use of autoencoders trained with CGI faces and real faces to swap facial expressions while preserving the likeness of the real face, and the application of neural networks to swap voices while maintaining text and emotional features, utilizing fewer images and reducing computational demands.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If conventional techniques are used for face-swapping and digital image processing, then processing can be performed, but computer resource consumption is high and processing time is excessive

Engineering Contradiction:
Improveprocessing speedVSAvoidcomputer resource consumption
Core Design Contradiction:
ProductivityVSUse of energy by moving object

Solution Approach 1:

The system performs preliminary actions by pre-training the autoencoder architecture on large datasets of facial images before actual face-swapping operations. The encoder learns to compress facial features into latent representations and the decoder learns to reconstruct faces from these representations, so that during actual use, the pre-learned mappings can be applied directly without requiring intensive real-time computation

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system creates a simplified copy of the face processing task by working in the latent space rather than directly manipulating high-resolution image data. The autoencoder creates a compressed representation (copy) of facial features that captures essential characteristics while reducing data dimensionality, allowing faster processing with fewer computational resources

Inventive Principle:
Principle #26Copying

2Measurement precision

If large datasets with hundreds or thousands of facial images are used for training, then face swapping accuracy improves, but training time and computational requirements increase significantly

Engineering Contradiction:
Improveface swapping accuracyVSAvoidtraining time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system performs preliminary action by pre-training the autoencoder on a large dataset of diverse facial images to learn general facial features and variations. This pre-training phase captures essential facial patterns, allowing the model to achieve good performance with less additional training data specific to the target face-swapping task

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system changes parameters by transforming the problem from operating on high-dimensional pixel data to operating on low-dimensional latent space representations. The autoencoder learns optimal dimensionality reduction parameters that preserve essential facial characteristics while reducing the computational burden of processing large datasets

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS11670024B2Methods and systems for image and voice processing
Publication Date: 2023.06.06 NEON EVOLUTION INC
  • US11670024B2 patent drawing
  • US11670024B2 patent drawing
  • US11670024B2 patent drawing

AI summary

Systems and methods are disclosed configured to train an autoencoder using images that include faces, wherein the autoencoder comprises an input layer, an encoder configured to output a latent image from a corresponding input image, and a decoder configured to attempt to reconstruct the input image from the latent image. An image sequence of a face exhibiting a plurality of facial expressions and transitions between facial expressions is generated and accessed. Images of the plurality of facial expressions and transitions between facial expressions are captured from a plurality of different angles and using different lighting. An autoencoder is trained using source images that include the face with different facial expressions captured at different angles with different lighting, and using destination images that include a destination face. The trained autoencoder is used to generate an output where the likeness of the face in the destination images is swapped with the likeness of the source face, while preserving expressions of the destination face.