Software vulnerabilities are a serious and crucial concern. Typically, in a program or function consisting of hundreds or thousands of source code statements, there are only a few statements causing the corresponding vulnerabilities. Most current approaches to vulnerability labelling are done on a function or program level by experts with the assistance of machine learning tools. Extending this approach to the code statement level is much more costly and time-consuming and remains an open problem. In this paper, we propose a novel end-to-end deep learning-based approach to identify the vulnerability-relevant code statements of a specific function. Inspired by the specific structures observed in real-world vulnerable code, we first leverage mutual information for learning a set of latent variables representing the relevance of the source code statements to the corresponding function's vulnerability. We then propose novel clustered spatial contrastive learning in order to further improve the representation learning and the robust selection process of vulnerability-relevant code statements. Experimental results on real-world datasets of 200k+ C/C++ functions show the superiority of our method over other state-of-the-art baselines. In general, our method obtains a higher performance in VCP, VCA, and Top-10 ACC measures of between 3% to 14% over the baselines when running on real-world datasets in an unsupervised setting. Our released source code samples are publicly available at \href{https://github.com/vannguyennd/livuitcl}{https://github.com/vannguyennd/livuitcl.}
Robust Smart Contract Vulnerability Detection via Contrastive Learning-Enhanced Granular-ball Training
Chongqing Key Laboratory of Computational Intelligence(重庆计算智能重点实验室);Key Laboratory of Cyberspace Big Data Intelligent Security, Ministry of Education(教育部网络空间大数据智能安全重点实验室);Key Laboratory of Big Data Intelligent Computing(大数据智能计算重点实验室);Chongqing University of Posts and Telecommunications(重庆邮电大学);School of Cyber Science and Engineering, Huazhong University of Science and Technology(华中科技大学网络空间安全学院);School of Computer Science and Artificial Intelligence, Zhengzhou University(郑州大学计算机与人工智能学院);College of Computer and Information Science, Southwest University(西南大学计算机与信息科学学院)
PAST-TIDE: Prototype-Anchored Statement Tuning with Topic-Invariant Normalization for Stance Detection
Department of Computer Science and Engineering, Khulna University of Engineering & Technology(库尔纳工程技术大学计算机科学与工程系);Department of Electrical and Computer Engineering, University of Waterloo(滑铁卢大学电气与计算机工程系);Department of Machine Learning, Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学机器学习系)
Self-supervised Learning: Generative or Contrastive
Tsinghua University(清华大学);Tsinghua National Laboratory for Information Science and Technology (TNList)(清华信息科学与技术国家实验室);Anhui University(安徽大学);Renmin University of China(中国人民大学)
DCVD: Dual-Channel Cross-Modal Fusion for Joint Vulnerability Detection and Localization
Tsinghua University(清华大学);Hunan University(湖南大学);Dalian Maritime University(大连海事大学);The Chinese University of Hong Kong(香港中文大学);Shenzhen University(深圳大学);Northwestern Polytechnical University(西北工业大学);Shandong University(山东大学);BNU-HKBU United International College(北京师范大学-香港浸会大学联合国际学院);Sun Yat-sen University(中山大学);Peng Cheng Laboratory(鹏城实验室);Guangzhou Intelligence Communications Technology Co., Ltd.(广州智能通信技术有限公司);The Fifth Electronic Research Institute of MIIT(中华人民共和国信息产业部第五电子研究所)
MVCNet: Multiview Contrastive Network for Unsupervised Representation Learning for 3D CT Lesions
University of Chinese Academy of Sciences(中国科学院大学);Ningbo Institute of Life and Health Industry, University of Chinese Academy of Sciences(中国科学院大学宁波生命与健康产业研究院);The University of Hong Kong(香港大学);Xidian University(西安电子科技大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所)
\emph{Objective and Impact Statement}。随着深度学习的复兴,计算机断层扫描(CT)的自动诊断系统已经取得了许多成功的应用。然而,它们大多归因于仔细的专家注释,这在实践中往往是稀缺的。这就促使我们对无监督的表示学习产生了兴趣。\emph{Introduction}。最近的研究表明,自监督学习是一种有效的学习表征的方法,但大多数依赖于转换和借口任务的经验设计。\emph{Methods}。为了避免与这些方法相关的主观性,我们提出了MVCNet,一种新的无监督三维(3D)表示学习方法,以无变换的方式工作。我们从不同方向观察每个3D病变,以收集多个二维(2D)视图。然后,通过最小化对比损失来学习嵌入函数,使得聚合相同3D病变的2D视图,并且分离不同病变的2D视图。我们通过在嵌入层上训练一个简单的分类头来评估这些表示。\emph{Results}。实验结果表明,MVCNet在\emph{unsupervised representation learning}的LIDC-IDRI(89.55%)、LNDb(77.69%)和TianChi(79.96%)数据集上的准确率达到了最高水平。当对10%的标记数据进行微调时,准确率与监督学习模型相当(在三个数据集上分别为89.46% vs. 85.03%,73.85% vs. 73.44%,83.56% vs. 83…
A Deep Marginal-Contrastive Defense against Adversarial Attacks on 1D Models
University of New South Wales(新南威尔士大学)
深度学习算法最近由于其脆弱性而成为攻击者的目标。已经进行了几项研究来解决这个问题,并建立更强大的深度学习模型。非连续的深度模型仍然不能抵抗对抗性攻击,最近的大多数研究都集中在开发攻击技术来逃避模型的学习过程。这种模型的脆弱性背后的主要原因之一是学习分类器无法预测轻微扰动的样本。为了解决这个问题,我们提出了一种新的目标/损失函数,即所谓的边际对比,它强制特征位于指定的边际之下,以便于使用深度卷积网络进行预测(即,Char-CNN)。已经在连续的情况下进行了广泛的实验(例如,UNSW NB 15数据集)和离散数据集(即8个大规模数据集[32]),以证明所提出方法的有效性。结果表明,基于所提出的损失函数的学习过程的正则化可以提高Char-CNN的性能。
VulReaD: Knowledge-Graph-guided Software Vulnerability Reasoning and Detection
The University of Manchester(曼彻斯特大学);Agency for Science, Technology and Research(科技研究局);Singapore University of Technology and Design(新加坡科技设计大学);Mohamed Bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)
School of Mathematical Sciences, Peking University(北京大学数学科学学院);National Key Lab of General Artificial Intelligence(通用人工智能全国重点实验室);School of Intelligence Science and Technology, Peking University(北京大学智能科学系(注:按要求提取到学院级别,此处原文为学院相关,实际为北京大学智能科学学院?不对,原文是School of Intelligence Science and Technology,正确翻译是北京大学智能科学与技术学院,不过按要求保留英文,翻译准确即可));Institute for Artificial Intelligence, Peking University(北京大学人工智能研究院);School of Electronics Engineering and Computer Science, Peking University(北京大学电子工程与计算机科学学院)