Mochamad Abdul Azis
Information Systems Department, Universitas Nusantara PGRI Kediri, Indonesia

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

Improving Indonesian Long-Text Hoax Detection Using an Overlapping Sliding Window with IndoBERT Mochamad Abdul Azis; Sucipto Sucipto; Aidina Ristyawan
Inform : Jurnal Ilmiah Bidang Teknologi Informasi dan Komunikasi Vol. 11 No. 2 (2026)
Publisher : Universitas Dr. Soetomo

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.25139/inform.v11i2.12042

Abstract

The rapid spread of hoax news across Indonesian digital platforms has created significant challenges for information credibility and public trust. Although transformer-based models such as IndoBERT have achieved strong performance in Indonesian text classification tasks, the architecture supports a maximum input length of only 512 tokens. This limitation potentially removes important contextual information from long news articles during the truncation pre-processing stage, thereby reducing classification performance. Therefore, this study aims to improve the performance of Indonesian long-text hoax detection by combining an overlapping sliding-window approach with the IndoBERT Base-P1 architecture. The proposed method divides long documents into multiple overlapping segments, each containing up to 512 tokens, with a 128-token stride to preserve contextual continuity between adjacent segments. This study also applies text normalization, class weighting, and the AdamW optimizer during fine-tuning. Experimental results demonstrate that overlapping sliding-window segmentation effectively preserves contextual information while maintaining stable classification performance on the general dataset. Evaluation on 965 long-text articles exceeding 512 tokens shows that overlapping sliding-window segmentation combined with full fine-tuning outperforms the conventional truncation baseline, improving the F1-score from 0.9688 to 0.9846. The proposed method achieves an accuracy of 0.9897, a precision of 1.0000, a recall of 0.9697, and an F1-score of 0.9846 in long-text classification experiments. These findings indicate that the proposed overlapping sliding-window approach effectively addresses IndoBERT’s token limitation while improving contextual understanding for Indonesian long-text hoax classification.