SOTAVerified

Cold-Start and Interpretability: Turning Regular Expressions into Trainable Recurrent Neural Networks

2020-11-01EMNLP 2020Unverified0· sign in to hype

Chengyue Jiang, Yinggong Zhao, Shanbo Chu, Libin Shen, Kewei Tu

Unverified — Be the first to reproduce this paper.

Reproduce

Abstract

Neural networks can achieve impressive performance on many natural language processing applications, but they typically need large labeled data for training and are not easily interpretable. On the other hand, symbolic rules such as regular expressions are interpretable, require no training, and often achieve decent accuracy; but rules cannot benefit from labeled data when available and hence underperform neural networks in rich-resource scenarios. In this paper, we propose a type of recurrent neural networks called FA-RNNs that combine the advantages of neural networks and regular expression rules. An FA-RNN can be converted from regular expressions and deployed in zero-shot and cold-start scenarios. It can also utilize labeled data for training to achieve improved prediction accuracy. After training, an FA-RNN often remains interpretable and can be converted back into regular expressions. We apply FA-RNNs to text classification and observe that FA-RNNs significantly outperform previous neural approaches in both zero-shot and low-resource settings and remain very competitive in rich-resource settings.

Tasks

Reproductions