paper-with-me

홈 › Papers

Few-Shot Learning Meets Transformer: Unified Query-Support Transformers for Few-Shot Classification

2022-08-26 · Xixi Wang, Xiao Wang, Bo Jiang, Bin Luo

Few-shot classification which aims to recognize unseen classes using very limited samples has attracted more and more attention. Usually, it is formulated as a metric learning problem. The core issue of few-shot classification is how to learn (1) consistent representations for images in both support and query sets and (2) effective metric learning for images between support and query sets. In this paper, we show that the two challenges can be well modeled simultaneously via a unified Query-Support TransFormer (QSFormer) model. To be specific,the proposed QSFormer involves global query-support sample Transformer (sampleFormer) branch and local patch Transformer (patchFormer) learning branch. sampleFormer aims to capture the dependence of samples in support and query sets for image representation. It adopts the Encoder, Decoder and Cross-Attention to respectively model the Support, Query (image) representation and Metric learning for few-shot classification task. Also, as a complementary to global learning branch, we adopt a local patch Transformer to extract structural representation for each image sample by capturing the long-range dependence of local image patches. In addition, a novel Cross-scale Interactive Feature Extractor (CIFE) is proposed to extract and fuse multi-scale CNN features as an effective backbone module for the proposed few-shot learning method. All modules are integrated into a unified framework and trained in an end-to-end manner. Extensive experiments on four popular datasets demonstrate the effectiveness and superiority of the proposed QSFormer.

📄 PDF Abstract BibTeX arXiv:2208.12398

Code (0)

등록된 구현이 없습니다.

Tasks

DecoderFew-Shot LearningMetric Learning

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Position-Wise Feed-Forward Layer 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…

Similar Papers 제목 키워드 기반

Reference Twice: A Simple and Unified Baseline for Few-Shot Instance Segmentation

2023-01-03 · Yue Han, Jiangning Zhang, Yabiao Wang, Chengjie Wang 외

Few-Shot Instance Segmentation (FSIS) requires detecting and segmenting novel classes with limited support examples. Existing methods based on Region Proposal Networks (RPNs) face two issues: 1) Overfitting suppresses no…

BenchmarkingFew-shot Instance SegmentationFew-Shot Object DetectionInstance Segmentation+5

Enhancing Few-shot Image Classification with Cosine Transformer

2022-11-13 · Quang-Huy Nguyen, Cuong Q. Nguyen, Dung D. Le, Hieu H. Pham

This paper addresses the few-shot image classification problem, where the classification task is performed on unlabeled query samples given a small amount of labeled support samples only. One major challenge of the few-s…

ClassificationFew-Shot Image ClassificationFew-Shot Learningimage-classification+1

Few-Shot Segmentation via Cycle-Consistent Transformer

2021-06-04 · NeurIPS 2021 12 · Gengwei Zhang, Guoliang Kang, Yi Yang, Yunchao Wei

Few-shot segmentation aims to train a segmentation model that can fast adapt to novel classes with few exemplars. The conventional training paradigm is to learn to make predictions on query images conditioned on the feat…

Few-Shot Semantic SegmentationSegmentationSemantic Segmentation

CATrans: Context and Affinity Transformer for Few-Shot Segmentation

2022-04-27 · Shan Zhang, Tianyi Wu, Sitong Wu, Guodong Guo

Few-shot segmentation (FSS) aims to segment novel categories given scarce annotated support images. The crux of FSS is how to aggregate dense correlations between support and query images for query segmentation while bei…

RelationTransfer Learning

Prototype as Query for Few Shot Semantic Segmentation

2022-11-27 · Leilei Cao, Yibo Guo, Ye Yuan, Qiangguo Jin

Few-shot Semantic Segmentation (FSS) was proposed to segment unseen classes in a query image, referring to only a few annotated examples named support images. One of the characteristics of FSS is spatial inconsistency be…

Few-Shot Semantic Segmentation