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

GASCOM:用于在线对话理解的基于图注意力语义上下文建模

GASCOM: Graph-based Attentive Semantic Context Modeling for Online Conversation Understanding

University of Surrey(萨里大学);Meta AI

Vibhor Agarwal, Yu Chen, Nishanth Sastry

AI总结:

本文提出GASCOM框架,利用图结构和语义信息检索相关上下文节点,并设计token级多头图注意力机制进行细粒度建模,在极性预测和仇恨言论检测任务上显著优于现有方法。

摘要:

在线对话理解是一个重要且具挑战性的NLP问题,具有许多有用的应用(例如仇恨言论检测)。然而,在线对话通常通过一系列帖子及对这些帖子的回复展开,形成树状结构,其中单个帖子可能引用树结构中更高位置的语义上下文。这种语义交叉引用使得单独理解单个帖子变得困难;然而,考虑整个对话树不仅难以扩展,而且可能具有误导性,因为单个对话可能包含多个不同的线程或观点,并非所有线程或观点都与所考虑的帖子相关。在本文中,我们提出了一种基于图注意力语义上下文建模(GASCOM)框架用于在线对话理解。具体而言,我们设计了两种新颖的算法,利用在线对话的图结构以及来自单个帖子的语义信息,从整个对话中检索相关的上下文节点。我们进一步设计了一种token级别的多头图注意力机制,对来自不同选定上下文话语的不同token给予不同的注意力,以进行细粒度的对话上下文建模。使用这种语义对话上下文,我们重新审视了两个经过充分研究的问题:极性预测和仇恨言论检测。我们提出的框架在两项任务上均显著优于最先进的方法,将极性预测的macro-F1分数提高了4.5%,将仇恨言论检测的macro-F1分数提高了5%。GASCOM上下文权重也增强了可解释性。

英文摘要:

Online conversation understanding is an important yet challenging NLP problem which has many useful applications (e.g., hate speech detection). However, online conversations typically unfold over a series of posts and replies to those posts, forming a tree structure within which individual posts may refer to semantic context from higher up the tree. Such semantic cross-referencing makes it difficult to understand a single post by itself; yet considering the entire conversation tree is not only difficult to scale but can also be misleading as a single conversation may have several distinct threads or points, not all of which are relevant to the post being considered. In this paper, we propose a Graph-based Attentive Semantic COntext Modeling (GASCOM) framework for online conversation understanding. Specifically, we design two novel algorithms that utilise both the graph structure of the online conversation as well as the semantic information from individual posts for retrieving relevant context nodes from the whole conversation. We further design a token-level multi-head graph attention mechanism to pay different attentions to different tokens from different selected context utterances for fine-grained conversation context modeling. Using this semantic conversational context, we re-examine two well-studied problems: polarity prediction and hate speech detection. Our proposed framework significantly outperforms state-of-the-art methods on both tasks, improving macro-F1 scores by 4.5% for polarity prediction and by 5% for hate speech detection. The GASCOM context weights also enhance interpretability.

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

↑