Traffic concealed data detection method based on contrastive learning and pre-trained Transformer

To solve the problems of characterizing representing massive encrypted traffic, perceiving malicious behaviors, and identifying the ownership of privacy data, a traffic concealed data detection method was proposed based on contrastive learning and pre-trained Transformer. Considering the high complexity, unstructured nature of encrypted traffic, and the insufficient performance of traditional fine-tuning methods for downstream tasks in the encrypted traffic domain, data packets were first transformed into tokens which was similar to those used in natural language processing. Then, a pre-trained Transformer model was utilized to convert shallow representations into a general traffic representation, which was suitable for various encrypted traffic downstream tasks. By transforming the problem of concealed data detection into a similarity analysis problem, a diversity-sensitive Transformer architecture was developed leveraging contrastive learning, which enhanced the model’s sensitivity to traffic differences through the use of positive and negative sample pairs, and using information noise contrastive estimation (Info NCE) as the loss function for fine-tuning downstream tasks of encrypted traffic. Experimental results show that the proposed method outperforms mainstream methods in terms of accuracy, precision, recall and F1 score.

Publication Details

Journal
SHILAP Revista de lepidopterología
Published
2025-03-01
Primary Topic
Marine Sponges and Natural Products
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Traffic concealed data detection method based on contrastive learning and pre-trained Transformer

SHILAP Revista de lepidopterología
Marine Sponges and Natural Products
article

Traffic concealed data detection method based on contrastive learning and pre-trained Transformer

article en

Abstract

To solve the problems of characterizing representing massive encrypted traffic, perceiving malicious behaviors, and identifying the ownership of privacy data, a traffic concealed data detection method was proposed based on contrastive learning and pre-trained Transformer. Considering the high complexity, unstructured nature of encrypted traffic, and the insufficient performance of traditional fine-tuning methods for downstream tasks in the encrypted traffic domain, data packets were first transformed into tokens which was similar to those used in natural language processing. Then, a pre-trained Transformer model was utilized to convert shallow representations into a general traffic representation, which was suitable for various encrypted traffic downstream tasks. By transforming the problem of concealed data detection into a similarity analysis problem, a diversity-sensitive Transformer architecture was developed leveraging contrastive learning, which enhanced the model’s sensitivity to traffic differences through the use of positive and negative sample pairs, and using information noise contrastive estimation (Info NCE) as the loss function for fine-tuning downstream tasks of encrypted traffic. Experimental results show that the proposed method outperforms mainstream methods in terms of accuracy, precision, recall and F1 score.

SHILAP Revista de lepidopterología
Peace, Justice and strong institutions
Openalex Percentile: Top 45%
Marine Sponges and Natural Products
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.

Traffic concealed data detection method based on contrastive learning and pre-trained Transformer · SHILAP Revista de lepidopterología (2025) | TGRS Research Map | TGRS