Abstract
This study looks at how two advanced methods, DDPM-v4 and uViT, work with CNN models to find cyber threats from X data. Two datasets were used—one dataset taken from GitHub and another dataset created using the X Developer API. The dataset created had two sizes: small with 500 rows and larger with 2500 rows. The study compares models with diffusion techniques (DDPM-v4 and uViT) and without diffusion techniques. The results show that DDPM-v4 performed the best overall, with the highest accuracy and F1 score. For example, on the X API dataset with 2500 rows, DDPM achieved 98.20% accuracy. The uViT model also worked well but had slightly lower results. However, when the models were tested on small datasets of 500 rows, the accuracy was 99.9% to 100%, which is not realistic. It showed that small datasets cause overfitting, where the model memorizes data instead of learning. Larger datasets, like 2500 rows, gave more realistic and trustworthy results. The study proves that using advanced diffusion methods like DDPM-v4 and uViT can improve the model's ability to detect cyber threats. It also shows that bigger datasets are very important for getting real and useful results. In the future, more large-scale data can help make these methods even better for real-world applications.
Library of Congress Subject Headings
X (Social networking service)--Security measures; Computer crimes--Prevention; Malware (Computer software); Neural networks (Computer science); Convolutions (Mathematics)
Publication Date
4-2025
Document Type
Thesis
Student Type
Graduate
Degree Name
Computing Security (MS)
Department, Program, or Center
Electrical Engineering
Advisor
Kevser Ovaz Akpinar
Recommended Citation
Abdulrahman, Amer Abdulfattah Mohamad, "Enhancing Cyber Threat Detection in Tweets Using Diffusion Models and Convolutional Neural Networks" (2025). Thesis. Rochester Institute of Technology. Accessed from
https://repository.rit.edu/theses/12069
Supplement
DDPM.py (7 kB)
Supplement 1
newdataset_500 (1).csv (57 kB)
Supplement 2
newdataset_2500.csv (293 kB)
Supplement 3
TwitterAPIs_CNN.py (6 kB)
Supplement 4
TwitterAPIs_CNN_uVIT.py (7 kB)
Supplement 5
ViT.py (8 kB)
Supplement 6
Campus
RIT Dubai
Plan Codes
COMPSEC-MS