paper-with-me

홈 › Papers

Correct and Optimal: the Regular Expression Inference Challenge

2023-08-15 · Mojtaba Valizadeh, Philip John Gorinski, Ignacio Iacobacci, Martin Berger

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(\cdot)$, 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.

📄 PDF Abstract BibTeX arXiv:2308.07899

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModellingProgram Synthesis

Similar Papers 제목 키워드 기반

Automated Extraction of Acronym-Expansion Pairs from Scientific Papers

2024-12-02 · Izhar Ali, Million Haileyesus, Serhiy Hnatyshyn, Jan-Lucas Ott 외

This project addresses challenges posed by the widespread use of abbreviations and acronyms in digital texts. We propose a novel method that combines document preprocessing, regular expressions, and a large language mode…

Language ModelingLanguage ModellingLarge Language Model

Annotating Japanese Numeral Expressions for a Logical and Pragmatic Inference Dataset

2022-06-01 · ISA (LREC) 2022 6 · Kana Koyano, Hitomi Yanaka, Koji Mineshima, Daisuke Bekki

Numeral expressions in Japanese are characterized by the flexibility of quantifier positions and the variety of numeral suffixes. However, little work has been done to build annotated corpora focusing on these features a…

Real-time Regular Expression Matching

2023-08-20 · Alexandra Bernadotte

This paper is devoted to finite state automata, regular expression matching, pattern recognition, and the exponential blow-up problem, which is the growing complexity of automata exponentially depending on regular expres…

Intrusion DetectionNetwork Intrusion Detection

SoftRegex: Generating Regex from Natural Language Descriptions using Softened Regex Equivalence

2019-11-01 · IJCNLP 2019 11 · Jun-U Park, Sang-Ki Ko, Marco Cognetta, Yo-Sub Han

We continue the study of generating se-mantically correct regular expressions from natural language descriptions (NL). The current state-of-the-art model SemRegex produces regular expressions from NLs by rewarding the re…

On Regularization and Inference with Label Constraints

2023-07-08 · Kaifu Wang, Hangfeng He, Tin D. Nguyen, Piyush Kumar 외

Prior knowledge and symbolic rules in machine learning are often expressed in the form of label constraints, especially in structured prediction problems. In this work, we compare two common strategies for encoding label…

Structured Prediction