Lune

ICLR2023Top-tier venue

Universal Few-shot Learning of Dense Prediction Tasks with Visual Token Matching

Donggyun Kim, Jinwoo Kim, Seongwoong Cho, Chong Luo, Seunghoon Hong

Abstract

Dense prediction tasks are a fundamental class of problems in computer vision. As supervised methods suffer from high pixel-wise labeling cost, a few-shot learning solution that can learn any dense task from a few labeled images is desired. Yet, current few-shot learning methods target a restricted set of tasks such as semantic segmentation, presumably due to challenges in designing a general and unified model that is able to flexibly and efficiently adapt to arbitrary tasks of unseen semantics. We propose Visual Token Matching (VTM), a universal few-shot learner for arbitrary dense prediction tasks. It employs non-parametric matching on patch-level embedded tokens of images and labels that encapsulates all tasks. Also, VTM flexibly adapts to any task with a tiny amount of task-specific parameters that modulate the matching algorithm. We implement VTM as a powerful hierarchical encoder-decoder architecture involving ViT backbones where token matching is performed at multiple feature hierarchies. We experiment VTM on a challenging variant of Taskonomy dataset and observe that it robustly few-shot learns various unseen dense prediction tasks. Surprisingly, it is competitive with fully supervised baselines using only 10 labeled examples of novel tasks (0.004% of full supervision) and sometimes outperforms using 0.1% of full supervision. Codes are available at https://github.com/GitGyun/visual_token_matching.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Towards In-context Scene Understanding cites BEiT: BERT Pre-Training of Image Transformers
  • Towards In-context Scene Understanding cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Towards In-context Scene Understanding cites Language Models are Few-Shot Learners
  • Context-Aware Meta-Learning cites Towards In-context Scene Understanding
  • Context-Aware Meta-Learning cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Context-Aware Meta-Learning cites Language Models are Few-Shot Learners
  • BEiT: BERT Pre-Training of Image Transformers cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale cites Language Models are Few-Shot Learners
  • Explore In-Context Segmentation via Latent Diffusion Models cites Towards In-context Scene Understanding
  • Explore In-Context Segmentation via Latent Diffusion Models cites PANet: Few-Shot Image Semantic Segmentation With Prototype Alignment
  • Explore In-Context Segmentation via Latent Diffusion Models cites BEiT: BERT Pre-Training of Image Transformers
  • Explore In-Context Segmentation via Latent Diffusion Models cites Language Models are Few-Shot Learners
  • Vision Transformers for Dense Prediction cites Language Models are Few-Shot Learners
  • Tyche: Stochastic in-Context Learning for Medical Image Segmentation cites Towards In-context Scene Understanding
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. Towards In-context Scene UnderstandingIvana Balazevic, David Steiner, Nikhil Parthasarathy, Relja Arandjelovic et al.NeurIPS 2023 · 62 citations
  2. Context-Aware Meta-LearningChristopher Fifty, Dennis Duan, Ronald G. Junkins, Ehsan Amid et al.ICLR 2024 · 28 citations
  3. Explore In-Context Segmentation via Latent Diffusion ModelsChaoyang Wang, Xiangtai Li, Henghui Ding, Lu Qi et al.AAAI 2025 · 17 citations
  4. Tyche: Stochastic in-Context Learning for Medical Image SegmentationMarianne Rakic, Hallee E. Wong, Jose Javier Gonzalez Ortiz, Beth A. Cimini et al.CVPR 2024 · 9 citations
  5. Meta-Controller: Few-Shot Imitation of Unseen Embodiments and Tasks in Continuous ControlSeongwoong Cho, Donggyun Kim, Jinwoo Lee, Seunghoon HongNeurIPS 2024 · 6 citations

Builds on18

  1. Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. BEiT: BERT Pre-Training of Image TransformersHangbo Bao, Li Dong, Songhao Piao, Furu WeiICLR 2022 · 3,632 citations
  4. Vision Transformers for Dense PredictionRené Ranftl, Alexey Bochkovskiy, Vladlen KoltunICCV 2021 · 2,647 citations
  5. PANet: Few-Shot Image Semantic Segmentation With Prototype AlignmentKaixin Wang, Jun Hao Liew, Yingtian Zou, Daquan Zhou et al.ICCV 2019 · 1,404 citations

Related papers

  1. UniDense: Unleashing Diffusion Models with Meta-Routers for Universal Few-Shot Dense PredictionLintao Dong, Wei Zhai, Zheng-Jun ZhaACM MM 2024 · 1 citation
  2. Meta Omnium: A Benchmark for General-Purpose Learning-to-LearnOndrej Bohdal, Yinbing Tian, Yongshuo Zong, Ruchika Chavhan et al.CVPR 2023
  3. Single Domain Generalization for Few-Shot Counting via Universal Representation MatchingXianing Chen, Si Huo, Borui Jiang, Hailin Hu et al.CVPR 2025
  4. Visual Prompting for Generalized Few-shot Segmentation: A Multi-scale ApproachMir Rayat Imtiaz Hossain, Mennatullah Siam, Leonid Sigal, James J. LittleCVPR 2024
  5. UniAP: Towards Universal Animal Perception in Vision via Few-Shot LearningMeiqi Sun, Zhonghan Zhao, Wenhao Chai, Hanjun Luo et al.AAAI 2024
Dusk over the sea between two cliffs drawn in fine vertical lines