Integrating Regular Expressions with Neural Networks via DFA
Not on the map. Why?
Abstract (arXiv)
Human-designed rules are widely used to build industry applications. However, it is infeasible to maintain thousands of such hand-crafted rules. So it is very important to integrate the rule knowledge into neural networks to build a hybrid model that achieves better performance. Specifically, the human-designed rules are formulated as Regular Expressions (REs), from which the equivalent Minimal Deterministic Finite Automatons (MDFAs) are constructed. We propose to use the MDFA as an intermediate model to capture the matched RE patterns as rule-based features for each input sentence and introduce these additional features into neural networks. We evaluate the proposed method on the ATIS intent classification task. The experiment results show that the proposed method achieves the best performance compared to neural networks and four other methods that combine REs and neural networks when the training dataset is relatively small.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 9 of its 15 references that are in the map. First posted on arXiv 7 Sep 2021.
Builds on
9 of 15 references.
References · 9
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2017Recent Trends in Deep Learning Based Natural Language Processingcited by 262
- 2019Neural-Symbolic Computing: An Effective Methodology for Principled Integration of Machine Learning and Reasoningcited by 149
- 2016Harnessing Deep Neural Networks with Logic Rulescited by 135
- 2016Neural Symbolic Machines: Learning Semantic Parsers on Freebase with Weak Supervisioncited by 101
- 2019Embedding Symbolic Knowledge into Deep Networkscited by 49
- 2019Representing Formal Languages: A Comparison Between Finite Automata and Recurrent Neural Networkscited by 9
- 2018Marrying up Regular Expressions with Neural Networks: A Case Study for Spoken Language Understandingcited by 7
- 2020IterefinE: Iterative KG Refinement Embeddings using Symbolic Knowledgecited by 3
Built on by
Not cited yet.