CERESResearch Repository

Dataset for DAFN: A Dual Attention Fusion Network for Textual Data Classification

dc.contributor.authorChai, Dakun
dc.contributor.authorMoulitsas, Irene
dc.contributor.authorBisandu, Desmond B.
dc.date.accessioned2026-08-04T08:31:39Z
dc.date.available2026-08-04T08:31:39Z
dc.date.issued2026-08-04
dc.descriptionContent warning: this dataset contains social media posts that may include explicit adult content.
dc.description.abstractSentiment classification is challenging because short, noisy texts and longer reviews exhibit different linguistic characteristics. Tweets contain limited context, informal expressions, and abrupt polarity shifts, whereas reviews require effective modelling of long-range dependencies and stable optimisation over extended sequences. This paper proposes DAFN, a Dual Attention Fusion Network for binary sentiment classification across tweet and review datasets. DAFN combines dual representations through early fusion, processes them using parallel BiGRU and BiLSTM branches, and introduces an Attention Interaction module for cross-branch communication. It further integrates multi-scale temporal convolutions, hierarchical pooling, feature recalibration, and residual multi-level fusion to improve information flow and robustness across variable text lengths. Experiments on three tweet and five review datasets show that DAFN consistently outperforms earlier hybrid deep-learning baselines and remains competitive with strong transformer models. It achieves the best overall performance on Airline, T4SA, and App, strong AUC results across several review datasets, and near-parity with RoBERTa on Kindle. Computational analysis shows that the static variant is more efficient, while the contextual variant delivers stronger predictive performance. Overall, DAFN provides a unified and effective framework for sentiment classification across heterogeneous text lengths.
dc.identifier.urihttps://dspace.lib.cranfield.ac.uk/handle/1826/25321
dc.identifier.urihttps://doi.org/10.57996/cran.ceres-2865
dc.language.isoen
dc.publisherCranfield University
dc.relation.referenceshttps://doi.org/10.1016/j.knosys.2026.116791
dc.relation.supplementshttps://www.kaggle.com/datasets/crowdflower/twitter-airline-sentiment
dc.rights.urihttps://opensource.org/license/mit
dc.subjectSentiment analysis
dc.subjectpolarity detection
dc.subjectdual representation embeddings
dc.subjectattention interaction
dc.subjectmulti-scale convolution
dc.titleDataset for DAFN: A Dual Attention Fusion Network for Textual Data Classification
dc.typeSoftware

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Code_DAFN.zip
Size:
351.52 MB
Format:
Unknown data format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.63 KB
Format:
Item-specific license agreed upon to submission
Description:

Collections