mlsanityData to 14 Oct 2026

An Empirical Study on Bugs Inside PyTorch: A Replication Study

arXiv 2307.13777 ↗First posted 25 Jul 2023cs.SE cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Software systems are increasingly relying on deep learning components, due to their remarkable capability of identifying complex data patterns and powering intelligent behaviour. A core enabler of this change in software development is the availability of easy-to-use deep learning libraries. Libraries like PyTorch and TensorFlow empower a large variety of intelligent systems, offering a multitude of algorithms and configuration options, applicable to numerous domains of systems. However, bugs in those popular deep learning libraries also may have dire consequences for the quality of systems they enable; thus, it is important to understand how bugs are identified and fixed in those libraries. Inspired by a study of Jia et al., which investigates the bug identification and fixing process at TensorFlow, we characterize bugs in the PyTorch library, a very popular deep learning framework. We investigate the causes and symptoms of bugs identified during PyTorch's development, and assess their locality within the project, and extract patterns of bug fixes. Our results highlight that PyTorch bugs are more like traditional software projects bugs, than related to deep learning characteristics. Finally, we also compare our results with the study on TensorFlow, highlighting similarities and differences across the bug identification and fixing process.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 11 of its 57 references that are in the map. First posted on arXiv 25 Jul 2023.

Builds on

11 of 57 references.

References · 11

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  2. 2016End to End Learning for Self-Driving Carscited by 1,009
  3. 2014Caffe: Convolutional Architecture for Fast Feature Embeddingcited by 288
  4. 2019Taxonomy of Real Faults in Deep Learning Systemscited by 90
  5. 2018DeepBugs: A Learning Approach to Name-based Bug Detectioncited by 65
  6. 2019A Comprehensive Study on Deep Learning Bug Characteristicscited by 65
  7. 2020Towards Characterizing Adversarial Defects of Deep Learning Software from the Lens of Uncertaintycited by 26
  8. 2022Toward Understanding Deep Learning Framework Bugscited by 26
  9. 2021Silent Bugs in Deep Learning Frameworks: An Empirical Study of Keras and TensorFlowcited by 25
  10. 2018A Comprehensive Study of Automatic Program Repair on the QuixBugs Benchmarkcited by 18
  11. 2020Dependency Smells in JavaScript Projectscited by 4

Built on by

Cited by year

Citing papers per year: 2024: 1.

1 paper.