arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.08253cs.CL
收藏

面向语法归纳的神经网络泛化能力基准测试

Benchmarking Neural Network Generalization for Grammar Induction

Ecole Normale Supérieure(巴黎高等师范学院);Tel Aviv University(特拉维夫大学)

Nur Lan, Emmanuel Chemla, Roni Katzir

AI总结:

该研究针对语法归纳任务中神经网络泛化能力评估不充分的问题,提出基于形式语言的泛化得分衡量方法与基准,验证了MDL目标训练的网络泛化更优、数据效率更高。

摘要:

神经网络的泛化能力究竟如何?即便在目标泛化规则完全明确的语法归纳任务中,以往研究也未能给出明确答案——它们仅在训练集范围外开展了极为有限的测试,且采用的成功判定标准各不相同。我们基于完全定义的形式语言,提出了一种衡量神经网络泛化能力的方法:给定一个模型和一套形式语法,该方法会输出一个泛化得分,该得分与模型在未见样本上的泛化效果正相关,与模型训练所用的数据量负相关。该基准涵盖$a^nb^n$、$a^nb^nc^n$、$a^nb^mc^{n+m}$以及Dyck-1、Dyck-2等语言。我们使用该基准评估了部分选定的架构,发现采用最小描述长度目标(MDL)训练的网络,相比使用标准损失函数训练的网络,泛化能力更强,且所需训练数据更少。该基准可在https://github.com/taucompling/bliss 获取。

英文摘要:

How well do neural networks generalize? Even for grammar induction tasks, where the target generalization is fully known, previous works have left the question open, testing very limited ranges beyond the training set and using different success criteria. We provide a measure of neural network generalization based on fully specified formal languages. Given a model and a formal grammar, the method assigns a generalization score representing how well a model generalizes to unseen samples in inverse relation to the amount of data it was trained on. The benchmark includes languages such as $a^nb^n$, $a^nb^nc^n$, $a^nb^mc^{n+m}$, and Dyck-1 and 2. We evaluate selected architectures using the benchmark and find that networks trained with a Minimum Description Length objective (MDL) generalize better and using less data than networks trained using standard loss functions. The benchmark is available at https://github.com/taucompling/bliss.

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

↑