paper-with-me

Papers

Spam-T5: Benchmarking Large Language Models for Few-Shot Email Spam Detection

2023-04-03 · Maxime Labonne, Sean Moran

This paper investigates the effectiveness of large language models (LLMs) in email spam detection by comparing prominent models from three distinct families: BERT-like, Sentence Transformers, and Seq2Seq. Additionally, we examine well-established machine learning techniques for spam detection, such as Na\"ive Bayes and LightGBM, as baseline methods. We assess the performance of these models across four public datasets, utilizing different numbers of training samples (full training set and few-shot settings). Our findings reveal that, in the majority of cases, LLMs surpass the performance of the popular baseline techniques, particularly in few-shot scenarios. This adaptability renders LLMs uniquely suited to spam detection tasks, where labeled samples are limited in number and models require frequent updates. Additionally, we introduce Spam-T5, a Flan-T5 model that has been specifically adapted and fine-tuned for the purpose of detecting email spam. Our results demonstrate that Spam-T5 surpasses baseline models and other LLMs in the majority of scenarios, particularly when there are a limited number of training samples available. Our code is publicly available at https://github.com/jpmorganchase/emailspamdetection.

📄 PDF Abstract BibTeX arXiv:2304.01238

Code (1)

jpmorganchase/llm-email-spam-detection 공식 구현 pytorch

Tasks

BenchmarkingSentenceSpam detection

Methods 이 논문이 사용한 방법론

Flan-T5 Flan-T5 is the instruction fine-tuned version of T5 or Text-to-Text Transfer Transformer Language Model.
Sigmoid Activation 설명 없음
Tanh Activation 설명 없음
LSTM An LSTM is a type of recurrent neural network that addresses the vanishing gradient problem in vanilla…
Seq2Seq Seq2Seq, or Sequence To Sequence, is a model used in sequence prediction tasks, such as language modelling and machine translation. The idea is to use one…

Similar Papers 제목 키워드 기반

Advancing Email Spam Detection: Leveraging Zero-Shot Learning and Large Language Models

2025-05-05 · Ghazaleh Shirvani, Saeid Ghasemshirazi

Email spam detection is a critical task in modern communication systems, essential for maintaining productivity, security, and user experience. Traditional machine learning and deep learning approaches, while effective i…

Spam detectionTraditional Spam DetectionZero-Shot Learning

Zero-Shot Spam Email Classification Using Pre-trained Large Language Models

2024-05-24 · Sergio Rojas-Galeano

This paper investigates the application of pre-trained large language models (LLMs) for spam email classification using zero-shot prompting. We evaluate the performance of both open-source (Flan-T5) and proprietary LLMs …

Classification

The Phish, The Spam, and The Valid: Generating Feature-Rich Emails for Benchmarking LLMs

2025-11-26 · Rebeka Toth, Tamas Bisztray, Nils Gruschka arxiv

In this paper, we introduce a metadata-enriched generation framework (PhishFuzzer) that seeds real emails into Large Language Models (LLMs) to produce 23,100 diverse, structurally consistent email variants across control…

Building an Effective Email Spam Classification Model with spaCy

2023-03-15 · Kazem Taghandiki

Today, people use email services such as Gmail, Outlook, AOL Mail, etc. to communicate with each other as quickly as possible to send information and official letters. Spam or junk mail is a major challenge to this type …

ClassificationSpam detection

Evaluating the Performance of ChatGPT for Spam Email Detection

2024-02-23 · Shijing Si, Yuwei Wu, Le Tang, Yugui Zhang 외

Email continues to be a pivotal and extensively utilized communication medium within professional and commercial domains. Nonetheless, the prevalence of spam emails poses a significant challenge for users, disrupting the…

In-Context LearningQuestion AnsweringText Generation