# SVIT: Scaling up Visual Instruction Tuning

SVIT: 시각 명령어 튜닝 확장

Bo Zhao, Boya Wu, Muyang He, Tiejun Huang · arXiv · 2023년 7월 9일

- **연구 문제** 기존 시각 명령어 튜닝 데이터는 규모가 작고 짧은 질의응답 중심이어서 멀티모달 모델의 능력을 충분히 끌어내기 어렵습니다.
- **연구 방법** Visual Genome과 COCO 주석을 GPT-4에 입력해 4.2M 규모의 시각 명령어 데이터를 만들고, 다양성과 균형 기준으로 157,712개의 코어셋을 선택합니다.
- **주요 결과** SVIT-mix-665K로 튜닝한 SVIT-v1.5는 MME 지각 점수에서 LLaVA-v1.5(Full)보다 34.5점 높았고, 절제 실험에서는 Yes:No 균형 조정이 MME를 7.1% 향상시켰습니다.

## 시각 명령어 튜닝 데이터의 규모와 품질 문제

멀티모달 대규모 언어 모델의 성능은 시각 명령어 튜닝 데이터에 크게 좌우되지만, 기존 공개 데이터는 규모가 작고 정보량이 적었습니다. 기존 데이터의 많은 부분은 짧은 캡션과 VQA 정답을 명령어 형식으로 바꾼 것이어서 주로 시각적 지각에 치우친 짧은 질문과 답변을 담고 있습니다. 이 논문은 이 한계를 넘기 위해 더 크고 다양한 시각 명령어 튜닝 데이터를 만드는 데 초점을 둡니다. 저자들은 기존 LLaVA 데이터가 158K 규모이고 MiniGPT-4 데이터가 3,500쌍 규모라고 비교합니다. 이 비교는 데이터 구축 규모와 구성에 대한 것이며 모델 성능의 직접적 원인을 증명하지는 않습니다.

