search
HomeTechnology peripheralsAIRegression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA

Different from traditional object detection problems, few-shot object detection (FSOD) assumes that we have many basic class samples, but only a small number of novel class samples. The goal is to study how to transfer knowledge from basic classes to novel classes, thereby improving the detector's ability to recognize novel classes.

FSOD usually follows a two-stage training paradigm. In the first stage, the detector is trained using rich base class samples to learn the common representations required for object detection tasks, such as object localization and classification. In the second stage, the detector is fine-tuned using only a small number (e.g. 1, 2, 3...) of novel class samples. However, due to the imbalance in the number of basic class and novel class samples, the learned model is usually biased towards the basic class, which leads to the confusion of novel class targets with similar basic classes. Furthermore, since there are only a few samples for each novel class, the model is sensitive to the variance of the novel classes. For example, if you randomly sample novel class samples for multiple trainings, the results will be quite different each time. Therefore, it is very necessary to improve the robustness of the model under small samples.

Recently, Tencent Youtu Lab and Wuhan University proposed a few-sample target detection model VFA based on variational feature aggregation. The overall structure of VFA is based on an improved version of the meta-learning target detection framework Meta R-CNN, and two feature aggregation methods are proposed: Category-independent feature aggregation CAA (Class-Agnostic Aggregation)AndVariational Feature Aggregation VFA (Variational Feature Aggregation).

Feature aggregation is a key design in FSOD, which defines the interaction between Query and Support samples. Previous methods such as Meta R-CNN usually use class-specific aggregation (CSA), that is, features of similar Query and Support samples for feature aggregation. In contrast, the CAA proposed in this paper allows feature aggregation between samples of different classes. Since CAA encourages the model to learn class-independent representations, it reduces the model's bias toward base classes. In addition, interactions between different classes can better model the relationships between classes, thereby reducing class confusion.

Based on CAA, this article proposes VFA, which uses variational encoders (VAEs) to encode Support samples into class distributions and samples new Support from the learned distribution. Features are used for feature fusion. Related work [1] states that intra-class variance (e.g., variation in appearance) is similar across classes and can be modeled by common distributions. Therefore, we can use the distribution of base classes to estimate the distribution of novel classes, thereby improving the robustness of feature aggregation in the case of few samples.

VFA outperforms the best current models on multiple FSOD data sets, Relevant research has Accepted as Oral by AAAI 2023.

Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA

## Paper address: https://arxiv.org/abs/2301.13411

VFA model details

Stronger baseline method: Meta R-CNN

Current FSOD work It can be mainly divided into two categories: methods based on meta learning and methods based on fine-tuning. Some early works demonstrated that meta-learning is effective for FSOD, but fine-tuning based methods have received increasing attention recently. This article first establishes a baseline method Meta R-CNN based on meta-learning, which narrows the gap between the two methods and even exceeds the method based on fine-tuning in some indicators .

We first analyzed some gaps in implementation between the two methods, taking the meta-learning method Meta R-CNN [2] and the fine-tuning-based method TFA [3] as examples. Although Both methods follow a two-stage training paradigm, with TFA optimizing the model using additional techniques during the fine-tuning stage:

  1. TFA freezes most of the network parameters and only trains the final classification and regression layers so that the model does not overfit the few-shot categories.
  2. Instead of randomly initializing the classification layer, TFA copies the pre-trained weights of the base classes and only initializes the weights of the novel classes.
  3. TFA uses a cosine classifier instead of a linear classifier.

Considering the success of TFA, we built Meta R-CNN. As shown in Table 1 below, meta-learning methods can also achieve good results as long as we handle the fine-tuning stage carefully. Therefore, this paper chooses Meta R-CNN as the baseline method.

Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA

##Table 1: Comparison and analysis of Meta R-CNN and TFA

Category-independent feature aggregation CAA


Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA

##Figure 1: Schematic diagram of category-independent feature aggregation CAA

