Siamese Model Triplet Training for Resource Classification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional systems for classification often fail to capture nuanced differences between correct and incorrect classifications, especially in resource access requests, due to the scarcity of similar cases and the lack of using triplet input training data and erroneous classifications to train Siamese networks.

Innovation Solution

The use of triplet inputs comprising a resource access request, a correct reference classification, and an incorrect classification to train a Siamese neural network by iteratively generating first and second distances, computing a loss metric, and updating the model parameters to improve classification accuracy.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If conventional systems use plain training data for classification, then the training process is simple, but the model fails to capture nuanced differences between correct and incorrect classifications

Engineering Contradiction:
Improveclassification accuracyVSAvoidtraining data structure
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The training data is segmented into triplet inputs, where each triplet consists of a resource access request, a correct reference classification, and an incorrect predicted classification. This segmentation allows the model to focus on nuanced differences between correct and incorrect classifications by processing them as distinct entities within the triplet structure.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The training approach transitions from traditional pair-wise (request, label) to triplet-based (request, correct label, incorrect label) data structure. This dimensional change adds the dimension of incorrect classifications to the training process, enabling the model to learn from both correct and incorrect examples simultaneously to improve classification precision.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Reliability

If conventional systems use standard training data, then data collection is straightforward, but edge cases with scarce similar cases become difficult to classify

Engineering Contradiction:
Improveedge case classification performanceVSAvoidavailable training data
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The system uses feedback from preliminary machine learning model predictions to generate triplet training data. The incorrect classifications from the preliminary model serve as feedback to create negative examples in the triplets, allowing the Siamese network to learn from its own mistakes and improve edge case classification reliability.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system creates synthetic triplet data by copying and combining resource access requests with their correct and incorrect classifications. This copying process generates abundant training examples from limited real-world data, particularly for edge cases where similar cases are scarce, by reconstructing training data from model predictions and ground truth labels.

Inventive Principle:
Principle #26Copying

3Measurement precision

If the system uses triplet input data and iterative training, then classification differentiation improves, but training time and computational resources increase

Engineering Contradiction:
Improveclassification differentiation accuracyVSAvoidtraining time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system performs preliminary action by first training a preliminary machine learning model to generate initial classifications. These preliminary predictions are then used to create triplet training data before the main Siamese network training begins. This preliminary action reduces the complexity of the main training process by pre-processing and organizing data into meaningful triplets.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The training process uses parameter changes through iterative repetition, where the Siamese network repeatedly processes triplet inputs and updates its parameters based on loss metrics. The iterative process gradually refines classification accuracy by adjusting parameters to minimize the difference between correct and incorrect classification distances, achieving high precision through systematic parameter optimization.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS20250259053A1Systems and methods for training machine learning models using differentiation
Publication Date: 2025.08.14 CAPITAL ONE SERVICES LLC
  • US20250259053A1 patent drawing
  • US20250259053A1 patent drawing
  • US20250259053A1 patent drawing

AI summary

Systems and methods for training machine learning models using differentiation. In some aspects, the system receives a set of triplet inputs. Each triplet input includes a resource access request, a correct reference classification, and an incorrect classification. The system initializes a first machine learning model. The system updates the first machine learning model by, for each triplet input in the set of triplet inputs, processing the resource access request using the first machine learning model first in conjunction with the correct reference classification then in conjunction with the incorrect classification to generate a set of first distances and a set of second distances, respectively. Based on the set of first distances and the set of second distances, the system computes a loss metric to update parameters for the first machine learning model. The system processes second resource access requests using the first machine learning model to generate predicted classifications.