Classification of Hadith using BERT-BiLSTM and BERT-BiGRU

The Hadiths are a compilation of the sayings, actions, and approvals of the Prophet Muhammad (PBUH). They serve as guidelines for the lives of Muslims after the Quran. With thousands of hadiths, determining their authenticity based on grades of sahih (authentic), hasan (good), and daif (weak) using deep learning is necessary. Deep learning (DL) has the potential to markedly enhance the accuracy of hadith classification by capturing intricate text patterns and automating the classification process, which is beneficial for handling large datasets such as hadiths. In this study, we used BERT-BiGRU and BERT-BiLSTM models to determine the authenticity of hadiths based on their grades. First, the dataset was preprocessed with punctuation removal, stop words removal, and stemming. Then, one-hot encoding was applied for the hadith grade categories, followed by oversampling to balance the dataset. After that, the processed dataset was used with BERT-BiLSTM and BERT-BiGRU models. The results of this research indicate that the BERT-BiLSTM model demonstrates superior performance compared to the BERT-BiGRU model, achieving an accuracy of 0.963, precision of 0.965, recall of 0.963, and $F 1$-score of 0.963.

Authors

Institutions

Publication Details

Published
2024-11-28
DOI
https://doi.org/10.1109/comnetsat63286.2024.10862929
Primary Topic
Data Mining and Machine Learning Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Classification of Hadith using BERT-BiLSTM and BERT-BiGRU

Kemas Muslim Lhaksmana, Muhammad Hafizh Mulyana
Data Mining and Machine Learning Applications
article

Classification of Hadith using BERT-BiLSTM and BERT-BiGRU

Kemas Muslim Lhaksmana, Muhammad Hafizh Mulyana
article en

Abstract

The Hadiths are a compilation of the sayings, actions, and approvals of the Prophet Muhammad (PBUH). They serve as guidelines for the lives of Muslims after the Quran. With thousands of hadiths, determining their authenticity based on grades of sahih (authentic), hasan (good), and daif (weak) using deep learning is necessary. Deep learning (DL) has the potential to markedly enhance the accuracy of hadith classification by capturing intricate text patterns and automating the classification process, which is beneficial for handling large datasets such as hadiths. In this study, we used BERT-BiGRU and BERT-BiLSTM models to determine the authenticity of hadiths based on their grades. First, the dataset was preprocessed with punctuation removal, stop words removal, and stemming. Then, one-hot encoding was applied for the hadith grade categories, followed by oversampling to balance the dataset. After that, the processed dataset was used with BERT-BiLSTM and BERT-BiGRU models. The results of this research indicate that the BERT-BiLSTM model demonstrates superior performance compared to the BERT-BiGRU model, achieving an accuracy of 0.963, precision of 0.965, recall of 0.963, and $F 1$-score of 0.963.

Telkom University (ID)
Openalex Percentile: Top 57%
Data Mining and Machine Learning Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.