arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2403.14050cs.CLcs.LGstat.AP
收藏

使用BART从推文中提取情感短语

Extracting Emotion Phrases from Tweets using BART

Mahdi Rezapour

AI总结:

本文提出一种基于问答框架和BART模型的情感短语提取方法,通过分类器预测答案边界,实现了87%的最终损失和0.61的Jaccard分数,克服了传统方法忽略具体情感短语的缺陷。

摘要:

情感分析是一项自然语言处理任务,旨在识别和提取文本的情感方面。然而,许多现有的情感分析方法主要对文本的整体极性进行分类,忽略了传达情感的具体短语。在本文中,我们应用了一种基于问答框架的情感分析方法。我们的方法利用了双向自回归Transformer(BART)——一种预训练的序列到序列模型——从给定文本中提取一个放大给定情感极性的短语。我们创建一个自然语言问题来识别要提取的具体情感,然后引导BART关注文本中相关的情感线索。我们在BART内部使用一个分类器来预测文本中答案跨度的起始和结束位置,这有助于识别提取的情感短语的精确边界。与大多数情感分析研究相比,我们的方法具有几个优势,包括捕获文本的完整上下文和含义,以及提取突出预期情感的精确标记跨度。我们实现了87%的最终损失和0.61的Jaccard分数。

英文摘要:

Sentiment analysis is a natural language processing task that aims to identify and extract the emotional aspects of a text. However, many existing sentiment analysis methods primarily classify the overall polarity of a text, overlooking the specific phrases that convey sentiment. In this paper, we applied an approach to sentiment analysis based on a question-answering framework. Our approach leverages the power of Bidirectional Autoregressive Transformer (BART), a pre-trained sequence-to-sequence model, to extract a phrase from a given text that amplifies a given sentiment polarity. We create a natural language question that identifies the specific emotion to extract and then guide BART to pay attention to the relevant emotional cues in the text. We use a classifier within BART to predict the start and end positions of the answer span within the text, which helps to identify the precise boundaries of the extracted emotion phrase. Our approach offers several advantages over most sentiment analysis studies, including capturing the complete context and meaning of the text and extracting precise token spans that highlight the intended sentiment. We achieved an end loss of 87% and Jaccard score of 0.61.

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

↑