mlsanityData to 14 Oct 2026

Correct and Optimal: the Regular Expression Inference Challenge

arXiv 2308.07899 ↗First posted 15 Aug 2023cs.LG cs.CL cs.FLcited by 0

Not on the map. Why?

Abstract (arXiv)

We propose regular expression inference (REI) as a challenge for code/language modelling, and the wider machine learning community. REI is a supervised machine learning (ML) and program optimisation task, and poses the problem of finding minimal regular expressions from examples: Given two finite sets of strings P and N and a cost function cost(·), the task is to generate an expression r that accepts all strings in P and rejects all strings in N, while no other such expression r' exists with cost(r')<cost(r). REI has advantages as a challenge problem: (i) regular expressions are well-known, widely used, and a natural idealisation of code; (ii) REI's asymptotic worst-case complexity is well understood; (iii) REI has a small number of easy to understand parameters (e.g. P or N cardinality, string lengths of examples, or the cost function); this lets us easily finetune REI-hardness; (iv) REI, with its emphasis on optimisation, is an unsolved problem for deep learning based ML. Recently, an REI solver was implemented on GPUs, using program synthesis techniques. This enabled, for the first time, fast generation of minimal regular expressions for complex REI instances. Building on this advance, we generate and publish the first large-scale datasets for REI, and devise and evaluate several initial heuristic and machine learning baselines. We invite the community to participate and explore ML methods that learn to solve REI problems. We believe that progress in REI directly translates to progress in code/language modelling.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 19 of its 43 references that are in the map. First posted on arXiv 15 Aug 2023.

Builds on

19 of 43 references.

References · 19

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  4. 2021Program Synthesis with Large Language Modelscited by 3,637
  5. 2019The Curious Case of Neural Text Degenerationcited by 2,916
  6. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
  7. 2015A large annotated corpus for learning natural language inferencecited by 1,847
  8. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
  9. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,059
  10. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 906
  11. 2021Measuring Coding Challenge Competence With APPScited by 902
  12. 2019Adversarial NLI: A New Benchmark for Natural Language Understandingcited by 807
7 more
  1. 2018MultiWOZ -- A Large-Scale Multi-Domain Wizard-of-Oz Dataset for Task-Oriented Dialogue Modellingcited by 766
  2. 2021OpenMEVA: A Benchmark for Evaluating Open-ended Story Generation Metricscited by 61
  3. 2016Neural Generation of Regular Expressions from Natural Language with Minimal Domain Knowledgecited by 24
  4. 2020TransRegex: Multi-modal Regular Expression Synthesis by Generate-and-Repaircited by 8
  5. 2023Data Extraction via Semantic Regular Expression Synthesiscited by 8
  6. 2023MLRegTest: A Benchmark for the Machine Learning of Regular Languagescited by 7
  7. 2023Search-Based Regular Expression Inference on a GPUcited by 6

Built on by

Not cited yet.