hottub.patents
US 12,380,681 B2#3477472 Most CitedActiveUnited States (USPTO)Utility

Method for training feature extraction model, method for classifying image, and related apparatuses

0Forward Citations (#3477472 Global)
0.0/yrCitation Velocity (#3477472 Global)
0.00Citation PageRank (#3477472 Global)
20Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

The present disclosure provides a method for training a feature extraction model, a method for classifying an image and related apparatuses, and relates to the field of artificial intelligence technology such as deep learning and image recognition. The scheme comprises: extracting an image feature of each sample image in a sample image set using a basic feature extraction module of an initial feature extraction model, to obtain an initial feature vector set; performing normalization processing on each initial feature vector in the initial feature vector set using a normalization processing module of the initial feature extraction model, to obtain each normalized feature vector; and guiding training for the initial feature extraction model through a preset high discriminative loss function, to obtain a target feature extraction model as a training result.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 20 · Forward citations: 0.

Claims (8)

  1. Claim 1Independent Claim

    A method for training a feature extraction model, comprising: extracting an image feature of each sample image in a sample image set using a basic feature extraction module of an initial feature extraction model, to obtain an initial feature vector set, wherein the sample image set contains sample images of a plurality of image categories, and the each sample image is annotated with an image category to which the sample image belongs; performing normalization processing on each initial feature vector in the initial feature vector set using a normalization processing module of the initial feature extraction model, to obtain each normalized feature vector; and guiding training for the initial feature extraction model through a preset high discriminative loss function, to obtain a target feature extraction model as a training result, wherein the high discriminative loss function is abstractly obtained based on a preset upper limit and a preset lower limit of a vector similarity that are p

  2. Claim 2Depends on #1

    The method according to claim 1, wherein the guiding training for the initial feature extraction model through a preset high discriminative loss function comprises: obtaining guidance information by using the high discriminative loss function to guide a normalization processing process of the normalization processing module for an initial feature vector; and controlling the normalization processing module to guide an image feature extraction process of the basic feature extraction module in reverse by the guidance information.

  3. Claim 3Depends on #2

    The method according to claim 2, further comprising: using, in response to the basic feature extraction module containing a plurality of feature extraction sub-modules connected in sequence, the high discriminative loss function additionally to guide a feature extraction process of at least one of the feature extraction sub-modules.

  4. Claim 4Depends on #1

    The method according to claim 1, wherein a similarity difference between the preset upper limit and the preset lower limit is not less than half of a complete similarity interval.

  5. Claim 5Depends on #1

    The method according to claim 1, further comprising: acquiring a to-be-classified image; obtaining an outputted actual normalized feature vector by inputting the to-be-classified image into the target feature extraction model; calculating respectively a vector similarity between the actual normalized feature vector and a standard normalized feature vector of each image category in a feature vector library; and determining an image category to which the to-be-classified image belongs according to a size of the vector similarity.

  6. Claim 6Depends on #5

    The method according to claim 5, wherein the determining an image category to which the to-be-classified image belongs according to a size of the vector similarity comprises: determining a target standard normalized feature vector having a maximum vector similarity to the actual normalized feature vector; and determining, in response to the maximum vector similarity being not less than the preset upper limit, an image category to which the target standard normalized feature vector belongs as the image category to which the to-be-classified image belongs.

  7. Claim 7Depends on #6

    The method according to claim 6, further comprising: returning, in response to the maximum vector similarity being less than the preset upper limit, an image classification abnormality notification of failing to determine the image category to which the to-be-classified image belongs.

  8. Claim 8Depends on #7

    The method according to claim 7, further comprising: using a to-be-classified image corresponding to the returned image classification abnormality notification as a newly added image category; and using the actual normalized feature vector as a standard normalized feature vector under the newly added image category to supplement the feature vector library.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application claims priority to Chinese Patent Application No. 202211204233.4, filed with the China National Intellectual Property Administration (CNIPA) on Sep. 29, 2022, the contents of which are incorporated herein by reference in their entirety. TECHNICAL FIELD The present disclosure relates to the field of image processing technology, specifically to the field of artificial intelligence technology such as deep learning and image recognition, and particularly to a method for training a feature extraction model, a method for classifying an image, corresponding apparatuses, an electronic device, a computer readable storage medium and a computer program product. BACKGROUND In order to improve the effect of recognizing the categories to which images belong, image recognition models or image classification models constructed based on machine learning and deep learning technologies have gradually begun to be used on a large scale. SUMMARY Embodiments of the present disclosure propose a method and apparatus for training a feature extraction model, a method and apparatus for classifying an image, an electronic device, a computer readable storage medium and a computer program product. In a first aspect, embodiments of the present disclosure provide a method for training a feature extraction model, comprising: extracting an image feature of each sample image in a sample image set using a basic feature extraction module of an initial feature extraction model, to obtain an initial feature vector set, wherein the sample image set contains sample images of a plurality of image categories, and the each sample image is annotated with an image category to which the sample image belongs; performing normalization processing on each initial feature vector in the initial feature vector set using a normalization processing module of the initial feature extraction model, to obtain each normalized feature vector; and guiding training for the

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (20)

PatentTitleYearCitations

Non-Patent Literature (6)

  • Google Translation of WO/2019/120115 to Yan et al. (Year: 2019).
  • Cheng et al.,
  • “
  • When Deep Learning Meets Metric Learning: Remote Sensing Image Scene Classification via Learning Discriminative CNNs,
  • ”
  • IEEE Transactions on Geoscience and Remote Sensing, vol. 56, No. 5, May 2018.