arXiv:2605.09664cs.CRcs.LG2026-05

FreeMOCA让杀毒系统持续学习新病毒,不丢旧知识且不占内存。

FreeMOCA: Memory-Free Continual Learning for Malicious Code Analysis

论文配图:FreeMOCA: Memory-Free Continual Learning for Malicious Code Analysis
图 1 · 摘自论文原文
  • 用参数空间中的自适应层间插值保留旧知识,避免遗忘。
  • 在EMBER和AZ数据集上准确率提升最高达42%和37%。
  • 适合需要长期更新的恶意代码检测系统使用。

每年有超过2亿个新恶意软件样本被发现,杀毒系统必须持续适应不断演变的威胁环境。然而,仅用新样本重新训练会导致灾难性遗忘和可被利用的盲区,而用全部数据重训又带来巨大计算开销。我们提出FreeMOCA,一种无内存、低计算的持续学习框架,通过连续任务更新间的自适应层间插值来保留先验知识,利用热启动任务最优解在参数空间中由低损失路径连接的特性。我们在大规模Windows(EMBER)和Android(AZ)恶意代码基准上,评估了FreeMOCA在类别增量(Class-IL)和领域增量(Domain-IL)设置下的表现。FreeMOCA在Class-IL任务中显著优于11种基线方法,在两个数据集上均取得最佳性能;同时大幅减少遗忘,准确率相比基线最高提升42%(EMBER)和37%(AZ)。结果表明,参数空间中的热启动插值为持续恶意代码检测提供了一种高效可扩展的替代方案。代码已公开:https://github.com/IQSeC-Lab/FreeMOCA。

原文摘要 · Abstract (English)

As over 200 million new malware samples are identified each year, antivirus systems must continuously adapt to the evolving threat landscape. However, retraining solely on new samples leads to catastrophic forgetting and exploitable blind spots, while retraining on the entire dataset incurs substantial computational cost. We propose FreeMOCA, a memory- and compute-efficient continual learning framework for malicious code analysis that preserves prior knowledge via adaptive layer-wise interpolation between consecutive task updates, leveraging the fact that warm-started task optima are connected by low-loss paths in parameter space. We evaluate FreeMOCA in both class-incremental (Class-IL) and domain-incremental (Domain-IL) settings on large-scale Windows (EMBER) and Android (AZ) malware benchmarks. FreeMOCA achieves substantial gains in Class-IL, outperforming 11 baselines on both EMBER and AZ benchmarks. It also significantly reduces forgetting, achieving the best retention across baselines, and improving accuracy by up to 42% and 37% on EMBER and AZ, respectively. These results demonstrate that warm-started interpolation in parameter space provides a scalable and effective alternative to replay for continual malware detection. Code is available at: https://github.com/IQSeC-Lab/FreeMOCA.

持续学习恶意代码分析无内存参数插值

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。