تعزيز المعرفة الخارجية للترميز المزدوج والتعلم التبايني لاستخراج ثلاثيات المشاعر المتعلقة بالجانب
External-knowledge enhanced dual encoder and contrastive learning for aspect sentiment triplet extraction

شارك:
المجلة: PLoS ONE، المجلد: 21، العدد: 3
DOI: https://doi.org/10.1371/journal.pone.0340792
PMID: https://pubmed.ncbi.nlm.nih.gov/41818259
تاريخ النشر: 2026-03-12
المؤلف: Yuan Huang وآخرون
الموضوع الرئيسي: تحليل المشاعر واستخراج الآراء

نظرة عامة

تقدم ورقة البحث نهجًا جديدًا لاستخراج ثلاثيات المشاعر المتعلقة بالجانب (ASTE)، وهو جزء من تحليل المشاعر القائم على الجانب (ABSA). يعالج الأسلوب المقترح القيود في تقنيات ASTE الحالية، التي غالبًا ما تتجاهل المعلومات الدلالية والنحوية الأعمق بالإضافة إلى المعاني الجوهرية للكلمات الفردية. يستخدم المؤلفون مشفرات مزدوجة: مشفر دلالي يعتمد على BERT وشبكات الالتفاف البيانية (GCNs) لالتقاط المعلومات الدلالية، ومشفر نحوي باستخدام شبكة الذاكرة الطويلة القصيرة ثنائية الاتجاه (Bi-LSTM) جنبًا إلى جنب مع GCNs لاستخراج المعلومات النحوية. يدمج نموذج دمج الميزات المخرجات من كلا المشفرين، بينما يعزز نموذج التعلم التبايني الواعي بالحدود قدرة النموذج على تحديد علامات الحدود بدقة بين مصطلحات الجانب والرأي.

تؤكد النتائج التجريبية على بيانات ASTE-Data-V1 و ASTE-Data-V2 فعالية النهج المقترح، الذي يحسن بشكل كبير استخراج ثلاثيات المشاعر من خلال الاستفادة من أشجار الاعتماد النحوي، ومعلومات أجزاء الكلام (POS)، وSenticNet. على الرغم من هذه التقدمات، يعترف المؤلفون بوجود قيود في استخراج الثلاثيات لهياكل الجمل الخاصة ويؤكدون على الحاجة إلى مزيد من دمج التحليل النحوي العميق والتفكير الدلالي الدقيق في الأعمال المستقبلية. بالإضافة إلى ذلك، يبرزون أهمية تطوير نموذج خفيف الوزن لتعزيز الكفاءة الحاسوبية وتقليل استهلاك الموارد.

مقدمة

تناقش مقدمة هذه الورقة البحثية تطور تحليل المشاعر (SA) ضمن معالجة اللغة الطبيعية (NLP)، مع تسليط الضوء على قيود تحليل المشاعر التقليدي على مستوى الوثيقة والجملة في التقاط معلومات المشاعر الدقيقة. لمعالجة هذه النواقص، ظهر تحليل المشاعر القائم على الجانب (ABSA)، الذي يركز على ثلاثة عناصر رئيسية للمشاعر: مصطلحات الجانب، مصطلحات الرأي، وقطبية المشاعر. تصنف الورقة مهام ABSA الفرعية إلى استخراج مصطلحات الجانب (ATE)، استخراج مصطلحات الرأي (OTE)، وتصنيف المشاعر على مستوى الجانب (ASC)، بالإضافة إلى مجموعات من هذه المهام، مثل استخراج أزواج الجانب والرأي (AOPE) واستخراج مصطلحات الجانب وتصنيف المشاعر (AESC). ومع ذلك، تفشل الطرق الحالية، بما في ذلك نهج خط الأنابيب ذو المرحلتين المقترح من قبل بينغ وآخرين، في التقاط التفاعلات بين هذه العناصر بشكل كافٍ، مما يؤدي إلى أخطاء محتملة.

لتجاوز هذه القيود، تقدم الورقة مهمة فرعية جديدة تسمى استخراج ثلاثيات المشاعر المتعلقة بالجانب (ASTE)، والتي تهدف إلى استخراج ومطابقة مصطلحات الجانب، مصطلحات الرأي، وقطبيتها المقابلة بدقة. يقترح المؤلفون طريقة جديدة لـ ASTE تستفيد من مشفرات مزدوجة، ومعرفة خارجية (بما في ذلك أشجار الاعتماد النحوي وSenticNet)، والتعلم التبايني لتعزيز عملية الاستخراج. تدمج هذه الطريقة المعلومات النحوية والدلالية من الدرجة العليا باستخدام هياكل متقدمة مثل BERT وBi-LSTM وGCN، جنبًا إلى جنب مع نموذج التعلم التبايني الواعي بالحدود لتحسين التعرف على علامات الحدود. تشير النتائج التجريبية إلى أن هذا النهج يعزز الأداء بشكل كبير في مهمة ASTE، مما يساهم في المجال من خلال معالجة التفاعلات بين عناصر المشاعر بشكل فعال واستخدام معلومات نحوية ودلالية أغنى.

