M4U-Benchmark/M4U

Code for the Paper M4U: Evaluating Multilingual Understanding and Reasoning for Large Multimodal Models.

Python

9

8 commits

updated Mar 11, 2025

See the code

README

M4U: Evaluating Multilingual Understanding and Reasoning for Large Multimodal Models

Multilingual Multi-Modal GPT-4o GPT-4 GPT-4V Gemini

Code for the Paper M4U: Evaluating Multilingual Understanding and Reasoning for Large Multimodal Models.

[Webpage] [Paper] [Huggingface Dataset] [Leaderboard]


M4U: Evaluating Multilingual Understanding and Reasoning for Large Multimodal Models

Outlines

๐Ÿ’ฅ News ๐Ÿ’ฅ

  • [2024.08.16] M4U-mini is public aviailable, which is our first step to extend M4U for more languages. M4U-mini is a tiny subset (5%) of M4U with the support for Japanese, Arabic and Thai.
  • [2024.05.23] Our paper and dataset are public aviailable.

๐Ÿ‘€ About M4U


Multilingual multimodal reasoning is a core component to achieve human-level intelligence. However, most of the existing benchmarks for multilingual multimodal reasoning struggle to differentiate between models of varying performance: even language models that don't have visual capabilities can easily achieve high scores. This leaves a comprehensive evaluation for the leading multilingual multimodal models largely unexplored.


The detailed statistics of M4U dataset.

In this work, we introduce M4U, a novel and challenging benchmark for assessing the capability of multi-discipline multilingual multimodal understanding and reasoning. M4U contains 10005 samples covering 64 disciplines of 16 subfields from Science, Engineering and Healthcare.


With M4U, we conduct extensive evaluations for 22 leading LMMs and 4 LLMs with external tools. The evaluation results show that the state-of-the-art model, GPT-4o, only achieves 47.6% average accuracy on M4U. Besides, we observe that the leading LMMs have significant language preferences.


Our in-depth analysis shows that the leading LMMs, including GPT-4o, suffer from the performance degradation when they are prompted with cross-lingual multimodal questions, e.g., the images have key textual information in Chinese, while the question is in English or German.


We further analyze the impact of different types of visual content and image positions. The experimental results show that GPT-4o significantly outperforms the other models in medical images, and LLaVA-NeXT has difficulty answering questions where images are included in the options.

๐Ÿ† Leaderboard ๐Ÿ†

Contributing the Leaderboard

๐Ÿšจ๐Ÿšจ The leaderboard is continuously being updated.

If you want to upload your model's results to the Leaderboard, please send an email to Hongyu Wang and Ruiping Wang.

The evaluation instructions are available at ๐Ÿ”ฎ Evaluations on M4U.

Leaderboard on M4U

#ModelMethodSourceEnglishChineseGermanAverage
1GPT-4oLMMgpt-4o47.849.445.647.6
2GPT-4V + CoTLMMgpt-4-vision-preview43.643.940.342.6
3GPT-4VLMMgpt-4-vision-preview39.439.737.338.8
4LLaVA-NeXT 34BLMMLINK36.238.535.236.6
5Gemini 1.0 Pro + CoTLMMgemini-pro-vision34.234.433.934.2
6Gemini 1.0 ProLMMgemini-pro32.734.930.832.8
6Qwen-1.5 14B Chat(+Caption)ToolLINK32.032.733.832.8
8Yi-VL 34BLMMLINK33.333.530.532.4
9Yi-VL 6BLMMLINK31.433.429.731.5
10DeepSeek VL ChatLMMLINK32.830.430.831.3
11Qwen-1.5 7B Chat(+Caption)ToolLINK27.734.231.731.2
11Gemini 1.0 Pro(+Caption)Toolgemini-pro31.131.633.831.2
13InternLM-XComposer VLLMMLINK31.631.830.930.8
14LLaVA-NeXT Mistral-7BLMMLINK30.628.229.429.4
15CogVLM ChatLMMLINK30.228.928.529.2
16Qwen-VL ChatLMMLINK29.929.727.128.9
17LLaVA-NeXT Vicuna-13BLMMLINK30.921.929.327.4
18Mistral-Instruct-7B v0.2(+Caption)ToolLINK24.924.926.925.6
19LLaVA-NeXT Vicuna-7BLMMLINK29.811.828.223.3
20InstructBLIP Vicuna-7BLMMLINK28.113.719.720.5
21InstructBLIP Vicuna-13BLMMLINK23.410.518.617.5
22YingVLMLMMLINK11.222.315.616.4
23VisualGLMLMMLINK22.48.713.514.9

Leaderboard on M4U-mini

