IDEAS home Printed from https://ideas.repec.org/a/gam/jftint/v18y2026i7p341-d1978268.html

Graph-Enhanced Transformer for Cross-Domain Sentiment Analysis: Integrating RoBERTa with Graph Attention Networks

Author

Listed:
  • Moteechand Patel

    (Department of Information Technology and Computer Science, Dr. C. V. Raman University, Bilaspur 495113, India)

  • Abhinav Shukla

    (Department of Information Technology and Computer Science, Dr. C. V. Raman University, Bilaspur 495113, India)

  • Pritendra Kumar Malakar

    (Department of Information Technology and Computer Science, Dr. C. V. Raman University, Bilaspur 495113, India)

  • R. Kanesaraj Ramasamy

    (Faculty of Computing and Informatics, Multimedia University, Cyberjaya 63000, Malaysia)

  • Parul Dubey

    (Symbiosis Institute of Technology, Nagpur Campus, Symbiosis International (Deemed University), Pune 412115, India)

Abstract

Sentiment analysis has become a critical task in natural language processing for extracting subjective insights from large-scale textual data across domains such as social media, e-commerce, and online reviews. However, existing methods often fail to simultaneously capture contextual semantics and structural relationships, particularly in cross-domain settings. This study proposes a hybrid RoBERTa–graph attention network (GAT) framework that integrates transformer-based contextual embeddings with graph-based relational learning. The methodology involves encoding text using RoBERTa, constructing token-level dependency graphs, and applying multi-head graph attention to model inter-token relationships. The model is evaluated on multiple benchmark datasets, including Twitter, Amazon, and IMDB reviews. The cross-domain results refer only to binary-harmonized positive/negative sentiment transfer and should not be interpreted as full three-class sentiment transfer, including the neutral class. The experimental results show that the proposed approach achieves consistent improvements over the selected baseline models in terms of accuracy, F1-score, MCC, and AUC. Statistical robustness analysis further supports the stability of these improvements across repeated runs. The findings highlight the effectiveness of combining semantic and structural learning, making the proposed framework suitable for robust cross-domain sentiment analysis applications.

Suggested Citation

  • Moteechand Patel & Abhinav Shukla & Pritendra Kumar Malakar & R. Kanesaraj Ramasamy & Parul Dubey, 2026. "Graph-Enhanced Transformer for Cross-Domain Sentiment Analysis: Integrating RoBERTa with Graph Attention Networks," Future Internet, MDPI, vol. 18(7), pages 1-22, June.
  • Handle: RePEc:gam:jftint:v:18:y:2026:i:7:p:341-:d:1978268
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/1999-5903/18/7/341/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/1999-5903/18/7/341/
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jftint:v:18:y:2026:i:7:p:341-:d:1978268. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager The email address of this maintainer does not seem to be valid anymore. Please ask MDPI Indexing Manager to update the entry or send us the correct address (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.