paper-with-me

Papers

Sparse Spatial Transformers for Few-Shot Learning

2021-09-27 · Haoxing Chen, Huaxiong Li, Yaohui Li, Chunlin Chen

Learning from limited data is challenging because data scarcity leads to a poor generalization of the trained model. A classical global pooled representation will probably lose useful local information. Many few-shot learning methods have recently addressed this challenge using deep descriptors and learning a pixel-level metric. However, using deep descriptors as feature representations may lose image contextual information. Moreover, most of these methods independently address each class in the support set, which cannot sufficiently use discriminative information and task-specific embeddings. In this paper, we propose a novel transformer-based neural network architecture called sparse spatial transformers (SSFormers), which finds task-relevant features and suppresses task-irrelevant features. Particularly, we first divide each input image into several image patches of different sizes to obtain dense local features. These features retain contextual information while expressing local information. Then, a sparse spatial transformer layer is proposed to find spatial correspondence between the query image and the full support set to select task-relevant image patches and suppress task-irrelevant image patches. Finally, we propose using an image patch-matching module to calculate the distance between dense local representations, thus determining which category the query image belongs to in the support set. Extensive experiments on popular few-shot learning benchmarks demonstrate the superiority of our method over state-of-the-art methods. Our source code is available at \url{https://github.com/chenhaoxing/ssformers}.

📄 PDF Abstract BibTeX arXiv:2109.12932

Code (1)

chenhaoxing/ssformers 공식 구현 pytorch

Tasks

Few-Shot Image ClassificationFew-Shot LearningPatch Matching

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Multi-Head Attention 설명 없음
Position-Wise Feed-Forward Layer 설명 없음
Adam 설명 없음
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 제목 키워드 기반

Do Sentence Transformers Learn Quasi-Geospatial Concepts from General Text?

2024-04-05 · Ilya Ilyankou, Aldo Lipani, Stefano Cavazzi, Xiaowei Gao 외

Sentence transformers are language models designed to perform semantic search. This study investigates the capacity of sentence transformers, fine-tuned on general question-answering datasets for asymmetric semantic sear…

Question AnsweringRecommendation SystemsSentence

Sparse Spatial Smoothing: Reduced Complexity and Improved Beamforming Gain via Sparse Sub-Arrays

2024-03-10 · Yinyan Bu, Robin Rajamäki, Anand Dabak, Rajan Narasimha 외

This paper addresses the problem of single snapshot Direction-of-Arrival (DOA) estimation, which is of great importance in a wide-range of applications including automotive radar. A popular approach to achieving high ang…

subspace methods

Efficient Language Modeling with Sparse all-MLP

2022-03-14 · Ping Yu, Mikel Artetxe, Myle Ott, Sam Shleifer 외

All-MLP architectures have attracted increasing interest as an alternative to attention-based models. In NLP, recent work like gMLP shows that all-MLPs can match Transformers in language modeling, but still lag behind in…

AllCommon Sense ReasoningIn-Context LearningLanguage Modeling+5

Extra Global Attention Designation Using Keyword Detection in Sparse Transformer Architectures

2024-10-11 · Evan Lucas, Dylan Kangas, Timothy C Havens

In this paper, we propose an extension to Longformer Encoder-Decoder, a popular sparse transformer architecture. One common challenge with sparse transformers is that they can struggle with encoding of long range context…

Abstractive Text SummarizationDecoder

Sparse VideoGen: Accelerating Video Diffusion Transformers with Spatial-Temporal Sparsity

2025-02-03 · Haocheng Xi, Shuo Yang, Yilong Zhao, Chenfeng Xu 외

Diffusion Transformers (DiTs) dominate video generation but their high computational cost severely limits real-world applicability, usually requiring tens of minutes to generate a few seconds of video even on high-perfor…

Video Generation