system
commited on
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,124 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: cc-by-4.0
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
# Dataset Card for PackBench 🧳
|
| 6 |
+
|
| 7 |
+
## Dataset Summary
|
| 8 |
+
|
| 9 |
+
**PackBench** is a suite of visual-spatial reasoning tasks where language models are asked to "pack" items into virtual suitcases. Each suitcase is represented as a grid that folds in half, and models must determine the correct location to place a missing item based on a mirrored folding operation. The dataset is designed to evaluate LLMs' abilities in spatial reasoning, mirroring transformations, and structured decision-making.
|
| 10 |
+
|
| 11 |
+
PackBench is structured as a collection of multiple-choice or short-answer evaluation tasks with clear visual-textual instructions and examples. It is ideal for evaluating models that claim multi-step spatial inference capabilities.
|
| 12 |
+
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
## Supported Tasks and Leaderboards
|
| 16 |
+
|
| 17 |
+
**Task:** `visual spatial reasoning`
|
| 18 |
+
**Type:** `Evaluation / Benchmarks`
|
| 19 |
+
**Format:** Prompt-based QA with grounded visual instructions (ASCII art).
|
| 20 |
+
**Answer format:** Coordinates in `\boxed{(x, y)}` format.
|
| 21 |
+
|
| 22 |
+
**Evaluation Metric:** Exact match with allowed correct boxed answers.
|
| 23 |
+
|
| 24 |
+
---
|
| 25 |
+
|
| 26 |
+
## Languages
|
| 27 |
+
|
| 28 |
+
English (`en`)
|
| 29 |
+
|
| 30 |
+
---
|
| 31 |
+
|
| 32 |
+
## Dataset Structure
|
| 33 |
+
|
| 34 |
+
Each example contains:
|
| 35 |
+
|
| 36 |
+
* `"question"`: A list of one user message with the prompt.
|
| 37 |
+
* `"answer"`: A dictionary with accepted answer(s) (using `contains_any` for flexibility).
|
| 38 |
+
|
| 39 |
+
### Example Entry
|
| 40 |
+
|
| 41 |
+
```json
|
| 42 |
+
{
|
| 43 |
+
"question": [
|
| 44 |
+
{
|
| 45 |
+
"role": "user",
|
| 46 |
+
"content": "You are an expert at packing suitcases.\nYou must place an item in an empty slot..."
|
| 47 |
+
}
|
| 48 |
+
],
|
| 49 |
+
"answer": {
|
| 50 |
+
"type": "contains_any",
|
| 51 |
+
"contains_any": ["\\boxed{(3, 2)}"]
|
| 52 |
+
}
|
| 53 |
+
}
|
| 54 |
+
```
|
| 55 |
+
|
| 56 |
+
---
|
| 57 |
+
|
| 58 |
+
## Dataset Creation
|
| 59 |
+
|
| 60 |
+
The dataset was procedurally generated using a Python script. For each suitcase:
|
| 61 |
+
|
| 62 |
+
1. The suitcase is defined as a 2D grid split into two halves.
|
| 63 |
+
2. One cell in the **folded** final view is left empty.
|
| 64 |
+
3. The folded state is decomposed into a plausible left and right half (non-overlapping).
|
| 65 |
+
4. The model must reason about folding the left side over the right to determine where the empty cell is in the final folded suitcase.
|
| 66 |
+
|
| 67 |
+
This mirrors a cognitive visual-spatial task often found in human IQ or pattern reasoning tests.
|
| 68 |
+
|
| 69 |
+
Suitcase sizes range from `2x3` to `10x20` (i.e., up to 400 cells), testing both fine-grained spatial reasoning and scale handling.
|
| 70 |
+
|
| 71 |
+
---
|
| 72 |
+
|
| 73 |
+
## Sizes
|
| 74 |
+
|
| 75 |
+
PackBench includes suitcases of varying complexity:
|
| 76 |
+
|
| 77 |
+
* Sizes: From `3x6` up to `20x40`
|
| 78 |
+
* Number of examples per size: `20`
|
| 79 |
+
* Total examples: **360**
|
| 80 |
+
|
| 81 |
+
---
|
| 82 |
+
|
| 83 |
+
## Intended Use
|
| 84 |
+
|
| 85 |
+
### Use Cases
|
| 86 |
+
|
| 87 |
+
* Evaluate the **spatial reasoning** capabilities of large language models (LLMs).
|
| 88 |
+
* Benchmark models trained on visual or multimodal reasoning tasks.
|
| 89 |
+
* Include in broader diagnostic evaluation sets for LLM alignment, logical reasoning, and task generalization.
|
| 90 |
+
* Test raw reasoning especially at larger sizes (10x20+).
|
| 91 |
+
|
| 92 |
+
### Limitations
|
| 93 |
+
|
| 94 |
+
* ASCII art may be misinterpreted by purely text-based models not trained for structured visual parsing.
|
| 95 |
+
* Assumes the model understands spatial mirroring and coordinate systems.
|
| 96 |
+
|
| 97 |
+
---
|
| 98 |
+
|
| 99 |
+
## Citation
|
| 100 |
+
|
| 101 |
+
If you use PackBench in your research or applications, please cite it as:
|
| 102 |
+
|
| 103 |
+
```bibtex
|
| 104 |
+
@misc{packbench2025,
|
| 105 |
+
title={PackBench: A Spatial Reasoning Benchmark for Language Models},
|
| 106 |
+
year={2025},
|
| 107 |
+
author={{Deca AI}},
|
| 108 |
+
howpublished={\url{https://huggingface.co/datasets/deca-ai/packbench}},
|
| 109 |
+
}
|
| 110 |
+
```
|
| 111 |
+
|
| 112 |
+
---
|
| 113 |
+
|
| 114 |
+
## License
|
| 115 |
+
|
| 116 |
+
CC BY 4.0
|
| 117 |
+
|
| 118 |
+
---
|
| 119 |
+
|
| 120 |
+
## Tags
|
| 121 |
+
|
| 122 |
+
`llm-evaluation` · `spatial-reasoning` · `benchmarks` · `folding` · `mirroring` · `suitcase` · `ASCII` · `reasoning` · `alignment`
|
| 123 |
+
|
| 124 |
+
|