CAE-IF: An Anomaly Detection Approach Based on Temporal Representation of the Reconstruction Error

In the field of network traffic anomaly detection, unsupervised learning plays a critical role yet encounters significant challenges, including accurately determining anomaly thresholds and modeling the intricate temporal dynamics of network traffic. To address these challenges, we present a novel approach, termed Convolutional Autoencoder-Isolation Forest (CAE-IF). By leveraging packet-level reconstruction errors with contextual information, our approach obviates the need for manual threshold setting and effectively captures temporal dynamics. The process commences with the application of the damped incremental statistics algorithm to extract statistical features from network traffic with temporal information. Subsequently, the Convolutional Autoencoder (CAE) is employed to compute the Root Mean Square Error (RMSE), offering detailed insights into the temporal correlations in network traffic. This RMSE is then refined through an aggregation mechanism based on source IP addresses, yielding a fine-grained temporal representation. Finally, the Isolation Forest (IF) algorithm is applied to establish an anomaly detection framework. Our comprehensive experimental evaluation, using three datasets: Mirai, OS Scan, and SSDP Flood, demonstrates the superior efficacy of the CAE-IF method. It achieves remarkable F1 scores of 96.14%, 99.81%, and 99.98% on these datasets, respectively. These results not only signify substantial improvements over existing methods for the Mirai and OS Scan datasets but also match the highest F1 score obtained on the SSDP Flood dataset.

Authors

Publication Details

Journal
Tsinghua Science & Technology
Published
2025-08-05
DOI
https://doi.org/10.26599/tst.2024.9010215
Primary Topic
Anomaly Detection Techniques and Applications
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

CAE-IF: An Anomaly Detection Approach Based on Temporal Representation of the Reconstruction Error

Yuhua Qian, Qi Ma, Jing Yang, Bo Yang et al.
Tsinghua Science & Technology
Anomaly Detection Techniques and Applications
article

CAE-IF: An Anomaly Detection Approach Based on Temporal Representation of the Reconstruction Error

Yuhua Qian, Qi Ma, Jing Yang, Bo Yang, Zhi Zhang, Xia Yin, Haijun Geng, Haotian Chi
article en

Abstract

In the field of network traffic anomaly detection, unsupervised learning plays a critical role yet encounters significant challenges, including accurately determining anomaly thresholds and modeling the intricate temporal dynamics of network traffic. To address these challenges, we present a novel approach, termed Convolutional Autoencoder-Isolation Forest (CAE-IF). By leveraging packet-level reconstruction errors with contextual information, our approach obviates the need for manual threshold setting and effectively captures temporal dynamics. The process commences with the application of the damped incremental statistics algorithm to extract statistical features from network traffic with temporal information. Subsequently, the Convolutional Autoencoder (CAE) is employed to compute the Root Mean Square Error (RMSE), offering detailed insights into the temporal correlations in network traffic. This RMSE is then refined through an aggregation mechanism based on source IP addresses, yielding a fine-grained temporal representation. Finally, the Isolation Forest (IF) algorithm is applied to establish an anomaly detection framework. Our comprehensive experimental evaluation, using three datasets: Mirai, OS Scan, and SSDP Flood, demonstrates the superior efficacy of the CAE-IF method. It achieves remarkable F1 scores of 96.14%, 99.81%, and 99.98% on these datasets, respectively. These results not only signify substantial improvements over existing methods for the Mirai and OS Scan datasets but also match the highest F1 score obtained on the SSDP Flood dataset.

Tsinghua Science & TechnologyVol. 31(4)
National Natural Science Foundation of China
Openalex Percentile: Top 90%
Anomaly Detection Techniques and Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.