Classifying Sequences of Extreme Length with Constant Memory Applied to Malware Detection
Edward Raff, William Fleshman, Richard Zak, Hyrum S. Anderson, Bobby Filar, Mark McLean
摘要
Recent works within machine learning have been tackling inputs of ever-increasing size, with cybersecurity presenting sequence classification problems of particularly extreme lengths. In the case of Windows executable malware detection, inputs may exceed 100 MB, which corresponds to a time series with T = 100, 000, 000 steps. To date, the closest approach to handling such a task is MalConv, a convolutional neural network capable of processing up to T = 2, 000, 000 steps. The O(T ) memory of CNNs has prevented further application of CNNs to malware. In this work, we develop a new approach to temporal max pooling that makes the required memory invariant to the sequence length T . This makes MalConv 116× more memory efficient, and up to 25.8× faster to train on its original dataset, while removing the input length restrictions to MalConv. We re-invest these gains into improving the Mal-Conv architecture by developing a new Global Channel Gating design, giving us an attention mechanism capable of learning feature interactions across 100 million time steps in an efficient manner, a capability lacked by the original MalConv CNN. Our implementation can be found at https://github.com/ NeuromorphicComputationResearchProgram/MalConv2
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Beyond Raw Bytes: Towards Large Malware Language Models 引用了 Recasting Self-Attention with Holographic Reduced Representations
- Recasting Self-Attention with Holographic Reduced Representations 引用了 A New Burrows Wheeler Transform Markov Distance
- Recasting Self-Attention with Holographic Reduced Representations 引用了 Reformer: The Efficient Transformer
引用它的顶会 Paper7
- RS-Del: Edit Distance Robustness Certificates for Sequence Classifiers via Randomized DeletionZhuoqun Huang, Neil G. Marchant, Keane Lucas, Lujo Bauer 等NeurIPS 2023 · 24 次引用
- Recasting Self-Attention with Holographic Reduced RepresentationsMohammad Mahmudul Alam, Edward Raff, Stella Biderman, Tim Oates 等ICML 2023 · 18 次引用
- MalCL: Leveraging GAN-Based Generative Replay to Combat Catastrophic Forgetting in Malware ClassificationJimin Park, AHyun Ji, Minji Park, Mohammad Saidur Rahman 等AAAI 2025 · 12 次引用
- Beyond Raw Bytes: Towards Large Malware Language ModelsLuke Kurlandski, Harel Berger, Yin Pan, Matthew WrightNDSS 2026 · 5 次引用
- MPass: Bypassing Learning-based Static Malware DetectorsJialai Wang, Wenjie Qu, Yi Rong, Han Qiu 等DAC 2023 · 4 次引用
它引用的 Paper3
- Reformer: The Efficient TransformerNikita Kitaev, Lukasz Kaiser, Anselm LevskayaICLR 2020 · 2,878 次引用
- A New Burrows Wheeler Transform Markov DistanceEdward Raff, Charles Nicholas, Mark McLeanAAAI 2020 · 13 次引用
- An Observational Investigation of Reverse Engineers' ProcessesDaniel Votipka, Seth M. Rabin, Kristopher K. Micinski, Jeffrey S. Foster 等USENIX Security 2020
相关 Paper
- Adversarial Training for Raw-Binary Malware ClassifiersKeane Lucas, Samruddhi Pai, Weiran Lin, Lujo Bauer 等USENIX Security 2023
- Dynamic Malware Analysis with Feature Engineering and Feature LearningZhaoqi Zhang, Panpan Qi, Wei WangAAAI 2020 · 153 次引用
- MalDetectFormer: Leveraging Sparse SpatioTemporal Information for Effective Malicious Traffic DetectionShuai Zhang, Yu Fan, Haoyi Zhou, Bo LiAAAI 2025 · 1 次引用
- As Seasons Change: Temporal Feature Powers Malware ClassificationJianwen Tian, Debin Gao, Yongkang Chen, Wei Kong 等CCS 2026
- Time-aware Large Kernel ConvolutionsVasileios Lioutas, Yuhong GuoICML 2020 · 30 次引用
