arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.18309cs.CR
收藏

贝叶斯学习模型可以免费检测对抗性恶意软件

Bayesian Learned Models Can Detect Adversarial Malware For Free

Bao Gia Doan, Dang Quang Nguyen, Paul Montague, Tamas Abraham, Olivier De Vel, Seyit Camtepe, Salil S. Kanhere, Ehsan Abbasnejad, Damith C. Ranasinghe

AI总结:

研究提出利用贝叶斯学习方法量化认识不确定性来检测对抗性恶意软件,该方法在不牺牲模型性能的前提下,能有效识别特征与问题空间中的对抗样本、检测概念漂移并显著增强检测器能力。

摘要:

基于机器学习的恶意软件检测器对对抗性攻击的脆弱性促使了对鲁棒解决方案的需求。对抗训练是一种有效的方法,但扩展到大型数据集时计算成本高昂,且以牺牲模型性能来换取鲁棒性为代价。我们假设对抗性恶意软件利用了模型的低置信度区域,并且可以使用机器学习方法的认识不确定性来识别——基于机器学习的恶意软件检测器中的认识不确定性是由于问题空间区域中缺乏相似训练样本造成的。特别是,贝叶斯公式能够捕获模型参数的分布,并在不牺牲模型性能的情况下量化认识不确定性。为了验证我们的假设,我们考虑采用基于互信息公式的贝叶斯学习方法来量化不确定性,并在Android、Windows领域和PDF恶意软件中检测对抗性恶意软件。我们发现,通过贝叶斯学习方法量化不确定性可以防御对抗性恶意软件。特别是,贝叶斯模型:(1)通常能够在特征空间和问题空间中识别对抗性恶意软件,(2)能够通过测量不确定性来检测概念漂移,以及(3)结合促进多样性的方法(或更好的后验近似)从后验中生成参数实例,从而显著增强检测器的能力。

英文摘要:

The vulnerability of machine learning-based malware detectors to adversarial attacks has prompted the need for robust solutions. Adversarial training is an effective method but is computationally expensive to scale up to large datasets and comes at the cost of sacrificing model performance for robustness. We hypothesize that adversarial malware exploits the low-confidence regions of models and can be identified using epistemic uncertainty of ML approaches -- epistemic uncertainty in a machine learning-based malware detector is a result of a lack of similar training samples in regions of the problem space. In particular, a Bayesian formulation can capture the model parameters' distribution and quantify epistemic uncertainty without sacrificing model performance. To verify our hypothesis, we consider Bayesian learning approaches with a mutual information-based formulation to quantify uncertainty and detect adversarial malware in Android, Windows domains and PDF malware. We found, quantifying uncertainty through Bayesian learning methods can defend against adversarial malware. In particular, Bayesian models: (1) are generally capable of identifying adversarial malware in both feature and problem space, (2) can detect concept drift by measuring uncertainty, and (3) with a diversity-promoting approach (or better posterior approximations) lead to parameter instances from the posterior to significantly enhance a detectors' ability.

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

↑