mlsanityData to 7 Oct 2026

ExplainableDetector: Exploring Transformer-based Language Modeling Approach for SMS Spam Detection with Explainability Analysis

arXiv 2405.08026 ↗First posted 12 May 2024cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

SMS, or short messaging service, is a widely used and cost-effective communication medium that has sadly turned into a haven for unwanted messages, commonly known as SMS spam. With the rapid adoption of smartphones and Internet connectivity, SMS spam has emerged as a prevalent threat. Spammers have taken notice of the significance of SMS for mobile phone users. Consequently, with the emergence of new cybersecurity threats, the number of SMS spam has expanded significantly in recent years. The unstructured format of SMS data creates significant challenges for SMS spam detection, making it more difficult to successfully fight spam attacks in the cybersecurity domain. In this work, we employ optimized and fine-tuned transformer-based Large Language Models (LLMs) to solve the problem of spam message detection. We use a benchmark SMS spam dataset for this spam detection and utilize several preprocessing techniques to get clean and noise-free data and solve the class imbalance problem using the text augmentation technique. The overall experiment showed that our optimized fine-tuned BERT (Bidirectional Encoder Representations from Transformers) variant model RoBERTa obtained high accuracy with 99.84%. We also work with Explainable Artificial Intelligence (XAI) techniques to calculate the positive and negative coefficient scores which explore and explain the fine-tuned model transparency in this text-based spam SMS detection task. In addition, traditional Machine Learning (ML) models were also examined to compare their performance with the transformer-based models. This analysis describes how LLMs can make a good impact on complex textual-based spam data in the cybersecurity field.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 15 of its 46 references that are in the map. First posted on arXiv 12 May 2024.

Builds on

15 of 46 references.

References · 15

  1. 2017Attention Is All You Needcited by 59,932
  2. 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
  3. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  4. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  5. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  6. 2023A Survey of Large Language Modelscited by 2,537
  7. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
  8. 2021Transformer in Transformercited by 632
  9. 2021Large-Scale Differentially Private BERTcited by 117
  10. 2021BERT: A Review of Applications in Natural Language Processing and Understandingcited by 109
  11. 2022Understanding AdamW through Proximal Methods and Scale-Freenesscited by 46
  12. 2022Universal Spam Detection using Transfer Learning of BERT Modelcited by 13
3 more
  1. 2023An Improved Transformer-based Model for Detecting Phishing, Spam, and Ham: A Large Language Model Approachcited by 12
  2. 2024An Explainable Transformer-based Model for Phishing Email Detection: A Large Language Model Approachcited by 9
  3. 2022Spam Detection Using BERTcited by 6

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.