Youngstown State University
Lightweight and Explainable Neural Network for Spam Email Detection in Real-Time Applications
Abstract
dc:descriptionSpam detection remains a critical challenge in modern digital communication systems, particularly in environments with limited computational resources. Traditional machine learning and deep learning methods achieve strong accuracy but require substantial processing power, making them unsuitable for real-time deployment on constrained devices. To address this gap, this study presents LENN, a Lightweight and Explainable Neural Network designed for efficient, transparent spam classification. LENN is a simplified feedforward neural architecture optimized for low memory usage and fast inference while maintaining high predictive performance. SHapley Additive exPlanations (SHAP) are integrated to provide feature-level interpretability and improve user trust in automated decisions. The model is evaluated using the SMS Spam Collection dataset and benchmarked against a logistic regression baseline under simulated resource-constrained conditions. Experimental results show that LENN achieves 99.28% accuracy and 95.30% recall while preserving minimal computational overhead. SHAP-based explanations further enhance interpretability by revealing the most influential textual features driving predictions. These findings demonstrate that lightweight, explainable models can offer both high performance and transparency for real-time spam detection applications.
Degree
thesis:*- Name thesis:degree_name
- Master of Computing and Information Systems
- Level thesis:degree_level
- masters
- Discipline thesis:degree_discipline
- Department of Computer Science and Information Systems
- Grantor dc:publisher
- Youngstown State University
- Year dc:date
- 2025
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Khand, Anjali
- Advisor dc:contributor.advisor
-
- Gilliland, Robert
Subjects
dc:subject × 14- Computer Science
- Lightweight neural network
- Explainable AI (XAI)
- SHAP explanations
- Real-time spam detection
- Resource-constrained devices
- TF-IDF vectorization
- Feedforward neural network
- Logistic regression baseline
- Email security
- SMS Spam Collection Dataset
- Precision–recall analysis
- Edge computing
- Model interpretability
Rights
dc:rights- Statement dc:rights
-
- unrestricted
- This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://rave.ohiolink.edu/etdc/view?acc_num=ysu1765242594351732