طرق

في قسم الطرق، توضح الدراسة هيكل ومكونات نموذج مصمم لاستخراج المشاعر القائم على الجانب (ASTE). يستخدم نموذج الترميز الدلالي مشفر “bert-base-uncased” وشبكة الالتفاف البيانية (GCN) ذات الطبقتين مع تفعيل ReLU، حيث يتم تعيين أبعاد الميزات المدخلة والمخرجة إلى 768. يتم معالجة مصفوفة الجوار باستخدام تطبيع المشي العشوائي. يستخدم نموذج الترميز النحوي Spacy لتحليل الاعتماد وNLTK لتوسيم أجزاء الكلام، مع بُعد طبقة خفية Bi-LSTM يبلغ 300. يتم توليد تمثيلات الكلمات باستخدام مزيج من نوى الالتفاف ذات الأبعاد 100 لتمثيلات الأحرف، وناقلات مدربة مسبقًا ذات أبعاد 300 من GloVe، وتمثيلات ذات أبعاد 500 من مجموعة مراجعات منتجات أمازون، جنبًا إلى جنب مع ناقلات أولية عشوائية لتمثيلات أجزاء الكلام.

تظهر النتائج التجريبية فعالية الطريقة المقترحة عبر مجموعات بيانات متعددة، حيث تظهر تحسينات كبيرة في درجات F1 مقارنةً بموديلات مرجعية مختلفة، بما في ذلك إطار عمل Peng ذو المرحلتين وأحدث الطرق المعتمدة على النطاق. على وجه التحديد، تحقق الطريقة المقترحة تحسينات تصل إلى 23.53% في درجات F1 مقابل نموذج Peng ذو المرحلتين وتتفوق على إطاري BDTF وPBLUN في عدة مجموعات بيانات. تؤكد هذه النتائج على قدرة النموذج الفائقة على استخراج المعلومات النحوية والدلالية العميقة، مما يبرز فعالية نموذج التعلم التبايني الواعي بالحدود في تعزيز تمثيل علامات المشاعر والجانب.

نقاش

يسلط قسم النقاش في الورقة الضوء على فعالية الطريقة المقترحة لاستخراج ثلاثيات المشاعر المتعلقة بالجانب (ASTE) باستخدام التجارب على مجموعات بيانات عامة. تتضمن مهمة ASTE استخراج مصطلحات الجانب، مصطلحات الرأي، وقطبية المشاعر المقابلة لتشكيل ثلاثيات المشاعر. يتم تصنيف الطرق الحالية إلى طرق خط الأنابيب وطرق النهاية إلى النهاية، حيث تعاني طرق الخط الأنابيب غالبًا من انتشار الأخطاء ونقص في نمذجة التفاعلات بين عناصر المشاعر. في المقابل، تستخدم طرق النهاية إلى النهاية، مثل تلك المقترحة من قبل Xu وآخرين وWu وآخرين، مخططات وطرز جديدة لتوسيم فعالة تلتقط هذه التفاعلات، على الرغم من أن بعضها لا يزال يواجه صعوبات في الكشف عن الحدود ونمذجة العلاقات.

يقترح المؤلفون طريقة مبتكرة لاستخراج معزز بالمعرفة الخارجية باستخدام مشفر مزدوج والتعلم التبايني لمعالجة هذه القيود. تتكون طريقتهم من ثلاثة مكونات رئيسية: طبقة استخراج الميزات التي تستخدم مشفرات دلالية ونحوية لالتقاط الميزات السياقية، وطبقة دمج الميزات التي تدمج هذه الميزات باستخدام آليات الانتباه، وطبقة استخراج الثلاثيات التي تستخدم طريقة ملء الجدول المدفوعة بالحدود (BDTF) المعززة بنموذج التعلم التبايني الواعي بالحدود. تهدف هذه المنهجية الشاملة إلى تحسين دقة استخراج الثلاثيات من خلال الاستفادة من كل من المعلومات النحوية والدلالية، مما يعزز في النهاية قدرة النموذج على التعرف على أزواج الجانب والرأي وتصنيف قطبية مشاعرها بشكل فعال.

Journal: PLoS ONE, Volume: 21, Issue: 3
DOI: https://doi.org/10.1371/journal.pone.0340792
PMID: https://pubmed.ncbi.nlm.nih.gov/41818259
Publication Date: 2026-03-12
Author(s): Yuan Huang et al.
Primary Topic: Sentiment Analysis and Opinion Mining

Overview

The research paper introduces a novel approach to Aspect Sentiment Triplet Extraction (ASTE), a subtask of Aspect-Based Sentiment Analysis (ABSA). The proposed method addresses limitations in existing ASTE techniques, which often overlook deeper semantic and syntactic information as well as the intrinsic meanings of individual words. The authors utilize dual encoders: a semantic encoder based on BERT and Graph Convolutional Networks (GCNs) to capture semantic information, and a syntactic encoder using a Bi-directional Long Short-Term Memory (Bi-LSTM) network alongside GCNs for syntactic information extraction. A feature fusion module integrates the outputs from both encoders, while a boundary-aware contrastive learning module enhances the model’s ability to accurately identify boundary tags between aspect and opinion terms.

