TY - GEN
T1 - Using Large Language Models to Mitigate Human-Induced Bias in SMS Spam
T2 - 4th IEEE International Conference on Artificial Intelligence in Cybersecurity, ICAIC 2025
AU - Fuhnwi, Gerard Shu
AU - Revelle, Matthew
AU - Whitaker, Bradley
AU - Izurieta, Clemente
N1 - Publisher Copyright:
© 2025 IEEE.
PY - 2025/2/5
Y1 - 2025/2/5
N2 - 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.
AB - 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.
KW - Balanced Accuracy
KW - Bias
KW - EOD
KW - Fairness
KW - LLMs
KW - SMS
KW - SPD
UR - https://www.scopus.com/pages/publications/85218058905
U2 - 10.1109/ICAIC63015.2025.10848636
DO - 10.1109/ICAIC63015.2025.10848636
M3 - Conference contribution
AN - SCOPUS:85218058905
T3 - 2025 IEEE 4th International Conference on AI in Cybersecurity, ICAIC 2025
BT - 2025 IEEE 4th International Conference on AI in Cybersecurity, ICAIC 2025
PB - Institute of Electrical and Electronics Engineers Inc.
Y2 - 5 February 2025 through 7 February 2025
ER -