mlsanityData to 14 Oct 2026

The Grand Illusion: The Myth of Software Portability and Implications for ML Progress

arXiv 2309.07181 ↗First posted 12 Sep 2023cs.SE cs.LGcited by 3

Not on the map. Why?

Abstract (arXiv)

Pushing the boundaries of machine learning often requires exploring different hardware and software combinations. However, the freedom to experiment across different tooling stacks can be at odds with the drive for efficiency, which has produced increasingly specialized AI hardware and incentivized consolidation around a narrow set of ML frameworks. Exploratory research can be restricted if software and hardware are co-evolving, making it even harder to stray away from mainstream ideas that work well with popular tooling stacks. While this friction increasingly impacts the rate of innovation in machine learning, to our knowledge the lack of portability in tooling has not been quantified. In this work, we ask: How portable are popular ML software frameworks? We conduct a large-scale study of the portability of mainstream ML frameworks across different hardware types. Our findings paint an uncomfortable picture -- frameworks can lose more than 40% of their key functions when ported to other hardware. Worse, even when functions are portable, the slowdown in their performance can be extreme and render performance untenable. Collectively, our results reveal how costly straying from a narrow set of hardware-software combinations can be - and suggest that specialization of hardware impedes innovation in machine learning research.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 17 of its 40 references that are in the map. First posted on arXiv 12 Sep 2023.

Builds on

17 of 40 references.

References · 17

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  2. 2020Scaling Laws for Neural Language Modelscited by 6,586
  3. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  4. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  5. 2017Dynamic Routing Between Capsulescited by 689
  6. 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 618
  7. 2017BranchyNet: Fast Inference via Early Exiting from Deep Neural Networkscited by 596
  8. 2019MLPerf Inference Benchmarkcited by 199
  9. 2015MXNet: A Flexible and Efficient Machine Learning Library for Heterogeneous Distributed Systemscited by 195
  10. 2020The Hardware Lotterycited by 160
  11. 2022Pathways: Asynchronous Distributed Dataflow for MLcited by 82
  12. 2020The De-democratization of AI: Deep Learning and the Compute Divide in Artificial Intelligence Researchcited by 67
5 more
  1. 2016Theano: A Python framework for fast computation of mathematical expressionscited by 64
  2. 2019Chainer: A Deep Learning Framework for Accelerating the Research Cyclecited by 22
  3. 2020Daydream: Accurately Estimating the Efficacy of Optimizations for DNN Trainingcited by 22
  4. 2022TSSB-3M: Mining single statement bugs at massive scalecited by 14
  5. 2020A narrowing of AI research?cited by 12

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 2.

3 papers.