Skip to content
Open access

An Interpretable and Optimized Attention-Driven LSTM Framework for Email Sentiment Classification

Sep 2026 · F1000Research · 0 citations · 45 references

TL;DR

The effectiveness of attention-enhanced sequence models for robust and scalable email sentiment classification is revealed and the use of deep learning models is better than other techniques in terms of understanding sequential dependencies in the input data.

Abstract

The analysis of email sentiment is an important aspect of natural language processing because it allows the automated detection of user sentiments. Existing machine learning approaches tend to focus on incorporating dependencies between words and their significance among texts under email analysis. This study offers an innovative solution based on deep learning using Long Short-Term Memory (LSTM) model that includes an attention mechanism. The proposed framework incorporates an LSTM unit to retain the long term dependencies in the email text and an attention mechanism that focuses on the most relevant words for efficient sentiment classification. Hyperparameter tuning is performed for the proposed model via the Bayesian optimization method for better convergence and generalization. For the experimental evaluations, various baseline machine learning and deep learning methods are applied and their performances are compared with the attention-based deep learning models. From the experimental findings, the proposed Attention-based LSTM model outperformed the other models with an accuracy of 98.63%, F1-Score of 90.39%, and Area Under the Curve (AUC) of 0.99. It is also confirmed from the comparison study that the use of deep learning models is better than other techniques in terms of understanding sequential dependencies in the input data. Further improvement in the accuracy of the classification results is achieved through the application of an attention-based technique that emphasizes informative aspects. The incorporation of explainable AI methods into the framework provides valid explanations for model predictions, interpretability and reliability. This study reveals the effectiveness of attention-enhanced sequence models for robust and scalable email sentiment classification.

Read PDF

Similar papers

Sep 2026

Deep Learning-based Multi-Class Sentiment Classification from Social Media Comments using LSTM Architecture

This paper presents a lightweight sentiment classification model based on Long Short-Term Memory networks, developed as a foundational text-analysis component for future multimodal emotion recognition systems, and provides a reproducible and computationally efficient baseline suitable for integration into broader multi...

Munmun Kakkar, Hemant Patidar · 0 citations
Open access Sep 2026

Sentiment classification optimization based on improved Senti-BERT and BiLSTM-Attention

This study focuses on the problem of insufficient accuracy in sentiment classification in complex texts and multimodal scenarios. A sentiment classification optimization method is proposed, which integrates a bidirectional encoder representation Transformer model for sentiment analysis (Senti-BERT)and a bidirectional L...

Jie Zhang, Jian-Bang Liu, Zhao-Sheng Xu · 0 citations
Review Open access Aug 2026

Context-Aware Sentiment Analysis on Product Reviews Using Hybrid Model

Sentiment analysis and sarcasm detection as become an important area in natural language processing (NLP) due to growth of e-commerce and social media platforms. Customers give feedback through reviews which helps to understand the contextual meaning and sentiment present in the text.The system integrates DistilBERT an...

M. Arathi, Asripathi Nikhitha · 0 citations
Review Open access Sep 2026

Efficient Three-Class Sentiment Classification of IMDb Reviews Using LoRA-Based Fine-Tuning on Pseudo-labeled Data

Sentiment analysis has become an important task in natural language processing for understanding public opinions expressed in online reviews. However, most publicly available IMDb datasets are limited to binary sentiment labels, which restricts the ability of sentiment analysis systems to capture neutral opinions. This...

P. Hiskiawan, Wendy Tjung, Dustin Darmawan Isya Widjaja et al. · 0 citations
Review Aug 2026

Explainable Artificial Intelligence (AI) In Sentiment Analysis

Experimental results demonstrate that XAI techniques significantly enhance the interpretability of sentiment prediction without substantially compromising classification performance, and explainable sentiment analysis supports fairness assessment, bias detection, regulatory compliance, and informed decision-making in c...

Aishwarya P. A., N. K · 0 citations
Conference Aug 2026

BERT-based short text sentiment classification model integrating dynamic pruning and multiscale attention

To address the problems of large parameter scale, low inference efficiency, and insufficient capture of local sentiment cues in the original BERT model for short-text sentiment classification, this paper proposes an improved BERT-based sentiment classification model integrating dynamic pruning and multi-scale attention...

Xiangyang Feng · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.