Discrete Coupling Layer Training for Image Analysis Models

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional image analysis models with discrete coupling layers face challenges in training due to bias and vanishing gradients, especially when multiple layers are used sequentially, affecting the efficiency of image compression, accuracy of anomaly detection, and representativeness of generated images.

Innovation Solution

A computer-implemented method and system for training an image analysis model with an improved discrete coupling layer, where a machine learnable submodel predicts a second part of the input vector from a first part, allowing for an invertible mapping that disentangles the input vector, avoiding issues of bias and vanishing gradients by using continuous outputs and separate training of submodels.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If multiple discrete coupling layers are used sequentially to model complex training sets, then the model's representational capacity is improved, but bias accumulates and vanishing gradients occur more frequently

Engineering Contradiction:
Improvemodel representational capacityVSAvoidtraining stability
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The coupling layer is segmented into two independent parts: a discrete component handling discrete value transformation and a continuous component (submodel) handling prediction. This segmentation allows each part to be optimized independently, preventing bias accumulation while maintaining representational capacity across multiple sequential layers.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

A continuous submodel acts as an intermediary between discrete input parts, predicting the second discrete input part from the first. This continuous intermediary provides smooth gradient flow through the otherwise discrete transformation, preventing vanishing gradients while enabling complex sequential transformations.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of manufacture

If a temperature value is used to approximate the non-differentiable argmax operation, then training becomes feasible, but a trade-off must be struck between bias and vanishing gradients

Engineering Contradiction:
Improvetraining feasibilityVSAvoidsolution optimality
Core Design Contradiction:
Ease of manufactureVSManufacturing precision

Solution Approach 1:

The discrete argmax operation is replaced with a continuous submodel that performs prediction. This substitution eliminates the need for temperature-based approximation, providing exact gradients without the trade-off between bias and vanishing gradients, while maintaining training feasibility through continuous differentiability.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

3Ease of operation

If continuous models are used to handle discrete image data, then the models can process data smoothly, but reconstruction errors occur in the image space

Engineering Contradiction:
Improveprocessing smoothnessVSAvoidimage reconstruction accuracy
Core Design Contradiction:
Ease of operationVSManufacturing precision

Solution Approach 1:

The model dynamically adapts its transformation based on the discrete nature of the data. The continuous submodel learns optimal predictions that respect discrete value constraints, enabling smooth processing dynamics while maintaining precision in the discrete image space through learned discrete-to-discrete mappings.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS12198410B2Image analysis model comprising a discrete coupling layer
Publication Date: 2025.01.14 ROBERT BOSCH GMBH
  • US12198410B2 patent drawing
  • US12198410B2 patent drawing
  • US12198410B2 patent drawing

AI summary

A computer-implemented method of training an image analysis model. The image analysis model comprises a coupling layer that determines an output vector of discrete values from an input vector of discrete values. First, a machine learnable submodel of the coupling layer is trained to predict a second input part of the coupling layer from a first input part of the coupling layer. Next, the image analysis model is trained. This involves applying the coupling layer by applying the machine learnable submodel to the first input part to obtain a prediction of the second input part; and determining a second output part by applying an invertible mapping to the second input part defined by the prediction of the second input part. The mapping maps a predicted value of an element of the second input part to a fixed value independent from the predicted value.