Enhancing Text Classification Performance: A Comparative Study of RNN and GRU Architectures with Attention Mechanisms
Authors:
Open Access
- 30 December 2024
- journal article
- Published by PT. Berbagi Teknologi Semesta in Journal of Applied Research In Computer Science and Information Systems
- Vol. 2 (2) , 185-190
Abstract
Text classification plays a crucial role in natural language processing, and enhancing its performance is an ongoing area of research. This study investigates the impact of integrating attention mechanisms into a recurrent neural network (RNN) based architectures, including RNN, LSTM, GRU, and their bidirectional variants (BiLSTM and BiGRU), for text sentiment analysis. Three attention mechanisms Multihead Attention, Self Attention, and Adaptive Attention are applied to evaluate their effectiveness in improving model accuracy. The results reveal that attention mechanisms significantly enhance performance by enabling models to focus on the most relevant parts of the input text. Among the tested configurations, the LSTM model with Multihead Attention achieved the highest accuracy of 68.34%. The findings underscore the critical role of attention mechanisms in overcoming traditional RNN limitations, such as difficulty in capturing long-term dependencies, and highlight the potential for their application in broader text classification tasks.Keywords
This publication has 6 references indexed in Scilit:
- Model Recurrent Neural Network-Gated Recurrent Unit untuk Membangun Mesin Penerjemah Bahasa Indonesia-BanyumasanJurnal Eksplora Informatika, 2024
- Prediksi Saham Menggunakan Recurrent Neural Network (RNN-LSTM) dengan Optimasi Adaptive Moment EstimationJournal of Computer System and Informatics (JoSYC), 2023
- Optimasi Penerimaan Siswa Baru Dengan Penerapan Algortima Text Mining Dan Tf-IdfJournal of Computing and Informatics Research, 2023
- Pengaruh Metode Penyeimbangan Kelas Terhadap Tingkat Akurasi Analisis Sentimen pada Tweets Berbahasa IndonesiaJurnal Teknik Informatika dan Sistem Informasi, 2020
- IMPLEMENTASI CHATBOT PADA PENDAFTARAN MAHASISWA BARU MENGGUNAKAN RECURRENT NEURAL NETWORKJurnal Ilmiah Teknologi dan Rekayasa, 2019
- Text Mining dan Klasterisasi Sentimen Pada Ulasan Produk Toko OnlineJurnal Teknologi dan Ilmu Komputer Prima (JUTIKOMP), 2019