More Is Never Less: Affordable Robustness to Additive Attacks via Monotone Multiple-Instance Learning
Abstract
Static malware detectors that represent each sample as a bag of extracted features, such as permissions, API calls, or imported functions, are cheap to deploy and remain state-of-the-art under temporal drift and in selective classification. Yet, attackers can evade them by adding benign-looking content that outweighs malicious evidence. Canonically, detectors encode the presence of a few thousand features, selected during training, as sparse multi-hot vectors over a fixed vocabulary. Features that emerge after training remain invisible. We show that linear models and multi-layer perceptrons (MLPs) over this input are sum-pooled set models in disguise. Sum-pooling lets added benign features cancel malicious evidence. Instead, we cast malware detection with set-shaped static features as a multiple-instance learning (MIL) problem. To this end, we propose MalSets, which uses max-pooled Deep Sets models with a monotone head to ensure that any malicious evidence remains undiluted; thus, more is never less. Under MIL, a general text encoder maps any feature string to an embedding, thus eliminating the long-standing out-of-vocabulary problem at test time. Max-pooling retains the malicious evidence regardless of how many benign features an attacker adds. Since max-pooling can only grow when features are added, constraining the head alone makes the malware score monotone under additions, even against a white-box attacker adapted to this architecture. While monotone detectors are never evaded by state-of-the-art black-box or white-box attacks, they often significantly pay for this robustness in clean performance since benign features cannot count as evidence. However, by combining a non-monotone set encoder with max-pooling and a monotone head, MalSets maintains the robustness of prior monotone classifiers while achieving state-of-the-art performance.
Create a lesson
Related papers
Robust, Lightweight Locally Differentially Private Histogram Estimation and the Role of Dropout Attacks
Shared title terminology · Haochen Sun, Jacob Imola, Xi He
Persistent Jailbreak Backdoor Attack
Shared title terminology · Haichuan Zhang, Xinyu Sun, Shih-Chieh Dai et al.
Weight-Space Backdoors in Open-Weight LLMs: Cross-Architecture Attacks and Blind Model Forensics
Shared title terminology · Mohammed Tanveer
SoK: Splitting the Trigger or Adding Attackers? Disentangling Distributed Backdoor Attacks in Federated Learning
Shared title terminology · Zhuotao Lian, Qingkui Zeng, Weiyu Wang
Understanding Membership Inference Attacks on EEG Models
Shared title terminology · Mehrdad Khodapanahandeh, Selin Unal, Berkay Kemal Balioglu et al.
Development of an Effective Federated Learning-Based Defense System Against Phishing Attacks on Mobile Platforms
Shared title terminology · Eren Dogan, Busra Buyuktanir, Gozde Karatas Baydogmus et al.