#ModelMethodSourceEnglishChineseGermanJapaneseArabicThaiAverage
1GPT-4oLMMgpt-4o44.953.742.449.145.248.847.3
2InternVL2.5-26BLMMLINK44.251.348.146.437.647.344.2
3Qwen2-VL-7B-InstructLMMLINK43.546.644.147.641.541.444.1
4Gemini-1.5-FlashLMMgemini-1.5-flash35.446.342.839.038.440.140.3
5InternVL2.5-8BLMMLINK41.738.538.336.131.431.736.3
6LLaVA-NeXT-34BLMMLINK44.144.239.036.011.434.034.8
7Phi-3.5-Vision-InstructLMMLINK34.327.233.430.431.730.931.3
8DeepSeek-VL-ChatLMMLINK35.433.635.032.124.825.431.0
  • Method types
    • LMM : Large Multimodal Model
    • Tool : Tool-augmented Large Language Model. The captions are generated by Gemini 1.0 Pro.

๐Ÿ“– Dataset Usage

Examples

An example from the Chemistry-Inorganic of M4U dataset:


Format

The dataset is in json format. We provide the detailed attributes as follows:

{
    "question": [string] The question text,
    "image_files": [list] The images stored in bytes
    "image_caption": [list] The image caption generated by Gemini Pro 1.0
    "image_type": [list] The category of the images
    "options": [list] Choices for multiple-choice problems.
    "answer": [string] The correct answer for the problem,
    "answer_index": [integer] The correct answer index of the options for the problem,
    "language": [string] Question language: "en", "zh", or "de",
    "discipline": [string] The discipline of the problem: "Geophysics" or "Optical",
    "subfield": [string] The subfield of the problem: "Math" or "Geography"
    "field": [string] The field of the problem: "science", "engineering" or "healthcare"
    "cross_lingual": [bool] Whether the visual content of the problem has the key information or concepts
}

Download

First, make sure that you have successfully setup:

pip install datasets

Then you can easily download this dataset from Huggingface.

from datasets import load_dataset

dataset = load_dataset("M4U-Benchmark/M4U")

Here are some examples of how to access the downloaded dataset:

# print the first example on the science_en split
print(dataset["science_en"][0])
print(dataset["science_en"][0]['question']) # print the question 
print(dataset["science_en"][0]['options']) # print the options
print(dataset["science_en"][0]['answer']) # print the answer

๐Ÿ”ฎ Evaluations on M4U

We provide the evaluation pipelines for the open-source LLaVA and closed-source model GPT-4o, respectively. The pipeline is very simple and easy to use.

Evaluating LLaVA

First you should follow the instructions to clone the LLaVA repository and install the Python dependencies.

git clone https://github.com/haotian-liu/LLaVA.git
pip install -e LLaVA/

Generate the response of LLaVA-NeXT 34B:

python evaluate_llava.py\
  --model liuhaotian/llava-v1.6-34b \
  --conv_mode chatml_direct \
  --field all \
  --lang all \
  --result_folder ./llava_next_34b

Calculate the final scores:

python calculate_scores.py \
  --field all \
  --lang all \
  --result_folder ./llava_next_34b

Evaluating OpenAI Models

Replace "/your/api/key" in evaluate_gpt4o.py with your personal key. Then generate the response of GPT-4o:

python evaluate_gpt4o.py \
  --model gpt-4o \
  --field all \
  --lang all \
  --result_folder ./result/M4U/gpt4o

Calculate the final scores:

python calculate_scores.py \
  --field all \
  --lang all \
  --result_folder ./result/M4U/gpt4o

๐Ÿ“Š Statistics

We depict some critical statistical results on this section, including detailed statistics of GPT-4o's performance on different discipline and language, and visualization of image quality. These detailed statistics will also help understanding and further analysis for M4U.

GPT-4o's Performance on Different Discipline

To further analyze performance of MLLMs on different disciplines, we provided statistics of GPT-4o's performance on 64 different disciplines in M4U. These three figures shown results of GPT-4o on Chinese, English, and German. Disciplines on these images are shown in corresponding language.




Resolution of Images in M4U

We visualized the distribution of diagonal pixels in the images for M4U. The median of diagonal pixels is 551, and the average is 616. The distribution is shown below.


โœ… Cite

If you find M4U useful for your research and applications, please kindly cite using this BibTeX:

@article{wang2024m4u,
  title={M4U: Evaluating Multilingual Understanding and Reasoning for Large Multimodal Models},
  author={Hongyu Wang and Jiayu Xu and Senwei Xie and Ruiping Wang and Jialin Li and Zhaojie Xie and Bin Zhang and Chuyan Xiong and Xilin Chen},
  month={May},
  year={2024}
}

๐Ÿง  Acknowledgments

Some implementations in M4U are either adapted from or inspired by the MMMU repository and the MathVista repository.

