Ordered Classification Loss for Neural Network Training

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Traditional cross-entropy loss functions used in neural networks for biometric image classification struggle to distinguish between similar images and result in high error rates due to their inability to account for the relative differences between classes, leading to costly and time-intensive annotation processes.

Innovation Solution

The implementation of an ordered classification loss function, such as the ordered binary cross-entropy (OBCE) loss function, which considers the ordered arrangement of classes and uses margins to determine binary class variations, enabling the neural network to produce monotonic classification values across a continuum of classes, thereby improving classification accuracy and reducing annotation costs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If traditional cross-entropy loss function is used for neural network training in biometric image classification, then the training process is simple to implement, but the classification accuracy is low and error rates are high due to inability to distinguish between similar images

Engineering Contradiction:
Improveclassification accuracyVSAvoidloss function complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent changes the parameter of the loss function from traditional cross-entropy to ordered binary cross-entropy (OBCE), which incorporates margin parameters to define boundaries between ordered classes. This parameter change enables the loss function to account for relative differences between similar classes while maintaining a structured training approach.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent segments the continuous classification space into ordered binary classes using margin-based thresholds. By dividing the classification problem into multiple binary decisions with explicit margins, the system can better distinguish between similar images while maintaining computational efficiency through binary classification operations.

Inventive Principle:
Principle #1Segmentation

2Productivity

If traditional cross-entropy loss function is used, then the training process is fast, but annotation costs are high due to high error rates requiring more annotated data

Engineering Contradiction:
Improvetraining efficiencyVSAvoidannotation time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

By changing to OBCE loss function with margin parameters, the training process becomes more efficient at learning discriminative features. This reduces the number of annotated samples needed to achieve a given accuracy level, thereby reducing annotation time and costs while maintaining fast training convergence.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent replaces the need for extensive manual annotation by substituting it with a more sophisticated loss function that automatically learns from fewer annotated examples. The OBCE loss function's margin-based approach provides stronger gradient signals that accelerate learning and reduce dependency on large annotated datasets.

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

3Reliability

If traditional cross-entropy loss function is used, then the model is easier to train, but the ability to distinguish between similar images is poor resulting in high error rates

Engineering Contradiction:
Improveclassification reliabilityVSAvoidtraining process complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent introduces margin parameters into the loss function to explicitly model the boundaries between ordered classes. This parameter enhancement provides the training process with additional structural information about class relationships, improving reliability in distinguishing similar images while adding manageable complexity through a well-defined mathematical framework.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The margin parameters act as intermediaries that mediate between the neural network's raw predictions and the final classification decisions. These margins provide a buffer zone that helps the model make more reliable distinctions between similar classes by enforcing minimum separation distances in the feature space.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11868443B1System for training neural network using ordered classes
Publication Date: 2024.01.09 AMAZON TECH INC
  • US11868443B1 patent drawing
  • US11868443B1 patent drawing
  • US11868443B1 patent drawing

AI summary

A neural network is trained to process input data and generate a classification value that characterizes the input with respect to an ordered continuum of classes. For example, the input data may comprise an image and the classification value may be indicative of a quality of the image. The ordered continuum of classes may represent classes of quality of the image ranging from “worst”, “bad”, “normal”, “good”, to “best”. During training, loss values are determined using an ordered classification loss function. The ordered classification loss function maintains monotonicity in the loss values that corresponds to placement in the continuum. For example, the classification value for a “bad” image will be less than the classification value indicative of a “best” image. The classification value may be used for subsequent processing. For example, biometric input data may be required to have a minimum classification value for further processing.