一种带交错的单次出现正则表达式的抗噪微分学习方法
A Noise-tolerant Differentiable Learning Approach for Single Occurrence Regular Expression with Interleaving
摘要:
我们研究了从一组可能带有噪声的文本字符串中学习一个带有交织的单次出现正则表达式(SOIRE)的问题。SOIRE完全支持交错,并涵盖了实践中使用的大部分正则表达式。学习SOIRE具有挑战性,因为它需要大量的计算,并且文本字符串在实践中通常包含噪声。以往的研究大多只学习有限的SOIRE,对噪声数据的鲁棒性不强。为了解决这些问题,我们提出了一个噪声容忍的可微学习方法SOIREDL的SOIRE。我们设计了一个神经网络来模拟SOIRE匹配,并从理论上证明了由神经网络学习的参数集的某些分配,称为忠实编码,是一对一对应于SOIRE的有界大小。基于这种对应关系,我们通过探索最近的忠实编码,从神经网络的一组参数的分配来解释目标SOIRE。实验结果表明,SOIREDL优于国家的最先进的方法,特别是对噪声数据。
英文摘要:
We study the problem of learning a single occurrence regular expression with interleaving (SOIRE) from a set of text strings possibly with noise. SOIRE fully supports interleaving and covers a large portion of regular expressions used in practice. Learning SOIREs is challenging because it requires heavy computation and text strings usually contain noise in practice. Most of the previous studies only learn restricted SOIREs and are not robust on noisy data. To tackle these issues, we propose a noise-tolerant differentiable learning approach SOIREDL for SOIRE. We design a neural network to simulate SOIRE matching and theoretically prove that certain assignments of the set of parameters learnt by the neural network, called faithful encodings, are one-to-one corresponding to SOIREs for a bounded size. Based on this correspondence, we interpret the target SOIRE from an assignment of the set of parameters of the neural network by exploring the nearest faithful encodings. Experimental results show that SOIREDL outperforms the state-of-the-art approaches, especially on noisy data.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。