Melola Discovery

← Melola Discovery

Jurnal

Implementation of Bidirectional Long-Short Term Memory (Bi-LSTM) and Attention to Detect Political Fake News Using IndoBERT and GloVe Embedding

Recursive Journal of Informatics · Vol. 3 No. 2 (2025) · hlm. 68–76

DOI
10.15294/rji.v3i2.159
ISSN
2986-6588, 2963-5551
Terbit
2025-10-17
Penerbit
Universitas Negeri Semarang
Bahasa
eng

Abstrak

Abstract. Indonesian political news is now increasingly spread through various media, especially social and online media. However, a lot of fake news are spread to bring down political opponents or attract public sympathy in order to find their own supporters. Of course, this news need to be watched out for and preventive measures must be taken so as not to cause misunderstanding in the wider community. Purpose: This study was conducted to detect the political news whether it’s classified as hoax or fact by its narration. Also, understanding how to build the news detector using corresponding architecture and word embeddings. Methods/Study design/approach: The model architecture of Bi-LSTM and attention mechanism is used to reach the goals from this study’s purposes. Many studies have been conducted to detect hoaxes but have not yet paid attention to the context of sentences and the contribution of words in a news text so that this architecture is made to overcome this problem. It uses IndoBERT to optimize the model for Indonesian language and also GloVe to obtain the word weights from pre-trained embedding. Then, the tokenization process is performed with IndoBERT and keras to generate token id and attention mask. After receiving the token id and attention mask as input, the data training process is performed for three architectural scenarios with each configuration of 20 epochs, batch size of 32, and the learning rate is 0.00001. Result/Findings: The results of this study are defined by a confusion matrix which contains accuracy, recall, precision, and F1-score as the evaluation. The combination of Bi-LSTM + Attention + IndoBERT + GloVe obtains the best result of 97,71% of accuracy, 96,33% of precision, 97,93% of recall, and 97,72% of F1-score. Novelty/Originality/Value: This study combines two word embeddings in order to make sure the weight of words is completely defined and optimized into the Bi-LSTM and attention mechanism architecture.

Kata kunci

Jaringan kolaborasi para penulis

23 penulis · 32 tautan kepenulisan bersama · 4 lintas organisasi

Arahkan kursor atau ketuk sebuah nama untuk menyorot rekan penulisnya. Klik dua kali untuk membuka halaman penulis.

  • State University of Semarang
  • National University of Malaysia
  • Organisasi berbeda
  • Organisasi sama
  • Afiliasi tidak diketahui
  • Garis lebih tebal = lebih banyak artikel bersama · lingkaran lebih besar = lebih banyak artikel
Tampilkan sebagai tabel
Rekan penulisOrganisasiArtikel bersama
Deonisius Germandy Cahaya PutraState University of Semarang2
Vivi WulandariState University of Semarang2
Resta AdityatamaState University of Semarang2
Muh. SholehState University of Semarang1
Martanto Setyo HusodoState University of Semarang1
Taripar Matius AlexanderState University of Semarang1
Florentina Yuni AriniState University of Semarang1
Riza ArifudinState University of Semarang1
Athoillah AthoillahState University of Semarang1
Cahya WulandariState University of Semarang1
Muhamad Sayuti HassanNational University of Malaysia1
Zidney Ilma Fazaada EmhaState University of Semarang1
Sugianto SugiantoState University of Semarang1
Angel Novita SinuratState University of Semarang1
Tazkiyatun Aeni AmaliyahState University of Semarang1
Ahmad WarsunState University of Semarang1
Pradistia Edo KristiantoState University of Semarang1
Syehudin SyehudinState University of Semarang1
Annisya Dira PrastiwiState University of Semarang1
Luthfi Ilham Agus PratamaState University of Semarang1
Muhammad Zaenal MuttaqinState University of Semarang1

Afiliasi berasal dari OpenAlex; metadata OAI-PMH jurnal tidak memuatnya. Penulis tanpa ID OpenAlex dicocokkan berdasarkan nama, sehingga dua orang bisa tergabung atau satu orang bisa terpisah.

