Low-resolution image fine-grained recognition method based on easy-to-confusion feature mining and decoupling

By using learnable class prototype vectors to guide feature extraction and decoupling in low-resolution image recognition, the problem of easily confused category interference is solved and the accuracy of fine-grained recognition is improved.

CN118736273AActive Publication Date: 2024-10-01DALIAN UNIV

Patent Information

Application Number
CN202410722954.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-05
Publication Date
2024-10-01
Estimated Expiration
2044-06-05

AI Technical Summary

Technical Problem

The existing technology is difficult to effectively extract accurate fine-grained features in fine-grained recognition of low-resolution images, and is susceptible to interference from easily confused category features, resulting in limited recognition performance.

Method used

By setting learnable class prototype vectors, we can guide the global category representation similarity between low-resolution images and high-resolution images, mine easily confused category features and decouple features, and enhance the ability to express fine-grained category features.

Benefits of technology

It improves the accuracy of fine-grained recognition of low-resolution images, enhances the model's information extraction capabilities for fine-grained features, and reduces interference from easily confusing features.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118736273A_ABST
    Figure CN118736273A_ABST
Patent Text Reader

Abstract

The invention provides a low-resolution image fine-grained recognition method based on easy-confusion feature mining and decoupling, and the method comprises the steps: inputting a low-resolution image and a high-resolution image into a feature extractor, and obtaining corresponding global category representation; respectively calculating cosine similarity scores of global category characterization and learnable category prototype vectors of the low-resolution image and the high-resolution image, and constructing a loss function to guide parameter learning of a category prototype and a feature extractor; calculating the response of each class prototype vector on the feature map, and aggregating the response features of each class on the feature map to obtain corresponding grouping features; selecting K confusion-prone grouping features with the highest score according to the similarity score of the global representation of the low-resolution image and the prototype-like vector; calculating feature representation of the feature pattern based on a class prototype, and performing feature decoupling on the K easily-confused grouping features so as to decompose fine-grained class features; and finally, carrying out feature fusion on the decoupling features and the global category features, and predicting a target category.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the fields of computer vision technology and image processing, and in particular to a low-resolution image fine-grained recognition method based on easily confused feature mining and decoupling. Background Art

[0002] Traditional image recognition divides the objects in an image into a coarse-grained category, and these coarse-grained categories have large differences in appearance features, such as bicycles, cars, flowers, etc. Unlike traditional image recognition, fine-grained image recognition requires dividing images into finer subcategories under coarse-grained categories, such as Arctic terns, Forster's terns, lesser white-fronted terns, etc. The objects in these subcategories usually have similar appearance features, with small differences between categories, and are easily affected by factors such as shooting angles and growth cycles, making the differences within categories larger. In addition, in some real application scenarios, due to the influence of shooting distance and actual environment, the collected images have low resolution and missing target content, making it difficult for existing fine-grained recognition models to extract sufficient and accurate fine-grained features.

[0003] Existing super-resolution methods pursue good pixel-level approximation or high visual quality, and are not specifically designed for high-level semantic tasks. Fine-grained image recognition methods aim to learn high-level semantic features, and there is a task gap between the two. To this end, some researchers have constructed a multi-task joint framework by combining image super-resolution and recognition tasks, and used downstream recognition tasks to constrain the super-resolution model to reconstruct the features required for recognition. The classic representative of this type of method is the paper "Discriminative Feature Mining and Enhancement Network for Low-resolution Fine-grained Image Recognition" published by Yan et al. in the IEEE TCSVT journal in 2022. The algorithm guides the model reconstruction and extracts key discriminative features from macro and micro perspectives respectively. At the macro level, the network is trained to restore and extract the global discriminative features of the image; at the micro level, an information component mining module is designed to mine a set of the most informative target components under the guidance of the difference loss function and the discriminative loss function, and use this set of target components to enhance the network's ability to restore and extract local discriminative fine-grained features.

[0004] Compared with the joint multi-task framework, another type of method extracts target semantic features from high-resolution images as additional information, constructs a constrained loss, and guides the recognition model to extract key robust discriminative features to improve the recognition accuracy of low-resolution data. A typical representative of this type of method is the paper "Dualdirected capsule network for very low resolution image recognition" published by Singh et al. at the ICCV conference in 2019. This algorithm uses capsule networks to learn features in low-resolution images that do not change with resolution, and constrains these features to reconstruct the original high-resolution image. At the same time, a high-resolution anchor loss function is designed to constrain low-resolution image features to approach high-resolution image features, thereby improving the model's ability to extract key features.

