基于树分解的AMR文本生成算法
Tree Decomposition Attention for AMR-to-Text Generation
摘要:
从AMR生成文本需要将语义图映射到它所注释的字符串。然而,基于变换器的图编码器很难捕获可能有益于序列预测的顶点依赖性。为了对编码器施加顺序,我们使用图的树分解来局部约束顶点自注意。而不是形成一个完整的查询键二分图,我们限制注意到顶点的父,子树,和相同深度的袋子。这种层次化的上下文为顶点状态更新提供了稀疏性和结构。我们应用动态规划,以获得一个森林的树分解,选择结构上最相似的树的AMR。我们的系统比自我关注的基线高出1.6 BLEU和1.8 chrF++。
英文摘要:
Text generation from AMR requires mapping a semantic graph to a string that it annotates. Transformer-based graph encoders, however, poorly capture vertex dependencies that may benefit sequence prediction. To impose order on an encoder, we locally constrain vertex self-attention using a graph's tree decomposition. Instead of forming a full query-key bipartite graph, we restrict attention to vertices in parent, subtree, and same-depth bags of a vertex. This hierarchical context lends both sparsity and structure to vertex state updates. We apply dynamic programming to derive a forest of tree decompositions, choosing the most structurally similar tree to the AMR. Our system outperforms a self-attentive baseline by 1.6 BLEU and 1.8 chrF++.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。