M4-RAG / README.md
davidanugraha's picture
Change license
1983516 verified
metadata
license: cc-by-sa-4.0
task_categories:
  - text-retrieval
  - image-text-to-text
configs:
  - config_name: cvqa
    data_files:
      - split: train
        path: cvqa/train-*
  - config_name: worldcuisines
    data_files:
      - split: train
        path: worldcuisines/train-*
dataset_info:
  - config_name: cvqa
    features:
      - name: id
        dtype: string
      - name: pageid
        dtype: int64
      - name: title
        dtype: string
      - name: url
        dtype: string
      - name: content
        sequence:
          - name: heading
            dtype: string
          - name: content
            sequence: string
          - name: images
            sequence: string
          - name: access_time
            dtype: string
    splits:
      - name: train
        num_bytes: 3401643324
        num_examples: 306794
    download_size: 1855502110
    dataset_size: 3401643324
  - config_name: worldcuisines
    features:
      - name: id
        dtype: string
      - name: pageid
        dtype: int64
      - name: title
        dtype: string
      - name: url
        dtype: string
      - name: content
        sequence:
          - name: heading
            dtype: string
          - name: content
            sequence: string
          - name: images
            sequence: string
          - name: access_time
            dtype: string
    splits:
      - name: train
        num_bytes: 1861309171
        num_examples: 223468
    download_size: 1014718726
    dataset_size: 1861309171

M4-RAG: A Massive-Scale Multilingual Multi-Cultural Multimodal RAG

Paper | Code

M4-RAG is a massive-scale benchmark spanning 42 languages, 56 regional dialects and registers, and 189 countries, comprising over 80,000 culturally diverse image-question pairs for evaluating retrieval-augmented Visual Question Answering (VQA) across languages and modalities.

This repository specifically contains the Wikipedia Retrieval Corpus, a controlled retrieval environment containing millions of carefully curated multilingual documents relevant to the query domains.

Dataset Structure

The dataset consists of two configurations:

  • cvqa: Wikipedia articles relevant to the Culturally-Aware Visual Question Answering domain.
  • worldcuisines: Wikipedia articles relevant to the food-related visual question answering domain.

Sample Usage

You can load the retrieval corpus using the Hugging Face datasets library:

from datasets import load_dataset

# Load the CVQA Wikipedia retrieval corpus
cvqa_corpus = load_dataset("davidanugraha/M4-RAG", "cvqa", split="train")

# Load the WorldCuisines Wikipedia retrieval corpus
worldcuisines_corpus = load_dataset("davidanugraha/M4-RAG", "worldcuisines", split="train")

Related Datasets

Citation

If you use M4-RAG in your research, please cite:

@article{anugraha2025m4rag,
  title={M4-RAG: A Massive-Scale Multilingual Multi-Cultural Multimodal RAG},
  author={Anugraha, David and Irawan, Patrick Amadeus and Singh, Anshul and Lee, En-Shiun Annie and Winata, Genta Indra},
  journal={arXiv preprint arXiv:2512.05959},
  year={2025},
  url={https://arxiv.org/abs/2512.05959}
}