![Table 1: Comparing SVIT to similar vision-language instruction datasets generated by GPT. ∗LLaV AR collects 422K noisy instruction- following data using OCR re…](https://refivu.com/papers/ad9a7a15-581e-4784-a9ce-2b92ddc8bcb8/figures/figure-9f96969922538b4428aff394935fc357.png?thumb=512)

**Table 1** . Comparing SVIT to similar vision-language instruction datasets generated by GPT. ∗LLaV AR collects 422K noisy instruction- following data using OCR results and 16K high-quality data using GPT-4.

[원문](https://arxiv.org/abs/2307.04087v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Bo Zhao, Boya Wu, Muyang He, Tiejun Huang · SVIT: Scaling up Visual Instruction Tuning · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

## Visual Genome과 COCO 주석 기반의 SVIT 데이터 구축

SVIT는 Visual Genome의 밀집 주석과 COCO의 이미지 캡션을 입력으로 삼아 GPT-4에 명령어 데이터를 생성하도록 구성되었습니다. Visual Genome은 이미지마다 영역 설명, 객체, 속성, 관계 등의 주석을 제공하며, COCO의 이미지당 5개 캡션과 결합됩니다. 생성 과정에서는 대화, 복합 추론, 참조 QA, 상세 설명의 네 가지 과제를 설계하고, 각 과제에 맞춰 GPT-4에 입력을 제공합니다. 참조 QA에서는 영역의 바운딩 박스를 입력에 포함하며, 질문과 답변에 객체를 특정 형식으로 표시하도록 지시합니다. 대화, 복합 추론, 상세 설명 과제에서는 바운딩 박스를 입력에서 제외했는데, 원문은 문맥 길이 제한을 그 이유로 제시합니다.

생성 후에는 원본 캡션을 참조하는 표현 등을 걸러내고 조건을 만족하지 않는 응답을 다시 생성하는 후처리를 거칩니다. 최종 규모는 대화 QA 1,565,797개, 복합 추론 QA 1,556,902개, 참조 QA 1,011,338개, 상세 설명 106,274개입니다.

![Figure 2: The example input to GPT-4 and the responses for three tasks. Note that the image is only shown here for reference and not provided to GPT-4. The col…](https://refivu.com/papers/ad9a7a15-581e-4784-a9ce-2b92ddc8bcb8/figures/figure-90fa337cb521e709540789332eacbda8.png?thumb=512)

**Figure 2** . The example input to GPT-4 and the responses for three tasks. Note that the image is only shown here for reference and not provided to GPT-4. The colored phrases in referring QAs correspond with bounding boxes of that color in the image.

[원문](https://arxiv.org/abs/2307.04087v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Bo Zhao, Boya Wu, Muyang He, Tiejun Huang · SVIT: Scaling up Visual Instruction Tuning · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

## 데이터 선택 레시피와 모델 구조

모델은 LLaVA 계열 구조를 사용합니다. 시각 인코더가 이미지 특징을 추출하고, 비전-언어 커넥터가 이를 언어 임베딩 토큰으로 바꾼 뒤 LLM이 그 토큰과 명령어를 함께 받아 응답을 생성합니다. pre-training 단계에서는 커넥터만 갱신하고 시각 인코더와 LLM은 고정합니다. fine-tuning 단계에서는 전체 파라미터 튜닝 또는 LoRA를 사용하며, LoRA의 경우 학습되는 대상은 LoRA 파라미터입니다. 데이터 선택은 다양성과 균형의 두 기준으로 이루어집니다. 다양성 기준에서는 MME와 MMBench에 맞춘 핵심 개념 집합을 만들고, 각 학습 샘플이 개념 집합과 얼마나 겹치는지로 정보량을 측정합니다. 균형 기준에서는 MME가 사용하는 Yes/No 질문의 비율을 조정합니다.

이 두 기준으로 157,712개 샘플의 SVIT-core-150K를 만들며, 이는 LLaVA-Instruct-150K와 같은 규모입니다.

## MME 벤치마크 비교와 최종 모델 평가

SVIT-v1.5는 LLaVA-v1.5-13B의 아키텍처와 pre-training 가중치를 가져와, LLaVA-v1.5-mix-665K의 LLaVA-Instruct-150K를 SVIT-core-150K로 바꾼 SVIT-mix-665K로 시각 명령어 튜닝을 다시 수행한 모델입니다. 나머지 학습 프로토콜은 바꾸지 않았다고 원문은 설명합니다. 비교는 여러 벤치마크에서 이루어졌으며, MME 지각 점수에서 SVIT-v1.5(Full)은 1565.8점으로 LLaVA-v1.5(Full)의 1531.3점보다 34.5점 높습니다. LoRA 설정에서 MME 인지 점수는 SVIT-v1.5(LoRA) 364.3점 대 LLaVA-v1.5(LoRA) 300.4점입니다.

이 비교는 같은 데이터량과 기반 모델에서의 결과로 제시됩니다.

![Figure 6: Demonstration of different abilities of SVIT-v1.5](https://refivu.com/papers/ad9a7a15-581e-4784-a9ce-2b92ddc8bcb8/figures/figure-c5b274d8d8c0ab2e590e838ea499ba51.png?thumb=512)

**Figure 6** . Demonstration of different abilities of SVIT-v1.5.

[원문](https://arxiv.org/abs/2307.04087v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Bo Zhao, Boya Wu, Muyang He, Tiejun Huang · SVIT: Scaling up Visual Instruction Tuning · 원문 그림 인용 · 원본 PDF 10쪽에서 그림 영역을 추출했습니다.

## 절제 실험에서 균형 전략의 효과

절제 실험은 학습 비용을 줄이기 위해 LLaVA-v1.0 모델로 수행되었고, 평가는 MME 벤치마크에서 이루어졌습니다. 무작위로 선택한 SVIT-80K는 Yes:No 비율이 20:1 수준으로 치우쳐 있었습니다. 원문은 이 비율을 1:1에 가깝게 조정하며 모델 응답 분포가 어떻게 바뀌는지 분석합니다. 이 분석에서 Y:N=8이 좋은 데이터 레시피로 제시되었고, 이를 적용한 SVIT-80K-B는 SVIT-80K보다 MME에서 7.1% 향상되었습니다. 여기서 비율의 변화는 학습 데이터의 Yes/No 분포에 대한 조작이며, 다른 데이터셋이나 다른 모델로의 일반화는 이 실험에서 확인되지 않았습니다.

![Figure 5: The relation between “Yes:No” proportion in training data and model performance](https://refivu.com/papers/ad9a7a15-581e-4784-a9ce-2b92ddc8bcb8/figures/figure-1b4a7d287235c70dd3a2d7c2130fd861.png?thumb=512)

**Figure 5** . The relation between “Yes:No” proportion in training data and model performance.

[원문](https://arxiv.org/abs/2307.04087v3) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Bo Zhao, Boya Wu, Muyang He, Tiejun Huang · SVIT: Scaling up Visual Instruction Tuning · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## 데이터 정확성과 적용 범위의 한계

저자들은 무작위 20개 이미지에 대한 수동 검토에서 생성 데이터의 약 5%가 더 정확하거나 만족스러운 답변이 가능하다고 보고합니다. 문제는 원본 주석 오류, 질문에 정확히 답하지 않은 응답, 부정확한 응답의 세 유형으로 분류됩니다. 이 결과는 전체 데이터에 대한 정밀한 오류율 추정이 아니라 소규모 수동 검토의 결과입니다. 또한 평가는 주로 MME, MMBench 등 특정 벤치마크에서 이루어졌고, 데이터 선택 레시피의 효과는 주로 MME 절제 실험에서 확인되었습니다.

## 논문 정보

- **저자**: Bo Zhao, Boya Wu, Muyang He, Tiejun Huang
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2023년 7월 9일
- **등록일**: 2026년 11월 5일
- **수정일**: 2023년 12월 28일
- **버전**: v3
- **arXiv**: 2307.04087
- **분류**: cs.CV
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2307.04087v3) · [원문 PDF ↗](https://arxiv.org/pdf/2307.04087v3)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Thanks to the emerging of foundation models, the large language and vision models are integrated to acquire the multimodal ability of visual captioning, question answering, etc. Although existing multimodal models present impressive performance of visual understanding and reasoning, their limits are still largely under-explored due to the scarcity of high-quality instruction tuning data. To push the limits of multimodal capability, we Scale up Visual Instruction Tuning (SVIT) by constructing a dataset of 4.2 million visual instruction tuning data including 1.6M conversation question-answer (QA) pairs, 1.6M complex reasoning QA pairs, 1.0M referring QA pairs and 106K detailed image descriptions. Besides the volume, the proposed dataset is also featured by the high quality and rich diversity, which is generated by prompting GPT-4 with the abundant manual annotations of images. We also propose a new data recipe to select subset with better diversity and balance, which evokes model's superior capabilities. Extensive experiments verify that SVIT-v1.5, trained on the proposed dataset, outperforms state-of-the-art Multimodal Large Language Models on popular benchmarks. The data and code are publicly available at https://github.com/BAAI-DCAI/Visual-Instruction-Tuning.

## 원문 인용

Bo Zhao, Boya Wu, Muyang He, Tiejun Huang (2023). SVIT: Scaling up Visual Instruction Tuning. arXiv:2307.04087v3. https://arxiv.org/abs/2307.04087v3

**BibTeX**

```
@misc{zhao2023svit,
  title = {{SVIT: Scaling up Visual Instruction Tuning}},
  author = {Bo Zhao and Boya Wu and Muyang He and Tiejun Huang},
  year = {2023},
  eprint = {2307.04087},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.04087v3}
}
```

## 이 논문의 용어

- [LoRA](https://refivu.com/terms/84da7a415b66-low-rank-adaptation-lora)
- [GPT-4](https://refivu.com/terms/1e2d0d2cdc44-gpt-4)
- [MME](https://refivu.com/terms/92bd03138164-mme)
- [Visual Genome](https://refivu.com/terms/278e846f67fc-visual-genome)
- [COCO dataset](https://refivu.com/terms/45f686dd9c34-coco-dataset)
- [Visual Instruction Tuning](https://refivu.com/terms/da1b9f19793f-visual-instruction-tuning)
- [Low-rank Adaption (LoRA)](https://refivu.com/terms/313bf229c5a2-low-rank-adaption-lora)

## 다른 논문 해설

- [From Base to Conversational: Japanese Instruction Dataset and Tuning Large Language Models](https://refivu.com/papers/ffa8664b-48a8-4c40-8ada-74f109a5788e-from-base-to-conversational-japanese-instruction-dataset-and.md)
- [Instructive Decoding: Instruction-Tuned Large Language Models are Self-Refiner from Noisy Instructions](https://refivu.com/papers/ce2548be-2e8d-432a-af4b-76dc526c59bf-instructive-decoding-instruction-tuned-large-language-models.md)
- [InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuning](https://refivu.com/papers/a16f8bfe-f6f1-4e2b-a409-c76d2ed97fc3-instructblip-towards-general-purpose-vision-language-models.md)
- [Benchmarking Large Language Models for News Summarization](https://refivu.com/papers/403ef5da-5a1a-4165-8e2b-85961d56009c-benchmarking-large-language-models-for-news-summarization.md)
- [Instructions as Backdoors: Backdoor Vulnerabilities of Instruction Tuning for Large Language Models](https://refivu.com/papers/9bc85520-313f-4e91-ab77-19afaf5c1290-instructions-as-backdoors-backdoor-vulnerabilities-of.md)
- [Empowering Cross-lingual Abilities of Instruction-tuned Large Language Models by Translation-following demonstrations](https://refivu.com/papers/38fb777d-3594-4edc-8787-3326a16fbe55-empowering-cross-lingual-abilities-of-instruction-tuned.md)
- [Typhoon: Thai Large Language Models](https://refivu.com/papers/c5800be3-0221-4d9c-b244-124eccc2a2e5-typhoon-thai-large-language-models.md)
- [Mixture-of-Experts Meets Instruction Tuning:A Winning Combination for Large Language Models](https://refivu.com/papers/d5c4a8f5-f8ec-46d3-beca-87fab1f92792-mixture-of-experts-meets-instruction-tuning-a-winning.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/ad9a7a15-581e-4784-a9ce-2b92ddc8bcb8-svit-scaling-up-visual-instruction-tuning)