The experimental results on ASTE-Data-V1 and ASTE-Data-V2 validate the effectiveness of the proposed approach, which significantly improves the extraction of sentiment triplets by leveraging syntactic dependency trees, part-of-speech (POS) information, and SenticNet. Despite these advancements, the authors acknowledge limitations in triplet extraction for special sentence structures and emphasize the need for further integration of deep syntactic analysis and fine-grained semantic reasoning in future work. Additionally, they highlight the importance of developing a lightweight model to enhance computational efficiency and reduce resource consumption.

Introduction

The introduction of this research paper discusses the evolution of sentiment analysis (SA) within Natural Language Processing (NLP), highlighting the limitations of traditional document-level and sentence-level sentiment analysis in capturing fine-grained sentiment information. To address these shortcomings, Aspect-Based Sentiment Analysis (ABSA) has emerged, focusing on three key sentiment elements: aspect terms, opinion terms, and sentiment polarity. The paper categorizes ABSA subtasks into Aspect Term Extraction (ATE), Opinion Term Extraction (OTE), and Aspect-Level Sentiment Classification (ASC), as well as combinations of these tasks, such as Aspect-Opinion pair Extraction (AOPE) and Aspect Term Extraction and Sentiment Classification (AESC). However, existing methods, including a two-stage pipeline approach proposed by Peng et al., fail to adequately capture the interactions among these elements, leading to potential errors.

To overcome these limitations, the paper introduces a novel subtask called Aspect Sentiment Triplet Extraction (ASTE), which aims to extract and accurately pair aspect terms, opinion terms, and their corresponding sentiment polarities. The authors propose a new ASTE method that leverages dual encoders, external knowledge (including syntactic dependency trees and SenticNet), and contrastive learning to enhance the extraction process. This method integrates higher-order syntactic and semantic information using advanced architectures like BERT, Bi-LSTM, and GCN, along with a boundary-aware contrastive learning module to improve boundary tag recognition. Experimental results indicate that this approach significantly enhances performance on the ASTE task, contributing to the field by effectively addressing the interactions among sentiment elements and utilizing richer syntactic and semantic information.

Methods

In the methods section, the research outlines the architecture and components of a model designed for aspect-based sentiment extraction (ASTE). The semantic encoding module utilizes the “bert-base-uncased” encoder and a two-layer Graph Convolutional Network (GCN) with ReLU activation, where both input and output feature dimensions are set to 768. The adjacency matrix is preprocessed using random-walk normalization. The syntactic encoding module employs Spacy for dependency parsing and NLTK for part-of-speech tagging, with a Bi-LSTM hidden layer dimension of 300. Word embeddings are generated using a combination of 100-dimensional convolutional kernels for character embeddings, 300-dimensional pre-trained vectors from GloVe, and 500-dimensional embeddings from the Amazon Product Review Corpus, alongside random initial vectors for POS embeddings.

The experimental results demonstrate the proposed method’s effectiveness across multiple datasets, showing significant improvements in F1 scores compared to various benchmark models, including the Peng-two-stage framework and the latest span-based methods. Specifically, the proposed method achieves enhancements of up to 23.53% in F1 scores against the Peng-two-stage model and outperforms the BDTF and PBLUN frameworks in several datasets. These results underscore the model’s superior ability to extract deep syntactic and semantic information, highlighting the effectiveness of the boundary-aware contrastive learning module in enhancing the representation of sentiment and aspect tags.

Discussion

The discussion section of the paper highlights the effectiveness of the proposed method for Aspect-Based Sentiment Triplet Extraction (ASTE) using experiments on public datasets. The ASTE task involves extracting aspect terms, opinion terms, and their corresponding sentiment polarity to form sentiment triplets. Existing methods are categorized into pipeline and end-to-end approaches, with pipeline methods often suffering from error propagation and a lack of interaction modeling among sentiment elements. In contrast, end-to-end methods, such as those proposed by Xu et al. and Wu et al., utilize novel tagging schemes and frameworks that effectively capture these interactions, though some still struggle with boundary detection and relationship modeling.

The authors propose an innovative external knowledge-enhanced dual encoder and contrastive learning extraction method to address these limitations. Their approach consists of three main components: a feature extraction layer that employs semantic and syntactic encoders to capture contextual features, a feature fusion layer that integrates these features using attention mechanisms, and a triplet extraction layer that utilizes the Boundary-Driven Table Filling (BDTF) method enhanced with a boundary-aware contrastive learning module. This comprehensive methodology aims to improve the accuracy of triplet extraction by leveraging both syntactic and semantic information, ultimately enhancing the model’s ability to recognize and classify aspect-opinion pairs and their sentiment polarity effectively.