M4U-Benchmark/M4U

Code for the Paper M4U: Evaluating Multilingual Understanding and Reasoning for Large Multimodal Models.

Python

9

8 commits

updated Mar 11, 2025

See the code

README

M4U: Evaluating Multilingual Understanding and Reasoning for Large Multimodal Models

Multilingual Multi-Modal GPT-4o GPT-4 GPT-4V Gemini

Code for the Paper M4U: Evaluating Multilingual Understanding and Reasoning for Large Multimodal Models.

[Webpage] [Paper] [Huggingface Dataset] [Leaderboard]


M4U: Evaluating Multilingual Understanding and Reasoning for Large Multimodal Models

Outlines

๐Ÿ’ฅ News ๐Ÿ’ฅ

  • [2024.08.16] M4U-mini is public aviailable, which is our first step to extend M4U for more languages. M4U-mini is a tiny subset (5%) of M4U with the support for Japanese, Arabic and Thai.
  • [2024.05.23] Our paper and dataset are public aviailable.

๐Ÿ‘€ About M4U


Multilingual multimodal reasoning is a core component to achieve human-level intelligence. However, most of the existing benchmarks for multilingual multimodal reasoning struggle to differentiate between models of varying performance: even language models that don't have visual capabilities can easily achieve high scores. This leaves a comprehensive evaluation for the leading multilingual multimodal models largely unexplored.


The detailed statistics of M4U dataset.

In this work, we introduce M4U, a novel and challenging benchmark for assessing the capability of multi-discipline multilingual multimodal understanding and reasoning. M4U contains 10005 samples covering 64 disciplines of 16 subfields from Science, Engineering and Healthcare.


With M4U, we conduct extensive evaluations for 22 leading LMMs and 4 LLMs with external tools. The evaluation results show that the state-of-the-art model, GPT-4o, only achieves 47.6% average accuracy on M4U. Besides, we observe that the leading LMMs have significant language preferences.


Our in-depth analysis shows that the leading LMMs, including GPT-4o, suffer from the performance degradation when they are prompted with cross-lingual multimodal questions, e.g., the images have key textual information in Chinese, while the question is in English or German.


We further analyze the impact of different types of visual content and image positions. The experimental results show that GPT-4o significantly outperforms the other models in medical images, and LLaVA-NeXT has difficulty answering questions where images are included in the options.

๐Ÿ† Leaderboard ๐Ÿ†

Contributing the Leaderboard

๐Ÿšจ๐Ÿšจ The leaderboard is continuously being updated.

If you want to upload your model's results to the Leaderboard, please send an email to Hongyu Wang and Ruiping Wang.

The evaluation instructions are available at ๐Ÿ”ฎ Evaluations on M4U.

Leaderboard on M4U

#ModelMethodSourceEnglishChineseGermanAverage
1GPT-4oLMMgpt-4o47.849.445.647.6
2GPT-4V + CoTLMMgpt-4-vision-preview43.643.940.342.6
3GPT-4VLMMgpt-4-vision-preview39.439.737.338.8
4LLaVA-NeXT 34BLMMLINK36.238.535.236.6
5Gemini 1.0 Pro + CoTLMMgemini-pro-vision34.234.433.934.2
6Gemini 1.0 ProLMMgemini-pro32.734.930.832.8
6Qwen-1.5 14B Chat(+Caption)ToolLINK32.032.733.832.8
8Yi-VL 34BLMMLINK33.333.530.532.4
9Yi-VL 6BLMMLINK31.433.429.731.5
10DeepSeek VL ChatLMMLINK32.830.430.831.3
11Qwen-1.5 7B Chat(+Caption)ToolLINK27.734.231.731.2
11Gemini 1.0 Pro(+Caption)Toolgemini-pro31.131.633.831.2
13InternLM-XComposer VLLMMLINK31.631.830.930.8
14LLaVA-NeXT Mistral-7BLMMLINK30.628.229.429.4
15CogVLM ChatLMMLINK30.228.928.529.2
16Qwen-VL ChatLMMLINK29.929.727.128.9
17LLaVA-NeXT Vicuna-13BLMMLINK30.921.929.327.4
18Mistral-Instruct-7B v0.2(+Caption)ToolLINK24.924.926.925.6
19LLaVA-NeXT Vicuna-7BLMMLINK29.811.828.223.3
20InstructBLIP Vicuna-7BLMMLINK28.113.719.720.5
21InstructBLIP Vicuna-13BLMMLINK23.410.518.617.5
22YingVLMLMMLINK11.222.315.616.4
23VisualGLMLMMLINK22.48.713.514.9

Leaderboard on M4U-mini

