• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

Computer Engineering & Science ›› 2026, Vol. 48 ›› Issue (2): 299-308.

• Artificial Intelligence and Data Mining • Previous Articles     Next Articles

Aspect sentiment triplet extraction based on dual encoder and knowledge enhancement

DENG Fei,HAN Hu,MU Yiru,XU Xuefeng   

  1. (1.School of Electronic and Information Engineering,Lanzhou Jiaotong University,Lanzhou 730070;
    2.Gansu Provincial Engineering Center for Artificial Intelligence and Graphic & Image Processing,Lanzhou 730070,China)
  • Online:2026-02-25 Published:2026-03-10

Abstract: Aspect sentiment triplet extraction aims to identify aspect words, opinion words, and corresponding sentiment polarity from sentences. Existing studies have not fully considered the correlation relationship between aspect words and opinion words, and also suffer from the problems of insufficient semantic information extraction and incomplete utilization of background knowledge. To address the above issues, a dual encoder and knowledge enhancement aspect sentiment triplet extraction model is proposed. Firstly, dual encoders of BERT and Bi-LSTM are used simultaneously to mine semantic information in sentences from different levels and integrate external affective knowledge to enhance the sentiment expression of the text. Secondly, the relationship between aspects and opinions is learned interactively and iteratively by position embedding interactive attention. Finally, the triplet is predicted using a boundary-driven table-filling method. The experimental results show that the model can accurately perform triplet extraction by improving the F1 values on the four public datasets by 9.43 percentage points, 7.32 percentage points, 7.43 percentage points and 4.78 percentage points, respectively, compared with the mainstream model GTS-BERT.

Key words: aspect sentiment triplet extraction, dual encoder, interactive attention, affective knowledge, position embedding