[Paper Review] BERT-Based Combination of Convolutional and Recurrent Neural Network for Indonesian Sentiment Analysis
This paper proposes a BERT-based hybrid deep learning model combining Convolutional Neural Networks (CNN) and Long Short-Term Memory networks (LSTM) for Indonesian sentiment analysis. By leveraging BERT’s contextual embeddings, the model improves sentiment classification accuracy over standard fine-tuned embeddings, with the BERT-LSTM-CNN architecture achieving the highest performance among all tested hybrid configurations.
Sentiment analysis is the computational study of opinions and emotions ex-pressed in text. Deep learning is a model that is currently producing state-of-the-art in various application domains, including sentiment analysis. Many researchers are using a hybrid approach that combines different deep learning models and has been shown to improve model performance. In sentiment analysis, input in text data is first converted into a numerical representation. The standard method used to obtain a text representation is the fine-tuned embedding method. However, this method does not pay attention to each word's context in the sentence. Therefore, the Bidirectional Encoder Representation from Transformer (BERT) model is used to obtain text representations based on the context and position of words in sentences. This research extends the previous hybrid deep learning using BERT representation for Indonesian sentiment analysis. Our simulation shows that the BERT representation improves the accuracies of all hybrid architectures. The BERT-based LSTM-CNN also reaches slightly better accuracies than other BERT-based hybrid architectures.
Motivation & Objective
- To improve sentiment classification accuracy for Indonesian text using deep learning.
- To address the limitation of non-contextual word embeddings by integrating BERT’s contextual representations.
- To evaluate the effectiveness of hybrid architectures combining CNN and LSTM with BERT embeddings in Indonesian NLP.
- To identify the optimal combination of CNN, LSTM, and BERT for sentiment analysis in low-resource languages like Indonesian.
Proposed method
- Utilizes BERT to generate contextualized word embeddings that capture sentence-level context and word position.
- Employs a hybrid architecture combining CNN for local feature extraction and LSTM for sequential modeling of sentiment patterns.
- Fine-tunes BERT embeddings as input to the CNN-LSTM model for end-to-end learning.
- Trains and evaluates multiple BERT-based hybrid models, including BERT-CNN, BERT-LSTM, and BERT-LSTM-CNN.
- Applies standard deep learning training procedures with cross-entropy loss and softmax output for sentiment classification.
Experimental results
Research questions
- RQ1Does integrating BERT embeddings improve sentiment classification accuracy in Indonesian text compared to non-contextual embeddings?
- RQ2Which hybrid architecture—BERT-CNN, BERT-LSTM, or BERT-LSTM-CNN—performs best for Indonesian sentiment analysis?
- RQ3How does the use of contextualized BERT representations affect model generalization and performance on low-resource language data?
- RQ4Can the combination of CNN and LSTM with BERT outperform standalone models in sentiment classification tasks?
Key findings
- BERT-based representations significantly improve the accuracy of all hybrid architectures compared to non-contextual embeddings.
- The BERT-LSTM-CNN model achieves the highest classification accuracy among all tested configurations.
- All BERT-based hybrid models outperform their non-BERT counterparts, demonstrating the value of contextual embeddings in Indonesian sentiment analysis.
- The integration of BERT with CNN and LSTM enhances feature learning, particularly in capturing both local and sequential sentiment patterns.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.