Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Rethinking VLMs and LLMs for Image Classification

About

Visual Language Models (VLMs) are now increasingly being merged with Large Language Models (LLMs) to enable new capabilities, particularly in terms of improved interactivity and open-ended responsiveness. While these are remarkable capabilities, the contribution of LLMs to enhancing the longstanding key problem of classifying an image among a set of choices remains unclear. Through extensive experiments involving seven models, ten visual understanding datasets, and multiple prompt variations per dataset, we find that, for object and scene recognition, VLMs that do not leverage LLMs can achieve better performance than VLMs that do. Yet at the same time, leveraging LLMs can improve performance on tasks requiring reasoning and outside knowledge. In response to these challenges, we propose a pragmatic solution: a lightweight fix involving a relatively small LLM that efficiently routes visual tasks to the most suitable model for the task. The LLM router undergoes training using a dataset constructed from more than 2.5 million examples of pairs of visual task and model accuracy. Our results reveal that this lightweight fix surpasses or matches the accuracy of state-of-the-art alternatives, including GPT-4V and HuggingGPT, while improving cost-effectiveness.

Avi Cooper, Keizo Kato, Chia-Hsien Shih, Hiroaki Yamane, Kasper Vinken, Kentaro Takemoto, Taro Sunagawa, Hao-Wei Yeh, Jin Yamanaka, Ian Mason, Xavier Boix• 2024

Related benchmarks

TaskDatasetResultRank
Optical Character RecognitionORB-En-SynthDog 4-class rotation
Word Error Rate (WER)22.43
27
Optical Character RecognitionORB-En-FUNSD (test)
Word ANLS83.46
24
OCRORB-Indic
WER0.251
21
Optical Character RecognitionORB-Indic 4-class rotation
Word Accuracy94.55
21
Optical Character RecognitionORB-Indic (test)
Word ANLS97.7
21
OCRORB En-SynthDog
WER0.23
21
Structured OCRORB-En-SROIE Rotated 4-class
Field-level Accuracy70.32
20
Document rotation classificationORB-En
Accuracy59.58
18
Document rotation classificationORB-Indic
Accuracy50.6
18
Structured OCRORB-En-SROIE Ideal
Field-level OCR Accuracy70.32
10
Showing 10 of 10 rows

Other info

Follow for update