Few-Shot Classification & Segmentation Using Large Language Models Agent
Not on the map. Why?
Abstract (arXiv)
The task of few-shot image classification and segmentation (FS-CS) requires the classification and segmentation of target objects in a query image, given only a few examples of the target classes. We introduce a method that utilises large language models (LLM) as an agent to address the FS-CS problem in a training-free manner. By making the LLM the task planner and off-the-shelf vision models the tools, the proposed method is capable of classifying and segmenting target objects using only image-level labels. Specifically, chain-of-thought prompting and in-context learning guide the LLM to observe support images like human; vision models such as Segment Anything Model (SAM) and GPT-4Vision assist LLM understand spatial and semantic information at the same time. Ultimately, the LLM uses its summarizing and reasoning capabilities to classify and segment the query image. The proposed method's modular framework makes it easily extendable. Our approach achieves state-of-the-art performance on the Pascal-5i dataset.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 35 of its 40 references that are in the map. First posted on arXiv 19 Nov 2023.
Builds on
35 of 40 references.
References · 35
- 2017Attention Is All You Needcited by 60,361
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2023Segment Anythingcited by 8,234
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
- 2021Zero-Shot Text-to-Image Generationcited by 4,288
- 2017Prototypical Networks for Few-shot Learningcited by 3,015
- 2022Visual Prompt Tuningcited by 1,681
- 2019A Comprehensive Survey on Transfer Learningcited by 1,160
- 2017Learning to Compare: Relation Network for Few-Shot Learningcited by 1,143
- 2018On First-Order Meta-Learning Algorithmscited by 1,018
23 more
- 2021Transformers in Vision: A Surveycited by 1,013
- 2020Meta-Learning in Neural Networks: A Surveycited by 950
- 2018Pyramid Stereo Matching Networkcited by 489
- 2019Generalizing from a Few Examples: A Survey on Few-Shot Learningcited by 463
- 2019PANet: Few-Shot Image Semantic Segmentation with Prototype Alignmentcited by 449
- 2018TADAM: Task dependent adaptive metric for improved few-shot learningcited by 408
- 2017One-Shot Learning for Semantic Segmentationcited by 337
- 2018Meta-Transfer Learning for Few-Shot Learningcited by 306
- 2019A Baseline for Few-Shot Image Classificationcited by 298
- 2020Transfer Learning in Deep Reinforcement Learning: A Surveycited by 265
- 2019Adaptive Gradient-Based Meta-Learning Methodscited by 183
- 2020Meta-Baseline: Exploring Simple Meta-Learning for Few-Shot Learningcited by 179
- 2019Deeper and Wider Siamese Networks for Real-Time Visual Trackingcited by 156
- 2020Negative Margin Matters: Understanding Margin in Few-shot Classificationcited by 129
- 2020Few-Shot Classification with Feature Map Reconstruction Networkscited by 116
- 2020Compressing Large-Scale Transformer-Based Models: A Case Study on BERTcited by 96
- 2022Understanding and Improving Visual Prompting: A Label-Mapping Perspectivecited by 87
- 2021Relational Embedding for Few-Shot Classificationcited by 74
- 2020Meta-learning in natural and artificial intelligencecited by 39
- 2022Unleashing the Power of Visual Prompting At the Pixel Levelcited by 37
- 2022Integrative Few-Shot Learning for Classification and Segmentationcited by 25
- 2023Distilling Self-Supervised Vision Transformers for Weakly-Supervised Few-Shot Classification & Segmentationcited by 24
- 2023Text-Visual Prompting for Efficient 2D Temporal Video Groundingcited by 18
Built on by
Citing papers per year: 2024: 1; 2025: 0; 2026: 1.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025DSV-LFS: Unifying LLM-Driven Semantic Cues with Visual Features for Robust Few-Shot Segmentation
- 2024Few-Shot Image Classification and Segmentation as Visual Question Answering Using Vision-Language Models
- 2026Exploiting Target Knowledge from MLLMs for Robust Few-Shot Segmentation
- 2024Making Large Vision Language Models to be Good Few-shot Learners
- 2024LLM-Seg: Bridging Image Segmentation and Large Language Model Reasoning
- 2023Pushing Boundaries: Exploring Zero Shot Object Classification with Large Multimodal Models
- 2023Leveraging Large Language Models for Scalable Vector Graphics-Driven Image Understanding
- 2024LMSeg: Unleashing the Power of Large-Scale Models for Open-Vocabulary Semantic Segmentation