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

用于实时的神经语义解析的语法序列预测

Grammatical Sequence Prediction for Real-Time Neural Semantic Parsing

Bloomberg(彭博)

Chunyang Xiao, Christoph Teichmann, Konstantine Arkoudas

摘要:

虽然序列到序列(seq 2seq)模型在许多自然语言处理任务中实现了最先进的性能,但对于实时的【形】应用程序来说,它们可能太慢。一个性能瓶颈是在大量词汇表上预测最有可能的下一个标记;规避此瓶颈的方法是当前的研究主题。我们专注于使用seq 2seq模型的语义解析,我们观察到,语法往往存在指定有效的正式表示的话语语义。通过开发一种通用的方法来限制seq 2seq模型的预测,语法上允许的延续,我们到达一个广泛适用的技术,加快语义解析。与没有语法限制的相同神经模型相比,该技术在具有大量词汇的内部数据集上加速了74%。

英文摘要:

While sequence-to-sequence (seq2seq) models achieve state-of-the-art performance in many natural language processing tasks, they can be too slow for real-time applications. One performance bottleneck is predicting the most likely next token over a large vocabulary; methods to circumvent this bottleneck are a current research topic. We focus specifically on using seq2seq models for semantic parsing, where we observe that grammars often exist which specify valid formal representations of utterance semantics. By developing a generic approach for restricting the predictions of a seq2seq model to grammatically permissible continuations, we arrive at a widely applicable technique for speeding up semantic parsing. The technique leads to a 74% speed-up on an in-house dataset with a large vocabulary, compared to the same neural model without grammatical restrictions.

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

↑