paper-with-me

홈 › Papers

SparseFormer: Sparse Visual Recognition via Limited Latent Tokens

2023-04-07 · Ziteng Gao, Zhan Tong, LiMin Wang, Mike Zheng Shou

Human visual recognition is a sparse process, where only a few salient visual cues are attended to rather than traversing every detail uniformly. However, most current vision networks follow a dense paradigm, processing every single visual unit (e.g,, pixel or patch) in a uniform manner. In this paper, we challenge this dense paradigm and present a new method, coined SparseFormer, to imitate human's sparse visual recognition in an end-to-end manner. SparseFormer learns to represent images using a highly limited number of tokens (down to 49) in the latent space with sparse feature sampling procedure instead of processing dense units in the original pixel space. Therefore, SparseFormer circumvents most of dense operations on the image space and has much lower computational costs. Experiments on the ImageNet classification benchmark dataset show that SparseFormer achieves performance on par with canonical or well-established models while offering better accuracy-throughput tradeoff. Moreover, the design of our network can be easily extended to the video classification with promising performance at lower computational costs. We hope that our work can provide an alternative way for visual modeling and inspire further research on sparse neural architectures. The code will be publicly available at https://github.com/showlab/sparseformer

📄 PDF Abstract BibTeX arXiv:2304.03768

Code (1)

showlab/sparseformer 공식 구현 pytorch

Tasks

Image ClassificationSparse Representation-based ClassificationVideo Classification

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
Residual Connection 설명 없음
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…
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…
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…
Adam 설명 없음

Similar Papers 제목 키워드 기반

Bootstrapping SparseFormers from Vision Foundation Models

2023-12-04 · CVPR 2024 1 · Ziteng Gao, Zhan Tong, Kevin Qinghong Lin, Joya Chen 외

The recently proposed SparseFormer architecture provides an alternative approach to visual understanding by utilizing a significantly lower number of visual tokens via adjusting RoIs, greatly reducing computational costs…

SparseFormer: Attention-based Depth Completion Network

2022-06-09 · Frederik Warburg, Michael Ramamonjisoa, Manuel López-Antequera

Most pipelines for Augmented and Virtual Reality estimate the ego-motion of the camera by creating a map of sparse 3D landmarks. In this paper, we tackle the problem of depth completion, that is, densifying this sparse 3…

Depth Completion

SparseFormer: Detecting Objects in HRW Shots via Sparse Vision Transformer

2025-02-11 · Wenxi Li, Yuchen Guo, Jilai Zheng, Haozhe Lin 외

Recent years have seen an increase in the use of gigapixel-level image and video capture systems and benchmarks with high-resolution wide (HRW) shots. However, unlike close-up shots in the MS COCO dataset, the higher res…

object-detectionObject Detection

Sparseformer: a Transferable Transformer with Multi-granularity Token Sparsification for Medical Time Series Classification

2025-03-19 · Jiexia Ye, Weiqi Zhang, Ziyue Li, Jia Li 외

Medical time series (MedTS) classification is crucial for improved diagnosis in healthcare, and yet it is challenging due to the varying granularity of patterns, intricate inter-channel correlation, information redundanc…

DiagnosticFew-Shot LearningTime SeriesTime Series Analysis+2

Fine-Grained Action Recognition with Cross-Attentive Latent Sparse Experts

2026-08-13 · Imtiaz Ul Hassan, Tasweer Ahmad, Nik Bessis, Ardhendu Behera arxiv

Fine-grained human action recognition (FHAR) must distinguish visually similar actions that differ mainly in body configuration, timing, or local appearance. RGB representations retain visual context but often suppress j…

Action Recognition