Attention Mask Guided GAN Training for Faster Convergence

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current training techniques for generative adversarial networks (GANs) lack insight into the specific criteria used by the discriminative part for classification, leading to slow training and potential imbalances between the generative and discriminative parts.

Innovation Solution

The introduction of an attention mask that identifies the parts of an input instance contributing to the discriminative part's classification, allowing the generative part to focus on these areas and improve its synthesis of output instances.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If traditional GAN training is used without attention masks, then the training process is simple to implement, but the training speed is slow and the balance between generative and discriminative parts is difficult to maintain

Engineering Contradiction:
Improvetraining speedVSAvoidtraining process complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

An attention mask is introduced as an intermediary component that bridges the discriminative part and the generative part. The attention mask identifies and highlights the specific regions or features that the discriminative part focuses on when classifying input instances, providing guided feedback to the generative part. This mediator enables more efficient training by directing the generative part's optimization efforts toward the most critical discriminative features, thereby improving training speed while maintaining a manageable process complexity through modular integration.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If the discriminative part is trained to accurately classify real vs. fake instances, then the classification accuracy improves, but the generative part may struggle to keep up leading to training imbalance

Engineering Contradiction:
Improveclassification accuracyVSAvoidtraining balance
Core Design Contradiction:
Measurement precisionVSStability of the object's composition

Solution Approach 1:

The attention mask serves as a feedback mechanism that provides the generative part with information about what the discriminative part deems important. By analyzing the attention masks generated during discriminative training, the generative part receives targeted feedback on which features to improve, enabling it to adapt more effectively and maintain a stable training balance while the discriminative part achieves high classification accuracy.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

Instead of treating all features equally, the attention mask applies local quality by highlighting specific regions or features that are most discriminative. This allows the generative part to focus its optimization efforts on improving specific local features rather than uniformly adjusting all parameters, enabling the discriminative part to achieve high accuracy while the generative part can realistically track the improvements.

Inventive Principle:
Principle #3Local quality

3Reliability

If the generative part tries to maximize discrimination error without guidance, then it may achieve higher synthetic quality, but the training becomes unstable and slow

Engineering Contradiction:
Improvesynthetic output qualityVSAvoidtraining efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The attention mask acts as an intermediary that guides the generative part's maximization of discrimination error. Instead of blindly trying to fool the discriminative part across all features, the attention mask directs the generative part to focus on the specific features that the discriminative part finds most important. This targeted approach enables the generative part to achieve high synthetic quality more efficiently and stably by concentrating optimization efforts where they have the most impact.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentEP3745309B1Training a generative adversarial network
Publication Date: 2025.01.29 ROBERT BOSCH GMBH
  • EP3745309B1 patent drawingFigure 1~2
  • EP3745309B1 patent drawingFigure 3~4
  • EP3745309B1 patent drawingFigure 5~6

AI summary

A training system and computer-implemented training method are described for training a generative adversarial network (GAN). In the training, explanatory information may be provided to the generative part (G) which identifies on which basis the discriminative part arrives at its classification. In particular, this explanatory information may be provided in the form of an attention mask (s) which may be generated by the discriminatory part (D) and which may identify parts of a respective input instance which contribute to the classification of the respective input instance by the discriminative part. Furthermore, a data synthesis system and computer-implemented method are described for synthesizing data using the generative part of the trained generative adversarial network.