Neural Network Image Generation via Discrete Pixel Modeling

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing neural network models for image generation often rely on independence assumptions between pixel color values, limiting their ability to capture full inter-dependencies and resulting in suboptimal image quality and slower training processes.

Innovation Solution

A neural network system that generates images by modeling color values as discrete rather than continuous, processing and conditioning each pixel's color values on earlier pixels and color channels, using masked convolutions and LSTM layers to ensure conditioning only on already generated values, thereby avoiding independence assumptions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If independence assumptions are made between pixel color values, then computational complexity is reduced and training is faster, but the ability to capture pixel inter-dependencies is limited and image quality decreases

Engineering Contradiction:
Improvetraining speedVSAvoidimage generation quality
Core Design Contradiction:
ProductivityVSManufacturing precision

Solution Approach 1:

The patent segments the image generation process into discrete color value predictions for each pixel position and color channel, processed sequentially through LSTM units. This segmentation allows the model to capture dependencies without treating all pixels as independent, resolving the contradiction by maintaining computational feasibility while improving quality through sequential processing of color values.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces LSTM units as intermediary components that process color values sequentially and maintain hidden states capturing dependencies between pixels. These LSTM intermediaries enable the model to capture inter-pixel dependencies without requiring independent processing of all pixels, thus improving image quality while maintaining reasonable computational complexity through the mediating sequential processing mechanism.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Manufacturing precision

If discrete color values are used instead of continuous values, then training converges faster and quality improves, but the model must handle larger output vocabularies

Engineering Contradiction:
Improveimage generation qualityVSAvoidoutput vocabulary size
Core Design Contradiction:
Manufacturing precisionVSDevice complexity

Solution Approach 1:

The patent changes the parameter representation from continuous color values to discrete color indices from a finite vocabulary. This parameter transformation allows the use of categorical cross-entropy loss and discrete optimization, which converges faster and improves quality. The discrete vocabulary approach trades continuous precision for discrete categorization, resolving the contradiction by enabling faster training convergence while maintaining or improving image quality through discrete color value modeling.

Inventive Principle:
Principle #35Parameter changes

3Manufacturing precision

If pixel-by-pixel generation with full conditioning is used, then capture of pixel inter-dependencies is maximized, but computational requirements increase

Engineering Contradiction:
Improvecapture of pixel inter-dependenciesVSAvoidcomputational energy
Core Design Contradiction:
Manufacturing precisionVSUse of energy by moving object

Solution Approach 1:

The patent uses preliminary action by processing pixels and color channels in a fixed sequential order (e.g., raster scan order), conditioning each prediction on previously generated values. This preliminary ordering allows the model to capture dependencies efficiently by only considering past information, avoiding the need to compute all possible pixel interactions simultaneously, thus reducing computational energy while maintaining comprehensive dependency capture.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent maintains continuity of useful action through the sequential processing framework where each color value prediction builds upon previous predictions. The LSTM hidden states continuously carry information about previously processed pixels and color channels, enabling the model to capture inter-dependencies across the entire image through continuous sequential processing rather than discrete independent predictions, reducing computational energy requirements.

Inventive Principle:
Principle #20Continuity of useful action

Data Source

PatentEP3380992B1Generating images using neural networks
Publication Date: 2022.04.27 DEEPMIND TECH LTD
  • EP3380992B1 patent drawingFigure 1
  • EP3380992B1 patent drawingFigure 2
  • EP3380992B1 patent drawingFigure 3

AI summary

Methods, systems, and apparatus, including computer programs encoded on computer storage media, for generating images using neural networks. One of the methods includes generating the output image pixel by pixel from a sequence of pixels taken from the output image, comprising, for each pixel in the output image, generating a respective score distribution over a discrete set of possible color values for each of the plurality of color channels.