PacketCLIP: Multi-Modal Embedding of Network Traffic and Language for Cybersecurity Reasoning

Ryozo Masukawa, Sanggeon Yun, Sungheon Jeong, Wenjun Huang, Yang Ni +3 more
3/5/2025
cs.CRcs.LG

No confident code implementation found for this paper.

Abstract

Traffic classification is vital for cybersecurity, yet encrypted traffic poses significant challenges. We present PacketCLIP, a multi-modal framework combining packet data with natural language semantics through contrastive pretraining and hierarchical Graph Neural Network (GNN) reasoning. PacketCLIP integrates semantic reasoning with efficient classification, enabling robust detection of anomalies in encrypted network flows. By aligning textual descriptions with packet behaviors, it offers enhanced interpretability, scalability, and practical applicability across diverse security scenarios. PacketCLIP achieves a 95% mean AUC, outperforms baselines by 11.6%, and reduces model size by 92%, making it ideal for real-time anomaly detection. By bridging advanced machine learning techniques and practical cybersecurity needs, PacketCLIP provides a foundation for scalable, efficient, and interpretable solutions to tackle encrypted traffic classification and network intrusion detection challenges in resource-constrained environments.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{masukawa2025packetclip,
  title  = {PacketCLIP: Multi-Modal Embedding of Network Traffic and Language for Cybersecurity Reasoning},
  author = {Ryozo Masukawa and Sanggeon Yun and Sungheon Jeong and Wenjun Huang and Yang Ni and Ian Bryant and Nathaniel D. Bastian and Mohsen Imani},
  year   = {2025},
  eprint = {2503.03747},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.03747v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.03747.svg)](https://codeofpaper.com/paper/2503.03747)

Discussion