Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
457
560
puzzle_id
int64
1
1.16k
answers
listlengths
1
3
1
[ "for once in my life" ]
2
[ "forget it" ]
3
[ "try to understand" ]
4
[ "travel overseas" ]
5
[ "breakfast" ]
6
[ "downtown" ]
7
[ "eyeshadow" ]
8
[ "stepfather" ]
9
[ "once upon a time" ]
10
[ "potatoes" ]
11
[ "3d movie" ]
12
[ "top secret" ]
13
[ "trip around the world" ]
14
[ "lemonade" ]
15
[ "long legs" ]
16
[ "advice" ]
17
[ "spaceman" ]
18
[ "big bad wolf" ]
19
[ "many thanks" ]
20
[ "download" ]
21
[ "no idea" ]
22
[ "comfortable" ]
23
[ "forty years" ]
24
[ "excuse me" ]
25
[ "forehead" ]
26
[ "good looking" ]
27
[ "waterfall" ]
28
[ "wake up" ]
29
[ "tuna fish" ]
30
[ "foreign language" ]
31
[ "seahorse" ]
32
[ "middle-aged" ]
33
[ "broken heart" ]
34
[ "seesaw" ]
35
[ "miss you" ]
36
[ "teabag" ]
37
[ "four-wheel drive" ]
38
[ "apple pie" ]
39
[ "up to you" ]
40
[ "robin hood" ]
41
[ "design" ]
42
[ "engineer" ]
43
[ "vegetables" ]
44
[ "afternoon tea" ]
45
[ "camping overnight" ]
46
[ "time to go" ]
47
[ "long time no see" ]
48
[ "polite" ]
49
[ "fishing hook" ]
50
[ "farm animal", "animal farm" ]
51
[ "touchdown" ]
52
[ "honeybee" ]
53
[ "cornerstone" ]
54
[ "love at first sight" ]
55
[ "freeze over" ]
56
[ "caveman", "mancave" ]
57
[ "catwalk" ]
58
[ "hiking in the woods (high king)" ]
59
[ "sandbox" ]
60
[ "lovebirds" ]
61
[ "crossbow" ]
62
[ "eggs over easy" ]
63
[ "coffee break" ]
64
[ "multiple choice" ]
65
[ "come into season" ]
66
[ "i’ll get over it" ]
67
[ "raincheck" ]
68
[ "i’m bigger than you" ]
69
[ "illegal (ill eagle)" ]
70
[ "double agent" ]
71
[ "rock n roll" ]
72
[ "good afternoon" ]
73
[ "look me in the eye" ]
74
[ "electric blanket" ]
75
[ "banknote" ]
76
[ "one foot in the door" ]
77
[ "bookcase" ]
78
[ "five kilograms overweight" ]
79
[ "highway" ]
80
[ "way to go" ]
81
[ "toothpick" ]
82
[ "underdogs" ]
83
[ "heartbeat" ]
84
[ "light rain" ]
85
[ "sunroof" ]
86
[ "x-ray" ]
87
[ "doghouse" ]
88
[ "excuse me" ]
89
[ "french fry", "french fries" ]
90
[ "pardon me" ]
91
[ "mousetrap" ]
92
[ "turnip" ]
93
[ "phone numbers" ]
94
[ "uproar" ]
95
[ "thunderstorm" ]
96
[ "weekend" ]
97
[ "cuba" ]
98
[ "eiffel tower" ]
99
[ "supermarket" ]
100
[ "laundromat" ]
End of preview. Expand in Data Studio

RebusBench for Evaluating Cognitive Visual Reasoning

Example rebus puzzles

RebusBench contains 1,164 English rebus puzzles, each paired with a list of reference answers. Rebus puzzles encode words or phrases through the visual arrangement, repetition, color, position, or size of text and symbols. The dataset supports evaluating visual-language models on visual wordplay and reasoning.

Load with Hugging Face Datasets

pip install -U datasets Pillow
from datasets import load_dataset

# Load the evaluation split directly.
dataset = load_dataset("amirkasaei/rebusbench", split="test")

print(len(dataset))  # 1164
sample = dataset[0]
print(sample["puzzle_id"])
print(sample["answers"])  # Always a list, including for a single answer
image = sample["image"]  # PIL image
image.save("example_puzzle.png")

Without split="test", the loader returns a dataset dictionary:

dataset = load_dataset("amirkasaei/rebusbench")
puzzles = dataset["test"]

These Hub examples use the files published in the Hugging Face repository. Local edits must be uploaded before they are available through the Hub loader.

Dataset structure

