Retrofit: Continual Learning with Controlled Forgetting for Binary Security Detection and Analysis
Not on the map. Why?
Abstract (arXiv)
Binary security has increasingly relied on deep learning to reason about malware behavior and program semantics. However, the performance often degrades as threat landscapes evolve and code representations shift. While continual learning (CL) offers a natural solution through sequential updates, most existing approaches rely on data replay or unconstrained updates, limiting their applicability and effectiveness in data-sensitive security environments. We propose RETROFIT, which regulates knowledge retention and adaptation with controlled forgetting at each update, without requiring historical data. Our key idea is to consolidate previously trained and newly fine-tuned models, serving as teachers of legacy and emergent knowledge, through retrospective-free parameter merging. Forgetting control is achieved by 1) constraining parameter changes to low-rank and sparse subspaces for approximate orthogonality, and 2) employing a confidence-guided arbitration mechanism to dynamically aggregate knowledge from both teachers. Our evaluation on two representative applications demonstrates that RETROFIT consistently mitigates forgetting while maintaining adaptability. In malware detection under temporal drift, it substantially improves the retention score, from 20.2% to 38.6% over CL baselines, and exceeds the oracle upper bound on new data. In binary summarization across decompilation levels, where analyzing stripped binaries is especially challenging, RETROFIT achieves over 2x the BLEU score of transfer learning used in prior work and surpasses all baselines in cross-representation generalization.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 45 of its 66 references that are in the map. First posted on arXiv 14 Nov 2025.
Builds on
45 of 66 references.
References · 45
- 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 11,979
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,718
- 2016Learning without Forgettingcited by 2,465
- 2016iCaRL: Incremental Classifier and Representation Learningcited by 2,313
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2022Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference timecited by 1,366
- 2021EfficientNetV2: Smaller Models and Faster Trainingcited by 1,127
- 2017Memory Aware Synapses: Learning what (not) to forgetcited by 1,094
- 2022Editing Models with Task Arithmeticcited by 1,076
- 2018Experience Replay for Continual Learningcited by 1,074
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
- 2017PackNet: Adding Multiple Tasks to a Single Network by Iterative Pruningcited by 882
33 more
- 2023A Comprehensive Survey of Continual Learning: Theory, Method and Applicationcited by 860
- 2023TIES-Merging: Resolving Interference When Merging Modelscited by 795
- 2023ConvNeXt V2: Co-designing and Scaling ConvNets with Masked Autoencoderscited by 703
- 2017Lifelong Learning with Dynamically Expandable Networkscited by 689
- 2018Overcoming catastrophic forgetting with hard attention to the taskcited by 672
- 2017Learning multiple visual domains with residual adapterscited by 553
- 2020Learning under Concept Drift: A Reviewcited by 470
- 2016Cross-stitch Networks for Multi-task Learningcited by 466
- 2024Model Merging in LLMs, MLLMs, and Beyond: Methods, Theories, Applications and Opportunitiescited by 247
- 2021Co2L: Contrastive Continual Learningcited by 243
- 2019REMIND Your Neural Network to Prevent Catastrophic Forgettingcited by 197
- 2020Invariant Risk Minimization Gamescited by 188
- 2019Evaluating model calibration in classificationcited by 165
- 2018TESSERACT: Eliminating Experimental Bias in Malware Classification across Space and Timecited by 108
- 2020Transcending Transcend: Revisiting Malware Classification in the Presence of Concept Driftcited by 53
- 2023Large Language Models for Code Analysis: Do LLMs Really Do Their Job?cited by 44
- 2023π-Tuning: Transferring Multimodal Foundation Models with Optimal Multi-task Interpolationcited by 40
- 2023Continuous Learning for Android Malware Detectioncited by 33
- 2023Extending Source Code Pre-Trained Language Models to Summarise Decompiled Binariescited by 25
- 2023Exploring ChatGPT's Capabilities on Vulnerability Managementcited by 19
- 2025LAMD: Context-driven Android Malware Detection and Classification with LLMscited by 18
- 2023Binary Code Summarization: Benchmarking ChatGPT/GPT-4 and Other Large Language Modelscited by 13
- 2024Calibration of Large Language Models on Code Summarizationcited by 12
- 2025On Benchmarking Code LLMs for Android Malware Analysiscited by 12
- 2024Persistent Backdoor Attacks in Continual Learningcited by 11
- 2023Exploiting Code Symmetries for Learning Program Semanticscited by 9
- 2024Source Code Foundation Models are Transferable Binary Analysis Knowledge Basescited by 8
- 2024Combating Concept Drift with Explanatory Detection and Adaptation for Android Malware Classificationcited by 7
- 2022Is Multi-Task Learning an Upper Bound for Continual Learning?cited by 6
- 2022DexBERT: Effective, Task-Agnostic and Fine-grained Representation Learning of Android Bytecodecited by 6
- 2023Revisiting Non-separable Binary Classification and its Applications in Anomaly Detectioncited by 3
- 2025MADAR: Efficient Continual Learning for Malware Analysis with Distribution-Aware Replaycited by 2
- 2019Enabling Efficient Privacy-Assured Outlier Detection over Encrypted Incremental Datasetscited by 1
Built on by
Not cited yet.