arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1909.03011cs.CLcs.LGstat.ML
收藏

基于稀疏正则化的RNN体系结构学习

RNN Architecture Learning with Sparse Regularization

Carnegie Mellon University(卡内基梅隆大学);Allen Institute for Artificial Intelligence(艾伦人工智能研究所);University of Washington(华盛顿大学)

Jesse Dodge, Roy Schwartz, Hao Peng, Noah A. Smith

摘要:

NLP的神经模型通常使用大量参数来达到最先进的性能,这可能导致过多的内存使用和运行时间增加。我们提出了一种结构学习方法来学习稀疏的,参数有效的NLP模型。我们的方法将组套索应用于有理RNN(Peng et al.,2018),一个与加权有限状态自动机(WFSA)密切相关的模型家族。我们利用了RNN对权重的自然分组,因此组套索惩罚直接删除了WFSA状态,大大减少了模型中的参数数量。我们在一些情感分析数据集上进行的实验,使用GloVe和BERT嵌入,表明我们的方法可以学习参数较少的神经结构,而不会牺牲相对于参数丰富的基线的性能。我们的方法还突出了理性RNN的可解释性。我们表明,稀疏化这样的模型,使他们更容易可视化,我们提出的模型,完全依赖于少至三个WFSA修剪后超过90%的权重。我们公开发布代码。

英文摘要:

Neural models for NLP typically use large numbers of parameters to reach state-of-the-art performance, which can lead to excessive memory usage and increased runtime. We present a structure learning method for learning sparse, parameter-efficient NLP models. Our method applies group lasso to rational RNNs (Peng et al., 2018), a family of models that is closely connected to weighted finite-state automata (WFSAs). We take advantage of rational RNNs' natural grouping of the weights, so the group lasso penalty directly removes WFSA states, substantially reducing the number of parameters in the model. Our experiments on a number of sentiment analysis datasets, using both GloVe and BERT embeddings, show that our approach learns neural structures which have fewer parameters without sacrificing performance relative to parameter-rich baselines. Our method also highlights the interpretable properties of rational RNNs. We show that sparsifying such models makes them easier to visualize, and we present models that rely exclusively on as few as three WFSAs after pruning more than 90% of the weights. We publicly release our code.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