Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,121 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
# 🧩 NumPuzzle-Easy: The 1,500-Step Spatial Reasoning Nightmare
|
| 6 |
+
|
| 7 |
+
**"Simple for Humans, Impossible for Machines."**
|
| 8 |
+
|
| 9 |
+
NumPuzzle-Easy is a high-density benchmarking dataset designed to expose the fundamental limitations of modern Large Language Models (LLMs) in spatial reasoning, sequential state tracking, and recursive simulation. While humans can solve these puzzles with basic clerical accuracy using tools like Excel, even the most advanced "Reasoning" models—such as OpenAI's o1-series, DeepSeek-R1, and Qwen 3.6 Plus—struggle to achieve even a 1% accuracy rate.
|
| 10 |
+
|
| 11 |
+
## 🔴 The Core Challenge: Numerical Hell
|
| 12 |
+
|
| 13 |
+
The task is deceptively simple:
|
| 14 |
+
1. **The Grid:** A 9x9 matrix filled with single-digit integers (0-9).
|
| 15 |
+
2. **The Manipulation:** 15 consecutive swap operations (moves) from a starting coordinate.
|
| 16 |
+
3. **The Recurrence:** After the moves, the system resolves up to 4 recursive "Chain Reactions" (Match-3 and Gravity).
|
| 17 |
+
4. **The Goal:** Provide the final state of the top row (Row 1) as a 9-digit string.
|
| 18 |
+
|
| 19 |
+
### Why LLMs Fail (The Three Walls)
|
| 20 |
+
1. **The Tokenization Trap:** LLMs process numbers as tokens, not as spatial entities. Swapping digits changes the token boundaries, causing the model to lose the physical "anchor" of each coordinate.
|
| 21 |
+
2. **State Tracking Collapse:** Each move depends on the previous state. A single 1-pixel error at Step 3 renders the remaining 12 moves and 4 chains purely hallucinatory.
|
| 22 |
+
3. **Recursive Gravity Simulation:** Calculating how numbers "fall" into empty spaces requires a consistent internal 2D world model, which autoregressive transformers fundamentally lack.
|
| 23 |
+
|
| 24 |
+
## 📊 Dataset Statistics
|
| 25 |
+
- **Total Samples:** 1,500
|
| 26 |
+
- **Grid Size:** 9x9 (81 cells)
|
| 27 |
+
- **Difficulty:** High (Sequential dependency + 4-layer recursion)
|
| 28 |
+
- **Ground Truth:** Generated via deterministic Python simulation (Accuracy: 100%).
|
| 29 |
+
|
| 30 |
+
## 📂 Files in this Repository
|
| 31 |
+
- `NumPuzzle_Easy_AutoEval.csv`: Optimized for automated evaluation (Columns: `prompt`, `target`).
|
| 32 |
+
- `numpuzzle_easy_1.5k.csv`: Raw data for custom scripts (Columns: `instruction`, `answer`).
|
| 33 |
+
|
| 34 |
+
---
|
| 35 |
+
|
| 36 |
+
## 🏆 Community Leaderboard & Transparency
|
| 37 |
+
**I do not solve these puzzles myself.** As the creator, my role is to design the maze; it is the AI's role to fail within it.
|
| 38 |
+
|
| 39 |
+
To ensure the benchmark remains objective and untainted by author bias, **we do not maintain an internal leaderboard.** Instead, we rely on the community for ground truth reporting.
|
| 40 |
+
|
| 41 |
+
### 📢 Submit Your Results
|
| 42 |
+
We invite all researchers and AI enthusiasts to post their evaluation logs in the **[Community Tab](https://huggingface.co/datasets/56m/NumpuzzleEasy/discussions)**.
|
| 43 |
+
|
| 44 |
+
**When posting, please include:**
|
| 45 |
+
- **Model Name:** (e.g., GPT-5.5, Qwen 3.6, Gemini, Kimi K, GLM, etc)
|
| 46 |
+
- **Sample Size:** (How many out of 1,500 you tested, In the case of more than 1500 questions, did you repeat it or did you measure it randomly)
|
| 47 |
+
- **Accuracy:** (e.g., 1%)
|
| 48 |
+
- **Logs:** A snippet of the Thinking Process or the final JSON results.
|
| 49 |
+
|
| 50 |
+
> **Note on Integrity:** Figures posted in the Community tab by verified users will be considered the official record of a model's performance. The "Truth" of this benchmark lies in the collective failures of the world's most powerful AIs.
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
---
|
| 54 |
+
|
| 55 |
+
### 🛠 Evaluation Protocol: The Strict Mandate
|
| 56 |
+
|
| 57 |
+
This benchmark is not a test of linguistic creativity or "vibes." It is a cold, binary assessment of a model's ability to maintain a deterministic world model. To maintain the integrity of NumPuzzle-Easy, all evaluators must adhere to the following rigorous protocol.
|
| 58 |
+
|
| 59 |
+
#### 1. The "Exact Match" (EM) Mandate
|
| 60 |
+
We reject the use of fuzzy matching, BLEU, ROUGE, or any other semantic similarity metrics. In the realm of spatial reasoning, "almost correct" is fundamentally "wrong." If a model calculates 14 out of 15 moves correctly, its 15th move and the subsequent 4-chain reaction will be catastrophic. Therefore, the **only valid metric is Exact Match (EM).**
|
| 61 |
+
- **Criteria:** The output must be exactly the 9-digit sequence representing Row 1.
|
| 62 |
+
- **Fail Case:** `086738476` vs `086730476` (Result: **0**).
|
| 63 |
+
|
| 64 |
+
#### 2. The Leading Zero Trap (The "No Mercy" Policy)
|
| 65 |
+
One of the most common failures in LLMs is the loss of numeric context. In this puzzle, Row 1 can frequently begin with one or more zeros (e.g., `001234567`).
|
| 66 |
+
- **The Rule:** The model must output exactly **9 digits**.
|
| 67 |
+
- **The Rationale:** If a model outputs 8 digits (e.g., `12345678`), it indicates that the LLM has collapsed the grid representation into a standard integer, losing the spatial awareness of the 9-column architecture. This is an immediate failure. No post-processing or "fixing" of the output is allowed.
|
| 68 |
+
|
| 69 |
+
#### 3. Zero-Shot vs. Reasoning Trace
|
| 70 |
+
To observe the pure architectural limits, we recommend **Zero-Shot evaluation**. However, for "Reasoning" models (o1, DeepSeek-R1, Qwen 3.6 Plus), the internal "Thinking Process" or "Chain of Thought" (CoT) should be preserved in logs.
|
| 71 |
+
- **What to look for:** Does the model's internal grid representation "drift" over time? Most models will lose the position of the active orb around Move 7 or 8. We encourage evaluators to share these logs in the Community tab to visualize the "moment of collapse."
|
| 72 |
+
|
| 73 |
+
#### 4. Community-Driven Verification (Transparency Protocol)
|
| 74 |
+
As the creator, I do not provide an "Official Leaderboard" based on my own tests. To prevent "Benchmark Laundering" (where providers cherry-pick successful runs), the truth must be crowdsourced.
|
| 75 |
+
- **How to Submit:** Please open a thread in the **[Community Tab]** with your model's name.
|
| 76 |
+
- **Requirements:**
|
| 77 |
+
- Full transparency on the prompt used.
|
| 78 |
+
- If testing a subset (e.g., 100/1500), specify the exact row indices.
|
| 79 |
+
- Post a screenshot or a JSON dump of the failed responses.
|
| 80 |
+
- **Verification:** Only results that can be replicated by other community members will be recognized as the definitive score for a given model version.
|
| 81 |
+
|
| 82 |
+
#### 5. Cost-Effective Testing
|
| 83 |
+
We recognize that 1,500 samples of o1-level reasoning are expensive.
|
| 84 |
+
- **Sampling:** For quick validation, a random sample of **100 rows** is acceptable. Given the 1% failure rate, a 100-sample test is statistically sufficient to prove a model's inability to solve this benchmark.
|
| 85 |
+
- **Stop-Loss:** If your model fails the first 50 consecutive puzzles, it is safe to assume an accuracy of <2%. You may stop there and report the result as "Complete Failure."
|
| 86 |
+
|
| 87 |
+
**"The grid does not care about your reasoning. It only cares about the truth."**
|
| 88 |
+
|
| 89 |
+
---
|
| 90 |
+
|
| 91 |
+
# 📂 File Structure & Usage
|
| 92 |
+
|
| 93 |
+
This repository contains the following files:
|
| 94 |
+
|
| 95 |
+
| File Name | Description | Column Mapping |
|
| 96 |
+
| :--- | :--- | :--- |
|
| 97 |
+
| **`NumPuzzle_Easy_AutoEval.csv`** | **Recommended for Evaluators.** Specifically formatted for Hugging Face Auto-Post, LightEval, and other automated evaluation tools. | `prompt`, `target` |
|
| 98 |
+
| **`numpuzzle_easy_1.5k.csv`** | The raw dataset containing 1,500 unique problems. Best for manual inspection or custom scripts. | `instruction`, `answer` |
|
| 99 |
+
| **`.gitattributes`** | Standard Git LFS configuration to handle CSV files efficiently. | N/A |
|
| 100 |
+
|
| 101 |
+
### 🚀 How to Start Benchmarking
|
| 102 |
+
|
| 103 |
+
#### 1. Quick Automated Eval (The "I'm Busy" Way)
|
| 104 |
+
If you want to test your model via **Hugging Face Model Evaluator** or **LightEval**, use `NumPuzzle_Easy_AutoEval.csv`.
|
| 105 |
+
- **Prompt Column:** `prompt`
|
| 106 |
+
- **Reference Column:** `target`
|
| 107 |
+
- **Metric:** `Exact Match`
|
| 108 |
+
|
| 109 |
+
#### 2. Custom Evaluation Script
|
| 110 |
+
If you are running your own Python script, you can use either file.
|
| 111 |
+
- **Sample count:** 1,500 (Designed to be completed overnight via most APIs).
|
| 112 |
+
- **Format:** The `prompt`/`instruction` includes the 9x9 grid, 15 swap moves, and the rules for gravity/chains.
|
| 113 |
+
|
| 114 |
+
### 🧩 Why 1,500 samples?
|
| 115 |
+
1. **Statistical Power:** With 1,500 problems, any "lucky guess" from an LLM is statistically irrelevant.
|
| 116 |
+
2. **Cost-Efficiency:** Small enough to be processed via OpenAI/Anthropic APIs within a few hours (overnight), keeping benchmarking costs reasonable while ensuring total failure for the model.
|
| 117 |
+
|
| 118 |
+
|
| 119 |
+
---
|
| 120 |
+
|
| 121 |
+
"Let the GPUs burn, while we watch the logic crumble."
|