paper-with-me

Papers

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 (ChatGPT, GPT-4) on the well-known SpamAssassin dataset. Two classification approaches are explored: (1) truncated raw content from email subject and body, and (2) classification based on summaries generated by ChatGPT. Our empirical analysis, leveraging the entire dataset for evaluation without further training, reveals promising results. Flan-T5 achieves a 90% F1-score on the truncated content approach, while GPT-4 reaches a 95% F1-score using summaries. While these initial findings on a single dataset suggest the potential for classification pipelines of LLM-based subtasks (e.g., summarisation and classification), further validation on diverse datasets is necessary. The high operational costs of proprietary models, coupled with the general inference costs of LLMs, could significantly hinder real-world deployment for spam filtering.

📄 PDF Abstract BibTeX arXiv:2405.15936

Code (0)

등록된 구현이 없습니다.

Tasks

Classification

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…
Adam 설명 없음
Residual Connection 설명 없음
Position-Wise Feed-Forward Layer 설명 없음
Multi-Head Attention 설명 없음

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

Privacy-Preserving Spam Filtering using Functional Encryption

2020-12-08 · Sicong Wang, Naveen Karunanayake, Tham Nguyen, Suranga Seneviratne

Traditional spam classification requires the end-user to reveal the content of its received email to the spam classifier which violates the privacy. Spam classification over encrypted emails enables the classifier to cla…

ClassificationGeneral ClassificationPrivacy Preserving

Classification of Spam Emails through Hierarchical Clustering and Supervised Learning

2020-05-18 · Francisco Jáñez-Martino, Eduardo Fidalgo, Santiago González-Martínez, Javier Velasco-Mata

Spammers take advantage of email popularity to send indiscriminately unsolicited emails. Although researchers and organizations continuously develop anti-spam filters based on binary classification, spammers bypass them …

Binary ClassificationClassificationClusteringGeneral Classification

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, w…

BenchmarkingSentenceSpam detection

Implementation of Naïve Bayes and Gini Index for Spam Email Classification

2021-05-03 · Computational and Simulation Vol. 6 No. 1 (2021): April, 2020 2021 5 · Fikri Rozan Imadudin, Danang Triantoro Murdiansyah, Adiwijaya

Email is a medium of information that is still frequently used by people today. At the moment email still has an endless problem that is spam email. Spam email is an email that can pollute, damage or disturb the recipien…

feature selection