[0005] However, subtle differences between fine-grained classes are usually distributed in areas with similar category semantic responses. When the model extracts fine-grained features, it is more susceptible to interference from confusing features of similar categories, which restricts the recognition performance of low-resolution images. Summary of the invention

[0006] According to the technical problems mentioned in the above background technology, a method for fine-grained recognition of low-resolution images based on mining and decoupling of easily confused features is provided. In view of the above problems existing in the prior art, the present invention provides a method for fine-grained recognition of low-resolution images based on mining and decoupling of easily confused features, which uses a set of learnable class prototypes as a medium for information interaction, and guides the feature representation of low-resolution images to approach the feature representation of high-resolution images by constraining the global category representations of low-resolution images and high-resolution images to be consistent with the similarity scores of the corresponding class prototype vectors; by mining the features of easily confused categories in the feature graph and performing feature decoupling on them, the key fine-grained features hidden in the easily confused features are extracted, the target feature expression capability is enhanced, and the fine-grained recognition performance of low-resolution images is improved.

[0007] The technical means adopted by the present invention are as follows:

[0008] The low-resolution image fine-grained recognition method based on confusable feature mining and decoupling includes the following steps:

[0009] Step 1: Input the low-resolution image and the high-resolution image into the feature extractor respectively, perform preliminary feature extraction, and obtain the global category representation of the low-resolution image and the high-resolution image respectively;

[0010] Step 2: Set a set of learnable class prototype vectors, calculate the cosine similarity scores between the global category representations of the low-resolution image and the high-resolution image learned in step 1 and the class prototype vectors, and use the category label of the image as supervision information to construct a loss function to guide the parameter learning of the class prototype and feature extractor;

[0011] Step 3: Calculate the response of each class prototype vector in step 2 on the feature map, and aggregate the response features of each category on the feature map to obtain the corresponding grouping features;

[0012] Step 4: Based on the similarity scores between the global representation of the low-resolution image and the class prototype vector, select the K grouping features with the highest scores, which are the easily confused category features;

[0013] Step 5: Using the feature graph to represent the class prototype, the K groups of easily confused features obtained in step 4 are decoupled, and the fine-grained category characteristics are decomposed from the easily confused features to enhance the fine-grained category representation of the target;

[0014] Step 6: The final category representation of the low-resolution image is the category representation output by the feature fusion module through the global category features and the decoupled group features.

[0015] Compared with the prior art, the present invention has the following advantages:

[0016] The present invention establishes a model from the perspective of feature mining and decoupling, and combines a set of learnable prototype vectors to complete fine-grained discriminative information transmission, thereby enhancing the model's ability to extract information from fine-grained features of low-resolution images, thereby improving the accuracy of fine-grained recognition of low-resolution images.

[0017] The present invention constructs a feature constraint loss function through a set of learnable class prototype vectors to realize information transfer between high-resolution image and low-resolution image features, so that the global category representation of the low-resolution image approaches the global category representation of the high-resolution image; on the other hand, by mining the corresponding easily confused category features in the feature map and performing feature decoupling, the fine-grained category characteristics hidden in the response features are decomposed, thereby enhancing the expression ability of the fine-grained category features of the low-resolution image. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0019] Figure 1 It is a schematic diagram of a low-resolution image fine-grained recognition method based on confusable feature mining and decoupling of the present invention.

[0020] Figure 2 Schematic diagram of the easily confused feature mining module described in an embodiment of the present invention.

[0021] Figure 3 It is a schematic diagram of the easily confused feature decoupling module described in an embodiment of the present invention. DETAILED DESCRIPTION

[0022] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0024] like Figure 1-3 As shown, the present invention provides a low-resolution image fine-grained recognition method based on confusable feature mining and decoupling, comprising the following steps:

[0025] Step 1: Input the low-resolution image and the high-resolution image into the feature extractor respectively, perform preliminary feature extraction, and obtain the global category representation of the low-resolution image and the high-resolution image respectively; use ResNet50 as the feature extractor, and the parameters of the feature extractors of the high-resolution image and the low-resolution image are not shared; use the last pooling layer feature of the feature extractor as the global category representation of the high-resolution image and the low-resolution image, respectively denoted as f HR and f LR .

