This research demonstrates improved detection of TOR traffic in various datasets, suggesting advances for real-time network security.
This study highlights the urgent need for effective real‐time network security solutions in the face of increasing cyber threats. It examines the performance of a logistic regression model enhanced by Bayesian optimization for detecting TOR traffic using the UNB‐CIC TOR‐NonTOR datasets and a Bayesian‐optimized random forest model for the CIC‐Darknet2020 dataset. The research evaluates four key machine learning algorithms: Random forest, logistic regression, support vector machine (SVM), and K ‐nearest neighbors (K‐NN). Bayesian optimization is employed to systematically fine‐tune the model’s hyperparameters, thereby improving accuracy and efficiency by concentrating on promising areas of the hyperparameter space and avoiding unnecessary evaluations. The findings indicate that the proposed models effectively detect TOR traffic with higher accuracy and fewer false positives, essential for real‐time threat mitigation. Compared to other machine learning algorithms, the proposed models demonstrate superior performance in balancing accuracy, computational efficiency, and detection speed, making them ideal for real‐time network security applications. This approach’s flexibility to adapt to various network conditions and datasets ensures consistent optimal performance as traffic patterns change.
No takes yet. Share an insight, caveat, or question.
Sannigrahi et al. (2025) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: