Email Image Spam Classification based on ResNet Convolutional Neural Network
Vít Listík, Jan Šedivý, Václav Hlaváč
2020
Abstract
The problem with email image spam classification is known from the year 2005. There are several approaches to this task. Lately, those approaches use convolutional neural networks (CNN). We propose a novel approach to the image spam classification task. Our approach is based on CNN and transfer learning, namely Resnet v1 used for semantic feature extraction and one layer Feedforward Neural Network for classification. We have shown that this approach can achieve state-of-the-art performance on publicly available datasets. 99% F1- score on two datasets (Dredze et al., 2007), Princeton and 96% F1-score on the combination of these datasets. Due to the availability of GPUs, this approach may be used for just-in-time classification in anti-spam systems handling huge amounts of emails. We have observed also that mentioned publicly available datasets are no longer representative. We overcame this limitation by using a much richer dataset from a one-week long real traffic of the freemail provider Email.cz. The training data annotation was created by user labeling of the emails. The image spam (and image ham even more) tackles privacy issues. We overcame it by publishing extracted feature vectors with associated classes (instead of images itself). This data does not violate privacy issues. We have published Email.cz image spam dataset v1 via the AcademicTorrents platform and propose a system, which achieves up to 96% F1-score with presented model architecture on this novel dataset. Providing our dataset to the community may help others with solving similar tasks.
DownloadPaper Citation
in Harvard Style
Listík V., Šedivý J. and Hlaváč V. (2020). Email Image Spam Classification based on ResNet Convolutional Neural Network. In Proceedings of the 6th International Conference on Information Systems Security and Privacy - Volume 1: ICISSP, ISBN 978-989-758-399-5, pages 457-464. DOI: 10.5220/0008956704570464
in Bibtex Style
@conference{icissp20,
author={Vít Listík and Jan Šedivý and Václav Hlaváč},
title={Email Image Spam Classification based on ResNet Convolutional Neural Network},
booktitle={Proceedings of the 6th International Conference on Information Systems Security and Privacy - Volume 1: ICISSP,},
year={2020},
pages={457-464},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0008956704570464},
isbn={978-989-758-399-5},
}
in EndNote Style
TY - CONF
JO - Proceedings of the 6th International Conference on Information Systems Security and Privacy - Volume 1: ICISSP,
TI - Email Image Spam Classification based on ResNet Convolutional Neural Network
SN - 978-989-758-399-5
AU - Listík V.
AU - Šedivý J.
AU - Hlaváč V.
PY - 2020
SP - 457
EP - 464
DO - 10.5220/0008956704570464