This article proposes a simple and effective The category-independent feature aggregation method CAA. As shown in Figure 1 above, CAA allows feature aggregation between different classes, thereby encouraging the model to learn class-independent representations, thereby reducing inter-class bias and confusion between classes. Specifically, for each RoI feature of the category Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA and a set of Support features Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTARegression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA, we randomly select a class The Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA of the Support feature Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA is aggregated with the Query feature:

Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA

##Then we feed the aggregated features


Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA to the detection sub-network

Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTATo output the classification score

.

Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA

Variational Feature Aggregation VFA

Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA

##Figure 2 VFA model diagram

Previous work usually encodes Support samples into a single feature vector to represent the center of the category. However, when the samples are small and the variance is large, it is difficult for us to make accurate estimates of the class center. In this paper, we first convert the Support features into distributions over classes. Since the estimated class distribution is not biased towards specific samples, features sampled from the distribution are relatively robust to the variance of the samples. The framework of VFA is shown in Figure 2 above.

a) Variational feature learning. VFA employs variational autoencoders VAEs [4] to learn the distribution of categories. As shown in Figure 2, for a Support feature S, we first use the encoder Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA to estimate the distribution parameters Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA and Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA , then sample Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA from the distribution Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA through variational inference, and finally obtain the reconstructed value through the decoder Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA Support FeaturesRegression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA. When optimizing VAE, in addition to the common KL LossRegression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA and reconstruction LossRegression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA, this article also uses consistency Loss to make the learned distribution retain category information:​

Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA

b) Variational feature fusion. Since the Support feature is converted into a distribution of categories, we can sample features from the distribution and aggregate them with the Query feature. Specifically, VFA also uses category-independent aggregation CAA, but aggregates Query features Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA and variational features Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA. Given the Query feature Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA of class Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA and the Support feature Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA of class Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA

, we first estimate its distribution Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA , and sample variational features Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA; and then fuse them together by the following formula:

Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA

Where Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA represents channel multiplication, and sig is the abbreviation of sigmoid operation. In the training phase, we randomly select a Support feature Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA for aggregation; in the testing phase, we average the Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA

Support features of the Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA class Value Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA, and estimate the distribution Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA, where Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA. ​

Classification - Regression task decoupling

Typically, the detection subnetwork Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA contains a shared feature extractor Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA and two independent networks: the classification subnetwork Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA and regression sub-network Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA. In previous work, the aggregated features were input into the detection sub-network for object classification and bounding box regression. But classification tasks require translation-invariant features, while regression requires translation-covariant features. Since the Support feature represents the center of the category and is translation invariant, the aggregated features will harm the regression task.

This article proposes a simple classification-regression task decoupling. Let Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA and Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA represent the original and aggregated Query features. The previous method uses Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA for both tasks, where The classification score Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA and the predicted bounding box Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA are defined as:

Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA

##To decouple these tasks, we adopt a separate feature extractor and use the original Support features Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA for bounding box regression:​

Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA


Experimental evaluation

The data sets we used: PASCAL VOC, MS COCO. Evaluation indicators: Novel class average precision nAP, basic class average precision bAP.

Main results

VFA achieved good results on both datasets. For example, on the PASCAL VOC data set (Table 2 below), VFA is significantly higher than previous methods; the 1-shot results of VFA are even higher than the 10-shot results of some methods.

Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA

Table 2 The effect of VFA on the PASCAL VOC data set

Ablation experiment

a) The role of different modules . As shown in Table 3 below, different modules of VFA can work together to improve the performance of the model.

Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA

Table 3 The functions of different modules

b) Visual analysis of different feature aggregation methods. As shown in Figure 3 below, CAA can reduce confusion between basic classes and novel classes; VFA further enhances the distinction between classes based on CAA.

Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA

##Figure 3 Visualization of similarity matrix

c) More accurate category center point estimation. As shown in Figure 4 below, VFA can more accurately estimate the center of the category. And as the number of samples decreases, the accuracy of estimation gradually becomes higher than the baseline method. This also explains why our method performs better when there are few samples (K=1).

Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA

