arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1905.11531cs.CLcs.LG
收藏

神经语义解析的成分预训练

Compositional pre-training for neural semantic parsing

Stanford University(斯坦福大学)

Amir Ziai

摘要:

语义解析是将自然语言语句转换成逻辑形式的过程,它有许多重要的应用,如问答和指令遵循。序列到序列模型在许多NLP任务中非常成功。然而,缺乏特定于任务的先验知识可能对这些模型的性能不利。先前的工作已经使用框架来在训练样本上归纳语法,这些样本捕获模型可以利用的条件独立属性。受最近成功案例(如BERT)的启发,我们开始将此增强框架扩展为两个阶段。第一阶段是以无监督的方式使用增强示例的语料库进行预训练。第二阶段是针对特定领域的任务进行微调。此外,由于预训练阶段与主要任务的训练是分开的,我们还扩展了可能的增强范围,而不会导致灾难性的推断。我们还提出了一种新的数据增强策略,该策略交换在相似上下文中共同出现的标记以产生新的训练对。我们证明,建议的两阶段框架是有益的,提高解析精度的标准数据集称为GeoQuery的任务,从一组关于美国地理的问题生成逻辑形式。

英文摘要:

Semantic parsing is the process of translating natural language utterances into logical forms, which has many important applications such as question answering and instruction following. Sequence-to-sequence models have been very successful across many NLP tasks. However, a lack of task-specific prior knowledge can be detrimental to the performance of these models. Prior work has used frameworks for inducing grammars over the training examples, which capture conditional independence properties that the model can leverage. Inspired by the recent success stories such as BERT we set out to extend this augmentation framework into two stages. The first stage is to pre-train using a corpus of augmented examples in an unsupervised manner. The second stage is to fine-tune to a domain-specific task. In addition, since the pre-training stage is separate from the training on the main task we also expand the universe of possible augmentations without causing catastrophic inference. We also propose a novel data augmentation strategy that interchanges tokens that co-occur in similar contexts to produce new training pairs. We demonstrate that the proposed two-stage framework is beneficial for improving the parsing accuracy in a standard dataset called GeoQuery for the task of generating logical forms from a set of questions about the US geography.

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

↑