Hierarchical Attention Networks with BERT Embeddings for Sentiment Analysis

We propose a novel approach for analysing sentiment by combining Hierarchical Attention Networks (HAN) with Bidirectional Encoder Representations from Transformers (BERT) embeddings to effectively handle long-form customer reviews. Traditional models often struggle to capture the hierarchical structure of lengthy text, where important sentiment clues exist at both word and sentence levels. By utilizing BERT's deep contextualized word representations within HAN's word-level and sentence-level attention mechanisms, our model is able to focus on the most relevant components of the text, improving sentiment classification accuracy. Applied to a large-scale Amazon reviews dataset consisting of 3.6 million training samples and 400,000 test samples, our model achieves an accuracy of 98.46% and a ROC AUC score of 98.68%, outperforming traditional models. These results demonstrate the effectiveness of this architecture in analyzing complex reviews, offering valuable insights for improving customer sentiment understanding and enabling more targeted marketing strategies.

Authors

Institutions

Publication Details

Published
2024-12-20
DOI
https://doi.org/10.1109/iccit64611.2024.11022333
Primary Topic
Sentiment Analysis and Opinion Mining
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Hierarchical Attention Networks with BERT Embeddings for Sentiment Analysis

Md Al Rafi, Arifa Akter Eva, Jungpil Shin, Gourab Nicholas Rodrigues et al.
Sentiment Analysis and Opinion Mining
article

Hierarchical Attention Networks with BERT Embeddings for Sentiment Analysis

Md Al Rafi, Arifa Akter Eva, Jungpil Shin, Gourab Nicholas Rodrigues, Moinuddin Bhuiyan, Md Nazmul Hossain Mir, M. Firoz Mirdha
article en

Abstract

We propose a novel approach for analysing sentiment by combining Hierarchical Attention Networks (HAN) with Bidirectional Encoder Representations from Transformers (BERT) embeddings to effectively handle long-form customer reviews. Traditional models often struggle to capture the hierarchical structure of lengthy text, where important sentiment clues exist at both word and sentence levels. By utilizing BERT's deep contextualized word representations within HAN's word-level and sentence-level attention mechanisms, our model is able to focus on the most relevant components of the text, improving sentiment classification accuracy. Applied to a large-scale Amazon reviews dataset consisting of 3.6 million training samples and 400,000 test samples, our model achieves an accuracy of 98.46% and a ROC AUC score of 98.68%, outperforming traditional models. These results demonstrate the effectiveness of this architecture in analyzing complex reviews, offering valuable insights for improving customer sentiment understanding and enabling more targeted marketing strategies.

American International University-Bangladesh (BD), University of Aizu (JP)
Openalex Percentile: Top 72%
Sentiment Analysis and Opinion Mining
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Hierarchical Attention Networks with BERT Embeddings for Sentiment Analysis — Md Al Rafi, Arifa Akter Eva, et al. · (2024) | TGRS Research Map | TGRS