The dataset viewer is not available for this dataset.
Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
Dataset Card for IsoBench
Introducing IsoBench, a benchmark dataset containing problems from four major areas: math, science, algorithms, and games. Each example is presented with multiple isomorphic representations of inputs, such as visual, textual, and mathematical presentations. Details of IsoBench can be found in our paper or website!
Uses
There are 4 major domains: math, algorithm, game, and science. Each domain has several subtasks.
In tatal there are 1,887 samples in the validation split with ground-truth labels provided.
The test split without labels is coming soon......
We will show how to load the data for each subtask.
TL;DR
There are 10 subtasks in total: math_breakpoint, math_convexity, math_parity, graph_connectivity, graph_maxflow, graph_isomorphism, winner_id, puzzle, chemistry, physics.
You can load a subtask via
from datasets import load_dataset
ds_subtask = load_dataset('isobench/IsoBench', subtask, split='validation')
Direct Use
IsoBench is designed with two objectives, which are:
- Analyzing the behavior difference between language-only and multimodal foundation models, by prompting them with distinct (e.g. mathematical expression and plot of a function) representations of the same input.
- Contributing a language-only/multimodal benchmark in the science domain.
Mathematics
There are three mathematics tasks. Each task is structured as a classification problem and each class contains 128 samples.
- Parity implements a ternary classification problem. A model has to classify an input function into an even function, odd function, or neither.
- Convexity implements a binary classification problem for a model to classify an input function as convex or concave. Note: some functions are only convex (resp. concave) within a certain domain (e.g.
x > 0), which is reported in thedomainfield of each sample. We recommend providing this information as part of the prompt! - Breakpoint counts the number of breakpoints (i.e. intersections of a piecewise linear function). Each function contains either 2 or 3 breakpoints, which renders this task a binary classification problem.
from datasets import load_dataset
dataset_parity = load_dataset('isobench/IsoBench', 'math_parity', split='validation')
dataset_convexity = load_dataset('isobench/IsoBench', 'math_convexity', split='validation')
dataset_breakpoint = load_dataset('isobench/IsoBench', 'math_breakpoint', split='validation')
Algorithms
There are three algorithmic tasks, with ascending complexity: graph connectivity, graph maximum flow, and graph isomorphism.
You can download the data by
from datasets import load_dataset
dataset_connectivity = load_dataset('isobench/IsoBench', 'graph_connectivity', split='validation')
dataset_maxflow = load_dataset('isobench/IsoBench', 'graph_maxflow', split='validation')
dataset_isomorphism = load_dataset('isobench/IsoBench', 'graph_isomorphism', split='validation')
Each task has 128 dev samples under the validation split.
Games
[More Information Needed]
Science
[More Information Needed]
Data Fields
Mathematics
image: a PIL Image feature;latex: astringfeature, containing the LateX definition of a function;code: astringfeature, containing thesympydefinition of a function;label: astringfeature;domain: astringfeature orNone, denoting the domain of a function. This feature is only used for some of the Convexity problems.id: astringfeature.
Algorithms
Connectivity
image: a PIL Image featurequery_nodes_color: astringfeatureadjacency_matrix: astringfeature, a string of an 2d array representing the adjacency matrix of a graphquery_node_1: aunit32featurequery_node_2: aunit32featurelabel: aboolfeature, with possible values includingTrue(query nodes connected) andFalse(query nodes not connected)id: astringfeature
Maxflow
image: a PIL Image featuresource_node: aunit32feature, denoting the index of the source nodesource_node_color: astringfeature, denoting the color of thesource_noderendered in theimagesink_node: aunit32feature, denoting the index of the sink nodesink_node_color: astringfeature, denoting the color of thesink_noderendered in theimageadjacency_matrix: astringfeature, a string of an 2d array representing the adjacency matrix of a graph. The value in entry (i,j) denotes the capacity of flowing from nodeito nodej.label: auint32featureid: astringfeature
Isomorphism
image: a PIL Image feature, consisting of two graphsGandHadjacency_matrix_G: astringfeature, a string of an 2d array representing the adjacency matrix of graphGadjacency_matrix_H: astringfeature, a string of an 2d array representing the adjacency matrix of graphHlabel: aboolfeature, with possible values includingTrue(graphsGandHare isomorphic) andFalse(not isomorphic)id: astringfeature
Games
[More Information Needed]
Science
[More Information Needed]
Citation
BibTeX:
@inproceedings{fu2024isobench,
title={{I}so{B}ench: Benchmarking Multimodal Foundation Models on Isomorphic Representations},
author={Deqing Fu and Ruohao Guo and Ghazal Khalighinejad and Ollie Liu and Bhuwan Dhingra and Dani Yogatama and Robin Jia and Willie Neiswanger},
booktitle={First Conference on Language Modeling (COLM)},
year={2024},
note={First four authors contributed equally.}
}
Chicago Style: Deqing Fu*, Ruohao Guo*, Ghazal Khalighinejad*, Ollie Liu*, Bhuwan Dhingra, Dani Yogatama, Robin Jia, and Willie Neiswanger. "IsoBench: Benchmarking Multimodal Foundation Models on Isomorphic Representations." arXiv preprint arXiv:2404.01266 (2024).
Contact
[email protected], [email protected], [email protected], [email protected]
- Downloads last month
- 205