[0026] Step 2: Set a set of learnable class prototype vectors, calculate the cosine similarity scores between the global category representations of the low-resolution image and the high-resolution image learned in step 1 and the class prototype vectors, and use the image category label as supervision information to construct a loss function to guide the parameter learning of the class prototype and feature extractor; in step 2, set the learnable class prototype (M = {m1, m2, ..., m C}∈R C×D) has the same dimension D as the global category representation dimension of the image; the learnable class prototype vector is used as the feature storage repository and information transmission medium, and the similarity scores of the global category representations of low-resolution images and high-resolution images are constrained to be consistent with the corresponding class prototype vectors, guiding the low-resolution image feature representation to approach the high-resolution image feature representation; the corresponding loss function is calculated as follows:

[0027]

[0028] where y i represents the category labels of low-resolution images and high-resolution images, C represents the number of categories, T represents the temperature coefficient; exp(·) represents the exponential function, and log(·) represents the logarithmic function; and They represent the similarity scores between the prototype feature vector of the i-th class and the high-resolution and low-resolution class representations, respectively. The calculation formula is:

[0029]

[0030] Step 3: Calculate the response of each class prototype vector in step 2 on the feature map, and aggregate the response features of each category on the feature map to obtain the corresponding grouping features; in step 3, calculate the response of each category vector in the class prototype on the feature map F of the last convolution block of the feature extractor, and then aggregate and calculate the response features by category to obtain the grouping features of each category on the feature map; the calculation formula of the grouping feature is as follows:

[0031]

[0032] Step 4: Based on the similarity scores between the global representation of the low-resolution image and the class prototype vector, select the K grouping features with the highest scores, which are the easily confused category features; in step 4, based on the similarity scores Select the grouping features corresponding to the highest K scores, that is, the features of the K most confusing categories, and record them as

[0033] Step 5: Calculate the feature representation of the feature graph based on the class prototype, perform feature decoupling on the K groups of easily confused features obtained in step 4, decompose the fine-grained category characteristics from the easily confused features, and enhance the fine-grained category representation of the target; in step 5, by orthogonalizing the K groups of easily confused features with the features of the corresponding categories, decompose the information of the interference category, explicitly model the fine-grained category characteristics, and enhance the representation of fine-grained minor differences between classes; the calculation formula for easily confused feature decoupling is as follows:

[0034]

[0035] Where i = {2, 3, ... K}, Wi represents the weight matrix, v i Represents a category representation based on a class prototype; v i The calculation formula is as follows:

[0036]

[0037]

[0038] Since the first grouping feature is composed of similarity scores The highest class prototype vector is aggregated with the feature map, which contains rich fine-grained discriminative information, so the above feature decoupling operation is not performed.

[0039] Step 6: The final category representation of the low-resolution image is the category representation output by the feature fusion module of the global category features and the decoupled group features. By setting a learnable category embedding, the inherent correlation between the global category features of the low-quality image and the decoupled group features is used to perform feature fusion to obtain the final category representation of the low-resolution image.

[0040] Example 1

[0041] The present invention is a low-resolution image fine-grained recognition method based on easily confused feature mining and decoupling, and its flow chart is shown in Figure 1 , which specifically includes the following steps:

[0042] Step 1: Input the low-resolution image and the high-resolution image into the feature extractor respectively, perform preliminary feature extraction, and obtain the global category representation of the two.

[0043] It should be noted that the present invention uses ResNet50 as the feature extractor. The feature extractors of high-resolution image and low-resolution image are independent of each other and do not share parameters. The last pooling layer feature of the feature extractor is used as the global category representation of high-resolution and low-resolution images, which are denoted as f and f respectively. HR and f LR , the feature dimension is D.

[0044] Step 2: Set a set of learnable class prototype vectors, calculate the cosine similarity scores between the global category representations of the low-resolution and high-resolution images learned in step 1 and the class prototype vectors, and use the image category label as supervision information to construct a loss function to guide the parameter learning of the class prototype and feature extractor.

[0045] It should be noted that the present invention sets a learnable prototype (M = {m1, m2, ..., m C}∈R C×D) has the same dimension D as the global category representation dimension of the image; the learnable class prototype vector is used as the feature storage and information transmission medium, and the similarity scores of the global category representations of low-resolution images and high-resolution images are constrained to be consistent with the corresponding class prototype vectors, guiding the low-resolution image feature representation to approach the high-resolution image feature representation. The corresponding loss function is calculated as follows:

