Skip to content

Latest commit

 

History

32 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automatic Data Scaling on MLLMs

Official Implementation of the paper: Towards Robust Instruction Tuning on Multimodal Large Language Models

Introduction

InstrAug is a framework for instruction augmentation. It can expand extant small instruction set to up to 30x larger. The whole pipeline of InstrAug includes (as illustrated in the figure below):

  1. Meta-prompt Generation
  2. Augmented Instruction Generation and Rule-based Filtering
    • Multi-temp sampling ($\rm MIns+_{\rm MT}$)
    • Iterative rephrasing ($\rm MIns+_{\rm Iter}$)
  3. Instruction-following Dataset Construction



We apply InstrAug to Multimodal Instruction Fine-tuning (MIFT) benchmarks and test on 12 downstream tasks from MultiInstruct and InstrutBLIP-Bench and the whole MMMU benchmark. The results show that the model's capability on instruction-augmented dataset (59K) is competitive to or even exceeds non-augmented but larger datasets (564K).

Repo Hierarchy

The file structure in this repository is as below, we only show important folders/files

.
├── IBLIP                   # SFT and evaluation code on Instruct-BLIP
├── OFA                     # SFT and evaluation code on OFA
└── MultiInstruct           # Code to create MINS+
    ├──llama                # Code to generate augmented instructions using LLaMA
    ├──mminstr_dataset      # folder to store MINS and MINS+ dataset 
    └──instruction_data     # folder to store original and generated instruction set 
├── LICENSE
└── README.md

Usage

Please refer to the README.md under individual folder for more details.

Results

1. Results on MultiInstruct



2. Results on IBLIP-Bench



3. Results on MMMU



Citation

Please cite our paper if you find this work useful for your research and applications

@misc{han2024robust,
      title={Towards Robust Instruction Tuning on Multimodal Large Language Models}, 
      author={Wei Han and Hui Chen and Soujanya Poria},
      year={2024},
      eprint={2402.14492},
      archivePrefix={arXiv},
}

About

[Arxiv 2024] Official Implementation of the paper: "Towards Robust Instruction Tuning on Multimodal Large Language Models"

Topics

Resources

Stars

9 stars

Watchers

2 watching

Forks

Packages

Used by

Contributors

Languages