arrow
Return

A Modified Long Short-Term Memory Cell

delete2023-06-09
delete1
delete
OA
AI
G
Giannis Haralabopoulos *
G
Gerasimos Razis
I
Ioannis Anagnostopoulos
DOI:10.1142/S0129065723500399delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Machine Learning (ML), among other things, facilitates Text Classification, the task of assigning classes to textual items. Classification performance in ML has been significantly improved due to recent developments, including the rise of Recurrent Neural Networks (RNNs), Long Short-Term Memory (LSTM), Gated Recurrent Units (GRUs), and Transformer Models. Internal memory states with dynamic temporal behavior can be found in these kinds of cells. This temporal behavior in the LSTM cell is stored in two different states: Current and Hidden. In this work, we define a modification layer within the LSTM cell which allows us to perform additional state adjustments for either state, or even simultaneously alter both. We perform 17 state alterations. Out of these 17 single-state alteration experiments, 12 involve the Current state whereas five involve the Hidden one. These alterations are evaluated using seven datasets related to sentiment analysis, document classification, hate speech detection, and human-to-robot interaction. Our results showed that the highest performing alteration for Current and Hidden state can achieve an average F1 improvement of 0.5% and 0.3%, respectively. We also compare our modified cell performance to two Transformer models, where our modified LSTM cell is outperformed in classification metrics in 4/6 datasets, but improves upon the simple Transformer model and clearly has a better cost efficiency than both Transformer models.
Keywords:
LSTM
text classification
transformer models
BERT

Journal

International Journal of Neural Systems cover
International Journal of Neural Systems
IF:
6.4
Papers:
1.2K
Citations:
3.3K

Organization

U
University of Reading
Scholars:
1.0W
Papers: 1.1W
Citations: 1.7W