An Interpretable and Optimized Attention-Driven LSTM Framework for Email Sentiment Classification
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.
Authors
- Sourav Kumar Giri (ORCID: https://orcid.org/0000-0003-4965-8201)
- Amiya Ranjan Panda (ORCID: https://orcid.org/0000-0001-7669-7762)
- Basudev Pradhan (ORCID: https://orcid.org/0000-0002-3629-7083)
- Siddharth Swarup Rautaray (ORCID: https://orcid.org/0000-0002-3864-2127)
Institutions
- KIIT University (IN)
Publication Details
- Journal
- F1000Research
- Published
- 2026-09-15
- DOI
- https://doi.org/10.12688/f1000research.186136.1
- Primary Topic
- Sentiment Analysis and Opinion Mining
- Type
- article
- Field-Weighted Citation Impact
- 0.00