学习将AMR转换为SPARQL
Learning to Transpile AMR into SPARQL
摘要:
我们提出了一个基于转换的系统,翻译抽象意义表示(AMR)到SPARQL的知识库问答(KBQA)。这允许我们将部分语义表示委托给一个经过严格预训练的语义解析器,同时学习使用少量配对数据的翻译。我们离开最近的工作有关AMR和SPARQL结构,但不是应用一组规则,我们教一个BART模型选择性地使用这些关系。此外,我们避免显式编码AMR,而是在BART的注意力机制中编码解析器状态,遵循最近的语义解析工作。由此产生的模型很简单,为其决策提供了支持文本,并且在两个知识库中优于KBQA中的最新方法:DBPedia(LC-QuAD 1.0,QALD-9)和Wikidata(WebQSP,SWQ-WD)。
英文摘要:
We propose a transition-based system to transpile Abstract Meaning Representation (AMR) into SPARQL for Knowledge Base Question Answering (KBQA). This allows us to delegate part of the semantic representation to a strongly pre-trained semantic parser, while learning transpiling with small amount of paired data. We depart from recent work relating AMR and SPARQL constructs, but rather than applying a set of rules, we teach a BART model to selectively use these relations. Further, we avoid explicitly encoding AMR but rather encode the parser state in the attention mechanism of BART, following recent semantic parsing works. The resulting model is simple, provides supporting text for its decisions, and outperforms recent approaches in KBQA across two knowledge bases: DBPedia (LC-QuAD 1.0, QALD-9) and Wikidata (WebQSP, SWQ-WD).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。