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

Total Recall:一种定制的神经语义分析器持续学习方法

Total Recall: a Customized Continual Learning Method for Neural Semantic Parsers

Monash University(莫纳什大学)

Zhuang Li, Lizhen Qu, Gholamreza Haffari

摘要:

本文研究了语义解析的持续学习。在这种设置中,神经语义解析器顺序地学习任务,而不访问来自先前任务的完整训练数据。直接应用SOTA持续学习算法来解决这个问题,无法实现与所有可见任务的再训练模型相当的性能,因为它们没有考虑语义解析器产生的结构化输出的特殊属性。因此,我们提出了TotalRecall,一种面向神经语义解析器的持续学习方法,从两个方面进行设计:i)一种记忆回放的采样方法,使逻辑形式模板多样化,并平衡解析动作在记忆中的分布; ii)一种两阶段的训练方法,显著提高了解析器跨任务的泛化能力。我们进行了大量的实验,研究涉及的研究问题,在持续的语义解析,并证明了一个神经语义分析器训练与TotalRecall实现优于一个直接训练的SOTA持续学习算法,并实现了3-6倍的加速比从头开始重新训练。代码和数据集可在https://github.com/zhuang-li/cl_nsp上获得。

英文摘要:

This paper investigates continual learning for semantic parsing. In this setting, a neural semantic parser learns tasks sequentially without accessing full training data from previous tasks. Direct application of the SOTA continual learning algorithms to this problem fails to achieve comparable performance with re-training models with all seen tasks because they have not considered the special properties of structured outputs yielded by semantic parsers. Therefore, we propose TotalRecall, a continual learning method designed for neural semantic parsers from two aspects: i) a sampling method for memory replay that diversifies logical form templates and balances distributions of parse actions in a memory; ii) a two-stage training method that significantly improves generalization capability of the parsers across tasks. We conduct extensive experiments to study the research problems involved in continual semantic parsing and demonstrate that a neural semantic parser trained with TotalRecall achieves superior performance than the one trained directly with the SOTA continual learning algorithms and achieve a 3-6 times speedup compared to re-training from scratch. Code and datasets are available at: https://github.com/zhuang-li/cl_nsp.

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

↑