Skip to main content
QUICK REVIEW

[논문 리뷰] Why are Visually-Grounded Language Models Bad at Image Classification?

Yuhui Zhang, Alyssa Unell|arXiv (Cornell University)|2024. 05. 28.
Natural Language Processing TechniquesComputer Science인용 수 3
한 줄 요약

이 논문은 시각적 지도 기반 언어 모델(VLM)이 CLIP과 같은 표준 이미지 분류기보다 성능이 열 劣하는 이유를, 훈련 중 분류 데이터에 노출되지 않아서라고 규명한다. 지침 훈련 데이터와 함께 ImageNet 분류 데이터로 VLM를 파인튜닝함으로써 저자들은 ImageNet 정확도 84.4%와 복잡한 시각적 질의 응답 벤치마크에서 11.8% 향상된 성능을 달성하였으며, 이는 분류 능력이 고급 VLM 성능의 기초임을 입증한다.

ABSTRACT

Image classification is one of the most fundamental capabilities of machine vision intelligence. In this work, we revisit the image classification task using visually-grounded language models (VLMs) such as GPT-4V and LLaVA. We find that existing proprietary and public VLMs, despite often using CLIP as a vision encoder and having many more parameters, significantly underperform CLIP on standard image classification benchmarks like ImageNet. To understand the reason, we explore several hypotheses concerning the inference algorithms, training objectives, and data processing in VLMs. Our analysis reveals that the primary cause is data-related: critical information for image classification is encoded in the VLM's latent space but can only be effectively decoded with enough training data. Specifically, there is a strong correlation between the frequency of class exposure during VLM training and instruction-tuning and the VLM's performance in those classes; when trained with sufficient data, VLMs can match the accuracy of state-of-the-art classification models. Based on these findings, we enhance a VLM by integrating classification-focused datasets into its training, and demonstrate that the enhanced classification performance of the VLM transfers to its general capabilities, resulting in an improvement of 11.8% on the newly collected ImageWikiQA dataset.

연구 동기 및 목표

  • 최신 시각적 지도 기반 언어 모델(VLM)이 ImageNet과 같은 표준 이미지 분류 벤치마크에서 성능이 열 劣하는 이유를 조사하기 위해.
  • 이러한 성능 격차의 근본 원인을 규명하기 위해, 동일한 시각 인코더를 사용하는 CLIP과의 비교를 중심으로 하기 위해.
  • 분류 중심 데이터셋을 VLM 훈련에 통합함으로써 분류 성능를 복원하거나 향상시킬 수 있는지 평가하기 위해.
  • 향상된 분류 능력이 시각적 질의 응답과 같은 더 복잡한 시각적 추론 작업으로 전이되는지 테스트하기 위해.
  • 훈련 중 데이터 노출, 특히 훈련 데이터 내 클래스 빈도가 VLM 분류 성능에 미치는 영향이 주요 요인임을 입증하기 위해.

제안 방법

  • 저자들은 폐쇄 세계 프롬프팅 설정을 사용하여 GPT-4V, Gemini, Claude-3, LLaVA, BLIP 변종 등 10종의 공개 및 기업 전용 VLM을 ImageNet에서 평가한다.
  • 추론 전략, 훈련 목표, 데이터 분포와 관련된 여러 가설을 분석하며, 클래스 간 데이터-성능 상관관계를 중점적으로 분석한다.
  • 핵심 방법론 단계로는 LLaVA1.5-7B를 128만 장의 ImageNet 이미지와 665만 개의 지침 훈련 예제로 구성된 병합 데이터셋으로 파인튜닝하여 분류 능력을 향상시킨다.
  • ImageNet 객체에 대한 복잡하고 현실적인 질문을 포함하는 새로운 벤치마크인 ImageWikiQA를 도입하고 평가하여 분류를 초월한 일반화 능력을 테스트한다.
  • 분류 성능는 모델 출력에서 정확한 일치를 기준으로, 시각적 질의 응답 성능는 정답 정확도를 기준으로 측정한다.
  • 모델의 일반화 능력을 평가하기 위해 분류 데이터만으로 파인튜닝한 모델와 병합 데이터로 파인튜닝한 모델를 비교한다.
Figure 1: Overview. (Left) Different visually-grounded language models (VLMs) underperform CLIP in classification by a large margin, though they often use CLIP as a vision encoder. (Middle) We investigate several hypotheses about why VLMs are bad classifiers and find that the main reason is data. Cr
Figure 1: Overview. (Left) Different visually-grounded language models (VLMs) underperform CLIP in classification by a large margin, though they often use CLIP as a vision encoder. (Middle) We investigate several hypotheses about why VLMs are bad classifiers and find that the main reason is data. Cr

실험 결과

연구 질문

  • RQ1CLIP와 동일한 시각 인코더를 사용하고도 VLM이 표준 이미지 분류 벤치마크에서 성능이 열 劣하는 이유는 무엇인가?
  • RQ2VLM 훈련 중 클래스의 노출 빈도가 해당 클래스의 분류 성능와 얼마나 상관관계가 있는가?
  • RQ3대규모 이미지 분류 데이터셋을 VLM 훈련에 통합함으로써 전용 이미지 분류기 수준의 성능를 복원하거나 초월할 수 있는가?
  • RQ4향상된 이미지 분류 능력이 VLM에서 더 복잡한 시각적 추론 작업으로 전이되는가?
  • RQ5분류 데이터만으로 파인튜닝하는 것과 병합 데이터로 파인튜닝하는 것의 일반화 능력에 미치는 영향은 무엇인가?

주요 결과

  • GPT-4V, Gemini, LLaVA와 같은 VLM는 파인튜닝되지 않은 상태에서 ImageNet에서 상위 1 정확도가 22.8%에 불과하여, CLIP-L의 85.7%에 비해 뚜렷하게 열 劣한다.
  • 클래스가 VLM 훈련 데이터에 얼마나 자주 등장하는지와 그 클래스에 대한 모델의 성능 사이에 강한 정적 상관관계가 존재하며, 이는 데이터 노출이 성능 변동의 주요 요인임을 시사한다.
  • LLaVA1.5-7B를 ImageNet 분류 데이터만으로 파인튜닝하면 ImageNet 정확도가 84.4%로 상승하여 최신 기술 수준의 분류기 성능를 도달한다.
  • ImageNet과 지침 훈련 데이터를 모두 사용해 파인튜닝한 VLM는 ImageWikiQA 벤치마크에서 11.8%p의 절대적 향상을 기록하여 고급 추론 능력으로의 전이를 입증한다.
  • 분류 데이터만으로 파인튜닝하면 치명적인 잊힘(catastrophic forgetting) 현상이 발생하여 ImageWikiQA 정확도가 30.6%로 감소함을 확인하였으며, 이는 균형 잡힌 다중 작업 파인튜닝의 필요성을 강조한다.
  • 결과는 이미지 분류 능력이 고급 VLM 성능의 기초임을 확인하였으며, 전통적인 분류 데이터는 VLM 훈련에 통합될 경우 여전히 매우 유용하다는 것을 입증한다.
Figure 2: Analysis of the label set size. For each image, we randomly sample 100, 20, 5, 2 candidate classes from all the classes. The performance gap between VLMs and CLIPs becomes smaller when the number of classes is reduced. X-axis: number of classes; Y-axis: accuracy (%).
Figure 2: Analysis of the label set size. For each image, we randomly sample 100, 20, 5, 2 candidate classes from all the classes. The performance gap between VLMs and CLIPs becomes smaller when the number of classes is reduced. X-axis: number of classes; Y-axis: accuracy (%).

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.