[0046]

[0047] in, and They represent the similarity scores between the prototype feature vector of the i-th class and the high-resolution and low-resolution class representations, respectively. The calculation formula is:

[0048]

[0049] Step 3: Input the low-resolution image feature map extracted in step 1 and the learnable class prototype vector in step 2 into the confusable feature mining module. Calculate the response of each class prototype vector in step 2 on the feature map, and aggregate the response features of each category on the feature map to obtain the corresponding grouping features.

[0050] It should be noted that if Figure 2 As shown in the figure, in the easily confused feature mining module, the response of each category vector in the class prototype on the feature map of the last convolution block of the feature extractor is calculated, and then the response features are aggregated by category to obtain the grouping features of each category on the feature map. The calculation formula of the grouping feature is as follows:

[0051]

[0052] Step 4: Based on the similarity score between the global representation of the low-resolution image and the class prototype vector, select the grouping features of the most similar K categories, which are the easily confused category features.

[0053] It should be noted that in order to select the feature vector that potentially contains the target discriminant information from the grouping features, the present invention converts the similarity score Arrange from high to low, select the grouping features corresponding to the first K scores, that is, the features of the K categories that are most easily confused, and record them as

[0054] Step 5: Use the low-resolution image feature map and the learnable class prototype vector as the input of the confusable feature decoupling module. Calculate the feature representation of the low-resolution image feature map based on the class prototype, perform feature decoupling on the K groups of confusable features obtained in step (4), decompose the fine-grained category characteristics from the confusable features, and enhance the fine-grained category representation of the target.

[0055] It should be noted that if Figure 3 As shown in the figure, in the easily confused feature decoupling module, by orthogonalizing K groups of easily confused features with the features of the corresponding categories, the information of the interfering categories is decomposed, the fine-grained category characteristics are explicitly modeled, and the representation of small differences between fine-grained categories is strengthened. The calculation formula for easily confused feature decoupling is as follows:

[0056]

[0057] Where i = {2, 3, ... K}, W i is the weight matrix, v i It is a category representation with the class prototype as the base. i The calculation formula is as follows:

[0058]

[0059]

[0060] Since the first grouping feature is the most relevant feature to the image category, the above feature decoupling operation is not performed.

[0061] Step 6: The final category representation of the low-resolution image is the category representation output by the feature fusion module through the global category feature and the decoupled group feature.

[0062] It should be noted that the present invention sets a learnable category embedding, utilizes the inherent correlation between the global category features of the low-resolution image and the decoupled group features, performs feature fusion, and obtains the final category representation of the low-resolution image. The specific implementation method is to input the learnable category embedding, the global category features of the low-quality image, and the decoupled group features into a Transformer Layer, and after feature encoding and interaction, the output category embedding features are used as the final category representation of the image, and are input into the classification layer for category prediction and supervision.

[0063] According to the above steps, the present invention trains and tests the proposed low-resolution image fine-grained recognition method based on confusable feature mining and decoupling. The public data sets CUB-200-2011, Stanford Cars and FGVC-Aircraft are used. Pairs of high-resolution and low-resolution data are constructed by downsampling the high-resolution data. Here, the sizes of the low-resolution image and the high-resolution image are 56×56 and 448×448, respectively. The evaluation index used is the accuracy, that is, the ratio of the number of samples of the correctly predicted category in all test data to the number of samples of all test data. The higher the accuracy, the better the recognition result. The following experimental results show that the method proposed by the present invention achieves a better recognition accuracy. The feature representation of low-resolution fine-grained images by the existing methods is easily disturbed by the confusable category features, resulting in its recognition accuracy being lower than that of the present invention. The present invention improves the ability to characterize the characteristics of low-resolution fine-grained images by mining and decoupling the confusable features of similar categories of image targets, thereby improving the final recognition accuracy.

[0064] Table 1 Comparison results with existing advanced methods

[0065] method CUB-200-2011 Stanford Cars FGVC-Aircraft DER-Net 73.77 86.64 82.42 DME-Net 73.02 88.38 85.75 The present invention 79.29 90.98 88.18

[0066] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages and disadvantages of the embodiments. In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways.

