Two-Stage GAN for Context-Aware Text-to-Image Synthesis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Users face difficulties in selecting specific items from search results due to the semantic complexity of fashion and color-matching challenges, as existing systems generate images that do not accurately represent the intended color or style based on text queries.

Innovation Solution

A machine learning system utilizing a stage-I and stage-II generative adversarial network (GAN) with recurrent neural networks (RNNs) generates context-aware, photorealistic synthetic image data from text, incorporating color embeddings and noise vectors to refine search results based on user queries, ensuring accurate representation of desired items.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If existing image generation systems are used to generate images from text queries, then images can be generated quickly, but the images do not accurately represent the intended color or style

Engineering Contradiction:
Improvecolor accuracyVSAvoidstyle representation accuracy
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

The patent divides the image generation task into two distinct stages: Stage-I GAN generates images with correct semantics and structure, while Stage-II GAN refines the color and style attributes. This segmentation allows each stage to specialize in specific aspects, improving overall accuracy without compromising efficiency.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary color translation module that maps colors between different color spaces (LAB and HSV) and applies color embeddings as conditional inputs to the GANs. This intermediary mechanism ensures precise color control while maintaining the natural appearance of generated images.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of operation

If simple text queries are used for search, then search is easy to perform, but search results are not refined enough due to semantic complexity

Engineering Contradiction:
Improvesearch simplicityVSAvoidsearch result accuracy
Core Design Contradiction:
Ease of operationVSMeasurement precision

Solution Approach 1:

The patent implements a feedback loop where generated images are displayed to users, who can then provide corrections or refinements to the search query. The system uses this feedback to iteratively improve search results, maintaining simplicity while enhancing accuracy through contextual understanding of user intent.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system performs preliminary image generation based on initial text queries to visualize search results before final selection. This preliminary action allows users to understand the semantic complexity and refine their queries with better contextual awareness, improving final search accuracy.

Inventive Principle:
Principle #10Preliminary action

3Device complexity

If a single-stage GAN is used for image generation, then the system is simpler, but it cannot generate context-aware images that respect color and style constraints

Engineering Contradiction:
Improvesystem architecture complexityVSAvoidcontext awareness capability
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The patent segments the GAN architecture into two specialized stages: Stage-I for semantic structure generation and Stage-II for color and style refinement. This segmentation enables context-aware image generation while keeping each individual stage relatively simple and manageable.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent creates a universal two-stage GAN framework that can handle multiple types of image generation tasks with different color and style requirements. The system maintains versatility through conditional inputs and color embeddings while preserving architectural simplicity through modular design.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS10713821B1Context aware text-to-image synthesis
Publication Date: 2020.07.14 AMAZON TECH INC
  • US10713821B1 patent drawing
  • US10713821B1 patent drawing
  • US10713821B1 patent drawing

AI summary

Techniques are generally described for context aware text-to-image synthesis. First text data comprising a description of an object may be received. A recurrent neural network may determine a first semantic representation data representing the first text data. A generator trained using a first generative adversarial network (GAN) may determine first image data representing the object using the first semantic representation. An encoder of a second GAN may generate a first feature representation of the first image data. The first feature representation may be combined with a projection of the first semantic representation data. A decoder of the second GAN may generate second image data representing the first text data.