Reliable AI software infrastructure
Deep learning frameworks and the libraries around them, such as PyTorch, TensorFlow and OpenCV, are the infrastructure that every AI application runs on, so a single bug in them propagates to every system built on top. We study how to test this infrastructure automatically: generating valid and diverse test inputs, and designing oracles that recognise incorrect behaviour without a hand-written specification. Across these studies, we have reported 180 bugs to library developers: 91 have been confirmed and 69 fixed.