# Neural Generation of Regular Expressions from Natural Language with Minimal Domain Knowledge

arXiv: https://arxiv.org/abs/1608.03000 · HTML: https://mlsanity.com/paper/1608.03000/

## Key facts

- Cited by 24 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 9 Aug 2016.

## Built on by (most cited first, 24 of 24)

- [Symbol-LLM: Towards Foundational Symbol-centric Interface For Large Language Models](https://mlsanity.com/paper/2311.09278/) (2023)
- [LLM-JEPA: Large Language Models Meet Joint Embedding Predictive Architectures](https://mlsanity.com/paper/2509.14252/) (2025)
- [Formal Specifications from Natural Language](https://mlsanity.com/paper/2206.01962/) (2022)
- [FIREBALL: A Dataset of Dungeons and Dragons Actual-Play with Structured Game State Information](https://mlsanity.com/paper/2305.01528/) (2023)
- [Multi-modal Program Inference: a Marriage of Pre-trainedLanguage Models and Component-based Synthesis](https://mlsanity.com/paper/2109.02445/) (2021)
- [Semantic Tube Prediction: Beating LLM Data Efficiency with JEPA](https://mlsanity.com/paper/2602.22617/) (2026)
- [GrASP: A Library for Extracting and Exploring Human-Interpretable Textual Patterns](https://mlsanity.com/paper/2104.03958/) (2021)
- [Search-Based Regular Expression Inference on a GPU](https://mlsanity.com/paper/2305.18575/) (2023)
- [InfeRE: Step-by-Step Regex Generation via Chain of Inference](https://mlsanity.com/paper/2308.04041/) (2023)
- [JaCoText: A Pretrained Model for Java Code-Text Generation](https://mlsanity.com/paper/2303.12869/) (2023)
- [A Survey on Artificial Intelligence for Source Code: A Dialogue Systems Perspective](https://mlsanity.com/paper/2202.04847/) (2022)
- [The JEPA Paradox in Language: The Geometry of Linguistic Alternatives](https://mlsanity.com/paper/2607.23531/) (2026)
- [Transforming NLU with Babylon: A Case Study in Development of Real-time, Edge-Efficient, Multi-Intent Translation System for Automated Drive-Thru Ordering](https://mlsanity.com/paper/2411.15372/) (2024)
- [On Synthesis of Timed Regular Expressions](https://mlsanity.com/paper/2509.06262/) (2025)
- [DLLM-JEPA: Joint Embedding Predictive Architectures for Masked Diffusion Language Models](https://mlsanity.com/paper/2606.00091/) (2026)
- [Regular Expressions for Fast-response COVID-19 Text Classification](https://mlsanity.com/paper/2102.09507/) (2021)
- [Revelio: ML-Generated Debugging Queries for Distributed Systems](https://mlsanity.com/paper/2106.14347/) (2021)
- [Programming Language Agnostic Mining of Code and Language Pairs with Sequence Labeling Based Question Answering](https://mlsanity.com/paper/2203.10744/) (2022)
- [Neuro-Symbolic Regex Synthesis Framework via Neural Example Splitting](https://mlsanity.com/paper/2205.11258/) (2022)
- [Correct and Optimal: the Regular Expression Inference Challenge](https://mlsanity.com/paper/2308.07899/) (2023)
- [MedPromptExtract (Medical Data Extraction Tool): Anonymization and Hi-fidelity Automated data extraction using NLP and prompt engineering](https://mlsanity.com/paper/2405.02664/) (2024)
- [RuleChef: Grounding LLM Task Knowledge in Human-Editable Rules](https://mlsanity.com/paper/2607.01293/) (2026)
- [Counterexamples as Feedback for Agent Self-Correction](https://mlsanity.com/paper/2609.02892/) (2026)
- [ER-JEPA: Experience Replay Improves Joint-Embedding Predictive Learning in Language Models](https://mlsanity.com/paper/2609.36952/) (2026)

## Abstract (arXiv)

This paper explores the task of translating natural language queries into regular expressions which embody their meaning. In contrast to prior work, the proposed neural model does not utilize domain-specific crafting, learning to translate directly from a parallel corpus. To fully explore the potential of neural models, we propose a methodology for collecting a large corpus of regular expression, natural language pairs. Our resulting model achieves a performance gain of 19.6% over previous state-of-the-art models.
