Few-Shot Classification & Segmentation Using Large Language Models Agent

Tian Meng, Yang Tao, Wuliang Yin
11/19/2023
cs.CVcs.AI

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{meng2023fewshot,
  title  = {Few-Shot Classification & Segmentation Using Large Language Models Agent},
  author = {Tian Meng and Yang Tao and Wuliang Yin},
  year   = {2023},
  eprint = {2311.12065},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2311.12065v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2311.12065.svg)](https://codeofpaper.com/paper/2311.12065)

Discussion