Perbandingan Kinerja MetodeTF-IDF dan BM25 pada Pencarian Artikel Berita Bahasa Indonesia
Keywords:
BM25, document ranking, Indonesian news retrieval, information retrieval, TF-IDFAbstract
The growth of online media has increased the number of Indonesian-language news articles and created a need for effective and efficient retrieval systems. This study compares Term Frequency–Inverse Document Frequency (TF-IDF) and Best Matching 25 (BM25) using the Indonesia News Dataset (2025). Of 80,472 articles, 80,463 documents were retained after removing nine articles with empty content. The evaluation used 10 multi-category queries. Ground truth was constructed by pooling the top 20 results from each method, producing 304 query–document pairs manually assessed by one evaluator using relevance labels from 0 to 2. Retrieval effectiveness was measured using Precision@k, Recall@k, Mean Average Precision (MAP), Mean Reciprocal Rank (MRR), and normalized Discounted Cumulative Gain (nDCG). Retrieval time was measured over 30 repetitions after three warm-up runs. At Top-10, BM25 achieved a Precision@10 of 0.79, Recall@10 of 0.351630, MAP@10 of 0.728635, and nDCG@10 of 0.630976, which were higher than the corresponding TF-IDF scores. TF-IDF obtained a slightly higher MRR of 0.90 than BM25 at 0.85. In the evaluated implementation, BM25 required 0.010191 seconds on average, whereas TF-IDF required 0.066014 seconds. Descriptively, BM25 performed better on most Top-10 metrics and retrieval time, but the results depended on query characteristics and experimental configuration.
Downloads
References
N. P. R. Adiati et al., “Comparative study of predictive models for hoax and disinformation detection in indonesian news,” International Journal of Advances in Intelligent Informatics, vol. 10, no. 3, p. 504, Aug. 2024, doi: 10.26555/ijain.v10i3.878.
D. R. Faisal, F. Darari, and R. A. Ryanda, “Granularity-aware legal question answering: a case study of Indonesian government regulations,” International Journal of Advances in Intelligent Informatics, vol. 10, no. 3, p. 359, Aug. 2024, doi: 10.26555/ijain.v10i3.1105.
L. Heryawan, D. Novitaningrum, K. R. Nastiti, and S. N. Mahmudah, “Medical Record Document Search with TF-IDF and Vector Space Model (VSM),” Int. J. Adv. Sci. Eng. Inf. Technol., vol. 14, no. 3, pp. 847–852, Jun. 2024, doi: 10.18517/ijaseit.14.3.19606.
V. Vichianchai and S. Kasemvilas, “A New Term Frequency with Gaussian Technique for Text Classification and Sentiment Analysis,” Journal of ICT Research and Applications, vol. 15, no. 2, pp. 152–168, Oct. 2021, doi: 10.5614/itbj.ict.res.appl.2021.15.2.4.
Pande Made Risky Cahya Dinatha and Nur Aini Rakhmawati, “Komparasi Term Weighting dan Word Embedding pada Klasifikasi Tweet Pemerintah Daerah,” Jurnal Nasional Teknik Elektro dan Teknologi Informasi, vol. 9, no. 2, pp. 155–161, May 2020, doi: 10.22146/jnteti.v9i2.90.
R. Al Rasyid and D. H. U. Ningsih, “Penerapan Algoritma TF-IDF dan Cosine Similarity untuk Query Pencarian Pada Dataset Destinasi Wisata,” Jurnal JTIK (Jurnal Teknologi Informasi dan Komunikasi), vol. 8, no. 1, pp. 170–178, Jan. 2024, doi: 10.35870/jtik.v8i1.1416.
W. Tanuwijaya, C. E. Setiawan, H. Irsyad, and A. Rahman, “Implementasi TF-IDF dan Cosine Similarity untuk Penyaringan Dokumen Berita Program Makan Siang Gratis Pemerintah Indonesia,” DEVICE : JOURNAL OF INFORMATION SYSTEM, COMPUTER SCIENCE AND INFORMATION TECHNOLOGY, vol. 6, no. 2, pp. 322–334, Dec. 2025, doi: 10.46576/device.v6i2.6724.
K. A. Hambarde and H. Proença, “Information Retrieval: Recent Advances and Beyond,” IEEE Access, vol. 11, pp. 76581–76604, 2023, doi: 10.1109/ACCESS.2023.3295776.
R. A. Satria, I. Indriati, and S. Sutrisno, “Pengelompokan Hasil Pencarian Skripsi Berbahasa Indonesia Menggunakan Metode DBSCAN dengan Pembobotan BM25,” Jurnal Teknologi Informasi dan Ilmu Komputer, vol. 10, no. 4, pp. 781–790, Aug. 2023, doi: 10.25126/jtiik.2024106899.
T. Kheng, J. S. Asri, S. Wahyu, and Y. Yulhendri, “Penerapan Algoritma BM25 dalam Pencarian Lowongan Pekerjaan pada Website Job Portal,” Bulletin of Computer Science Research, vol. 5, no. 5, pp. 1029–1038, Aug. 2025, doi: 10.47065/bulletincsr.v5i5.760.
X. Zhang et al., “MIRACL : A Multilingual Retrieval Dataset Covering 18 Diverse Languages,” Trans. Assoc. Comput. Linguist., vol. 11, pp. 1114–1131, Sep. 2023, doi: 10.1162/tacl_a_00595.
M. Markwald, J. Liu, and R. Yu, “Constructing and meta-evaluating state-aware evaluation metrics for interactive search systems,” Information Retrieval Journal, vol. 26, no. 1–2, p. 10, Dec. 2023, doi: 10.1007/s10791-023-09426-1.
A. E. Budiman and A. Widjaja, “Analisis Pengaruh Teks Preprocessing Terhadap Deteksi Plagiarisme Pada Dokumen Tugas Akhir,” Jurnal Teknik Informatika dan Sistem Informasi, vol. 6, no. 3, Dec. 2020, doi: 10.28932/jutisi.v6i3.2892.
N. P. Yunita, “Aplikasi Pencarian Hadis Menggunakan Vector Space Model Dengan Pembobotan TF-IDF Dan Confix-Stripping Stemmer,” Jurnal Teknologi Informasi dan Ilmu Komputer, vol. 10, no. 3, pp. 665–676, Jul. 2023, doi: 10.25126/jtiik.2023106736.
T. T. Prabowo, “Efektivitas Sistem Temu Kembali Informasi Perpustakaan Digital Institut Seni Indonesia (ISI) Yogyakarta dalam Tinjauan Recall dan Precision,” Media Pustakawan, vol. 28, no. 1, pp. 37–48, Apr. 2021, doi: 10.37014/medpus.v28i1.1087.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Muhammad Al Adib, Yiska Dayanti Zagoto, Bualazatulo Laia, Roslina

This work is licensed under a Creative Commons Attribution 4.0 International License.
Universitas Harapan Medan






.png)


.png)


.png)

.png)


.png)



