Investigating the Contribution of Structural and Contextual Features for Spam Detection

Ulin Nuha, Lin, Chih-Hsueh · Tehnicki vjesnik - Technical Gazette · 2025

One of the detrimental consequences resulting from the rapid and effortless dissemination of information is the high flow of spam messages in user's electronic devices.Various studies have attempted to conduct spam detection by proposing several approaches for spam detection based on input features.However, the effectiveness and efficiency of spam detection need improvement.Therefore, this paper investigates significant feature schemes for spam detection, including structural features and contextual representation.We propose a hybrid approach combining both features and evaluate it using various machine learning algorithms for short message service (SMS) spam classification.Experimental results show that relying solely on contextual representation outperforms structural features, achieving an accuracy of 92.56%.However, the hybrid approach, combining both structural and contextual features, achieves superior results with an accuracy of 93.22% and an F-score of 95.12%.Among the classifiers tested, random forest demonstrated the most robust performance, consistently achieving accuracy above 90% across all feature extraction schemes.The findings highlight the potential of combining structural and contextual features to enhance spam detection performance, with practical implications for telecommunication providers aiming to improve SMS filtering accuracy.

Read the paper · More papers on PaperTik