Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
A Transformer-Based Approach for Text Scam Detection with Synthetic Data Augmentation
Blekinge Institute of Technology, Faculty of Computing, Department of Computer Science.
Blekinge Institute of Technology, Faculty of Computing, Department of Computer Science.
2025 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

As online communication becomes increasingly essential in everyday life, the risk of falling victim to digital scams has grown significantly. These scams are no longer limited to single deceptive messages; In reality, the number of digital scams is growing by the day. These scams are no longer solo deceptive one-time messages but rather involve a full conversation in which the manipulative spirit slowly exerts its influence on the users. In such cases, either the detection systems are not able to pick up contextual information or they are unable to follow ever-evolving patterns of language. The thesis addresses an AI-within approach beyond a single message exchange on which one can base their scam detection: synthetic data augmentation for better performance. 

Background: Online-scams-enabled types have now become more dynamic and cases harder to detect, especially when unfolding over multiple interactions. Rule-based and classical machine-learning-based systems do not cope well with the mutable nature and cues of conversational scams. 

Objectives: The objective of this thesis is to augment the aim of scamming detection systems with Transformer-based models for grasping the context of messages. By focusing on RoBERTa and examining whether synthetically generated scam conversations can serve as a data augmentation mechanism against rare real data to enhance model performance. 

Methods: A three-stage procedure was run: first, synthetic scam conversations were generated through language models to augment the training data. The Classifiers Machine learning and deep learning, including RoBERTa, were trained on this data; and third, model performance was measured on a mixture of real and synthetic samples. 

Results: Trained with synthetic augmentation, RoBERTa beat the classically used classifiers in recognizing the scam patterns that emerge in conversations. The results suggest that combining synthetic and real data helps the model to detect the subtle and evolving tactics of scam. 

Conclusions: This thesis demonstrates the use of context-aware models coupled with synthetic data as a scalable and effective approach towards identifying multiturn scams. This approach is a step toward creating safer digital communication systems and highlights the prospects synthetic augmentation has in low-data cybersecurity contexts.

Place, publisher, year, edition, pages
2025. , p. 54
National Category
Natural Sciences Computer graphics and computer vision
Identifiers
URN: urn:nbn:se:bth-28848OAI: oai:DiVA.org:bth-28848DiVA, id: diva2:2011106
Subject / course
DV1478 Bachelor Thesis in Computer Science
Educational program
DVGDT Bachelor Qualification Plan in Computer Science 60.0 hp
Supervisors
Available from: 2025-11-04 Created: 2025-11-03 Last updated: 2025-11-04Bibliographically approved

Open Access in DiVA

fulltext(1330 kB)83 downloads
File information
File name FULLTEXT01.pdfFile size 1330 kBChecksum SHA-512
227d38b5f909fd823aa1b0812370339c8f50f077fe5fe2051ad863c1c911773612e08a73b6c7db2665835165757e60f71fb5cf7c1d5d44581dd29311cb3cf850
Type fulltextMimetype application/pdf

By organisation
Department of Computer Science
Natural SciencesComputer graphics and computer vision

Search outside of DiVA

GoogleGoogle Scholar
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 111 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf