Update README.md
Browse files
README.md
CHANGED
|
@@ -43,10 +43,12 @@ configs:
|
|
| 43 |
pretty_name: RecurrReason
|
| 44 |
---
|
| 45 |
|
| 46 |
-
|
| 47 |
|
| 48 |
<div align="center">
|
| 49 |
|
|
|
|
|
|
|
| 50 |
**A difficulty-controlled benchmark for evaluating multi-step reasoning in language models**
|
| 51 |
|
| 52 |
[](https://openreview.net/forum?id=ErgAON9dOW)
|
|
@@ -73,11 +75,9 @@ pretty_name: RecurrReason
|
|
| 73 |
|
| 74 |
RecurrReason is a benchmark of **four recurrent logic puzzles** with **BFS-optimal trajectories** and controlled difficulty scaling (N=1 to 10). It tests whether language models can:
|
| 75 |
|
| 76 |
-
-
|
| 77 |
-
-
|
| 78 |
-
-
|
| 79 |
-
|
| 80 |
-
### Key Statistics
|
| 81 |
|
| 82 |
| Metric | Value |
|
| 83 |
|--------|-------|
|
|
@@ -85,9 +85,6 @@ RecurrReason is a benchmark of **four recurrent logic puzzles** with **BFS-optim
|
|
| 85 |
| **Total Moves** | 285,933 |
|
| 86 |
| **Puzzle Types** | 4 |
|
| 87 |
| **Difficulty Range** | N=1 to 10 |
|
| 88 |
-
| **Solution Type** | BFS-optimal |
|
| 89 |
-
|
| 90 |
-
### Why RecurrReason?
|
| 91 |
|
| 92 |
Current reasoning benchmarks often test only **final answer correctness**. RecurrReason evaluates:
|
| 93 |
|
|
@@ -293,53 +290,20 @@ def evaluate_model(model, test_data):
|
|
| 293 |
|
| 294 |
## π Paper & Code
|
| 295 |
|
| 296 |
-
### Paper
|
| 297 |
-
|
| 298 |
**"Recurrent Reasoning on Symbolic Puzzles with Sequence Models"**
|
| 299 |
Gowrav Mannem, Chowdhury Marzia Mahjabin, Jason Chen, Shivank Garg, Kevin Zhu
|
| 300 |
*ICLR 2026 Workshop on Logical Reasoning of Large Language Models*
|
| 301 |
|
| 302 |
π [Read on OpenReview](https://openreview.net/forum?id=ErgAON9dOW)
|
| 303 |
π [PDF](https://openreview.net/pdf?id=ErgAON9dOW)
|
| 304 |
-
|
| 305 |
-
### Code Repository
|
| 306 |
-
|
| 307 |
-
Full code for dataset generation, model training, and evaluation:
|
| 308 |
-
|
| 309 |
π [GitHub Repository](https://github.com/gmannem/recurrreason)
|
| 310 |
|
| 311 |
-
Includes:
|
| 312 |
-
- BFS-optimal trajectory generation
|
| 313 |
-
- Puzzle simulators
|
| 314 |
-
- Baseline model implementations (T5, GPT-2)
|
| 315 |
-
- Evaluation scripts with metrics
|
| 316 |
-
|
| 317 |
---
|
| 318 |
|
| 319 |
-
## π Benchmark Results
|
| 320 |
-
|
| 321 |
-
From our paper comparing T5-small (60M) and GPT-2 (124M):
|
| 322 |
-
|
| 323 |
-
| Puzzle | Best Model | Val (%) | OOD (%) |
|
| 324 |
-
|--------|-----------|---------|---------|
|
| 325 |
-
| Block World | T5 FT | 97.27 | **81.00** |
|
| 326 |
-
| Tower of Hanoi | T5 FT | 11.11 | 0.00 |
|
| 327 |
-
| Checkers Jumping | Both FT | 1.11 | 0.10 |
|
| 328 |
-
| River Crossing | - | 0.00 | 0.00 |
|
| 329 |
-
|
| 330 |
-
**Key findings:**
|
| 331 |
-
- Architecture matters more than scale (T5-60M > GPT-2-124M)
|
| 332 |
-
- Bidirectional attention essential for goal-conditioned planning
|
| 333 |
-
- Pre-training transfers only to locally-structured tasks (Block World)
|
| 334 |
-
- Exponential solution length defeats imitation learning
|
| 335 |
-
|
| 336 |
-
See paper for full results and analysis.
|
| 337 |
-
|
| 338 |
-
---
|
| 339 |
|
| 340 |
## π Citation
|
| 341 |
|
| 342 |
-
If you use RecurrReason in your research, please cite
|
| 343 |
|
| 344 |
```bibtex
|
| 345 |
@inproceedings{mannem2026recurrent,
|
|
@@ -349,8 +313,13 @@ If you use RecurrReason in your research, please cite our paper:
|
|
| 349 |
year={2026},
|
| 350 |
url={https://openreview.net/forum?id=ErgAON9dOW}
|
| 351 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 352 |
```
|
| 353 |
-
|
| 354 |
---
|
| 355 |
|
| 356 |
## π License
|
|
@@ -375,42 +344,10 @@ Found an issue or have suggestions? Please:
|
|
| 375 |
|
| 376 |
1. Open an issue on [GitHub](https://github.com/gmannem/recurrreason/issues)
|
| 377 |
2. Use the "Discussions" tab on HuggingFace
|
| 378 |
-
3. Contact us at:
|
| 379 |
-
|
| 380 |
-
---
|
| 381 |
-
|
| 382 |
-
## π Acknowledgments
|
| 383 |
-
|
| 384 |
-
We thank the reviewers and workshop organizers for their feedback.
|
| 385 |
-
|
| 386 |
-
This benchmark extends the puzzle set introduced by Shojaee et al. (2025) with BFS-optimal trajectories, permutation augmentations, and systematic difficulty scaling.
|
| 387 |
-
|
| 388 |
-
**Reference:**
|
| 389 |
-
> Shojaee, P., Mirzadeh, I., Alizadeh, K., Horton, M., Bengio, S., & Farajtabar, M. (2025).
|
| 390 |
-
> The illusion of thinking: Understanding the strengths and limitations of reasoning models via the lens of problem complexity.
|
| 391 |
-
> *arXiv preprint arXiv:2506.06941*.
|
| 392 |
-
|
| 393 |
-
This work was conducted at the University of Washington, New York University, and Cornell University.
|
| 394 |
-
|
| 395 |
-
---
|
| 396 |
-
|
| 397 |
-
## π Additional Resources
|
| 398 |
-
|
| 399 |
-
- **Dataset Card**: You're reading it!
|
| 400 |
-
- **Paper**: [OpenReview](https://openreview.net/forum?id=ErgAON9dOW)
|
| 401 |
-
- **Code**: [GitHub](https://github.com/gmannem/recurrreason)
|
| 402 |
-
- **Puzzle Documentation**:
|
| 403 |
-
- [Block World](BLOCK_WORLD.md)
|
| 404 |
-
- [Checkers Jumping](CHECKERS_JUMPING.md)
|
| 405 |
-
- [Tower of Hanoi](TOWER_OF_HANOI.md)
|
| 406 |
-
- [River Crossing](RIVER_CROSSING.md)
|
| 407 |
|
| 408 |
---
|
| 409 |
|
| 410 |
<div align="center">
|
| 411 |
-
|
| 412 |
**Built with β€οΈ for the reasoning research community**
|
| 413 |
-
|
| 414 |
-
[π Homepage](https://github.com/gmannem/recurrreason) β’ [π§ Contact](mailto:gowravmannem@gmail.com) β’ [π Paper](https://openreview.net/forum?id=ErgAON9dOW)
|
| 415 |
-
|
| 416 |
</div>
|
|
|
|
| 43 |
pretty_name: RecurrReason
|
| 44 |
---
|
| 45 |
|
| 46 |
+
|
| 47 |
|
| 48 |
<div align="center">
|
| 49 |
|
| 50 |
+
# RecurrReason: Recurrent Reasoning on Symbolic Puzzles
|
| 51 |
+
|
| 52 |
**A difficulty-controlled benchmark for evaluating multi-step reasoning in language models**
|
| 53 |
|
| 54 |
[](https://openreview.net/forum?id=ErgAON9dOW)
|
|
|
|
| 75 |
|
| 76 |
RecurrReason is a benchmark of **four recurrent logic puzzles** with **BFS-optimal trajectories** and controlled difficulty scaling (N=1 to 10). It tests whether language models can:
|
| 77 |
|
| 78 |
+
- Find **optimal** (minimal-length) solutions
|
| 79 |
+
- Produce **valid** intermediate steps
|
| 80 |
+
- **Generalize** to harder out-of-distribution instances
|
|
|
|
|
|
|
| 81 |
|
| 82 |
| Metric | Value |
|
| 83 |
|--------|-------|
|
|
|
|
| 85 |
| **Total Moves** | 285,933 |
|
| 86 |
| **Puzzle Types** | 4 |
|
| 87 |
| **Difficulty Range** | N=1 to 10 |
|
|
|
|
|
|
|
|
|
|
| 88 |
|
| 89 |
Current reasoning benchmarks often test only **final answer correctness**. RecurrReason evaluates:
|
| 90 |
|
|
|
|
| 290 |
|
| 291 |
## π Paper & Code
|
| 292 |
|
|
|
|
|
|
|
| 293 |
**"Recurrent Reasoning on Symbolic Puzzles with Sequence Models"**
|
| 294 |
Gowrav Mannem, Chowdhury Marzia Mahjabin, Jason Chen, Shivank Garg, Kevin Zhu
|
| 295 |
*ICLR 2026 Workshop on Logical Reasoning of Large Language Models*
|
| 296 |
|
| 297 |
π [Read on OpenReview](https://openreview.net/forum?id=ErgAON9dOW)
|
| 298 |
π [PDF](https://openreview.net/pdf?id=ErgAON9dOW)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 299 |
π [GitHub Repository](https://github.com/gmannem/recurrreason)
|
| 300 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 301 |
---
|
| 302 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 303 |
|
| 304 |
## π Citation
|
| 305 |
|
| 306 |
+
If you use RecurrReason in your research, please cite the following papers. This benchmark extends the puzzle set introduced by Shojaee et al. (2025) with BFS-optimal trajectories, permutation augmentations, and systematic difficulty scaling.
|
| 307 |
|
| 308 |
```bibtex
|
| 309 |
@inproceedings{mannem2026recurrent,
|
|
|
|
| 313 |
year={2026},
|
| 314 |
url={https://openreview.net/forum?id=ErgAON9dOW}
|
| 315 |
}
|
| 316 |
+
@article{shojaee2025illusion,
|
| 317 |
+
title={The illusion of thinking: Understanding the strengths and limitations of reasoning models via the lens of problem complexity},
|
| 318 |
+
author={Shojaee, Parshin and Mirzadeh, Iman and Alizadeh, Keivan and Horton, Maxwell and Bengio, Samy and Farajtabar, Mehrdad},
|
| 319 |
+
journal={arXiv preprint arXiv:2506.06941},
|
| 320 |
+
year={2025}
|
| 321 |
+
}
|
| 322 |
```
|
|
|
|
| 323 |
---
|
| 324 |
|
| 325 |
## π License
|
|
|
|
| 344 |
|
| 345 |
1. Open an issue on [GitHub](https://github.com/gmannem/recurrreason/issues)
|
| 346 |
2. Use the "Discussions" tab on HuggingFace
|
| 347 |
+
3. Contact us at: gowravmannem@gmail.com
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 348 |
|
| 349 |
---
|
| 350 |
|
| 351 |
<div align="center">
|
|
|
|
| 352 |
**Built with β€οΈ for the reasoning research community**
|
|
|
|
|
|
|
|
|
|
| 353 |
</div>
|