Update README.md
Browse files
README.md
CHANGED
|
@@ -54,3 +54,120 @@ dataset_info:
|
|
| 54 |
dataset_size: 414922
|
| 55 |
---
|
| 56 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
dataset_size: 414922
|
| 55 |
---
|
| 56 |
|
| 57 |
+
# Dataset Card for Dataset Name
|
| 58 |
+
|
| 59 |
+
This dataset, RegexPSPACE, is a new benchmark of PSPACE-complete regex problems designed to evaluate the complex reasoning capabilities of Large Language Models (LLMs).
|
| 60 |
+
|
| 61 |
+
## 1. Dataset Details
|
| 62 |
+
|
| 63 |
+
#### Dataset Description
|
| 64 |
+
|
| 65 |
+
RegexPSPACE is the first benchmark designed to evaluate the reasoning capabilities of Large Language Models (LLMs) on PSPACE-complete regular expression (regex) problems.
|
| 66 |
+
The benchmark is grounded in two specific PSPACE-complete tasks: equivalence decision (RegexEQ) and minimization (RegexMin).
|
| 67 |
+
|
| 68 |
+
The dataset was constructed through a rigorous process of double-exponential space exploration and a sound filtering process, curating 1,685 challenging problems from over a million initial instances.
|
| 69 |
+
This research provides the first empirical investigation into the spatial computational limitations of LLMs, offering a new framework for evaluating their advanced reasoning capabilities.
|
| 70 |
+
|
| 71 |
+
- **Curated by:** Hyundong Jin, Joonghyuk Hahn, Yo-sub Han
|
| 72 |
+
- **Language(s) (NLP):** Regular Languages
|
| 73 |
+
- **License:** ```cc-by-nc-nd-4.0```
|
| 74 |
+
|
| 75 |
+
#### Dataset Sources
|
| 76 |
+
|
| 77 |
+
- **Repository:** https://github.com/hyundong98/RegexPSPACE
|
| 78 |
+
- **Paper:** https://arxiv.org/abs/2510.09227
|
| 79 |
+
|
| 80 |
+
## 2. Uses
|
| 81 |
+
|
| 82 |
+
#### Direct Use
|
| 83 |
+
|
| 84 |
+
The primary intended use of RegexPSPACE is for benchmarking the reasoning abilities of AI models, particularly Large Language Models (LLMs) and Large Reasoning Models (LRMs).
|
| 85 |
+
It is designed for researchers and developers to:
|
| 86 |
+
|
| 87 |
+
- Evaluate model performance on tasks requiring high spatial and computational complexity.
|
| 88 |
+
- Analyze failure patterns in complex, formal reasoning scenarios.
|
| 89 |
+
- Study the scaling effects of model size on advanced reasoning capabilities.
|
| 90 |
+
|
| 91 |
+
## 3. Dataset Structure
|
| 92 |
+
|
| 93 |
+
The dataset is divided into a test split and a fewshot split.
|
| 94 |
+
Since we plan to release the larger initial dataset separately, we constructed this benchmark by preserving its original data splits.
|
| 95 |
+
The test split, intended for benchmarking, was derived from the original test set. The fewshot split was sourced from the original train set.
|
| 96 |
+
Each instance contains a challenging regex problem and its associated ground-truth solutions for different tasks.
|
| 97 |
+
|
| 98 |
+
The following describes the features of the dataset.
|
| 99 |
+
|
| 100 |
+
- ```idx``` (int64): A unique identifier for the data instance.
|
| 101 |
+
- ```query``` (string): The input regular expression for the primary task.
|
| 102 |
+
- ```tree_length``` (int64): The length of the syntax tree for the query regex.
|
| 103 |
+
- ```depth``` (int64): The depth of the syntax tree for the query regex.
|
| 104 |
+
- ```minimized_regex``` (string): The ground-truth solution for the minimization task.
|
| 105 |
+
- ```minimized_tree_length``` (int64): The tree length of the minimized_regex.
|
| 106 |
+
- ```minimized_depth``` (int64): The tree depth of the minimized_regex.
|
| 107 |
+
- ```equivalent_regex``` (string): A distinct but semantically equivalent regex, used for the equivalence task.
|
| 108 |
+
- ```not_equivalent_regex``` (string): A non-equivalent regex, used for the equivalence task.
|
| 109 |
+
- ```positive_example``` (string): A string that matches the query regex.
|
| 110 |
+
- ```negative_example``` (string): A string that does not match the query regex.
|
| 111 |
+
|
| 112 |
+
## 4. Dataset Creation
|
| 113 |
+
|
| 114 |
+
#### Curation Rationale
|
| 115 |
+
|
| 116 |
+
The dataset was created to fill a gap in LLM evaluation by providing a benchmark that specifically targets the spatial complexity and reasoning limits of models.
|
| 117 |
+
Existing benchmarks often focus on knowledge or linguistic capabilities, whereas RegexPSPACE uses the formal, high-complexity nature of PSPACE-complete problems to probe the deeper computational reasoning of LLMs.
|
| 118 |
+
|
| 119 |
+
#### Data Collection and Processing
|
| 120 |
+
|
| 121 |
+
The data is entirely synthetically generated.
|
| 122 |
+
The process began with over a million initial regex instances.
|
| 123 |
+
These instances were subjected to a double-exponential space exploration and a sound filtering process to select for problems that are both challenging and unambiguous.
|
| 124 |
+
This ensures a high-quality evaluation set.
|
| 125 |
+
|
| 126 |
+
#### Who are the source data producers?
|
| 127 |
+
|
| 128 |
+
The source data was generated by a computational process designed by the dataset curators: Hyundong Jin.
|
| 129 |
+
|
| 130 |
+
#### Annotations
|
| 131 |
+
|
| 132 |
+
This dataset does not contain human annotations.
|
| 133 |
+
The target fields (e.g., minimized_regex) are ground-truth solutions generated and verified by the same computational process that created the problems.
|
| 134 |
+
|
| 135 |
+
#### Personal and Sensitive Information
|
| 136 |
+
|
| 137 |
+
The dataset contains no personal, private, or sensitive information. All data is synthetically generated and pertains to abstract mathematical and computational concepts.
|
| 138 |
+
|
| 139 |
+
## 5. Citation
|
| 140 |
+
|
| 141 |
+
<!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
|
| 142 |
+
|
| 143 |
+
**BibTeX:**
|
| 144 |
+
```
|
| 145 |
+
@misc{JinHH2025,
|
| 146 |
+
title={RegexPSPACE: A Benchmark for Evaluating LLM Reasoning on PSPACE-complete Regex Problems},
|
| 147 |
+
author={Hyundong Jin and Joonghyuk Hahn and Yo-Sub Han},
|
| 148 |
+
year={2025},
|
| 149 |
+
eprint={2510.09227},
|
| 150 |
+
archivePrefix={arXiv},
|
| 151 |
+
primaryClass={cs.AI},
|
| 152 |
+
url={https://arxiv.org/abs/2510.09227},
|
| 153 |
+
}
|
| 154 |
+
```
|
| 155 |
+
|
| 156 |
+
**APA:**
|
| 157 |
+
Jin, H., Hahn, J., & Han, Y. (2025). RegexPSPACE: A Benchmark for Evaluating LLM Reasoning on PSPACE-complete Regex Problems. arXiv preprint arXiv:2510.09227.
|
| 158 |
+
|
| 159 |
+
## 6. Glossary
|
| 160 |
+
|
| 161 |
+
- PSPACE-complete: A class of computational problems that are the "hardest" problems in the PSPACE complexity class. These problems require a polynomial amount of memory to solve.
|
| 162 |
+
|
| 163 |
+
- RegexMin (Minimization): The task of finding the shortest possible regular expression that is semantically equivalent to a given regex.
|
| 164 |
+
|
| 165 |
+
- RegexEQ (Equivalence): The task of determining whether two different regular expressions describe the same set of strings.
|
| 166 |
+
|
| 167 |
+
## 7. More Information
|
| 168 |
+
|
| 169 |
+
For more details, please refer to the official [GitHub repository](https://github.com/hyundong98/RegexPSPACE) and the [accompanying paper](https://arxiv.org/abs/2510.09227).
|
| 170 |
+
|
| 171 |
+
## 8. Dataset Card Contact
|
| 172 |
+
|
| 173 |
+
For questions or feedback about the dataset, please use the contact information provided in the paper or open an issue on the [GitHub repository](https://github.com/hyundong98/RegexPSPACE).
|