Specification Generation for Neural Networks in Systems
Not on the map. Why?
Abstract (arXiv)
Specifications - precise mathematical representations of correct domain-specific behaviors - are crucial to guarantee the trustworthiness of computer systems. With the increasing development of neural networks as computer system components, specifications gain more importance as they can be used to regulate the behaviors of these black-box models. Traditionally, specifications are designed by domain experts based on their intuition of correct behavior. However, this is labor-intensive and hence not a scalable approach as computer system applications diversify. We hypothesize that the traditional (aka reference) algorithms that neural networks replace for higher performance can act as effective proxies for correct behaviors of the models, when available. This is because they have been used and tested for long enough to encode several aspects of the trustworthy/correct behaviors in the underlying domain. Driven by our hypothesis, we develop a novel automated framework, SpecTRA to generate specifications for neural networks using references. We formulate specification generation as an optimization problem and solve it with observations of reference behaviors. SpecTRA clusters similar observations into compact specifications. We present specifications generated by SpecTRA for neural networks in adaptive bit rate and congestion control algorithms. Our specifications show evidence of being correct and matching intuition. Moreover, we use our specifications to show several unknown vulnerabilities of the SOTA models for computer systems.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 16 of its 56 references that are in the map. First posted on arXiv 4 Dec 2024.
Builds on
16 of 56 references.
References · 16
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2013Intriguing properties of neural networkscited by 5,114
- 2017Reluplex: An Efficient SMT Solver for Verifying Deep Neural Networkscited by 739
- 2020Fast and Complete: Enabling Complete Neural Network Verification with Rapid and Massively Parallel Incomplete Verifierscited by 183
- 2018Learning Scheduling Algorithms for Data Processing Clusterscited by 133
- 2022Complete Verification via Multi-Neuron Relaxation Guided Branch-and-Boundcited by 92
- 2017Robust Physical-World Attacks on Deep Learning Modelscited by 70
- 2024Enchanting Program Specification Synthesis by Large Language Models using Static Analysis and Program Verificationcited by 55
- 2018Ithemal: Accurate, Portable and Fast Basic Block Throughput Estimation using Deep Neural Networkscited by 43
- 2020Robustness Certification of Generative Modelscited by 19
- 2022Scalable Verification of GNN-based Job Schedulerscited by 18
- 2022Provable Defense Against Geometric Transformationscited by 14
4 more
- 2022Towards Reliable Neural Specificationscited by 12
- 2020When Machine Learning Meets Congestion Control: A Survey and Comparisoncited by 7
- 2021Neural Network Branch-and-Bound for Neural Network Verificationcited by 6
- 2023COMET: Neural Cost Model Explanation Frameworkcited by 1
Built on by
Not cited yet.