paper-with-me

Papers

Improving Generalization on Cybersecurity Tasks with Multi-Modal Contrastive Learning

2026-03-20 · Jianan Huang, Rodolfo V. Valentim, Luca Vassio, Matteo Boffa, Marco Mellia, Idilio Drago, Dario Rossi arxiv

The use of ML in cybersecurity has long been impaired by generalization issues: Models that work well in controlled scenarios fail to maintain performance in production. The root cause often lies in ML algorithms learning superficial patterns (shortcuts) rather than underlying cybersecurity concepts. We investigate contrastive multi-modal learning as a first step towards improving ML performance in cybersecurity tasks. We aim at transferring knowledge from data-rich modalities, such as text, to data-scarce modalities, such as payloads. We set up a case study on threat classification and propose a two-stage multi-modal contrastive learning framework that uses textual vulnerability descriptions to guide payload classification. First, we construct a semantically meaningful embedding space using contrastive learning on descriptions. Then, we align payloads to this space, transferring knowledge from text to payloads. We evaluate the approach on a large-scale private dataset and a synthetic benchmark built from public CVE descriptions and LLM-generated payloads. The methodology appears to reduce shortcut learning over baselines on both benchmarks. We release our synthetic benchmark and source code as open source.

📄 PDF Abstract BibTeX arXiv:2603.20181

Code (0)

등록된 구현이 없습니다.

Tasks

Contrastive Learning

Similar Papers 제목 키워드 기반

Semantic-Aware Contrastive Fine-Tuning: Boosting Multimodal Malware Classification with Discriminative Embeddings

2025-04-25 · Ivan Montoya Sanchez, Shaswata Mitra, Aritran Piplai, Sudip Mittal

The rapid evolution of malware variants requires robust classification methods to enhance cybersecurity. While Large Language Models (LLMs) offer potential for generating malware descriptions to aid family classification…

AttributeMalware ClassificationMeta-LearningRobust classification

On the Comparison between Multi-modal and Single-modal Contrastive Learning

2024-11-05 · Wei Huang, Andi Han, Yongqiang Chen, Yuan Cao 외

Multi-modal contrastive learning with language supervision has presented a paradigm shift in modern machine learning. By pre-training on a web-scale dataset, multi-modal contrastive learning can learn high-quality repres…

Contrastive LearningLearning Theory

A Statistical Theory of Contrastive Pre-training and Multimodal Generative AI

2025-01-08 · Kazusato Oko, Licong Lin, Yuhang Cai, Song Mei

Multi-modal generative AI systems, such as those combining vision and language, rely on contrastive pre-training to learn representations across different modalities. While their practical benefits are widely acknowledge…

zero-shot-classificationZero-Shot Learning

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

2025-03-05 · Ryozo Masukawa, Sanggeon Yun, Sungheon Jeong, Wenjun Huang 외

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 contrast…

Anomaly DetectionClassificationGraph Neural NetworkIntrusion Detection+2

On the Generalization of Multi-modal Contrastive Learning

2023-06-07 · Qi Zhang, Yifei Wang, Yisen Wang

Multi-modal contrastive learning (MMCL) has recently garnered considerable interest due to its superior performance in visual tasks, achieved by embedding multi-modal data, such as visual-language pairs. However, there s…

Contrastive Learning