[Paper Review] Web-based Application for Detecting Indonesian Clickbait Headlines using IndoBERT
This paper proposes a lightweight, web-based clickbait detection application for Indonesian news headlines using IndoBERT Lite Base, leveraging a RESTful API hosted on a cloud server to enable real-time predictions with minimal client-side resources. The system achieves a mean ROC-AUC of 89%, offering a practical, accessible tool to combat misinformation and improve digital literacy in Indonesia.
With increasing usage of clickbaits in Indonesian Online News, newsworthy articles sometimes get buried among clickbaity news. A reliable and lightweight tool is needed to detect such clickbaits on-the-go. Leveraging state-of-the-art natural language processing model BERT, a RESTful API based application is developed. This study offloaded the computing resources needed to train the model on the cloud server, while the client-side application only needs to send a request to the API and the cloud server will handle the rest. This study proposed the design and developed a web-based application to detect clickbait in Indonesian using IndoBERT as a language model. The application usage is discussed and available for public use with a performance of mean ROC-AUC of 89%.
Motivation & Objective
- To address the growing problem of clickbait headlines in Indonesian online news, which can mislead readers and contribute to the digital divide.
- To develop a lightweight, accessible tool that enables users to detect clickbait without requiring technical expertise or high computational resources.
- To bridge the gap between academic clickbait detection research and practical application by delivering a functional, publicly available web-based system.
- To enhance digital literacy in Indonesia by providing a user-friendly tool to help readers distinguish between clickbaits and legitimate news headlines.
- To reduce server costs and memory usage by using a smaller, efficient language model (IndoBERT Lite Base) while maintaining strong predictive performance.
Proposed method
- The system uses a RESTful API architecture built with Flask, deployed on a DigitalOcean droplet using Gunicorn and Nginx as a reverse proxy for scalability and security.
- The core model is IndoBERT Lite Base, a distilled version of Multilingual BERT with 12 layers and ~11.7 million parameters, fine-tuned on a balanced dataset of 6,000 annotated Indonesian headlines.
- Predictions are made via a POST request to the /predict endpoint, which processes the input text and returns a binary classification (clickbait or non-clickbait) in JSON format.
- User feedback on predictions is collected and stored in a MySQL database for future retraining, enhancing model robustness over time.
- The application is secured using HTTPS and rate limiting (2 requests per minute on the backend) to prevent spam and DoS attacks.
- The frontend is hosted on GitHub Pages and communicates with the backend API via HTTPS, enabling seamless client-side interaction without requiring local model deployment.
Experimental results
Research questions
- RQ1Can a lightweight, cloud-hosted NLP application effectively detect Indonesian clickbait headlines with high accuracy and low resource consumption?
- RQ2How does the performance of IndoBERT Lite Base compare to larger models like Multilingual BERT in the context of Indonesian clickbait detection?
- RQ3To what extent can a publicly accessible web application improve digital literacy and help users identify misleading news headlines?
- RQ4What impact does user feedback collection have on the long-term reliability and retraining potential of the clickbait detection model?
- RQ5How can a RESTful API-based architecture ensure scalability, security, and ease of integration with future tools like browser extensions or media dashboards?
Key findings
- The web-based application achieved a mean ROC-AUC score of 89%, demonstrating strong performance in distinguishing Indonesian clickbait from non-clickbait headlines.
- Switching from Multilingual BERT to IndoBERT Lite Base reduced memory usage by approximately 800MB, significantly lowering server resource demands and operational costs.
- Despite the performance trade-off, the lighter model maintained high predictive capability, with an f1-score average of 85% on the IndoBERT Lite Base model.
- The system successfully integrates user feedback into a MySQL database, enabling future retraining and model improvement based on real-world predictions.
- The application is publicly accessible at https://ruzcmc.github.io/ClickbaitIndo-textclassifier, with full source code, models, and datasets available on GitHub.
- The use of HTTPS, rate limiting, and secure API design ensures protection against spam and unauthorized access, enhancing system reliability and security.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.