Melola Discovery

← Melola Discovery

Open access Journal SINTA 1

Deep learning-based spam detection for WhatsApp chatbot fallback reduction

IAES International Journal of Artificial Intelligence · Vol. 15 No. 1 (2026) · pp. 909–918

DOI
10.11591/ijai.v15.i1.pp909-918
ISSN
2252-8938, 2089-4872
Published
2026-02-01
Publisher
Institute of Advanced Engineering and Science
Language
eng
License
creativecommons.org/licenses/by-sa/4.0

Abstract

Chatbots on WhatsApp are widely used for customer service, but their effectiveness is often undermined by fallback responses when user input cannot be understood. A major cause of these fallbacks is unsolicited spam, which disrupts interactions and reduces service quality. This study develops and evaluates a spam detection system aimed at reducing fallback rates and enhancing user experience. A comparative analysis was conducted between traditional machine learning models (support vector machine (SVM) and decision tree (DT)) and advanced deep learning architectures, including long short-term memory (LSTM) variants (vanilla, bidirectional, stacked, convolutional neural network (CNN)-LSTM, and encoder-decoder) and transformer-based models (bidirectional encoder representations from transformers (BERT)-base, DistilBERT, and cross-lingual language model robustly optimized BERT pretraining approach (XLM-ROBERTa)). Using 170,000 messages sampled from 18 million interactions collected between July 2022 and December 2023, the models were assessed with standard evaluation metrics. Results show that CNN-LSTM and DistilBERT achieved the most robust performance. CNN-LSTM attained a precision of 0.92, recall of 0.91, F1-score of 0.91, and accuracy of 0.94, while DistilBERT achieved precision of 0.92, recall of 0.89, F1-score of 0.90, and accuracy of 0.93. These findings highlight their superior ability to capture contextual patterns in spam messages. Implementing such models is expected to significantly lower fallback rates, thereby improving chatbot reliability and user satisfaction.

Keywords

Collaboration network of the authors

31 authors · 50 co-authorship links · 12 across different organisations

Hover or tap a name to highlight its co-authors. Double-click to open the author's page.

  • Binus University
  • Universitas Muhammadiyah Kalimantan Timur
  • Syarif Hidayatullah State Islamic University Jakarta
  • Andalas University
  • Affiliation unknown
  • Different organisations
  • Same organisation
  • Affiliation unknown
  • Thicker line = more joint articles · bigger circle = more articles
Show as table
Co-authorOrganisationJoint articles
Muhammad Farhan FadhilBinus University2
Maimunah MaskurBinus University1
Hendra KurniawanBinus University1
Suma'inna Suma'innaAffiliation unknown1
Muhammad ManaqibSyarif Hidayatullah State Islamic University Jakarta1
Bhakti Prabandyo WicaksonoBinus University1
Hendra SaputraAndalas University1
Faldi FaldiUniversitas Muhammadiyah Kalimantan Timur1
Ferry Fadzlul RahmanUniversitas Muhammadiyah Kalimantan Timur1
Sayekti Harits SuryawanUniversitas Muhammadiyah Kalimantan Timur1
Wawan Joko PranotoUniversitas Muhammadiyah Kalimantan Timur1
Fathur RahmanUniversitas Muhammadiyah Kalimantan Timur1
Andrew Steven SamsBinus University1
Yasinta Roesmiatun PurnamadewiAffiliation unknown1
Ahmad Iqbal AbdurrahmanBinus University1
Panji WijonarkoBinus University1
Yoga TanokoBinus University1
Jonathan Christian SetyonoBinus University1
Gede Putra KusumaBinus University1
Francisco Calvin Arnel FeranoBinus University1
Khasyi Al MukarramBinus University1
M. Anang MukhlasBinus University1
Stefanus MichaelBinus University1
Ebenhaiser Jonathan CaprisianoBinus University1
Muhammad Hafizh RamadhansyahBinus University1
Juan HebertBinus University1
Michael J. HenryBinus University1
Wiryanata ChandraBinus University1
Mhd TaufikBinus University1

Affiliations come from OpenAlex; journal OAI-PMH metadata carries none. Authors without an OpenAlex ID are matched by name, which can merge or split people.

Metadata source: OAI-PMH (metadata jurnal) http://ijai.iaescore.com/index.php/IJAI/oai, first harvested 8 Nov 2026, last seen 29 Nov 2026.
Original metadata (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-US">Deep learning-based spam detection for WhatsApp chatbot  fallback reduction</dc:title>
	<dc:creator>Sadewo, Satrio</dc:creator>
	<dc:creator>Zahra, Amalia</dc:creator>
	<dc:subject xml:lang="en-US"></dc:subject>
	<dc:subject xml:lang="en-US">Fallback response; Machine learning; Natural language processing; Spam detection; Transformer models; WhatsApp chatbot</dc:subject>
	<dc:description xml:lang="en-US">Chatbots on WhatsApp are widely used for customer service, but their effectiveness is often undermined by fallback responses when user input cannot be understood. A major cause of these fallbacks is unsolicited spam, which disrupts interactions and reduces service quality. This study develops and evaluates a spam detection system aimed at reducing fallback rates and enhancing user experience. A comparative analysis was conducted between traditional machine learning models (support vector machine (SVM) and decision tree (DT)) and advanced deep learning architectures, including long short-term memory (LSTM) variants (vanilla, bidirectional, stacked, convolutional neural network (CNN)-LSTM, and encoder-decoder) and transformer-based models (bidirectional encoder representations from transformers (BERT)-base, DistilBERT, and cross-lingual language model robustly optimized BERT pretraining approach (XLM-ROBERTa)). Using 170,000 messages sampled from 18 million interactions collected between July 2022 and December 2023, the models were assessed with standard evaluation metrics. Results show that CNN-LSTM and DistilBERT achieved the most robust performance. CNN-LSTM attained a precision of 0.92, recall of 0.91, F1-score of 0.91, and accuracy of 0.94, while DistilBERT achieved precision of 0.92, recall of 0.89, F1-score of 0.90, and accuracy of 0.93. These findings highlight their superior ability to capture contextual patterns in spam messages. Implementing such models is expected to significantly lower fallback rates, thereby improving chatbot reliability and user satisfaction.</dc:description>
	<dc:publisher xml:lang="en-US">Institute of Advanced Engineering and Science</dc:publisher>
	<dc:contributor xml:lang="en-US"></dc:contributor>
	<dc:date>2026-02-01</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-US"></dc:type>
	<dc:format>application/pdf</dc:format>
	<dc:identifier>https://ijai.iaescore.com/index.php/IJAI/article/view/30360</dc:identifier>
	<dc:identifier>10.11591/ijai.v15.i1.pp909-918</dc:identifier>
	<dc:source xml:lang="en-US">IAES International Journal of Artificial Intelligence (IJ-AI); Vol 15, No 1: February 2026; 909-918</dc:source>
	<dc:source>2252-8938</dc:source>
	<dc:source>2089-4872</dc:source>
	<dc:source>10.11591/ijai.v15.i1</dc:source>
	<dc:language>eng</dc:language>
	<dc:relation>https://ijai.iaescore.com/index.php/IJAI/article/view/30360/14990</dc:relation>
	<dc:rights xml:lang="en-US">Copyright (c) 2026 Satrio Sadewo, Amalia Zahra</dc:rights>
	<dc:rights xml:lang="en-US">http://creativecommons.org/licenses/by-sa/4.0</dc:rights>
</oai_dc:dc>