Skip to content

Chatbot Arena meets multi-modality! Multi-Modality Arena allows you to benchmark vision-language models side-by-side while providing images as inputs. Supports MiniGPT-4, LLaMA-Adapter V2, LLaVA, BLIP-2, and many more!

Notifications You must be signed in to change notification settings

OpenGVLab/Multi-Modality-Arena

Repository files navigation

Multi-Modality Arena πŸš€

Multi-Modality Arena is an evaluation platform for large multi-modality models. Following Fastchat, two anonymous models side-by-side are compared on a visual question-answering task. We release the Demo and welcome the participation of everyone in this evaluation initiative.

βš”οΈ LVLM Arena arXiv arXiv GitHub StarsπŸ”₯πŸ”₯πŸ”₯

Holistic Evaluation of Large Multimodal Models

OmniMedVQA: A New Large-Scale Comprehensive Evaluation Benchmark for Medical LVLM

  • OmniMedVQA dataset: contains 118,010 images with 127,995 QA-items, covering 12 different modalities and referring to more than 20 human anatomical regions. Dataset could be download from Here.
  • 12 models: 8 general-domain LVLMs and 4 medical-specialized LVLMs.

Tiny LVLM-eHub: Early Multimodal Experiments with Bard

  • Tiny datasets: only 50 randomly selected sampels for each dataset, i.e., 42 text-related visual benchmarks and 2.1K samples in total for ease of use.
  • More models: another 4 models, i.e., 12 models in total, including Google Bard.
  • ChatGPT Ensemble Evalution: improved agreement with human evaluation than previous word matching approach.

LVLM-eHub: An Evaluation Benchmark for Large Vision-Language Models πŸš€

LVLM-eHub is a comprehensive evaluation benchmark for publicly available large multimodal models (LVLM). It extensively evaluates $8$ LVLMs in terms of $6$ categories of multimodal capabilities with $47$ datasets and $1$ arena online platform.

LVLM Leaderboard

The LVLM Leaderboard systematically categorizes the datasets featured in the Tiny LVLM Evaluation according to their specific targeted abilities including visual perception, visual reasoning, visual commonsense, visual knowledge acquisition, and object hallucination. This leaderboard includes recently released models to bolster its comprehensiveness.

You can download the benchmark from here, and more details can be found in here.

Rank Model Version Score
πŸ…οΈ InternVL InternVL-Chat 327.61
πŸ₯ˆ InternLM-XComposer-VL InternLM-XComposer-VL-7B 322.51
πŸ₯‰ Bard Bard 319.59
4 Qwen-VL-Chat Qwen-VL-Chat 316.81
5 LLaVA-1.5 Vicuna-7B 307.17
6 InstructBLIP Vicuna-7B 300.64
7 InternLM-XComposer InternLM-XComposer-7B 288.89
8 BLIP2 FlanT5xl 284.72
9 BLIVA Vicuna-7B 284.17
10 Lynx Vicuna-7B 279.24
11 Cheetah Vicuna-7B 258.91
12 LLaMA-Adapter-v2 LLaMA-7B 229.16
13 VPGTrans Vicuna-7B 218.91
14 Otter-Image Otter-9B-LA-InContext 216.43
15 VisualGLM-6B VisualGLM-6B 211.98
16 mPLUG-Owl LLaMA-7B 209.40
17 LLaVA Vicuna-7B 200.93
18 MiniGPT-4 Vicuna-7B 192.62
19 Otter Otter-9B 180.87
20 OFv2_4BI RedPajama-INCITE-Instruct-3B-v1 176.37
21 PandaGPT Vicuna-7B 174.25
22 LaVIN LLaMA-7B 97.51
23 MIC FlanT5xl 94.09

