TCGCL: Complex Network Traffic Classification Algorithm Based on Graph Contrastive Learning

Network traffic classification technology plays a crucial role in the field of network security. Modern network architecture is highly complex, and various abnormal situations will inevitably be encountered during network traffic transmission. To this end, this paper proposes a stability index to ev...

Full description

Saved in:
Bibliographic Details
Main Author: HU Zhongze, QIN Hongchao, LI Zhenjun, LI Yanhui, LI Ronghua, WANG Guoren
Format: Article
Language:zho
Published: Journal of Computer Engineering and Applications Beijing Co., Ltd., Science Press 2025-05-01
Series:Jisuanji kexue yu tansuo
Subjects:
Online Access:http://fcst.ceaj.org/fileup/1673-9418/PDF/2407095.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849313473328054272
author HU Zhongze, QIN Hongchao, LI Zhenjun, LI Yanhui, LI Ronghua, WANG Guoren
author_facet HU Zhongze, QIN Hongchao, LI Zhenjun, LI Yanhui, LI Ronghua, WANG Guoren
author_sort HU Zhongze, QIN Hongchao, LI Zhenjun, LI Yanhui, LI Ronghua, WANG Guoren
collection DOAJ
description Network traffic classification technology plays a crucial role in the field of network security. Modern network architecture is highly complex, and various abnormal situations will inevitably be encountered during network traffic transmission. To this end, this paper proposes a stability index to evaluate the algorithm’s resistance to data anomaly interference. In addition, a traffic classification algorithm TCGCL (traffic classification graph contrastive learning) is proposed based on graph contrastive learning. It can simultaneously extract the payload characteristics within network traffic and the connectivity relationship characteristics between network traffic, more comprehensively preserving the effective information of data. Based on this, through data augmentation technology, it simulates the abnormal state of network traffic, greatly improving the classification performance of the algorithm in the case of data anomalies. In addition, based on protocol analysis techniques, this paper studies the construction of graph structured data in the process of traffic classification and proposes a high-quality and low dimensional attribute generation method. The experiment shows that compared with the baseline algorithm, TCGCL reduces the sample input dimension by about 80% with almost the same accuracy. For complex network communication environments, TCGCL conducts noise obfuscation on test samples and simulates abnormal traffic situations. The results show that TCGCL can still maintain high classification accuracy even under abnormal traffic conditions, and its stability index is significantly ahead of the baseline algorithm.
format Article
id doaj-art-76c923cf9ee144dd8588cce05a14159c
institution Kabale University
issn 1673-9418
language zho
publishDate 2025-05-01
publisher Journal of Computer Engineering and Applications Beijing Co., Ltd., Science Press
record_format Article
series Jisuanji kexue yu tansuo
spelling doaj-art-76c923cf9ee144dd8588cce05a14159c2025-08-20T03:52:43ZzhoJournal of Computer Engineering and Applications Beijing Co., Ltd., Science PressJisuanji kexue yu tansuo1673-94182025-05-011951230124010.3778/j.issn.1673-9418.2407095TCGCL: Complex Network Traffic Classification Algorithm Based on Graph Contrastive LearningHU Zhongze, QIN Hongchao, LI Zhenjun, LI Yanhui, LI Ronghua, WANG Guoren01. School of Computer Science and Technology, Beijing Institute of Technology, Beijing 100081, China 2. School of Information and Communication, Shenzhen City Polytechnic, Shenzhen, Guangdong 518038, China 3. School of Information Science and Engineering, Chongqing Jiaotong University, Chongqing 400074, China 4. Key Laboratory of Intelligent Supply Chain Technology in Longgang District, Shenzhen, Guangdong 518100, ChinaNetwork traffic classification technology plays a crucial role in the field of network security. Modern network architecture is highly complex, and various abnormal situations will inevitably be encountered during network traffic transmission. To this end, this paper proposes a stability index to evaluate the algorithm’s resistance to data anomaly interference. In addition, a traffic classification algorithm TCGCL (traffic classification graph contrastive learning) is proposed based on graph contrastive learning. It can simultaneously extract the payload characteristics within network traffic and the connectivity relationship characteristics between network traffic, more comprehensively preserving the effective information of data. Based on this, through data augmentation technology, it simulates the abnormal state of network traffic, greatly improving the classification performance of the algorithm in the case of data anomalies. In addition, based on protocol analysis techniques, this paper studies the construction of graph structured data in the process of traffic classification and proposes a high-quality and low dimensional attribute generation method. The experiment shows that compared with the baseline algorithm, TCGCL reduces the sample input dimension by about 80% with almost the same accuracy. For complex network communication environments, TCGCL conducts noise obfuscation on test samples and simulates abnormal traffic situations. The results show that TCGCL can still maintain high classification accuracy even under abnormal traffic conditions, and its stability index is significantly ahead of the baseline algorithm.http://fcst.ceaj.org/fileup/1673-9418/PDF/2407095.pdftraffic classification; graph neural networks; contrastive learning; protocol analysis
spellingShingle HU Zhongze, QIN Hongchao, LI Zhenjun, LI Yanhui, LI Ronghua, WANG Guoren
TCGCL: Complex Network Traffic Classification Algorithm Based on Graph Contrastive Learning
Jisuanji kexue yu tansuo
traffic classification; graph neural networks; contrastive learning; protocol analysis
title TCGCL: Complex Network Traffic Classification Algorithm Based on Graph Contrastive Learning
title_full TCGCL: Complex Network Traffic Classification Algorithm Based on Graph Contrastive Learning
title_fullStr TCGCL: Complex Network Traffic Classification Algorithm Based on Graph Contrastive Learning
title_full_unstemmed TCGCL: Complex Network Traffic Classification Algorithm Based on Graph Contrastive Learning
title_short TCGCL: Complex Network Traffic Classification Algorithm Based on Graph Contrastive Learning
title_sort tcgcl complex network traffic classification algorithm based on graph contrastive learning
topic traffic classification; graph neural networks; contrastive learning; protocol analysis
url http://fcst.ceaj.org/fileup/1673-9418/PDF/2407095.pdf
work_keys_str_mv AT huzhongzeqinhongchaolizhenjunliyanhuilironghuawangguoren tcgclcomplexnetworktrafficclassificationalgorithmbasedongraphcontrastivelearning