Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

An Incremental Learning Method Based on Diverse Example Sets of Triplets and Gradient Regularization

A triplet and example technology, applied in the field of incremental learning, can solve the problems of not being able to describe the old task optimization space distribution well, not covering the data distribution well, and the direction and size of example data constraint optimization, etc., to achieve Solve catastrophic forgetting, rich variety, good effect

Active Publication Date: 2022-06-03
HARBIN UNIV OF SCI & TECH
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the distribution of such an example set cannot well cover the data distribution of the original training samples, so the optimal spatial distribution of the old task cannot be well described in the subsequent replay training.
At the same time, most of the existing incremental learning methods based on replay put the example data into the distillation loss function for optimization. The methods used are relatively simple, and the example data cannot be used efficiently to constrain the direction and size of the optimization.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • An Incremental Learning Method Based on Diverse Example Sets of Triplets and Gradient Regularization
  • An Incremental Learning Method Based on Diverse Example Sets of Triplets and Gradient Regularization
  • An Incremental Learning Method Based on Diverse Example Sets of Triplets and Gradient Regularization

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0101] Embodiment 1. This embodiment will be described with reference to FIG. 1 to FIG. 3. A triplet-based diverse example set of this embodiment will be described.

[0106] where V is the set of features corresponding to a batch of images, φ is the feature extractor, x

[0108]

[0111] S2. After completing the training of the batch data of the first task, input the batch data of the first task into the model again

[0114]

[0117]

[0119] S3. Input the test data into the model, calculate the accuracy of each category, use the accuracy of each category and

[0122] The test data of the c category is input into the model for prediction in turn, and the predicted value of the test sample and the test sample are

[0123]

[0127] Among them, acc represents the accuracy set of all known categories, acc

[0128] S33. Calculate the number of examples that should be stored in the example set of each category; the specific method is:

[0129] Since the example set M is a fixed value, as t...

Embodiment 2

[0188] Experimental analysis of the TROCL model was performed on the image classification dataset cifar-100. The cifar‑100 dataset has

[0189] The categories included in cifar-100 do not have strong inheritance, and there are certain similarities between the sub-categories.

[0190] The present invention will use an online class increment to organize training. Divide 100 classes into 10 tasks, each task

[0191] Image features are extracted using resnet-18. Before entering the model, each image is a 1×3072 tensor. go through

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention proposes an incremental learning method, a computer and a storage medium based on triplet diverse example sets and gradient regularization, belonging to the field of artificial intelligence. First, get the predicted sample features and real labels, and input the loss function for backpropagation to update the model parameters; second, calculate the prototype representation of the batch data; third, calculate the number of positive samples and negative examples that should be saved for each category The number of samples; secondly, update the number of examples that should be stored in the example set of the existing category; secondly, score the samples in the positive example set example set, and construct the current category example set according to the scores of the samples; secondly, random sampling Obtain the replay sample set, and then perform forward propagation on the replay sample set and the samples in the batch data; secondly, calculate the gradient of the three loss functions; finally, regularize the three different gradients to obtain the final gradient value. Backpropagating updates. The present invention solves the problem of catastrophic forgetting.

Description

An Incremental Learning Approach Based on Triad Diverse Example Sets and Gradient Regularization technical field The present invention relates to a kind of incremental learning method, relate in particular to a kind of based on triplet diverse example set and gradient regularization The improved incremental learning method, computer and storage medium belong to the field of artificial intelligence. Background technique Incremental learning is an important learning and training method in the field of artificial intelligence. In the case of serialized input training data, incremental training updates model parameters rather than training from scratch, and makes The model learns new knowledge without forgetting the old knowledge it has learned. [0003] The example selection strategies adopted by the existing replay-based incremental learning methods are mostly similar to the nearest neighbors. The idea is to select the sample with the closest distance from the center o...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06V10/774G06K9/62
CPCG06F18/2155
Inventor 孙广路吉宝伦梁丽丽李天麟朱素霞
Owner HARBIN UNIV OF SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products