ReSyn: A Generalized Recursive Regular Expression Synthesis Framework
Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence. Main Track. Pages 3908-3916.
https://doi.org/10.24963/ijcai.2026/435
Keywords
- Knowledge Representation and Reasoning: Knowledge representation languages
- Knowledge Representation and Reasoning: Computational complexity of reasoning
- Knowledge Representation and Reasoning: Learning and reasoning
- Knowledge Representation and Reasoning: Automated reasoning and theorem proving
Abstract
Existing Programming-By-Example (PBE) systems often rely on simplified benchmarks that fail to capture the high structural complexity of real-world regexes, such as deeper nesting and frequent use of union operations.
To overcome the resulting performance drop, we propose ReSyn, a synthesizer-agnostic divide-and-conquer framework that decomposes complex synthesis problem into manageable sub-problems.
We also introduce Set2Regex, a parameter-efficient synthesizer capturing the permutation invariance of examples.
Experimental results demonstrate that ReSyn significantly boosts accuracy across various synthesizers, and its combination with Set2Regex establishes a new state-of-the-art on challenging real-world benchmark.
The complete source code, datasets, and pre-trained model checkpoints are publicly available at https://github.com/mrseongminkim/ReSyn.
@inproceedings{ijcai2026p435,
title = {ReSyn: A Generalized Recursive Regular Expression Synthesis Framework},
author = {Kim, Seongmin and Cheon, Hyunjoon and Kim, Su-Hyeon and Han, Yo-Sub and Ko, Sang-Ki},
booktitle = {Proceedings of the Thirty-Fifth International Joint Conference on
Artificial Intelligence, {IJCAI-26}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {Diego Calvanese},
pages = {3908--3916},
year = {2026},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2026/435},
url = {https://doi.org/10.24963/ijcai.2026/435},
}
TY - CPAPER TI - ReSyn: A Generalized Recursive Regular Expression Synthesis Framework AU - Kim, Seongmin AU - Cheon, Hyunjoon AU - Kim, Su-Hyeon AU - Han, Yo-Sub AU - Ko, Sang-Ki T2 - Proceedings of the Thirty-Fifth International Joint Conference on Artificial Intelligence, IJCAI-26 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2026 SP - 3908 EP - 3916 DO - 10.24963/ijcai.2026/435 UR - https://doi.org/10.24963/ijcai.2026/435 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: