Skip to main navigation Skip to search Skip to main content

Using Large Language Models to Mitigate Human-Induced Bias in SMS Spam: An Empirical Approach

  • Gerard Shu Fuhnwi
  • , Matthew Revelle
  • , Bradley Whitaker
  • , Clemente Izurieta

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

2 Scopus citations

Abstract

Short Message Service (SMS) is a widely used text messaging feature on both basic and smartphones. SMS spam detection is a crucial task. Traditional machine learning approaches often struggle in this domain due to their reliance on manually crafted features, such as keyword detection, which can result in overly simplistic patterns and misclassification of more complex messages. With this shortcoming, these models can amplify human-induced biases if the training data contains inconsistent labeling or subjective interpretations, leading to unfair treatment of specific keywords or contexts. Conversely, advanced LLMs present effective approaches to addressing such issues, as they can more accurately capture linguistic patterns, contextual nuances, and textual ambiguities than traditional models, representing a substantial advancement in improving label accuracy. This paper proposes utilizing LLMs to address humaninduced labeling bias in spam detection and applying different prompt design methods to guide the process. In text classification, we surveyed two leading-edge LLMs, ChatGPT and Gemini, and evaluated them on the English SMS spam dataset source from UC Irvine's Machine Learning Repository. We explored the highest-performing prompt designs using approaches like in-context learning. The findings indicate that in-context techniques for prompting improve model effectiveness by reducing human-induced (contextual) labeling bias in SMS spam detection with a Balanced Accuracy of 82% 97% and an Equal Opportunity Difference (EOD) of precisely zero, indicating LLMs' trustworthiness (fairness) in reducing this bias compared to traditional machine learning approaches. Our results also suggested that expanding the sample size can decrease LLMs' ability to reduce human-induced labeling bias in spam detection. In general, this study provides information on the strengths and limitations of LLMs and suggestions for methods to minimize human-induced labeling bias in spam detection and can help guide the selection of appropriate LLMs for this task.

Original languageEnglish
Title of host publication2025 IEEE 4th International Conference on AI in Cybersecurity, ICAIC 2025
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9798331518882
DOIs
StatePublished - Feb 5 2025
Event4th IEEE International Conference on Artificial Intelligence in Cybersecurity, ICAIC 2025 - Houston, United States
Duration: Feb 5 2025Feb 7 2025

Publication series

Name2025 IEEE 4th International Conference on AI in Cybersecurity, ICAIC 2025

Conference

Conference4th IEEE International Conference on Artificial Intelligence in Cybersecurity, ICAIC 2025
Country/TerritoryUnited States
CityHouston
Period02/5/2502/7/25

Keywords

  • Balanced Accuracy
  • Bias
  • EOD
  • Fairness
  • LLMs
  • SMS
  • SPD

INL Publication Number

  • NA

Fingerprint

Dive into the research topics of 'Using Large Language Models to Mitigate Human-Induced Bias in SMS Spam: An Empirical Approach'. Together they form a unique fingerprint.

Cite this