paperbot · PL 论文追踪

全部论文 待读 收藏

P2 CHRONOS: Time-Aware Zero-Shot Identification of Libraries from Vulnerability Reports

CHRONOS:从漏洞报告中时间感知的零样本库识别
ICSE 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE)2023匹配度 2/10 · 论文属于漏洞报告库识别(安全/软件工程)的机器学习应用,虽涉及零样本学习与时间感知,但与用户关注的静态分析、LLM/Agent、浮点程序分析、贝叶斯程序分析等核心方向无直接交叉。引用 33 inbox
Yunbo Lyu, Thanh Le-Cong, Hong Jin Kang, Ratnadira Widyasari, Zhipeng Zhao, Xuan-Bach D. Le, Ming Li, David Lo
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:提出 Chronos,用零样本学习与时间感知缓存从漏洞报告中识别库,显著优于极端多标签方法。

漏洞数据库需要准确标注漏洞报告涉及的库,但人工分析慢且昂贵。现有自动方法多采用极端多标签学习(XML),却随机划分训练与测试数据,忽略报告的时间顺序,导致实际面对新报告和新库时性能骤降(F1 从 0.7 降至 0.24)。本文提出 Chronos,面向实际时间顺序设定进行零样本库识别。其方法包含:针对漏洞描述与标签的数据增强;利用报告时间顺序的缓存机制,优先预测近期出现漏洞的库版本。实验表明 Chronos 平均 F1 达 0.75,约为最佳 XML 方法的 3 倍;数据增强和时间感知调整使 vanilla 零样本模型平均 F1 提升 27%。

问题
如何从漏洞报告中自动识别相关库,尤其是在按时间顺序到达的新报告可能涉及未见库的实际场景下。
方法
基于零样本学习,结合漏洞描述与标签的数据增强,并使用缓存按时间顺序优先预测近期出现漏洞的库版本。
评估
在漏洞报告数据上按时间顺序进行实验,与极端多标签学习(XML)方法比较,报告平均 F1 与消融提升。
原文摘要(Abstract)

Tools that alert developers about library vulnerabilities depend on accurate, up-to-date vulnerability databases which are maintained by security researchers. These databases record the libraries related to each vulnerability. However, the vulnerability reports may not explicitly list every library and human analysis is required to determine all the relevant libraries. Human analysis may be slow and expensive, which motivates the need for automated approaches. Researchers and practitioners have proposed to automatically identify libraries from vulnerability reports using extreme multi-label learning (XML). While state-of-the-art XML techniques showed promising performance, their experimental settings do not practically fit what happens in reality. Previous studies randomly split the vulnerability reports data for training and testing their models without considering the chronological order of the reports. This may unduly train the models on chronologically newer reports while testing the models on chronologically older ones. However, in practice, one often receives chronologically new reports, which may be related to previously unseen libraries. Under this practical setting, we observe that the performance of current XML techniques declines substantially, e.g., F1 decreased from 0.7 to 0.24 under experiments without and with consideration of chronological order of vulnerability reports. We propose a practical library identification approach, namely Chronos, based on zero-shot learning. The novelty of Chronos is three-fold. First, Chronos fits into the practical pipeline by considering the chronological order of vulnerability reports. Second, Chronos enriches the data of the vulnerability descriptions and labels using a carefully designed data enhancement step. Third, Chronos exploits the temporal ordering of the vulnerability reports using a cache to prioritize prediction of versions of libraries that recently had reports of vulnerabilities. In our experiments, Chronos achieves an average F1-score of 0.75, 3x better than the best XML-based approach. Data enhancement and the time-aware adjustment improve Chronos over the vanilla zero-shot learning model by 27% in average F1.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@inproceedings{abs-2301-03944,
  title = {CHRONOS: Time-Aware Zero-Shot Identification of Libraries from Vulnerability Reports},
  author = {Yunbo Lyu and Thanh Le-Cong and Hong Jin Kang and Ratnadira Widyasari and Zhipeng Zhao and Xuan-Bach D. Le and Ming Li and David Lo},
  booktitle = {ICSE},
  year = {2023},
  doi = {10.1109/icse48619.2023.00094}
}