#ModelMethodSourceEnglishChineseGermanJapaneseArabicThaiAverage
1GPT-4oLMMgpt-4o44.953.742.449.145.248.847.3
2InternVL2.5-26BLMMLINK44.251.348.146.437.647.344.2
3Qwen2-VL-7B-InstructLMMLINK43.546.644.147.641.541.444.1
4Gemini-1.5-FlashLMMgemini-1.5-flash35.446.342.839.038.440.140.3
5InternVL2.5-8BLMMLINK41.738.538.336.131.431.736.3
6LLaVA-NeXT-34BLMMLINK44.144.239.036.011.434.034.8
7Phi-3.5-Vision-InstructLMMLINK34.327.233.430.431.730.931.3
8DeepSeek-VL-ChatLMMLINK35.433.635.032.124.825.431.0
  • Method types
    • LMM : Large Multimodal Model
    • Tool : Tool-augmented Large Language Model. The captions are generated by Gemini 1.0 Pro.

๐Ÿ“– Dataset Usage

Examples

An example from the Chemistry-Inorganic of M4U dataset:


Format

The dataset is in json format. We provide the detailed attributes as follows:

{
    "question": [string] The question text,
    "image_files": [list] The images stored in bytes
    "image_caption": [list] The image caption generated by Gemini Pro 1.0
    "image_type": [list] The category of the images
    "options": [list] Choices for multiple-choice problems.
    "answer": [string] The correct answer for the problem,
    "answer_index": [integer] The correct answer index of the options for the problem,
    "language": [string] Question language: "en", "zh", or "de",
    "discipline": [string] The discipline of the problem: "Geophysics" or "Optical",
    "subfield": [string] The subfield of the problem: "Math" or "Geography"
    "field": [string] The field of the problem: "science", "engineering" or "healthcare"
    "cross_lingual": [bool] Whether the visual content of the problem has the key information or concepts
}

Download

First, make sure that you have successfully setup:

pip install datasets

Then you can easily download this dataset from Huggingface.

from datasets import load_dataset

dataset = load_dataset("M4U-Benchmark/M4U")

Here are some examples of how to access the downloaded dataset:

# print the first example on the science_en split
print(dataset["science_en"][0])
print(dataset["science_en"][0]['question']) # print the question 
print(dataset["science_en"][0]['options']) # print the options
print(dataset["science_en"][0]['answer']) # print the answer

๐Ÿ”ฎ Evaluations on M4U

We provide the evaluation pipelines for the open-source LLaVA and closed-source model GPT-4o, respectively. The pipeline is very simple and easy to use.

Evaluating LLaVA

First you should follow the instructions to clone the LLaVA repository and install the Python dependencies.

git clone https://github.com/haotian-liu/LLaVA.git
pip install -e LLaVA/

Generate the response of LLaVA-NeXT 34B:

python evaluate_llava.py\
  --model liuhaotian/llava-v1.6-34b \
  --conv_mode chatml_direct \
  --field all \
  --lang all \
  --result_folder ./llava_next_34b

Calculate the final scores:

python calculate_scores.py \
  --field all \
  --lang all \
  --result_folder ./llava_next_34b

Evaluating OpenAI Models

Replace "/your/api/key" in evaluate_gpt4o.py with your personal key. Then generate the response of GPT-4o:

python evaluate_gpt4o.py \
  --model gpt-4o \
  --field all \
  --lang all \
  --result_folder ./result/M4U/gpt4o

Calculate the final scores:

python calculate_scores.py \
  --field all \
  --lang all \
  --result_folder ./result/M4U/gpt4o

๐Ÿ“Š Statistics

We depict some critical statistical results on this section, including detailed statistics of GPT-4o's performance on different discipline and language, and visualization of image quality. These detailed statistics will also help understanding and further analysis for M4U.

GPT-4o's Performance on Different Discipline

To further analyze performance of MLLMs on different disciplines, we provided statistics of GPT-4o's performance on 64 different disciplines in M4U. These three figures shown results of GPT-4o on Chinese, English, and German. Disciplines on these images are shown in corresponding language.




Resolution of Images in M4U

We visualized the distribution of diagonal pixels in the images for M4U. The median of diagonal pixels is 551, and the average is 616. The distribution is shown below.


โœ… Cite

If you find M4U useful for your research and applications, please kindly cite using this BibTeX:

@article{wang2024m4u,
  title={M4U: Evaluating Multilingual Understanding and Reasoning for Large Multimodal Models},
  author={Hongyu Wang and Jiayu Xu and Senwei Xie and Ruiping Wang and Jialin Li and Zhaojie Xie and Bin Zhang and Chuyan Xiong and Xilin Chen},
  month={May},
  year={2024}
}

๐Ÿง  Acknowledgments

Some implementations in M4U are either adapted from or inspired by the MMMU repository and the MathVista repository.