hottub.patents
US 12,639,929 B2#3232971 Most CitedActiveUnited States (USPTO)Utility

Method and apparatus for extracting image feature based on vision transformer

0Forward Citations (#3232971 Global)
0.0/yrCitation Velocity (#3232971 Global)
0.00Citation PageRank (#3232971 Global)
6Prior Art Cited
18Claims (3 Indep. · 15 Dep.)
8Drawings / Sheets

Abstract

The disclosure relates to a method of extracting image features based on a vision transformer, a method of performing embedding on an input image in units of patches and extracting visual features through global attention. An apparatus for extracting an image feature based on a vision transformer according to an embodiment of the disclosure includes a memory configured to store data and a processor configured to control the memory, wherein the processor is configured to perform embedding on multi-patches for an input image, extract feature maps for the embedding multi-patches, perform transformer encoding based on a neural network using the extracted feature maps, extract a feature of the input image through a final feature map extracted through the transformer encoding, and wherein the patches have different sizes.

Interactive Citation Constellation Global Citation Ranking

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

Claims (18 — 3 Independent, 15 Dependent)

  1. Claim 1Independent Claim

    An apparatus for extracting an image feature based on a vision transformer, the apparatus comprising: a memory configured to store data; and a processor configured to control the memory, wherein the processor is configured to: divide an input image into a plurality of patches having different sizes; perform embedding on the plurality of patches to generate embedded patches; extract feature maps from the embedded patches; perform transformer encoding, using a vision transformer neural network, on the extracted feature maps to generate a final feature map; and extract a feature of the input image based on the final feature map, wherein the transformer encoding is performed by obtaining a correlation between the plurality of patches.

  2. Claim 2Depends on #1

    The apparatus of claim 1, wherein the embedding is performed on the plurality of patches in the different sizes in a parallel manner.

  3. Claim 3Depends on #1

    The apparatus of claim 1, wherein the transformer encoding is performed on the feature maps in a parallel manner.

  4. Claim 4Depends on #1

    The apparatus of claim 1, wherein the plurality of patches have areas overlapping each other.

  5. Claim 5Depends on #1

    The apparatus of claim 1, wherein the correlation is determined according to whether a similar region or a similar category is included between the plurality of patches.

  6. Claim 6Depends on #5

    The apparatus of claim 5, wherein the correlation is used to obtain an attention map of the feature maps to extract the final feature map.

  7. Claim 7Depends on #6

    The apparatus of claim 6, wherein the correlation is calculated based on embedding for a Key, a Query, and a Value used in a self-attention operation.

  8. Claim 8Depends on #7

    The apparatus of claim 7, wherein the feature map is extracted by multiplying the Value by the attention map.

  9. Claim 9Depends on #8

    The apparatus of claim 8, wherein the final feature map is extracted based on a neural network layer that has learned an interaction between the feature maps through performing concatenation and convolution operations on the feature maps.

  10. Claim 10Independent Claim

    A method of extracting an image feature based on a vision transformer, the method comprising: dividing an input image into a plurality of patches having different sizes; performing embedding on the plurality of patches to generate embedded patches; extracting feature maps from the embedded patches; performing transformer encoding, using a vision transformer neural network, on the extracted feature maps to generate a final feature map; and extracting a feature of the input image based on the final feature map, wherein the transformer encoding is performed by obtaining a correlation between the plurality of patches.

  11. Claim 11Depends on #10

    The method of claim 10, wherein the embedding is performed on the plurality of patches in the different sizes in a parallel manner.

  12. Claim 12Depends on #10

    The method of claim 10, wherein the transformer encoding is performed on the feature maps in a parallel manner.

  13. Claim 13Depends on #10

    The method of claim 10, wherein the plurality of patches have areas overlapping each other.

  14. Claim 14Depends on #10

    The method of claim 10, wherein the correlation is determined according to whether a similar region or a similar category is included between the plurality of patches.

  15. Claim 15Depends on #14

    The method of claim 14, wherein the correlation is used to obtain an attention map of the feature maps to extract the final feature map.

  16. Claim 16Depends on #15

    The method of claim 15, wherein the correlation is calculated based on embedding for a Key, a Query, and a Value used in a self-attention operation.

  17. Claim 17Depends on #16

    The method of claim 16, wherein the feature map is extracted by multiplying the Value by the attention map.

  18. Claim 18Independent Claim

    A transformer encoding method for extracting an image feature based on a vision transformer, the transformer encoding method comprising: embedding a plurality of patches for an image; extracting feature maps from the embedded patches; normalizing the feature maps; calculating a correlation between the plurality of patches by performing a self-attention operation based on the normalized feature maps; and generating a final feature map based on the correlation using an attention map generated by the self-attention operation, wherein the patches have different sizes, and the correlation is derived through performing embedding for a Key, a Query, and a Value used in the self-attention operation.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATION This application claims priority to and the benefit of Korean Patent Application No. 10-2022-0059497, filed on May 16, 2022, the disclosure of which is incorporated herein by reference in its entirety. BACKGROUND 1. Field of the Invention The present disclosure relates to an apparatus and method for extracting image features based on a multi-scale transformer using artificial intelligence (AI), and relates to an invention that performs embedding on an input image in units of patches and extracts visual features through global attention. 2. Discussion of Related Art Artificial intelligence (AI) technology has been rapidly developing in recent years. With rapid integration and spread in various fields, such as transportation, media, logistics, safety, and environment, as well as cognition/judgement systems for autonomous driving vehicles, AI technology is gaining attention as a new source of value-added creation that can lead the human-centered value industry and knowledge information society. In particular, there has been suggested a technology that applies AI to the field of computer vision to extract features included in an image, recognize and classify an object, and extract features of the object in a method similar to a method of a human visually recognizing an image. Image feature extraction technology is a concept including various visual applications, such as object detection in which a single object/instance or a plurality of objects/instances are classified from digital image or video frames or location information (a bounding box) of an object in an image and a category of the object are simultaneously detected, and segmentation in which categories of all pixels in an image are classified. In the image recognition technology, a typical type of network used to extract visual features is a convolution neural network (CNN), and a global attention-based vision transformer network has recently been newly proposed. SUMMARY

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 (6)

PatentTitleYearCitations

Non-Patent Literature (10)

  • Tsai et al.,
  • “
  • Multi-scale patch-based representations learning for image anomaly detection and segmentation
  • ”
  • , published Jan. 3-8, 2022 (Year: 2022).
  • Zhang et al.,
  • “
  • MRMR: multi-scale feature and probability map for melanoma recognition
  • ”
  • , published Jan. 5, 2022 (Year: 2022).