Knowledge Graph Enhanced Language Models for Sentiment Analysis

  • Jie Li
  • , Xuan Li
  • , Linmei Hu*
  • , Yirui Zhang
  • , Jinrui Wang
  • *Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Pre-trained language models (LMs) have been widely used in sentiment analysis, and some recent works have focused on injecting sentiment knowledge from sentiment lexicons or structured commonsense knowledge from knowledge graphs (KGs) into pre-trained LMs, which have achieved remarkable success. However, these works often only obtain knowledge from a single source in either the sentiment lexicon or the KG, and only perform very shallow fusion of LM representations and external knowledge representations. Therefore, how to effectively extract multiple sources of external knowledge and fully integrate them with the LM representations is still an unresolved issue. In this paper, we propose a novel knowledge enhanced model for sentiment analysis (KSA), which simultaneously incorporates commonsense and sentiment knowledge as external knowledge, by constructing a heterogeneous Commonsense-Senti Knowledge Graph. Additionally, a separate global token and global node are added to the text sequence and constructed knowledge graph respectively, and a fusion unit is used to enable global information interaction between the different modalities, allowing them to perceive each other’s information and thereby improving the ability to perform sentiment analysis. Experiments on standard datasets show that our proposed KSA significantly outperforms the strong pre-trained baselines, and achieves new state-of-the-art results on most of the test datasets.

Original languageEnglish
Title of host publicationThe Semantic Web – ISWC 2023 - 22nd International Semantic Web Conference, Proceedings
EditorsTerry R. Payne, Valentina Presutti, Guilin Qi, María Poveda-Villalón, Giorgos Stoilos, Laura Hollink, Zoi Kaoudi, Gong Cheng, Juanzi Li
PublisherSpringer Science and Business Media Deutschland GmbH
Pages447-464
Number of pages18
ISBN (Print)9783031472398
DOIs
Publication statusPublished - 2023
Event22nd International Semantic Web Conference, ISWC 2023 - Athens, Greece
Duration: 6 Nov 202310 Nov 2023

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume14265 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference22nd International Semantic Web Conference, ISWC 2023
Country/TerritoryGreece
CityAthens
Period6/11/2310/11/23

Keywords

  • Knowledge Fusion
  • Knowledge Graph
  • Sentiment Analysis

Fingerprint

Dive into the research topics of 'Knowledge Graph Enhanced Language Models for Sentiment Analysis'. Together they form a unique fingerprint.

Cite this