[0067] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A low-resolution image fine-grained recognition method based on confusable feature mining and decoupling, characterized by: The following steps are involved: Step 1: Input the low-resolution image and the high-resolution image into the feature extractor respectively, perform preliminary feature extraction, and obtain the global category representation of the low-resolution image and the high-resolution image respectively; Step 2: Set a set of learnable class prototype vectors, calculate the cosine similarity scores between the global category representations of the low-resolution image and the high-resolution image learned in step 1 and the class prototype vectors, and use the category label of the image as supervision information to construct a loss function to guide the parameter learning of the class prototype and feature extractor; Step 3: Calculate the response of each class prototype vector in step 2 on the feature map, and aggregate the response features of each category on the feature map to obtain the corresponding grouping features; Step 4: Based on the similarity scores between the global representation of the low-resolution image and the class prototype vector, select the K grouping features with the highest scores, which are the easily confused category features; Step 5: Calculate the feature representation of the feature graph based on the class prototype, decouple the K groups of easily confused features obtained in step 4, decompose the fine-grained category characteristics from the easily confused features, and enhance the fine-grained category representation of the target; Step 6: The final category representation of the low-resolution image is the category representation output by the feature fusion module through the global category features and the decoupled group features.

2. The low-resolution image fine-grained recognition method based on confusable feature mining and decoupling according to claim 1 is characterized in that: In step 1, ResNet50 is used as the feature extractor, and the parameters of the feature extractors of the high-resolution image and the low-resolution image are not shared; the last pooling layer feature of the feature extractor is used as the global category representation of the high-resolution and low-resolution images, respectively denoted as f HR and f LR .

3. The low-resolution image fine-grained recognition method based on confusable feature mining and decoupling according to claim 1 is characterized in that: In step 2, set the learnable class prototype (M = {m1, m2, ..., m C }∈R C×D ) The dimension D of the feature vector is the same as the dimension of the global category representation of the image; the learnable class prototype vector is used as the feature storage library and information transmission medium, and the similarity scores of the global category representations of low-resolution images and high-resolution images are constrained to be consistent with the corresponding class prototype vectors, guiding the low-resolution image feature representation to approach the high-resolution image feature representation; the corresponding loss function is calculated as follows: where y i represents the category labels of low-resolution images and high-resolution images, C represents the number of categories, T represents the temperature coefficient; exp(·) represents the exponential function, and log(·) represents the logarithmic function; and They represent the similarity scores between the prototype feature vector of the i-th class and the high-resolution and low-resolution class representations, respectively. The calculation formula is:

4. The low-resolution image fine-grained recognition method based on confusable feature mining and decoupling according to claim 1 is characterized in that: In step 3, the response of each category vector in the class prototype on the feature map F of the last convolution block of the feature extractor is calculated, and then the response features are calculated by category aggregation to obtain the grouping features of each category on the feature map; the calculation formula of the grouping features is as follows:

5. The low-resolution image fine-grained recognition method based on confusable feature mining and decoupling according to claim 1 is characterized in that: In step 4, based on the similarity score Select the grouping features corresponding to the highest K scores, that is, the features of the K most confusing categories, and record them as 6. The low-resolution image fine-grained recognition method based on confusable feature mining and decoupling according to claim 1 is characterized in that: In step 5, by orthogonalizing K groups of easily confused features with the features of the corresponding categories, the information of the interfering categories is decomposed, the fine-grained category characteristics are explicitly modeled, and the representation of small differences between fine-grained categories is strengthened; the calculation formula for decoupling easily confused features is as follows: Where i = {2, 3, ... K}, W i represents the weight matrix, v i Represents a category representation based on a class prototype; v i The calculation formula is as follows: Since the first grouping feature is composed of the similarity score The highest class prototype vector is aggregated with the feature map, which contains rich fine-grained discriminative information, so the above feature decoupling operation is not performed.

7. The method according to claim 1, characterized in that In step 6, a learnable category embedding is set, and the intrinsic correlation between the global category features of the low-quality image and the decoupled grouping features is used to perform feature fusion to obtain the final category representation of the low-resolution image.

Citation Information

Patent Citations

  • Fine-grained image recognition method based on multi-view feature fusion

    CN112132004A

  • Local feature representation for image recognition

    US20160132750A1

Cited By

  • Low-resolution fine-grained image classification method based on component attention correction and detail enhancement

    CN119600338A

  • Low-Resolution Fine-Grained Image Classification Method Based on Component Attention Correction and Detail Enhancement

    CN119600338B