Logic tensor network with massive learned knowledge for aspect-based sentiment analysis

作者:

Highlights:

摘要

Aspect-based sentiment analysis assists service providers to better understand users’ opinions expressed in massive amounts of online posts, because it automatically infers users’ sentiments towards the aspect terms of interest. Recently, several researchers have attempted to apply first-order logic (FOL) rules to deep neural networks via the posterior constraint method. However, existing methods simply apply a priori constraints to represent the FOL with coefficients selected by hand, which requires improvements in incorporating and adapting abstract knowledge in data. In this study, we propose a novel logic tensor network with massive rules (LTNMR) for aspect-based sentiment analysis, which is constructed by incorporating FOL. Specifically, we integrate two types of knowledge into the logic tensor network: (1) dependency knowledge, which improves the efficiency of the capture of aspect-related words and (2) the human-defined knowledge rule, which helps the classifier understand the sentiment of the extracted aspect-related words. Furthermore, to achieve high inferring accuracy, we propose a mutual distillation structure knowledge injection (MDSKI) strategy. MDSKI transfers dependency knowledge from teacher Bert to LTNMR, which acts as the student network. Experiments demonstrate that the proposed LTNMR, combined with the MDSKI strategy, substantially outperforms state-of-the-art results for aspect-based sentiment analysis.

论文关键词:Aspect-based sentiment analysis,Attention mechanism,Syntax-based method,Logic tensor network

论文评审过程:Received 6 June 2022, Revised 8 September 2022, Accepted 25 September 2022, Available online 3 October 2022, Version of Record 17 October 2022.

论文官网地址:https://doi.org/10.1016/j.knosys.2022.109943