Neural Network Loss Margin Adjustment for Clustered Class Separation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Deep learning frameworks struggle to achieve clear inter-category classification margins in data sets with high intra-class variation and low inter-class variation, particularly in applications like facial recognition and fine-grained image recognition.

Innovation Solution

A method involving centroid selection through unsupervised clustering and dynamic application of classification margins to separate classes based on nearest clusters, using large margin classification loss functions like CosFace, SphereFace, and ArcFace, to enhance neural network generalizability.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If common loss functions (cross-entropy, softmax, sigmoid) are used for classification, then the deep learning framework can effectively classify categories with large dissimilarity, but it struggles to achieve clear inter-category classification margins when data exhibits high intra-class variation and low inter-class variation

Engineering Contradiction:
Improveclassification marginVSAvoidgeneralizability
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

The patent modifies the loss function by introducing a margin parameter that dynamically adjusts the separation distance between classes. This parameter change transforms the standard loss function into a large-margin loss function, which explicitly enforces larger classification margins to improve generalizability while maintaining classification effectiveness.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent employs dynamic margin adjustment where the classification margin is not fixed but adapts based on the data characteristics. The margin is dynamically modified during training to optimize the balance between classification accuracy and generalizability, allowing the system to respond to varying intra-class and inter-class variations.

Inventive Principle:
Principle #15Dynamics

2Adaptability or versatility

If deep learning frameworks are trained on data with high intra-class variation, then they can handle diverse samples within categories, but they fail to obtain clear inter-category classification margins

Engineering Contradiction:
Improveintra-class variation handlingVSAvoidinter-category classification margin
Core Design Contradiction:
Adaptability or versatilityVSMeasurement precision

Solution Approach 1:

The loss function is modified to include a margin parameter that changes based on the observed intra-class variation. When high intra-class variation is detected, the margin parameter adjusts to maintain clear inter-category separation, ensuring that diverse samples within categories do not compromise classification boundaries.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent implements a feedback mechanism where the loss function continuously monitors the classification margins and adjusts the margin parameter accordingly. This feedback loop ensures that the system maintains clear inter-category margins even when handling diverse intra-class samples, by dynamically responding to the observed data distribution.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS12536834B2Loss function adjustment for increased classification margin
Publication Date: 2026.01.27 NEC CORP
  • US12536834B2 patent drawing
  • US12536834B2 patent drawing
  • US12536834B2 patent drawing

AI summary

Loss function adjustment for increased classification margin is performed by applying a neural network to a batch of data samples to obtain a plurality of feature vectors, each data sample in the batch corresponding to a feature vector among the plurality of feature vectors, each data sample in the batch including a label indicating a class among a plurality of classes, clustering first feature vectors among the plurality of feature vectors that correspond to data samples including labels indicating a first class among the plurality of classes to separate the first feature vectors into a plurality of clusters, and adjusting parameters of a loss function to increase a margin between a second class and a cluster among the plurality of clusters that is closest to the second class in a feature distribution space.