Implementation of IndoNLU Pre-Trained Model for Aspect-Based Sentiment Analysis of Indonesian Stock News

Muhammad Riza Alifi, Djoko Cahyo Utomo Lieharyani, Bima Putra Sudimulya, Mohammad Rizky Maulidhan


Investors in Indonesia are increasing from year to year, especially mutual fund investors managed by investment managers. News is one of the factors considered by investment managers in making stock investment decisions. Very diverse news sources and different writing styles can make it difficult to retrieve information on each issuer in the news. In this research, the aspect-based sentiment analysis (ABSA) method is implemented to extract news specifically on each aspect (issuer) in the news and evaluate the issuer. The model used is a pre-trained Indonesian Bidirectional Encoder Representations from Transformers (BERT) model, IndoNLU, because the object of research is Indonesian-language stock news. The results show that with a combination of hyperparameters consisting of batch size 8, learning rate 0.00002, and epoch 8 for the IndoNLU model can produce an average evaluation metric value consisting of precision, recall, f1-score, and accuracy of 90%.


ABSA, BERT, IndoNLU, Stock, News

Full Text:



I. M. Adnyana, MANAJEMEN INVESTASI DAN PORTOFOLIO. Jakarta Selatan: Lembaga Penerbitan Universitas Nasional (LPU-UNAS), 2020.

PT Kustodian Sentral Efek Indonesia, “KSEIdoscope: 25 Tahun Kiparah KSEI Membangun Kemajuan Pasae Modal,” 2022.

H. B. Jaiyeoba, A. A. Adewale, R. Haron, and C. M. H. Che Ismail, “Investment decision behaviour of the Malaysian retail investors and fund managers: A qualitative inquiry,” Qualitative Research in Financial Markets, vol. 10, no. 2, pp. 134–151, 2018, doi: 10.1108/QRFM-07-2017-0062.

Y. Nishi, A. Suge, and H. Takahashi, “Construction of news article evaluation system using language generation model,” in Smart Innovation, Systems and Technologies, Springer, 2020, pp. 313–320. doi: 10.1007/978-981-15-5764-4_29.

G. Ang and E.-P. Lim, “Investment and Risk Management with Online News and Heterogeneous Networks,” ACM Transactions on the Web, Jan. 2023, doi: 10.1145/3532858.

M. G. Sousa, K. Sakiyama, L. D. S. Rodrigues, P. H. Moraes, E. R. Fernandes, and E. T. Matsubara, “BERT for stock market sentiment analysis,” in Proceedings - International Conference on Tools with Artificial Intelligence, ICTAI, IEEE Computer Society, Nov. 2019, pp. 1597–1601. doi: 10.1109/ICTAI.2019.00231.

M. M. Abdelgwad, T. H. A. Soliman, A. I. Taloba, and M. F. Farghalya, “Arabic aspect based sentiment classification using BERT,” Jul. 2021, doi: 10.48550/arXiv.2107.13290.

J. Devlin, M.-W. Chang, K. Lee, and K. Toutanova, “BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding,” in Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), Minneapolis, Minnesota: Association for Computational Linguistics, Jun. 2019, pp. 4171–4186. doi: 10.18653/v1/N19-1423.

B. Wilie et al., “IndoNLU: Benchmark and Resources for Evaluating Indonesian Natural Language Understanding,” Sep. 2020, [Online]. Available:

S. M. Isa, G. Nico, and M. Permana, “INDOBERT FOR INDONESIAN FAKE NEWS DETECTION,” ICIC Express Letters, vol. 16, no. 3, pp. 289–297, Mar. 2022, doi: 10.24507/icicel.16.03.289.

DOI: Abstract - 0 PDF - 0


  • There are currently no refbacks.

Copyright (c) 2023 Bima Putra Sudimulya

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

3rd Floor, Dept. of Informatics, Faculty of Science and Technology, UIN Syarif Hidayatullah Jakarta
Jl. Ir. H. Juanda No.95, Cempaka Putih, Ciputat Timur. 
Kota Tangerang Selatan, Banten 15412
Tlp/Fax: +62 21 74019 25/ +62 749 3315
Handphone: +62 8128947537

Creative Commons Licence
Jurnal Teknik Informatika by Prodi Teknik Informatika Universitas Islam Negeri Syarif Hidayatullah Jakarta is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Based on a work at


JTI Visitor Counter: View JTI Stats

 Flag Counter