← Benchmark papers

A Regex Minimization Benchmark: A PSPACE-Complete Challenge for Language Models

Hyundong Jin, Joonghyuk Hahn, Yo-Sub Han

eacl · 2026

Read the paper ↗

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 scores grouped by evaluation
Model or baselineScoreChart
Minimality accuracy (0–1)A Regex Minimization Benchmark: A PSPACE-Complete Challenge for Language Models · Table 9 RMC · five-shot
GPT-4o0.29
OpenAI o10.79
Gemini-2.5-pro0.91
Semantic equivalence accuracy (0–1)A Regex Minimization Benchmark: A PSPACE-Complete Challenge for Language Models · Table 9 RMC · five-shot
GPT-4o0.47
OpenAI o10.98
Gemini-2.5-pro1
Output-to-input length ratioA Regex Minimization Benchmark: A PSPACE-Complete Challenge for Language Models · Table 9 RMC · five-shotLower is better
GPT-4o0.939
OpenAI o10.8091
Gemini-2.5-pro0.7905
Semantic equivalence accuracy (0–1)A Regex Minimization Benchmark: A PSPACE-Complete Challenge for Language Models · Table 9 ERMB · five-shot
GPT-4o0.02
OpenAI o10.86
Gemini-2.5-pro0.87
Output-to-input length ratioA Regex Minimization Benchmark: A PSPACE-Complete Challenge for Language Models · Table 9 ERMB · five-shotLower is better
GPT-4o0.9961
OpenAI o10.8403
Gemini-2.5-pro0.8153
Minimality accuracy (0–1)A Regex Minimization Benchmark: A PSPACE-Complete Challenge for Language Models · Table 2 RMC · Trained from scratch
BART 139M0.8589
T5 223M0.8556
Semantic equivalence accuracy (0–1)A Regex Minimization Benchmark: A PSPACE-Complete Challenge for Language Models · Table 2 RMC · Trained from scratch
BART 139M0.8712
T5 223M0.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 139M0.7966
T5 223M0.7972
Minimality accuracy (0–1)A Regex Minimization Benchmark: A PSPACE-Complete Challenge for Language Models · Table 2 RMC · Zero-shot
Llama3.1:8B0.0172
Llama3.3:70B0.1345
Qwen2.5:7B0.0763
Qwen2.5-coder:7B0.1048
Qwen2.5:72B0.2031
Semantic equivalence accuracy (0–1)A Regex Minimization Benchmark: A PSPACE-Complete Challenge for Language Models · Table 2 RMC · Zero-shot
Llama3.1:8B0.0588
Llama3.3:70B0.2427
Qwen2.5:7B0.1651
Qwen2.5-coder:7B0.1843
Qwen2.5:72B0.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:8B0.9939
Llama3.3:70B0.9733
Qwen2.5:7B0.9891
Qwen2.5-coder:7B0.9785
Qwen2.5:72B0.9537
Minimality accuracy (0–1)A Regex Minimization Benchmark: A PSPACE-Complete Challenge for Language Models · Table 2 RMC · 5-shot
Llama3.1:8B0.0395
Llama3.3:70B0.2115
Qwen2.5:7B0.0675
Qwen2.5-coder:7B0.1067