Skip to content

STNet: Multi-Scale Spatiotemporal Learning and Adaptive Fusion for Few-Shot Tor Traffic Classification

2026 · IEEE Transactions on Network and Service Management · Vol 23, pp. 7173-7190 · 0 citations · 23 references

Abstract

The Tor network’s anonymity is increasingly exploited for cybercrime, creating a demand for accurate traffic classification under strict few-shot constraints. While recent efforts like WF-Transformer demonstrate strong temporal modeling capabilities, they still require abundant labeled data and struggle to generalize under defense-induced distortions and open-world unknown traffic. To address these gaps, we propose STNet (SpatioTemporal Multi-scale Augmentation and fusion Network), an episode-based few-shot learning architecture for Tor traffic classification. Unlike simple module stacking, STNet adopts a modular decoupling design: 1) a Multi-Scale Spatiotemporal Feature Fusion (MSMF) module captures packet-level and flow-level patterns to resist obfuscation; 2) scenario-adaptive modules tackle domain shifts in closed-world settings and feature scarcity in open-world settings; and 3) a Hierarchical Layer Attention (HLA) mechanism dynamically fuses heterogeneous features from different deployment positions. Extensive experiments on real-world Tor traffic show that STNet consistently outperforms representative baselines including WF-Transformer. In closed-world settings, it limits the accuracy drop under WalkieTalkie obfuscation to 13.6 percentage points. In open-world 10-shot evaluation, it achieves 92.1% AUC-OVR and 79.1% unknown-class F1-score, surpassing the best baseline by 4.9 and 6.0 percentage points, respectively. These results demonstrate the effectiveness of decoupling universal feature extraction from scenario-specific adaptation in few-shot Tor traffic analysis.

View source

Similar papers

2026

HyTMTC: A Pre-Training Method for Multi-Scenario Network Traffic Classification With Hybrid Transformer-Mamba

Network traffic classification is central to security monitoring and network management in heterogeneous environments. Existing deep learning approaches are often trained for a single scenario and require large amounts of labeled data, making them difficult to reuse when applications, traffic types, or encryption setti...

Yuan-Ming Huang, Xiao-Juan Wang, Ming-Shu He · 0 citations
#machine learning Preprint Sep 2026

An Adversarial Zero-Shot Learning Approach for Anomaly Detection in Multivariate IoT Traffic Data

This paper proposes a novel framework for multivariate time-series anomaly detection that leverages adversarial learning and contrastive loss within a sequence-based Variational Autoencoder (VAE) architecture, and introduces encoder and decoder adaptor layers that align feature distributions across domains while preser...

Mahshid Rezakhani, Tolunay Seyfi, Fatemeh Afghah · 0 citations
Open access Sep 2026

Attention-augmented CNN-BiLSTM with temporal-spatial attention for imbalanced multi-class network intrusion detection

The proposed Attention-Augmented CNN-BiLSTM architecture incorporating a lightweight Temporal-Spatial Attention Module (TSAM) achieves an effective balance between computational efficiency, robustness to severe class imbalance, and accurate multi-class intrusion detection for next-generation IoT security systems.

D. Bhosale, Avinash Dhole, P. B. Deshmukh et al. · 0 citations
Open access Sep 2026

A variational autoencoder attention fusion model for zero-day exploit behavior detection VAE-AttNet

Zero-day exploit (ZDE) attacks are among the most severe threats to critical infrastructures such as cloud computing, industrial control, smart grids, and connected vehicles, owing to their unknown, stealthy, and highly destructive nature. Traditional signature- and rule-based intrusion detection is largely ineffective...

Xian-Jun Yang, Zheng Zhao, Li-Peng Wang et al. · 0 citations
#artificial intelligence Preprint Sep 2026

Federated Binary Gating with Server-Side Vision-Language Inference for Surveillance Anomaly Classification

A hybrid two-stage architecture that combines a federated binary convolutional neural network (CNN) gate with server-side zero-shot VLM inference and routing rules can be adjusted to trade server-side VLM usage for higher anomaly sensitivity is proposed.

Côme-Alexis Puech, Sébastien Thuau, A. Gran et al. · 0 citations
Preprint Aug 2026

Multi-Scale Temporal Domain Alignment for Federated Video Domain Adaptation

Multi-scalE Temporal domAin aLignment (METAL), a novel framework that leverages temporal information at multiple resolutions to improve cross-domain video action recognition with only model parameter transfers is proposed.

Enid Lee, Haozhi Cao, Yuecong Xu · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.