Beyond the QBER Threshold: A Temporal QBER Based Machine Learning Framework for Multi Attack Detection in BB84 QKD
This work addresses the vulnerability of the conventional BB84 quantum key distribution protocol, which relies on a fixed 11% quantum bit error rate (QBER) threshold and fails to detect covert eavesdropping attacks occurring below this limit. To overcome this limitation, the authors propose a machine learning framework leveraging temporal QBER dynamics, introducing for the first time a 63-dimensional feature set derived from physical-layer time-series characteristics alongside interpretability analysis. The approach transcends static threshold constraints and enables highly sensitive detection of multiple attack types. Evaluated using XGBoost, Random Forest, and SVM-RBF classifiers, the framework achieves superior performance, with XGBoost attaining an accuracy of 88.01% and a macro F1-score of 0.8803 in multi-attack scenarios, while reducing the false negative rate from 0.8477 to 0.0198.