Skip to main navigation Skip to search Skip to main content

Measuring and Evaluating the Performance of Generative Ai Models for Scam Detection

  • Cem Topcuoglu
  • , Seyed Ali Akhavani
  • , Harel Berger
  • , Sadia Afroz
  • , Michalis Pachilakis
  • , Vibhor Sehgal
  • , Leyla Bilge
  • , Engin Kirda

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

Abstract

Online scams continue to cause substantial financial and personal harm. As a result, detection systems based on Large Language Models (LLMs) have been integrated into security products ranging from email gateways and browser extensions to fraud-monitoring dashboards. As this adoption accelerates, a common belief has taken hold: that these models are broadly suitable for scam detection. In this work, we investigate whether LLMs, with their strong capabilities in understanding intent, context, and reasoning, can effectively detect scams across diverse scenarios without task-specific fine-tuning. We curate and release a unique benchmark dataset of real-world scams spanning multiple formats and topics. We evaluate nine LLMs of varying sizes and architectures, examining their performance under different prompting strategies and comparing them to a fine-tuned BERTbased classifier. Our results show that while larger LLMs generally outperform smaller ones, effective prompting substantially boosts the performance of smaller models. Moreover, LLMs are better at generalizing to unseen scams compared to finetuned models, suggesting that pre-trained knowledge contributes meaningfully to scam detection. We release our dataset and evaluation framework to facilitate future research in robust scam detection using language models.

Original languageEnglish
Title of host publicationProceedings - 2026 IEEE 50th Annual Computers, Software, and Applications Conference, COMPSAC 2026
EditorsHossain Shahriar, Kazi Shafiul Alam, Hiroyuki Ohsaki, Stelvio Cimato, Miriam Capretz, Shamem Ahmed, Sheikh Iqbal Ahamed, AKM Jahangir Alam Majumder, Munirul Haque, Tomoki Yoshihisa, Alfredo Cuzzocrea, Michiharu Takemoto, Nazmus Sakib, Marwa Elsayed
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages641-651
Number of pages11
ISBN (Electronic)9798331544973
DOIs
StatePublished - 2026
Event50th IEEE Annual Computers, Software, and Applications Conference, COMPSAC 2026 - Madrid, Spain
Duration: 7 Jul 2026 → 10 Jul 2026

Publication series

NameProceedings - 2026 IEEE 50th Annual Computers, Software, and Applications Conference, COMPSAC 2026

Conference

Conference50th IEEE Annual Computers, Software, and Applications Conference, COMPSAC 2026
Country/TerritorySpain
CityMadrid
Period7/07/26 → 10/07/26

Keywords

  • Large Language Models
  • Machine Learning
  • Online Scams
  • Scam Detection

Fingerprint

Dive into the research topics of 'Measuring and Evaluating the Performance of Generative Ai Models for Scam Detection'. Together they form a unique fingerprint.

Cite this