RS-Del: Edit Distance Robustness Certificates for Sequence Classifiers via Randomized Deletion
Not on the map. Why?
Abstract (arXiv)
Randomized smoothing is a leading approach for constructing classifiers that are certifiably robust against adversarial examples. Existing work on randomized smoothing has focused on classifiers with continuous inputs, such as images, where ℓp-norm bounded adversaries are commonly studied. However, there has been limited work for classifiers with discrete or variable-size inputs, such as for source code, which require different threat models and smoothing mechanisms. In this work, we adapt randomized smoothing for discrete sequence classifiers to provide certified robustness against edit distance-bounded adversaries. Our proposed smoothing mechanism randomized deletion (RS-Del) applies random deletion edits, which are (perhaps surprisingly) sufficient to confer robustness against adversarial deletion, insertion and substitution edits. Our proof of certification deviates from the established Neyman-Pearson approach, which is intractable in our setting, and is instead organized around longest common subsequences. We present a case study on malware detection--a binary classification problem on byte sequences where classifier evasion is a well-established threat model. When applied to the popular MalConv malware detection model, our smoothing mechanism RS-Del achieves a certified accuracy of 91% at an edit distance radius of 128 bytes.
Key facts. Cited by 17 papers in the map (data through 7 Oct 2026). Builds on 49 of its 93 references that are in the map. First posted on arXiv 31 Jan 2023.
Builds on
49 of 93 references.
References · 49
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2013Intriguing properties of neural networkscited by 5,114
- 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,324
- 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,259
- 2017Provable defenses against adversarial examples via the convex outer adversarial polytopecited by 564
- 2020On Adaptive Attacks to Adversarial Example Defensescited by 547
- 2018Certified Robustness to Adversarial Examples with Differential Privacycited by 462
- 2019Provably Robust Deep Learning via Adversarially Trained Smoothed Classifierscited by 328
- 2018On the Effectiveness of Interval Bound Propagation for Training Verifiably Robust Modelscited by 322
- 2018Certified Defenses against Adversarial Examplescited by 305
- 2018Towards Fast Computation of Certified Robustness for ReLU Networkscited by 254
- 2019Towards Stable and Efficient Training of Verifiably Robust Neural Networkscited by 204
37 more
- 2018Lipschitz-Margin Training: Scalable Certification of Perturbation Invariance for Deep Neural Networkscited by 193
- 2019Certified Robustness to Adversarial Word Substitutionscited by 164
- 2020Randomized Smoothing of All Shapes and Sizescited by 146
- 2018Scaling provable adversarial defensescited by 141
- 2022(Certified!!) Adversarial Robustness for Free!cited by 130
- 2017Malware Detection by Eating a Whole EXEcited by 114
- 2021Globally-Robust Neural Networkscited by 106
- 2020SAFER: A Structure-free Approach for Certified Robustness to Adversarial Word Substitutionscited by 72
- 2019Tight Certificates of Adversarial Robustness for Randomly Smoothed Classifierscited by 65
- 2018Adversarial Malware Binaries: Evading Deep Learning for Malware Detection in Executablescited by 60
- 2019Robustness Certificates for Sparse Adversarial Attacks by Randomized Ablationcited by 59
- 2020Functionality-preserving Black-box Optimization of Adversarial Windows Malwarecited by 58
- 2021Certified Robustness to Text Adversarial Attacks by Randomized [MASK]cited by 57
- 2020Efficient Robustness Certificates for Discrete Data: Sparsity-Aware Randomized Smoothing for Graphs, Images and Morecited by 56
- 2017Yes, Machine Learning Can Be More Secure! A Case Study on Android Malware Detectioncited by 51
- 2020Certified Defense to Image Transformations via Randomized Smoothingcited by 51
- 2018Training verified learners with learned verifierscited by 50
- 2020TSS: Transformation-Specific Smoothing for Robustness Certificationcited by 49
- 2021PointGuard: Provably Robust 3D Point Cloud Classificationcited by 49
- 2018Exploring Adversarial Examples in Malware Detectioncited by 41
- 2018Adversarial Deep Learning for Robust Detection of Binary Encoded Malwarecited by 32
- 2019Malware Makeover: Breaking ML-based Static Analysis by Modifying Executable Bytescited by 31
- 2019Explaining Vulnerabilities of Deep Learning to Adversarial Malware Binariescited by 30
- 2020Certified Robustness of Community Detection against Adversarial Structural Perturbation via Randomized Smoothingcited by 29
- 2019Dynamic Malware Analysis with Feature Engineering and Feature Learningcited by 23
- 2020Classifying Sequences of Extreme Length with Constant Memory Applied to Malware Detectioncited by 23
- 2022GSmooth: Certified Robustness against Semantic Transformations via Generalized Randomized Smoothingcited by 23
- 2018Non-Negative Networks Against Adversarial Attackscited by 20
- 2018Deceiving End-to-End Deep Learning Malware Detectors using Adversarial Examplescited by 19
- 2019On Training Robust PDF Malware Classifierscited by 19
- 2021Certified Robustness to Programmable Transformations in LSTMscited by 18
- 2020Almost Tight L0-norm Certified Robustness of Top-k Predictions against Adversarial Perturbationscited by 16
- 2021Learning Security Classifiers with Verified Global Robustness Propertiescited by 14
- 2017Black-Box Attacks against RNN based Malware Detection Algorithmscited by 13
- 2023Randomized Message-Interception Smoothing: Gray-box Certificates for Graph Neural Networkscited by 10
- 2020Against All Odds: Winning the Defense Challenge in an Evasion Competition with Diversificationcited by 5
- 2021secml-malware: Pentesting Windows Malware Classifiers with Adversarial EXEmples in Pythoncited by 5
Built on by
Citing papers per year: 2023: 4; 2024: 7; 2025: 3; 2026: 3.
17 papers.
Sort:
By area:
- 2023Certifying LLM Safety against Adversarial Promptingcited by 248
- 2024Operationalizing a Threat Model for Red-Teaming Large Language Models (LLMs)cited by 44
- 2023Text-CRS: A Generalized Certified Robustness Framework against Textual Adversarial Attackscited by 32
- 2023Hierarchical Randomized Smoothingcited by 9
- 2024RS-Reg: Probabilistic and Robust Certified Regression Through Randomized Smoothingcited by 4
- 2025Position: Certified Robustness Does Not (Yet) Imply Model Securitycited by 4
- 2026Certified Circuits: Stability Guarantees for Mechanistic Circuitscited by 4
- 2023Adversarial Attacks against Binary Similarity Systemscited by 3
- 2024Living off the Analyst: Harvesting Features from Yara Rules for Malware Detectioncited by 3
- 2024CERT-ED: Certifiably Robust Text Classification for Edit Distancecited by 2
- 2024Machine Learning for Windows Malware Detection and Classification: Methods, Challenges and Ongoing Researchcited by 1
- 2024A New Formulation for Zeroth-Order Optimization of Adversarial EXEmples in Malware Detectioncited by 1
5 more
- 2025On the Security Risks of ML-based Malware Detection Systems: A Surveycited by 1
- 2024Certified Adversarial Robustness of Machine Learning-based Malware Detectors via (De)Randomized Smoothingcited by 0
- 2025AdaptDel: Adaptable Deletion Rate Randomized Smoothing for Certified Robustnesscited by 0
- 2026What Was That Again? Certified Robustness for Automatic Speech Recognitioncited by 0
- 2026EXE-Bench: Ranking the Tradeoffs of AI-based Windows Malware Detectors for Real-World Usabilitycited by 0
- 2026EXE-Bench: Ranking the Tradeoffs of AI-based Windows Malware Detectors for Real-World Usability27 Jul 2026
- 2026What Was That Again? Certified Robustness for Automatic Speech Recognition26 Jun 2026
- 2026Certified Circuits: Stability Guarantees for Mechanistic Circuits26 Feb 2026
- 2025AdaptDel: Adaptable Deletion Rate Randomized Smoothing for Certified Robustness12 Nov 2025
- 2025Position: Certified Robustness Does Not (Yet) Imply Model Security16 Jun 2025
- 2025On the Security Risks of ML-based Malware Detection Systems: A Survey16 May 2025
- 2024Living off the Analyst: Harvesting Features from Yara Rules for Malware Detection27 Nov 2024
- 2024CERT-ED: Certifiably Robust Text Classification for Edit Distance1 Aug 2024
- 2024Operationalizing a Threat Model for Red-Teaming Large Language Models (LLMs)20 Jul 2024
- 2024A New Formulation for Zeroth-Order Optimization of Adversarial EXEmples in Malware Detection23 May 2024
- 2024RS-Reg: Probabilistic and Robust Certified Regression Through Randomized Smoothing14 May 2024
- 2024Certified Adversarial Robustness of Machine Learning-based Malware Detectors via (De)Randomized Smoothing1 May 2024
5 more
- 2024Machine Learning for Windows Malware Detection and Classification: Methods, Challenges and Ongoing Research29 Apr 2024
- 2023Hierarchical Randomized Smoothing24 Oct 2023
- 2023Certifying LLM Safety against Adversarial Prompting6 Sep 2023
- 2023Text-CRS: A Generalized Certified Robustness Framework against Textual Adversarial Attacks31 Jul 2023
- 2023Adversarial Attacks against Binary Similarity Systems20 Mar 2023
- 2023Text-CRS: A Generalized Certified Robustness Framework against Textual Adversarial Attackscited by 32
- 2023Hierarchical Randomized Smoothingcited by 9
- 2024RS-Reg: Probabilistic and Robust Certified Regression Through Randomized Smoothingcited by 4
- 2025Position: Certified Robustness Does Not (Yet) Imply Model Securitycited by 4
- 2026Certified Circuits: Stability Guarantees for Mechanistic Circuitscited by 4
- 2023Adversarial Attacks against Binary Similarity Systemscited by 3
- 2024Living off the Analyst: Harvesting Features from Yara Rules for Malware Detectioncited by 3
- 2024CERT-ED: Certifiably Robust Text Classification for Edit Distancecited by 2
- 2024Machine Learning for Windows Malware Detection and Classification: Methods, Challenges and Ongoing Researchcited by 1
- 2024A New Formulation for Zeroth-Order Optimization of Adversarial EXEmples in Malware Detectioncited by 1
- 2025On the Security Risks of ML-based Malware Detection Systems: A Surveycited by 1
- 2024Certified Adversarial Robustness of Machine Learning-based Malware Detectors via (De)Randomized Smoothingcited by 0
12 most cited of 15 All 15 (JSON)
- 2026EXE-Bench: Ranking the Tradeoffs of AI-based Windows Malware Detectors for Real-World Usability27 Jul 2026
- 2026What Was That Again? Certified Robustness for Automatic Speech Recognition26 Jun 2026
- 2026Certified Circuits: Stability Guarantees for Mechanistic Circuits26 Feb 2026
- 2025AdaptDel: Adaptable Deletion Rate Randomized Smoothing for Certified Robustness12 Nov 2025
- 2025Position: Certified Robustness Does Not (Yet) Imply Model Security16 Jun 2025
- 2025On the Security Risks of ML-based Malware Detection Systems: A Survey16 May 2025
- 2024Living off the Analyst: Harvesting Features from Yara Rules for Malware Detection27 Nov 2024
- 2024CERT-ED: Certifiably Robust Text Classification for Edit Distance1 Aug 2024
- 2024A New Formulation for Zeroth-Order Optimization of Adversarial EXEmples in Malware Detection23 May 2024
- 2024RS-Reg: Probabilistic and Robust Certified Regression Through Randomized Smoothing14 May 2024
- 2024Certified Adversarial Robustness of Machine Learning-based Malware Detectors via (De)Randomized Smoothing1 May 2024
- 2024Machine Learning for Windows Malware Detection and Classification: Methods, Challenges and Ongoing Research29 Apr 2024
12 newest of 15 All 15 (JSON)