Figure 4 The distance between the estimated category center and the true category center

d) Result visualization.

Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA

##Figure 5 Visualization ResultsConclusion

This article returns to the feature aggregation method in FSOD based on meta-learning, and proposes category-independent feature aggregation CAA and variational feature aggregation VFA. CAA can reduce class bias and confusion between base classes and novel classes; VFA transforms samples into class distributions to achieve more robust feature aggregation. Experiments on the PASCAL VOC and MS COCO datasets demonstrate the effectiveness of the method proposed in this paper.

The above is the detailed content of Regression meta-learning, few-sample target detection based on variational feature aggregation to achieve new SOTA. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:51CTO.COM. If there is any infringement, please contact admin@php.cn delete
Most Used 10 Power BI Charts - Analytics VidhyaMost Used 10 Power BI Charts - Analytics VidhyaApr 16, 2025 pm 12:05 PM

Harnessing the Power of Data Visualization with Microsoft Power BI Charts In today's data-driven world, effectively communicating complex information to non-technical audiences is crucial. Data visualization bridges this gap, transforming raw data i

Expert Systems in AIExpert Systems in AIApr 16, 2025 pm 12:00 PM

Expert Systems: A Deep Dive into AI's Decision-Making Power Imagine having access to expert advice on anything, from medical diagnoses to financial planning. That's the power of expert systems in artificial intelligence. These systems mimic the pro

Three Of The Best Vibe Coders Break Down This AI Revolution In CodeThree Of The Best Vibe Coders Break Down This AI Revolution In CodeApr 16, 2025 am 11:58 AM

First of all, it’s apparent that this is happening quickly. Various companies are talking about the proportions of their code that are currently written by AI, and these are increasing at a rapid clip. There’s a lot of job displacement already around

Runway AI's Gen-4: How Can AI Montage Go Beyond AbsurdityRunway AI's Gen-4: How Can AI Montage Go Beyond AbsurdityApr 16, 2025 am 11:45 AM

The film industry, alongside all creative sectors, from digital marketing to social media, stands at a technological crossroad. As artificial intelligence begins to reshape every aspect of visual storytelling and change the landscape of entertainment

How to Enroll for 5 Days ISRO AI Free Courses? - Analytics VidhyaHow to Enroll for 5 Days ISRO AI Free Courses? - Analytics VidhyaApr 16, 2025 am 11:43 AM

ISRO's Free AI/ML Online Course: A Gateway to Geospatial Technology Innovation The Indian Space Research Organisation (ISRO), through its Indian Institute of Remote Sensing (IIRS), is offering a fantastic opportunity for students and professionals to

Local Search Algorithms in AILocal Search Algorithms in AIApr 16, 2025 am 11:40 AM

Local Search Algorithms: A Comprehensive Guide Planning a large-scale event requires efficient workload distribution. When traditional approaches fail, local search algorithms offer a powerful solution. This article explores hill climbing and simul

OpenAI Shifts Focus With GPT-4.1, Prioritizes Coding And Cost EfficiencyOpenAI Shifts Focus With GPT-4.1, Prioritizes Coding And Cost EfficiencyApr 16, 2025 am 11:37 AM

The release includes three distinct models, GPT-4.1, GPT-4.1 mini and GPT-4.1 nano, signaling a move toward task-specific optimizations within the large language model landscape. These models are not immediately replacing user-facing interfaces like

The Prompt: ChatGPT Generates Fake PassportsThe Prompt: ChatGPT Generates Fake PassportsApr 16, 2025 am 11:35 AM

Chip giant Nvidia said on Monday it will start manufacturing AI supercomputers— machines that can process copious amounts of data and run complex algorithms— entirely within the U.S. for the first time. The announcement comes after President Trump si

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
4 weeks agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
1 months agoBy尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Chat Commands and How to Use Them
1 months agoBy尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!