arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.20181cs.CRcs.AI
收藏

通过多模态对比学习提升网络安全任务的泛化能力

Improving Generalization on Cybersecurity Tasks with Multi-Modal Contrastive Learning

Huawei Paris Research Center, France(华为巴黎研究中心,法国)

Jianan Huang, Rodolfo V. Valentim, Luca Vassio, Matteo Boffa, Marco Mellia, Idilio Drago, Dario Rossi

AI总结:

本文提出多模态对比学习框架,通过文本指导 payloads 分类,提升网络安全任务的泛化能力,并在合成基准和真实数据集上验证效果。

摘要:

机器学习在网络安全中的应用长期受泛化问题限制:在受控场景中表现良好的模型在生产环境中性能下降。根本原因在于 ML 算法学习表面模式(捷径)而非底层网络安全概念。本文探讨对比多模态学习作为提升网络安全任务 ML 性能的第一步。我们旨在从数据丰富的模态(如文本)向数据稀缺的模态(如 payloads)转移知识。我们设立了一个威胁分类案例研究,并提出一个两阶段多模态对比学习框架,利用文本漏洞描述指导 payloads 分类。首先,我们通过对比学习构建语义有意义的嵌入空间。然后,我们将 payloads 对齐到该空间,将知识从文本转移到 payloads。我们在大规模私有数据集和由公共 CVE 描述和 LLM 生成 payloads 构建的合成基准上评估该方法。该方法似乎在两个基准上减少了对基线的捷径学习。我们发布了我们的合成基准和源代码作为开源。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