Application of BiLSTM CRF Model Based on Hierarchical Attention for Implicit Emotion Recognition in Literary Texts
Abstract
In recent years, emotion recognition in textual narratives has become an important area of affective computing and natural language understanding. Unlike explicit emotional expressions, implicit emotions are concealed within linguistic context, narrative tone, and metaphorical cues, posing significant challenges for traditional machine learning approaches. To address this issue, this study proposes a Hierarchical Attention-based BiLSTM-CRF model for Implicit Emotion Recognition in literary texts. The model integrates a hierarchical attention mechanism to capture both sentence-level and document-level semantic dependencies, while the BiLSTM-CRF architecture effectively encodes sequential context and label inter-dependencies. The proposed model was evaluated on a multi-class emotion dataset containing seven emotion categories such as Joy, Sadness, Anger, Fear, Disgust, Surprise, and Neutral. Experimental results demonstrate that the proposed model yields superior performance compared with conventional deep learning baselines, including HDEL, BERT-BiLSTM-CRF, GT-BiLSTM, and Hierarchical Attention Networks. Specifically, the model achieves an overall Accuracy of 0.92, Precision of 0.91, Recall of 0.90, F1-Score of 0.90, and ROC-AUC of 0.95, indicating enhanced ability to identify subtle emotional implications within complex literary expressions. These findings highlight the effectiveness of combining hierarchical attention with sequence labeling for advanced emotion cognition and provide a valuable framework for future studies on literary emotion analysis and intelligent human–computer interaction.DOI:
https://doi.org/10.31449/inf.v50i10.12512Downloads
Published
How to Cite
Issue
Section
License
Authors retain copyright in their work. By submitting to and publishing with Informatica, authors grant the publisher (Slovene Society Informatika) the non-exclusive right to publish, reproduce, and distribute the article and to identify itself as the original publisher.
All articles are published under the Creative Commons Attribution license CC BY 3.0. Under this license, others may share and adapt the work for any purpose, provided appropriate credit is given and changes (if any) are indicated.
Authors may deposit and share the submitted version, accepted manuscript, and published version, provided the original publication in Informatica is properly cited.







