mlsanityData to 14 Oct 2026

RegexPSPACE: A Benchmark for Evaluating LLM Reasoning on PSPACE-complete Regex Problems

arXiv 2510.09227 ↗First posted 10 Oct 2025cs.AI cs.FLcited by 1

On the map: LLM reasoning → Reasoning benchmarks and evaluation

Abstract (arXiv)

Large language models (LLMs) show strong performance across natural language processing (NLP), mathematical reasoning, and programming, and recent large reasoning models (LRMs) further emphasize explicit reasoning. Yet their computational limits, particularly spatial complexity constrained by finite context windows, remain poorly understood. While recent works often focus on problems within the NP complexity class, we push the boundary by introducing a novel benchmark grounded in two PSPACE-complete regular expression (regex) problems: equivalence decision (RegexEQ) and minimization (RegexMin). PSPACE-complete problems serve as a more rigorous standard for assessing computational capacity, as their solutions require massive search space exploration. We perform a double-exponential space exploration to construct a labeled dataset of over a million regex instances with a sound filtering process to build the benchmark. We conduct extensive evaluations on 6 LLMs and 5 LRMs of varying scales, revealing common failure patterns such as verbosity and repetition. With its well-defined structure and quantitative evaluation metrics, this work presents the first empirical investigation into the spatial computational limitations of LLMs and LRMs, offering a new framework for evaluating their advanced reasoning capabilities. Our code is available at https://github.com/hyundong98/RegexPSPACE .

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 14 of its 45 references that are in the map. First posted on arXiv 10 Oct 2025.

Builds on

14 of 45 references.

Closest ancestors · 3

Same direction, newest first

  1. 2025EXAONE 4.0: Unified Large Language Models Integrating Non-reasoning and Reasoning Modes15 Jul
  2. 2025SATBench: Benchmarking LLMs' Logical Reasoning via Automated Puzzle Generation from SAT Formulas20 May
  3. 2025Phi-4-reasoning Technical Report30 Apr

Other references · 11

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
  3. 2024Qwen2.5 Technical Reportcited by 4,942
  4. 2023Qwen Technical Reportcited by 3,344
  5. 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
  6. 2025gpt-oss-120b & gpt-oss-20b Model Cardcited by 1,386
  7. 2024Qwen2.5-Coder Technical Reportcited by 1,203
  8. 2024Phi-4 Technical Reportcited by 711
  9. 2025Qwen2.5-1M Technical Reportcited by 164
  10. 2024Quantifying Generalization Complexity for Large Language Modelscited by 18
  11. 2024NPHardEval4V: Dynamic Evaluation of Large Vision-Language Models with Effects of Visioncited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Counterexample Guided Learning in the Large using Reasoning Agents
  2. 2023InfeRE: Step-by-Step Regex Generation via Chain of Inference
  3. 2025LLMSR@XLLM25: An Empirical Study of LLM for Structural Reasoning
  4. 2025Reasoning with Preference Constraints: A Benchmark for Language Models in Many-to-One Matching Markets
  5. 2025Nondeterministic Polynomial-time Problem Challenge: An Ever-Scaling Reasoning Benchmark for LLMs
  6. 2025Dissecting Logical Reasoning in LLMs: A Fine-Grained Evaluation and Supervision Study
  7. 2026Reasoning in a Combinatorial and Constrained World: Benchmarking LLMs on Natural-Language Combinatorial Optimization
  8. 2026How Well Do LLMs Perform on the Simplest Long-Chain Reasoning Tasks: An Empirical Study on the Equivalence Class Problem