GAN Pixel Weighting for Segmentation Consistency

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional GANs for semantic segmentation are prone to learning simple differences in value distributions between real and fake data, leading to poor classification outcomes due to the independent consideration of each output pixel.

Innovation Solution

A novel approach involving a critic neural network that learns to assess the relative reliability of different pixel classifications across an image, generating a betting map with weights that are used to weight a pixel-wise cross-entropy term in the objective function, thereby improving the generator's predictions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional GAN discriminator is used to distinguish real and fake segmentation maps, then the network can learn to differentiate ground truth from predictions, but the discriminator learns to distinguish based on simple value distribution differences leading to poor classification outcomes

Engineering Contradiction:
Improvediscriminator classification accuracyVSAvoidsegmentation prediction reliability
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

Instead of having the discriminator output a single binary classification (real/fake), the patent inverts the approach by having it output a betting map with pixel-wise weights indicating confidence. The discriminator is trained to maximize the expected cross-entropy loss weighted by these confidence values, effectively inverting the traditional GAN discrimination task to focus on pixel-level uncertainty rather than global authenticity.

Inventive Principle:
Principle #13The other way round (Inversion)

Solution Approach 2:

The patent segments the discriminator's output into individual pixel-wise confidence weights rather than a single global decision. Each pixel in the segmentation map receives its own weight in the betting map, allowing the network to independently assess the reliability of each pixel's classification, thereby addressing the poor classification outcomes by treating each pixel's prediction reliability separately.

Inventive Principle:
Principle #1Segmentation

2Productivity

If per-pixel cross entropy loss is used for training, then each pixel can be optimized independently, but no explicit inter-pixel consistency is enforced leading to quality loss

Engineering Contradiction:
Improvetraining efficiencyVSAvoidsegmentation map quality
Core Design Contradiction:
ProductivityVSManufacturing precision

Solution Approach 1:

The patent introduces feedback by using the discriminator's betting map weights to modulate the pixel-wise cross-entropy loss. Pixels with lower confidence weights (indicating higher uncertainty or inconsistency) receive higher loss weights, providing feedback that guides the generator to improve inter-pixel consistency in regions where the discriminator detects problems, thereby maintaining training efficiency while improving quality.

Inventive Principle:
Principle #23Feedback

3Ease of operation

If the sum of all weights in the betting map is limited to a threshold amount, then the critic network is constrained to focus on specific regions, but this adds complexity to the training process

Engineering Contradiction:
Improvetraining simplicityVSAvoidobjective function complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The patent changes the parameter space by constraining the sum of betting weights to a threshold, which transforms the optimization problem. This parameter constraint prevents the discriminator from trivially maximizing loss by assigning high weights to all pixels, forcing it to learn meaningful spatial patterns of uncertainty. The complexity is managed through this clear parameter bound rather than complex architectural modifications.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentEP4004803B1Generative adversarial networks for image segmentation
Publication Date: 2025.04.23 TOMTOM GLOBAL CONTENT
  • EP4004803B1 patent drawingFigure 1~4
  • EP4004803B1 patent drawingFigure 5
  • EP4004803B1 patent drawingFigure 6

AI summary

A method of training a generative adversarial network for performing semantic segmentation of images. The generative adversarial network includes a generator neural network and a critic neural network. The method includes using the generator neural network to generate predicted image segmentation maps from input images, wherein each predicted image segmentation map includes a classification prediction for each of a plurality of pixels of a respective input image, providing predicted image segmentation maps generated by the generator neural network to the critic neural network, training the critic neural network to determine weights for respective pixels of a predicted image segmentation map generated by the generator neural network, wherein the weight for each pixel is used to weight a pixel-wise cross entropy term in an objective function for the critic neural network, and using the weights determined by the critic neural network to train the generator neural network.