Related Experiment Videos
Residual threshold validation enables lightweight intrusion detection with a two-stage BiGRU autoencoder
Hu Longcan1, Yao Wenbin2, Hou Yingying3
1Beijing Key Laboratory of Intelligent Telecommunications Software and Multimedia, Beijing University of Posts and Telecommunications, Beijing, 100876, China. hulongcan@bupt.edu.cn.
Scientific Reports
|June 29, 2026
Summary
This study introduces a lightweight network intrusion detection system using Residual Threshold Validation (RTV) and a BiGRU autoencoder. It achieves high accuracy and reproducible results, even with imbalanced data and diverse attacks.
Area of Science:
- Cybersecurity
- Machine Learning
- Network Security
Background:
- Network intrusion detection systems (NIDS) face challenges with class imbalance and diverse attack patterns.
- Reconstruction residuals are common but suffer from unstable decision boundaries due to overlapping distributions and drift.
- Existing methods struggle with reproducibility and stability in real-world network environments.
Purpose of the Study:
- To propose a lightweight and reproducible intrusion detection framework.
- To address the limitations of single-threshold decision boundaries in NIDS.
- To enhance the accuracy and stability of network intrusion detection.
Main Methods:
- A two-stage BiGRU autoencoder is employed for learning reconstruction baselines and residual bounds.
- Residual Threshold Validation (RTV) framework with weak supervision and margin constraints is utilized.
- Top-k aggregation for unified intrusion scoring and a frozen threshold for reproducible evaluation.
Main Results:
- Achieved high F1-scores (0.9943 on KDDCUP99, 0.9898 on UNSW-NB15, 0.9795 on WSN-DS).
- Demonstrated low false-positive rates (0.10% on KDDCUP99, 2.06% on UNSW-NB15, 2.43% on WSN-DS).
- Model size is 186-194 KB, suitable for edge devices.
Conclusions:
- The proposed RTV framework offers high accuracy and reproducible decision boundaries for network intrusion detection.
- The lightweight design enables deployment on resource-constrained edge devices.
- Effectively handles class imbalance and diverse attack patterns in network traffic.
Related Concept Videos
Difference from Background: Limit of Detection
The limit of detection (LOD) is the smallest amount of analyte that can be distinguished from the background noise. The LOD value corresponds to the concentration at which the analyte signal is three times larger than the standard deviation of the blank signal. Below this value, the analyte signal cannot be differentiated from the background noise. It is calculated by dividing the calibration slope by 3 times the standard deviation of the blank signals.
The LOD indicates the presence or absence...
The LOD indicates the presence or absence...
Detection of Gross Error: The Q Test
When one or more data points appear far from the rest of the data, there is a need to determine whether they are outliers and whether they should be eliminated from the data set to ensure an accurate representation of the measured value. In many cases, outliers arise from gross errors (or human errors) and do not accurately reflect the underlying phenomenon. In some cases, however, these apparent outliers reflect true phenomenological differences. In these cases, we can use statistical methods...
Residuals and Least-Squares Property
The vertical distance between the actual value of y and the estimated value of y. In other words, it measures the vertical distance between the actual data point and the predicted point on the line
If the observed data point lies above the line, the residual is positive, and the line underestimates the actual data value for y. If the observed data point lies below the line, the residual is negative, and the line overestimates the actual data value for y.
The process of fitting the best-fit...
If the observed data point lies above the line, the residual is positive, and the line underestimates the actual data value for y. If the observed data point lies below the line, the residual is negative, and the line overestimates the actual data value for y.
The process of fitting the best-fit...
Force Classification
Forces play a crucial role in the study of physics and engineering. They are essential in describing the motion, behavior, and equilibrium of objects in the physical world. Forces can be classified based on their origin, type, and direction of action.
Contact and non-contact forces are two of the most widely used categories of forces. As the name suggests, contact forces require physical contact between two objects to act upon each other. Examples of contact forces include frictional,...
Contact and non-contact forces are two of the most widely used categories of forces. As the name suggests, contact forces require physical contact between two objects to act upon each other. Examples of contact forces include frictional,...