ASTERISM-Train / README.md
seul77's picture
Update dataset card
8cfec92 verified
|
Raw History Blame Contribute Delete
19.2 kB
metadata
license: other
license_name: per-source-licenses
license_link: https://huggingface.co/datasets/seul77/ASTERISM-Train/blob/main/README.md
pretty_name: ASTERISM-Train
language:
  - en
task_categories:
  - visual-question-answering
  - image-text-to-text
  - multiple-choice
tags:
  - multi-image
  - reinforcement-learning
size_categories:
  - 10K<n<100K
dataset_info:
  features:
    - name: id
      dtype: string
    - name: group
      dtype: string
    - name: source
      dtype: string
    - name: source_id
      dtype: string
    - name: images
      sequence: string
    - name: num_images
      dtype: int64
    - name: prompt
      dtype: string
    - name: options
      struct:
        - name: A
          dtype: string
        - name: B
          dtype: string
        - name: C
          dtype: string
        - name: D
          dtype: string
        - name: E
          dtype: string
        - name: F
          dtype: string
    - name: answer
      dtype: string
    - name: answer_format
      dtype: string
    - name: release
      dtype: string
    - name: license
      dtype: string
    - name: build
      dtype: string
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/asterism_train.jsonl

ASTERISM-Train

ASTERISM-Train holds 49,105 multi-image training items with verifiable closed-form answers from 48 sources. It takes 26,443 items from the training splits of ten public datasets and 9,570 items from multi-image instruction collections, and it adds 13,092 synthetic items. Items whose images are near-duplicates of ASTERISM images are removed. Every item has two or more images.

ASTERISM-Train accompanies the paper "ASTERISM: Do Multimodal LLMs Actually Look at All the Images?". ASTERISM is the benchmark for evaluating MLLMs, and ASTERISM-Train is the set for training them.

Quick start

