CoolFace
Datasetpublic

yyyyyyyyy111/MMDocIR_Evaluation_Dataset

Evaluation Datasets Evaluation Set Overview MMDocIR evaluation set includes 313 long documents averaging 65.1 pages, categorized into ten main domains: research reports, administration&industry, tutorials&workshops, academic papers, brochures, financial reports, guidebooks, government documents, laws, and news articles. Different domains feature distinct distributions of multi-modal information. Overall, the modality distribution is: Text (60.4%), Image (18.8%)… See the full description on the dataset page: https://huggingface.co/datasets/yyyyyyyyy111/MMDocIR_Evaluation_Dataset.

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes56downloads
Dataset Card

Evaluation Datasets

Evaluation Set Overview

MMDocIR evaluation set includes 313 long documents averaging 65.1 pages, categorized into ten main domains: research reports, administration&industry, tutorials&workshops, academic papers, brochures, financial reports, guidebooks, government documents, laws, and news articles. Different domains feature distinct distributions of multi-modal information. Overall, the modality distribution is: Text (60.4%), Image (18.8%), Table (16.7%), and other modalities (4.1%).

MMDocIR evluation set encompasses 1,658 questions, 2,107 page labels, and 2,638 layout labels. The modalities required to answer these questions distribute across four categories: Text (44.7%), Image (21.7%), Table (37.4%), and Layout/Meta (11.5%). The ``Layout/Meta'' category encompasses questions related to layout information and meta-data statistics. Notably, the dataset poses several challenges: 254 questions necessitate cross-modal understanding, 313 questions demand evidence across multiple pages, and 637 questions require reasoning based on multiple layouts. These complexities highlight the need for advanced multi-modal reasoning and contextual understanding.

Dataset Format

1. Overall Annotation

`MMDocIR_annotations.jsonl` contains 313 json lines, each for the annotations corresponding to a long document.

NameTypeDescription
doc_namestringdocument name
domainstringdocument's domain or category
page_indiceslist[]start/end row index (not passage id) in `MMDocIR_pages.parquet`
layout_indinceslist[]start/end row index (not layout id) in `MMDocIR_layouts.parquet`
questionslist[]list of QA items with page_id, type, layout_mapping

Each QA item consists of :

NameTypeDescription
Qstringquestions
Astringanswer
typestringthe modality type of the question
page_idlist[]the list of page ids for ground truth evidence
layout_mappinglist[]list of layout labels with page, page_size, bbox

Each layout item consists of:

NameTypeDescription
pageintthe page id of current layout label
page_sizelist[]page size as [width, height]
bboxlist[]bounding box coordinates: [x1,y1,x2,y2]

2. MMDocIR Pages related data

`MMDocIR_pages.parquet` contains 20,395 document page screenshots from 313 documents. The parquet file is formatted as:

NameTypeDescription
doc_namestringdocument name
domainstringdocument's domain or category
passage_idstringidentifier for a page id
image_pathstringfile path to the page screenshot
image_binarybinaryJPEG image in binary data
ocr_textstringtext extracted via OCR
vlm_textstringtext from Vision-Language Model

3. MMDocIR Layouts related data

`MMDocIR_layouts.parquet` contains 170,338 document layouts from 313 documents. The parquet file is formatted as:

NameTypeDescription
doc_namestringdocument name
domainstringdocument's domain or category
typestringlayout type
layout_idintidentifier for the layout id
page_idintpage identifier of this layout
image_pathstringfile path to the layout image cropped from page screenshot
image_binarybinaryJPEG image in binary data
textstringtext content (only applicable to text and equation layouts)
ocr_textstringtext extracted via OCR (only applicable to figure and table layouts)
vlm_textstringtext from VLM (only applicable to figure and table layouts)
bboxlist[]bounding box coordinates: [x1,y1,x2,y2]
page_sizelist[]page size as [width, height]

Miscellaneous Document Files

The miscellaneous document-related files can be found in: `doc_miscellaneous`. They are not required in MMDocIR inference and encoding. But, it can be helpful to facilitate the understanding and customizations on MMDocIR.

1. MMDocIR Original PDF files

Documents are mainly collected from [DocBench](https://github.com/Anni-Zou/DocBench) and [MMLongBench-Doc](https://github.com/mayubo2333/MMLongBench-Doc). We process/filter/fix these files to get the final 313 documents as in `doc_pdfs.rar`.

2. MMDocIR Page-related files

  • —`page_content.rar` contains 313 files, each comprising the page-level content in json-line format:
NameTypeDescription
pageintegerpage identifier of this page
image_pathstringthe image path of the page screenshot, mapped to `page_images.rar`
ocr_textstringconcatenated text of all layouts of this page. The text of table/figure layouts are OCR-text
vlm_textstringconcatenated text of all layouts of this page. The text of table/figure layouts are VLM-text

3. MMDocIR Layout-related files

  • —layout_images.rar contains 14,826 layout (table/figure) images cropped from page screenshots, in JPEG format.
  • —layout_text_images.rar contains 155,512 layout (text/equation) images cropped from page screenshots, in JPEG format.
  • —layout_content.rar contains 313 files, each comprising the layout-level content in json-line format:
NameTypeDescription
layoutintegerlayout identifier of this layout
page_idxintegerpage identifier of this layout
img_pathstringimage path of layout image, mapped to either layout_images.rar or layout_text_images.rar
textstringfor text/equation layouts only, raw text extracted using OCR tools
ocr_textstringfor table/figure layouts only, raw text extracted using OCR tools
vlm_textstringfor table/figure layouts only, text description using VLM
bboxlist[]bounding box coordinates: [x1,y1,x2,y2]
page_sizelist[]page size as [width, height]

Citation Information

If you use this dataset in your research, please cite the original dataset as follows:

@misc{dong2025mmdocirbenchmarkingmultimodalretrieval,
      title={MMDocIR: Benchmarking Multi-Modal Retrieval for Long Documents}, 
      author={Kuicai Dong and Yujing Chang and Xin Deik Goh and Dexun Li and Ruiming Tang and Yong Liu},
      year={2025},
      eprint={2501.08828},
      archivePrefix={arXiv},
      primaryClass={cs.IR},
      url={https://arxiv.org/abs/2501.08828}, 
}