Keynote: Neuralizing Regular Expressions for Slot Filling
This paper proposes a novel approach to applying neural network-based regular expressions for the slot filling task, published at the 2021 EMNLP conference [Full Paper]. Interestingly, this work has a ‘prequel’—‘Cold-Start and Interpretability: Turning Regular Expressions into Trainable Recurrent Neural Networks [Full Paper],’ which I encountered a year earlier and found highly insightful. At the time, I anticipated that this approach could be extended to address other NLP challenges, such as named entity recognition. Indeed, the research team subsequently applied a similar technique to the slot filling problem the following year.
The inspiration I gained from this approach lies not only in transforming regular expressions into rule-driven neural networks but, more importantly, in the formal equivalence between dynamic programming and recurrent neural networks. This implies that, in theory, any pattern-matching algorithm based on dynamic programming can potentially be converted into an equivalent or approximate trainable neural network, making it adaptable to real-world scenarios such as knowledge-driven tasks, interpretability, and cold-start situations.