A Regex Minimization Benchmark: A PSPACE-Complete Challenge for Language Models
Hyundong Jin, Joonghyuk Hahn, Yo-Sub Han
eacl · 2026
Validity evidence
Paper-level V5 annotation.
View V5 annotation
- Objects of Evaluation
- yes
- Intended Users
- yes
- Intended Interpretation or Use
- yes
- Capabilities Stated
- yes
- Capability Choice Justification
- yes
- Capability Definitions
- defined
- Capability Definition Justification
- yes
- Measured Capability Structure
- no
- Capability Structure Justification
- no
- Data Source
- newly created
- Newly-Created Sub-Type
- synthetic
- Data Description
- detailed
- Item-to-Capability Mapping
- implicit
- Content Justification
- yes
- Primary Adaptation Method Description
- zero shot, few shot, supervised training, train test split provided
- Downstream Adaptation Prescription
- no
- Adaptation Justification
- no
- Assembly Method
- split described
- Assembly Justification
- yes
- Evaluation-Set Policy
- subset allowed
- Official Evidence Extraction Method
- automatic metric
- Metric Justification
- yes
- Within-Slice Evidence Accumulation
- averaging, pooled counts, other
- Cross-Slice Evidence Accumulation
- per slice only
- Evidence Accumulation Justification
- partial
Reported model results
Regex Minimization Benchmark
| Model or baseline | Score | Chart |
|---|---|---|
| Minimality accuracy (0–1)A Regex Minimization Benchmark: A PSPACE-Complete Challenge for Language Models · Table 9 RMC · five-shot | ||
| 0.29 | ||
| 0.79 | ||
| 0.91 | ||
| Semantic equivalence accuracy (0–1)A Regex Minimization Benchmark: A PSPACE-Complete Challenge for Language Models · Table 9 RMC · five-shot | ||
| 0.47 | ||
| 0.98 | ||
| 1 | ||
| Output-to-input length ratioA Regex Minimization Benchmark: A PSPACE-Complete Challenge for Language Models · Table 9 RMC · five-shotLower is better | ||
| 0.939 | ||
| 0.8091 | ||
| 0.7905 | ||
| Semantic equivalence accuracy (0–1)A Regex Minimization Benchmark: A PSPACE-Complete Challenge for Language Models · Table 9 ERMB · five-shot | ||
| 0.02 | ||
| 0.86 | ||
| 0.87 | ||
| Output-to-input length ratioA Regex Minimization Benchmark: A PSPACE-Complete Challenge for Language Models · Table 9 ERMB · five-shotLower is better | ||
| 0.9961 | ||
| 0.8403 | ||
| 0.8153 | ||
| Minimality accuracy (0–1)A Regex Minimization Benchmark: A PSPACE-Complete Challenge for Language Models · Table 2 RMC · Trained from scratch | ||
| BART 139M | 0.8589 | |
| T5 223M | 0.8556 | |
| Semantic equivalence accuracy (0–1)A Regex Minimization Benchmark: A PSPACE-Complete Challenge for Language Models · Table 2 RMC · Trained from scratch | ||
| BART 139M | 0.8712 | |
| T5 223M | 0.8671 | |
| Output-to-input length ratioA Regex Minimization Benchmark: A PSPACE-Complete Challenge for Language Models · Table 2 RMC · Trained from scratchLower is better | ||
| BART 139M | 0.7966 | |
| T5 223M | 0.7972 | |
| Minimality accuracy (0–1)A Regex Minimization Benchmark: A PSPACE-Complete Challenge for Language Models · Table 2 RMC · Zero-shot | ||
| Llama3.1:8B | 0.0172 | |
| Llama3.3:70B | 0.1345 | |
| Qwen2.5:7B | 0.0763 | |
| Qwen2.5-coder:7B | 0.1048 | |
| Qwen2.5:72B | 0.2031 | |
| Semantic equivalence accuracy (0–1)A Regex Minimization Benchmark: A PSPACE-Complete Challenge for Language Models · Table 2 RMC · Zero-shot | ||
| Llama3.1:8B | 0.0588 | |
| Llama3.3:70B | 0.2427 | |
| Qwen2.5:7B | 0.1651 | |
| Qwen2.5-coder:7B | 0.1843 | |
| Qwen2.5:72B | 0.5452 | |
| Output-to-input length ratioA Regex Minimization Benchmark: A PSPACE-Complete Challenge for Language Models · Table 2 RMC · Zero-shotLower is better | ||
| Llama3.1:8B | 0.9939 | |
| Llama3.3:70B | 0.9733 | |
| Qwen2.5:7B | 0.9891 | |
| Qwen2.5-coder:7B | 0.9785 | |
| Qwen2.5:72B | 0.9537 | |
| Minimality accuracy (0–1)A Regex Minimization Benchmark: A PSPACE-Complete Challenge for Language Models · Table 2 RMC · 5-shot | ||
| Llama3.1:8B | 0.0395 | |
| Llama3.3:70B | 0.2115 | |
| Qwen2.5:7B | 0.0675 | |
| Qwen2.5-coder:7B | 0.1067 | |