The 22,943 items of the 16 sources released with their images are ready to use. The 26,162 items of the 32 sources released as identifiers are assembled from the public releases of their sources with the scripts in build/train/ of the GitHub repository (https://github.com/chanseul01/ASTERISM); build/train/README.md lists the releases and the commands. A few releases ask users to accept their terms before downloading. This repository holds about 91,300 files (9.2 GB), so hf download seul77/ASTERISM-Train --repo-type dataset --local-dir data/ASTERISM-Train can take several hours.

Composition

Group (group) Items Sources
Training splits of public datasets (training split) 26,443 10
M4-Instruct (M4-Instruct) 6,467 9
Mantis-Instruct (Mantis-Instruct) 1,049 4
LEOPARD (LEOPARD) 2,039 6
Other instruction items (other) 15 2
Synthetic items (synthetic) 13,092 17
All 49,105 48

A source is counted once per group. NLVR2, DreamSim and IconQA appear in two groups each, so the source field takes 45 distinct values.

The ten public datasets are MindCube, Perception Test, MagicBrush, NLVR2, WebQA, SAT, CLEVRER, STAR, CLEVR-Change and Spot-the-Diff. The instruction collections M4-Instruct, Mantis-Instruct and LEOPARD and the other instruction items give 9,570 items, and for these items source names the dataset of the subset that the item comes from, such as nuScenes in M4-Instruct. The 13,092 synthetic items cover jigsaw, forensic and art-style matching, similarity matching, visual and semantic correspondence, counting, needle, odd-one-out, size comparison and frame ordering tasks, and common-object-style templates.

Every item has a verifiable answer. 40,538 items are multiple choice, 2,860 ask for true or false, 3,152 for a short text, 2,444 for an exact value and 111 for an answer that matches a given phrase. An item has 2 to 60 images, 7.26 on average.

Near-duplicates of ASTERISM images

A training image and an ASTERISM image form a candidate pair when their 64-bit difference hashes differ in at most 6 bits, and a candidate pair is a near-duplicate when the two images, converted to grayscale and resized to 32×32 pixels, correlate at 0.99 or more after mean subtraction. Near-duplicates include identical frames and other frames of one scene, such as frames of one fixed camera in Spot-the-Diff or renders of one CLEVR scene. Every training item with such an image is removed, 1,756 items in all.

Files

  • data/asterism_train.jsonl: one item per line, 49,105 lines (one split, train).
  • images/<folder>/...: the image files of the 22,943 items released with their images (91,265 files).

Data fields

Field Content
id Public item id, asterism-train-00001 to asterism-train-49105, grouped by group and source.
group training split, M4-Instruct, Mantis-Instruct, LEOPARD, other or synthetic.
source Dataset the item comes from. For an instruction collection, the dataset of its subset. For a synthetic item, its task.
source_id Identifier of the item in the release of its source (see below). For a synthetic item, an identifier of ours. One source record can yield two items.
images Images in order. For items released with their images, paths relative to this repository. For identifier items, references inside the release of the source (see below).
num_images Number of images.
prompt The complete text given to the model with the images. For identifier items, null unless the text is ours (synthetic items).
options Option letter to option text for multiple-choice items, else null. Same rule as prompt.
answer Gold answer as the training reward reads it. Same rule as prompt.
answer_format mcq (an option letter), polar (True or False), text (a short phrase or sentence, matched leniently), exact (an exact value) or phrase (the final answer must match the gold phrase).
release items (released here with images) or identifiers (assembled with the build scripts).
license License of the source, as in the license table.
build For identifier items of public datasets and instruction collections, a JSON string with the recipe of the training text: prompt and answer as lists of segments, each either our own text or [field, start, end], a slice of a text field of the source record that the build scripts fill in (a field written name@row is read from that row of the same release). An empty string for the other items.

Licenses and release

ASTERISM-Train keeps the license of each source. For the sources whose license allows redistribution and commercial use, this repository holds the items with their images. For the sources with non-commercial terms or without a stated license, it holds the item identifiers and, for synthetic items, our questions, options and answers, and the build scripts of the GitHub repository assemble the items from the public release of each source. For an item of an instruction collection we follow the license of the dataset of its subset, and for a synthetic item the license of the datasets of its images. Where the dataset card and the repository or paper of a source state different licenses, we follow the more restrictive one.

Group Source Items Release License
training split CLEVR-Change 708 identifiers not stated
training split CLEVRER 2,017 items CC0 1.0
training split MagicBrush 3,000 items CC BY 4.0
training split MindCube 7,042 items MIT
training split NLVR2 2,860 identifiers CC BY 4.0 (annotations), images not licensed
training split Perception Test 4,837 items CC BY 4.0
training split SAT 2,093 items MIT
training split Spot-the-Diff 121 identifiers MIT (code), VIRAT Video Dataset Usage Agreement (images)
training split STAR 1,127 identifiers Apache 2.0 (annotations), Charades non-commercial license (videos)
training split WebQA 2,638 identifiers academic use on request a
M4-Instruct Contrastive Caption 797 identifiers CC BY-NC 4.0
M4-Instruct DreamSim 800 items MIT
M4-Instruct IconQA 651 identifiers CC BY-NC-SA 4.0 a
M4-Instruct NExT-QA 43 items MIT
M4-Instruct nuScenes 1,824 identifiers CC BY-NC-SA 4.0
M4-Instruct RAVEN 755 items GPL-3.0
M4-Instruct RecipeQA 800 identifiers per-recipe licenses
M4-Instruct TQA 79 identifiers CC BY-NC 3.0
M4-Instruct VISION 718 identifiers CC BY-NC 4.0
Mantis-Instruct Co-Instruct 2 identifiers S-Lab License 1.0 (non-commercial) a
Mantis-Instruct IconQA 24 identifiers CC BY-NC-SA 4.0 a
Mantis-Instruct ImageCoDe 1,008 items MIT (annotations), CC BY 4.0 (images)
Mantis-Instruct Multi-VQA 15 items Apache 2.0
LEOPARD DUDE 359 items CC BY 4.0
LEOPARD MP-DocVQA 120 items MIT
LEOPARD MultiHiertt 10 items MIT
LEOPARD SlideShare 39 items Apache 2.0
LEOPARD SlideVQA 11 identifiers SlideVQA license for evaluation (non-commercial) b
LEOPARD TAT-DQA 1,500 identifiers non-commercial use a
other DreamSim 5 items MIT
other NLVR2 10 identifiers CC BY 4.0 (annotations), images not licensed
synthetic art-style matching 780 identifiers not stated (WikiArt)
synthetic common-object-style templates 1,844 identifiers ImageNet, Objects365 and COCO image terms
synthetic counting (changes) 378 identifiers not stated (CLEVR-Change)
synthetic counting (crops) 628 identifiers Objects365 and COCO image terms
synthetic counting (majority) 75 identifiers Objects365 and COCO image terms
synthetic counting (objects) 459 identifiers Objects365 and COCO image terms
synthetic forensic matching 800 identifiers CC BY-NC-SA 4.0 (GenImage), ImageNet terms (non-commercial)
synthetic frame ordering 1,200 identifiers GPL-3.0 (TrackingNet), YouTube terms (videos)
synthetic jigsaw 800 identifiers Objects365 and COCO image terms
synthetic needle (attribute) 797 identifiers Objects365 and COCO image terms
synthetic needle (crop source) 781 identifiers Objects365 and COCO image terms
synthetic needle (two regions) 445 identifiers SA-1B Research License (non-commercial)
synthetic odd-one-out 337 identifiers Objects365 and COCO image terms
synthetic semantic correspondence 747 identifiers PASCAL VOC and Flickr terms (SPair-71k)
synthetic similarity matching 800 items CC BY 4.0 (Perception Test)
synthetic size comparison 1,500 identifiers Objects365 and COCO image terms
synthetic visual correspondence 721 identifiers Objects365 and COCO image terms

a The dataset card and the repository or paper state different licenses, and the more restrictive one is listed.
b The SlideVQA terms cover evaluation. Check them before training on these 11 items.

Images keep the licenses of the datasets they come from. Our annotations, including the synthetic items, are released under CC BY 4.0, except in the 2,499 items whose license is CC BY-NC-SA 4.0 (IconQA and nuScenes), which carry that license. Items from M4-Instruct, including the WebQA items taken from it, are also subject to the terms on the M4-Instruct dataset card, and items from RAVEN keep the GPL-3.0 of RAVEN.

In all, 22,943 items of 16 sources come with their images, and 26,162 items of 32 sources are assembled with the build scripts.

Items of identifier sources

For identifier sources, each record holds the source identifier, the image references, the answer format and, for synthetic items, the prompt, options and answer. For items of public datasets and instruction collections, the build field gives the training text as our own text and slices of the source record. The build scripts of the GitHub repository take the rest from the public release of each source and write the items as they are used in training.

Source source_id Entries of images
NLVR2 (training split) identifier in train.json of the NLVR2 repository train#identifier=<identifier>&column=image0 and image1, the two images of the item in the train split of pingzhili/nlvr2-resized
WebQA index of the record in m4_instruct_annotations.json of M4-Instruct, counted from 0 (the WebQA training data of M4-Instruct) path of the image in the M4-Instruct release, as listed in the record
CLEVR-Change row of the train split of Lancelot53/clevr-change, counted from 0, whose sentences hold the captions data/images/CLEVR_default_<n>.png and data/sc_images/CLEVR_semantic_<n>.png or data/nsc_images/CLEVR_nonsemantic_<n>.png of the CLEVR-Change data; for 75 items, train#row=<n>&column=image1 and image2 of Lancelot53/clevr-change
Spot-the-Diff row of train.json of the Spot-the-Diff repository, counted from 0 resized_images/<img_id>.png and resized_images/<img_id>_2.png of the Spot-the-Diff data
STAR question_id of STAR_train.json Charades_v1_480/<video>.mp4#second=<t>, one frame per second from the start of the Charades video (frame t·round(fps)), with the long side resized to 480 pixels
M4-Instruct sources index of the record in m4_instruct_annotations.json, counted from 0 path of the image in the M4-Instruct release, as listed in the record, re-encoded as JPEG with the long side reduced to at most 768 pixels
IconQA and Co-Instruct (Mantis-Instruct), NLVR2 (other) id of the Mantis-Instruct record <subset>/train_images.zip#<path>, the image file in the image archive of the Mantis-Instruct subset
SlideVQA and TAT-DQA (LEOPARD) id of the Leopard-Instruct record slidevqa#id=<id>&image=<k> or tat_dqa#id=<id>&image=<k>, the k-th image of the record, counted from 1
synthetic items on MGrounding-630k images our identifier MGrounding-630k/<path>, the image file in MGrounding-630k, which holds the Objects365, COCO, ImageNet, SA-1B and CLEVR-Change images and the TrackingNet frames, followed by the operations that make the item image (see below)
semantic correspondence our identifier JPEGImages/<category>/<image>.jpg of SPair-71k, followed by the operations that make the item image (see below)
forensic matching, art-style matching our identifier genimage/<file>.parquet#row=<n> (the train files of TheKernel01/Tiny-GenImage) or wikiart/<file>.parquet#row=<n> (the train files of Artificio/WikiArt), the image in row n counted from 0, followed by the operations that make the item image (see below)

The operations after # apply in order: max=N reduces the long side to N pixels (bicubic), crop=x0,y0,x1,y1 cuts a box given as fractions of the width and height, box=x0,y0,x1,y1 and blank=x0,y0,x1,y1 cut a box or fill it black in pixels, fit=N reduces the long side to N pixels (Lanczos), warp=h00,...,h22 applies a perspective transform with that 3×3 matrix (the image size stays, borders reflected), mark=x,y and marks=x,y;... draw red rings at keypoints (the second labelled Point A, Point B and so on, font=default for the default font of Pillow), jpeg=N stores the image as JPEG of quality N and reads it back, sq=N cuts the centre square and resizes it to N×N pixels (bicubic), and q=N stores the result as JPEG of quality N. Images stored as JPEG depend on the Pillow and libjpeg versions.

Use

Give a model the images of an item in the listed order, followed by the prompt.

Our training reward scores a response from answer_format and answer, reading the options from the prompt.

from datasets import load_dataset

ds = load_dataset("seul77/ASTERISM-Train", split="train")  # this card declares the record schema; pip install datasets (tested with 5.2)
item = ds.filter(lambda x: x["release"] == "items")[0]
# for items released with their images, item["images"] holds paths relative to the root of this repository, in order
# (hf download seul77/ASTERISM-Train --repo-type dataset --local-dir data/ASTERISM-Train);
# items released as identifiers are assembled with the build scripts of the GitHub repository

Intended use

ASTERISM-Train, from which near-duplicates of ASTERISM images are removed, is intended for training MLLMs, and ASTERISM for evaluating them. Training on ASTERISM items and identifying or profiling the people shown in the images are out of scope, as is commercial use of the items whose sources carry non-commercial terms.

ASTERISM-Train inherits the images of its sources and, apart from the questions, options and answers that we write, their text. These can include identifiable people and sensitive content. The source identifiers let users exclude any source or item.

Removal requests

If an image or a text in this dataset shows or names you or a person you act for, or gives personal details of either, and you want it removed, please email chanseul2001@gmail.com rather than post publicly, for example in a GitHub issue or a discussion on Hugging Face. Please send reports about anyone else in the data, such as their personal details, by email in the same way; we review these reports. For requests and reports alike, the item id or the image (its file path, or its source reference for an item released as identifiers) is enough, and telling us which image or page is concerned helps us find the other items with it; you need not say who is shown or named, and we do not post them. If you hold copyright or other rights in an image or a text and want it removed for another reason, please open an issue in the GitHub repository (https://github.com/chanseul01/ASTERISM/issues) or email us. For removal requests, and for reports we act on after review, we remove in the next version every item we find with that image or text from ASTERISM, ASTERISM-Lite and ASTERISM-Train, together with the other items we find with frames or pages of the same video or document. The images and source texts stay in the public releases of the sources, and removed items may remain in earlier versions of these repositories and in copies already downloaded.

Citation

@article{asterism,
  title   = {ASTERISM: Do Multimodal LLMs Actually Look at All the Images?},
  author  = {Cho, Chanseul and Kim, Dongwoo and Bae, Noori and Moon, Seungjae and Lee, Seongsu and Ro, Youngmin},
  journal = {arXiv preprint arXiv:2611.32316},
  year    = {2026}
}