Field Type Description
image Hugging Face Image Puzzle image, decoded as a PIL image when accessed
puzzle_id int64 Unique puzzle identifier from 1 through 1164
answers list[string] One or more normalized English reference answers

puzzle_id identifies a puzzle independently of dataset row order. The dataset does not include a per-row question field; a suitable shared question is: "What English word or phrase is represented by this rebus puzzle?"

Multiple reference answers

Every answers value is a nonempty list. There are 1,131 puzzles with one reference and 33 with multiple references. Alternatives originally separated by / are stored individually and normalized as described below. Order follows the original annotation and does not indicate a preferred answer.

For example, puzzle 50 has answers = ["farm animal", "animal farm"], while puzzle 1 has answers = ["for once in my life"].

For exact-match evaluation, a prediction is correct if it matches any reference after applying the same text normalization to the prediction and each reference. For token F1, compute the score against each reference and take the maximum for that puzzle before averaging across puzzles. Do not join the references into one string or score only the first reference.

Normalized answers

answers contains normalized references. Alternatives are never merged or removed, even if normalization makes two entries identical.

Normalization applies Unicode NFKC normalization, Unicode case folding, and whitespace collapsing (including trimming). For example, ["Farm animal", "Animal farm"] becomes ["farm animal", "animal farm"]. Punctuation, accents, spelling, and word order are not otherwise changed. This conservative policy avoids silently treating different phrases as equivalent.

Use this same function to normalize model predictions:

import unicodedata

def normalize(text):
    return " ".join(unicodedata.normalize("NFKC", text).casefold().split())

def exact_match(prediction, answers):
    return normalize(prediction) in answers

assert exact_match(" ANIMAL   FARM ", ["farm animal", "animal farm"])

Use a consistent normalization policy and report it with evaluation results. The reference alternatives are preserved from the original annotations; they have not been independently revalidated.

Splits

Split Examples Purpose
test 1,164 Evaluation

The complete collection is packaged as one evaluation split. No training or validation split is provided. The test name does not establish that the puzzles were excluded from any model's training data.

Files

README.md                   Dataset card and loading configuration
data/
  metadata.jsonl            Image filenames, puzzle IDs, and reference answers
  puzzle_1.png
  ...
  puzzle_1164.png
docs/
  examples.png              Dataset illustration
examples/
  example_evaluation.ipynb   Original sample evaluation code, unchanged
  requirements.txt          Suggested dependencies for the sample code

The dataset uses the ImageFolder layout. data/metadata.jsonl contains one JSON object per line with file_name, puzzle_id, and answers. Each file_name is relative to data/. The loader combines each image with its metadata and exposes the image as the image field. The loading configuration restricts dataset files to data/, excluding the README illustration and supporting files.

To load a local checkout using the same dataset card configuration, run from the repository root:

from pathlib import Path
from datasets import load_dataset

dataset = load_dataset(str(Path.cwd()), split="test")

Intended use and limitations

The intended use is research and evaluation of models on rebus puzzle solving. Answers are English words or phrases, and interpretation can depend on familiarity with English idioms and visual conventions. The supplied references may not cover all valid phrasings. Exact-match evaluation can penalize unlisted alternatives.

Data preparation and provenance

The repository contains 1,164 PNG images and 1,164 corresponding answer records. data/metadata.jsonl was generated from the original answer workbook. Answer strings were split on / and each reference was normalized according to the policy above. Reference order and puzzle images were preserved. All 1,164 records and 1,198 references were checked against the workbook before removing the redundant spreadsheet from this distribution. The JSONL metadata is the distributed source of reference answers. Detailed original image sources, collection procedures, and annotation procedures have not yet been documented in this card.

Sample evaluation code

examples/example_evaluation.ipynb is an optional example, separate from dataset loading. Its original contents are retained, including its original paths and model settings; adapt those before use. It is not required to install or run the notebook to access this dataset with Hugging Face Datasets. examples/requirements.txt lists suggested notebook dependencies and is not a verified environment lockfile.

License

A dataset license has not yet been specified in this repository.

Citation

@inproceedings{kasaei2026rebusbench,
    title={Hidden Meanings in Plain Sight: RebusBench for Evaluating Cognitive Visual Reasoning},
    author={Seyed Amir Kasaei and Arash Marioriyad and Mahbod Khaleti and MohammadAmin Fazli and Mahdieh Soleymani Baghshah and Mohammad Hossein Rohban},
    booktitle={ICLR 2026 Workshop - From Human Cognition to AI Reasoning: Models, Methods, and Applications},
    year={2026},
    url={https://openreview.net/forum?id=LCc2CP4aS4}
}
Downloads last month
383