Update

  • πŸ”₯ Mar. 31, 2024. We release OmniMedVQA, a large-scale comprehensive evaluation benchmark for medical LVLMs. Meanwhile, we 8 general-domain LVLMs and 4 medical-specialized LVLMs. For more details, please visit the MedicalEval.
  • πŸ”₯ Oct. 16, 2023. We present an ability-level dataset split derived from the LVLM-eHub, complemented by the inclusion of eight recently released models. For access to the dataset splits, evaluation code, model inference results, and comprehensive performance tables, please visit the tiny_lvlm_evaluation βœ….
  • Aug. 8, 2023. We released [Tiny LVLM-eHub]. Evaluation source codes and model inference results are open-sourced under tiny_lvlm_evaluation.
  • Jun. 15, 2023. We release [LVLM-eHub], an evaluation benchmark for large vision-language models. The code is coming soon.
  • Jun. 8, 2023. Thanks, Dr. Zhang, the author of VPGTrans, for his corrections. The authors of VPGTrans mainly come from NUS and Tsinghua University. We previously had some minor issues when re-implementing VPGTrans, but we found that its performance is actually better. For more model authors, please contact me for discussion at the Email. Also, please follow our model ranking list, where more accurate results will be available.
  • May. 22, 2023. Thanks, Dr. Ye, the author of mPLUG-Owl, for his corrections. We fix some minor issues in our implementation of mPLIG-Owl.

Supported Multi-modality Models

The following models are involving in randomized battles currently,

More details about these models can be found at ./model_detail/.model.jpg. We will try to schedule computing resources to host more multi-modality models in the arena.

Contact US at Wechat

If you are interested in any pieces of our VLarena platform, feel free to join the Wechat group.

Installation

  1. Create conda environment
conda create -n arena python=3.10
conda activate arena
  1. Install Packages required to run the controller and server
pip install numpy gradio uvicorn fastapi
  1. Then for each model, they may require conflicting versions of python packages, we recommend creating a specific environment for each model based on their GitHub repo.

Launch a Demo

To serve using the web UI, you need three main components: web servers that interface with users, model workers that host two or more models, and a controller to coordinate the webserver and model workers.

Here are the commands to follow in your terminal:

Launch the controller

python controller.py

This controller manages the distributed workers.

Launch the model worker(s)

python model_worker.py --model-name SELECTED_MODEL --device TARGET_DEVICE

Wait until the process finishes loading the model and you see "Uvicorn running on ...". The model worker will register itself to the controller. For each model worker, you need to specify the model and the device you want to use.

Launch the Gradio web server

python server_demo.py

This is the user interface that users will interact with.

By following these steps, you will be able to serve your models using the web UI. You can open your browser and chat with a model now. If the models do not show up, try to reboot the gradio web server.

Contribution Guidelines

We deeply value all contributions aimed at enhancing the quality of our evaluations. This section comprises two key segments: Contributions to LVLM Evaluation and Contributions to LVLM Arena.

Contributing to LVLM Evaluation

You can access the most recent version of our evaluation code in the LVLM_evaluation folder. This directory encompasses a comprehensive set of evaluation code, accompanied by the necessary datasets. If you're enthusiastic about partaking in the evaluation process, please don't hesitate to share your evaluation outcomes or the model inference API with us via email at xupeng@pjlab.org.cn.

Contributions to LVLM Arena

We extend our gratitude for your interest in integrating your model into our LVLM Arena! Should you wish to incorporate your model into our Arena, kindly prepare a model tester structured as follows:

class ModelTester:
    def __init__(self, device=None) -> None:
        # TODO: initialization of model and required pre processors
    
    def move_to_device(self, device) -> None:
        # TODO: this function is used to transfer the model between CPU and GPU (optional)
    
    def generate(self, image, question) -> str:
       # TODO: model inference code 

Furthermore, we are open to online model inference links, such as those provided by platforms like Gradio. Your contributions are wholeheartedly appreciated.

Acknowledgement

We express our gratitude to the esteemed team at ChatBot Arena and their paper Judging LLM-as-a-judge for their influential work, which served as inspiration for our LVLM evaluation endeavors. We would also like to extend our sincere appreciation to the providers of LVLMs, whose valuable contributions have significantly contributed to the progress and advancement of large vision-language models. Finally, we thank the providers of datasets used in our LVLM-eHub.

Term of Use

The project is an experimental research tool for non-commercial purposes only. It has limited safeguards and may generate inappropriate content. It cannot be used for anything illegal, harmful, violent, racist, or sexual.

About

Chatbot Arena meets multi-modality! Multi-Modality Arena allows you to benchmark vision-language models side-by-side while providing images as inputs. Supports MiniGPT-4, LLaMA-Adapter V2, LLaVA, BLIP-2, and many more!

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages