mlsanityData to 7 Oct 2026

Machine Learning Systems are Bloated and Vulnerable

arXiv 2212.09437 ↗First posted 16 Dec 2022cs.SE cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

Today's software is bloated with both code and features that are not used by most users. This bloat is prevalent across the entire software stack, from operating systems and applications to containers. Containers are lightweight virtualization technologies used to package code and dependencies, providing portable, reproducible and isolated environments. For their ease of use, data scientists often utilize machine learning containers to simplify their workflow. However, this convenience comes at a cost: containers are often bloated with unnecessary code and dependencies, resulting in very large sizes. In this paper, we analyze and quantify bloat in machine learning containers. We develop MMLB, a framework for analyzing bloat in software systems, focusing on machine learning containers. MMLB measures the amount of bloat at both the container and package levels, quantifying the sources of bloat. In addition, MMLB integrates with vulnerability analysis tools and performs package dependency analysis to evaluate the impact of bloat on container vulnerabilities. Through experimentation with 15 machine learning containers from TensorFlow, PyTorch, and Nvidia, we show that bloat accounts for up to 80% of machine learning container sizes, increasing container provisioning times by up to 370% and exacerbating vulnerabilities by up to 99%.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 15 of its 82 references that are in the map. First posted on arXiv 16 Dec 2022.

Builds on

15 of 82 references.

References · 15

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
  2. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  3. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  4. 2014Caffe: Convolutional Architecture for Fast Feature Embeddingcited by 287
  5. 2015MXNet: A Flexible and Efficient Machine Learning Library for Heterogeneous Distributed Systemscited by 195
  6. 2019Small World with High Risks: A Study of Security Threats in the npm Ecosystemcited by 36
  7. 2018PRETZEL: Opening the Black Box of Machine Learning Prediction Serving Systemscited by 22
  8. 2022Studying the Practices of Deploying Machine Learning Projects on Dockercited by 8
  9. 2018Debloating Software through Piece-Wise Compilation and Loadingcited by 6
  10. 2020A Comprehensive Study of Bloated Dependencies in the Maven Ecosystemcited by 5
  11. 2020Coverage-Based Debloating for Java Bytecodecited by 3
  12. 2021A Longitudinal Analysis of Bloated Java Dependenciescited by 2
3 more
  1. 2019CARVE: Practical Security-Focused Software Debloating Using Simple Feature Set Mappingscited by 1
  2. 2021The Used, the Bloated, and the Vulnerable: Reducing the Attack Surface of an Industrial Applicationcited by 1
  3. 2021Lightweight, Multi-Stage, Compiler-Assisted Application Specializationcited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 2.

2 papers.