Sumber metadata: OAI-PMH (metadata jurnal) https://journal.unnes.ac.id/journals/rji/oai, pertama di-harvest 6 Nov 2026, terakhir terlihat 8 Nov 2026.
Metadata asli (oai_dc)
<oai_dc:dc xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/  http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
	<dc:title xml:lang="en">Implementation of Bidirectional Long-Short Term Memory (Bi-LSTM) and Attention to Detect Political Fake News Using IndoBERT and GloVe Embedding</dc:title>
	<dc:creator xml:lang="en">Firmansyah, Adham Satria</dc:creator>
	<dc:creator xml:lang="en">Putra, Anggyi Trisnawan</dc:creator>
	<dc:subject xml:lang="en">Natural Language Processing</dc:subject>
	<dc:subject xml:lang="en">NLP</dc:subject>
	<dc:subject xml:lang="en">political hoax news</dc:subject>
	<dc:subject xml:lang="en">IndoBERT</dc:subject>
	<dc:subject xml:lang="en">Bi-LSTM</dc:subject>
	<dc:subject xml:lang="en">prediction</dc:subject>
	<dc:subject xml:lang="en">GloVe embedding</dc:subject>
	<dc:subject xml:lang="en">attention mechanism</dc:subject>
	<dc:description xml:lang="en">Abstract. Indonesian political news is now increasingly spread through various media, especially social and online media. However, a lot of fake news are spread to bring down political opponents or attract public sympathy in order to find their own supporters. Of course, this news need to be watched out for and preventive measures must be taken so as not to cause misunderstanding in the wider community.
Purpose: This study was conducted to detect the political news whether it’s classified as hoax or fact by its narration. Also, understanding how to build the news detector using corresponding architecture and word embeddings.
Methods/Study design/approach: The model architecture of Bi-LSTM and attention mechanism is used to reach the goals from this study’s purposes. Many studies have been conducted to detect hoaxes but have not yet paid attention to the context of sentences and the contribution of words in a news text so that this architecture is made to overcome this problem. It uses IndoBERT to optimize the model for Indonesian language and also GloVe to obtain the word weights from pre-trained embedding. Then, the tokenization process is performed with IndoBERT and keras to generate token id and attention mask. After receiving the token id and attention mask as input, the data training process is performed for three architectural scenarios with each configuration of 20 epochs, batch size of 32, and the learning rate is 0.00001.
Result/Findings: The results of this study are defined by a confusion matrix which contains accuracy, recall, precision, and F1-score as the evaluation. The combination of Bi-LSTM + Attention + IndoBERT + GloVe obtains the best result of 97,71% of accuracy, 96,33% of precision, 97,93% of recall, and 97,72% of F1-score.
Novelty/Originality/Value: This study combines two word embeddings in order to make sure the weight of words is completely defined and optimized into the Bi-LSTM and attention mechanism architecture.</dc:description>
	<dc:publisher xml:lang="en">Universitas Negeri Semarang</dc:publisher>
	<dc:date>2025-10-17</dc:date>
	<dc:type>info:eu-repo/semantics/article</dc:type>
	<dc:type>info:eu-repo/semantics/publishedVersion</dc:type>
	<dc:type xml:lang="en">Peer-reviewed Article</dc:type>
	<dc:format>application/pdf</dc:format>
	<dc:identifier>https://journal.unnes.ac.id/journals/rji/article/view/159</dc:identifier>
	<dc:identifier>10.15294/rji.v3i2.159</dc:identifier>
	<dc:source xml:lang="en">Recursive Journal of Informatics; Vol. 3 No. 2 (2025): September 2025; 68-76</dc:source>
	<dc:source>2986-6588</dc:source>
	<dc:source>2963-5551</dc:source>
	<dc:source>10.15294/rji.v3i2</dc:source>
	<dc:language>eng</dc:language>
	<dc:relation>https://journal.unnes.ac.id/journals/rji/article/view/159/6204</dc:relation>
	<dc:rights xml:lang="en">Copyright (c) 2025 Recursive Journal of Informatics</dc:rights>
</oai_dc:dc>