Research map / Large language models / Language, safety and interpretability
SoftRegex: Generating Regex from Natural Language Descriptions using Softened Regex Equivalence
Jun-U Park, Sang-Ki Ko, Marco Cognetta, Yo-Sub Han
Yonsei University · Kangwon National University
Read the paperPlace an idea next to itCheck your own paper ↗
6measured effects
3improved
2no clear effect
1hurt
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| replace the exact DFA-equivalence oracle reward with the learned EQ Reg soft reward | SemRegex-style NL-to-regex model · training time per epoch | training time: at least 3.6 times faster than SemRegex (worst case NL-RX-Synth) | Improved |
| use EQ Reg soft reward instead of oracle reward | SemRegex · KB13 | accuracy: 78.2% -> 78.2% | No clear effect |
| use EQ Reg soft reward instead of oracle reward | SemRegex · NL-RX-Turk | accuracy: 62.3% -> 62.8% | Improved |
| use EQ Reg soft reward instead of oracle reward | SemRegex · NL-RX-Synth | accuracy: 91.6% -> 91.4% | No clear effect |
| use EQ Reg soft reward instead of distinguishing-test-case reward | SemRegex (Distinguishing Test Cases) · KB13 | accuracy: 77.5% -> 78.2% | Improved |
| test EQ Reg on regex pairs deeper than training depth | EQ Reg · EQ Reg test sets | F1: 0.986 (depth 3) -> 0.868 (depth 4) -> 0.853 (depth 5) | Hurt |
Closest papers by meaning
- SemRegex: A Semantics-Based Approach for Generating Regular Expressions from Natural Language Specifications (EMNLP 2018 · similarity 0.88)
- Neural Generation of Regular Expressions from Natural Language with Minimal Domain Knowledge (EMNLP 2016 · similarity 0.87)
- Cold-Start and Interpretability: Turning Regular Expressions into Trainable Recurrent Neural Networks (EMNLP 2020 · similarity 0.86)
- A Noise-Tolerant Differentiable Learning Approach for Single Occurrence Regular Expression with Interleaving (AAAI 2023 · similarity 0.85)
- Content and Context: Two-Pronged Bootstrapped Learning for Regex-Formatted Entity Extraction (AAAI 2018 · similarity 0.84)
- Neuralizing Regular Expressions for Slot Filling (EMNLP 2021 · similarity 0.83)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
