Specification Generation for Neural Networks in Systems

Isha Chaudhary, Shuyi Lin, Cheng Tan, Gagandeep Singh
12/4/2024
cs.AIeess.SY

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{chaudhary2024specification,
  title  = {Specification Generation for Neural Networks in Systems},
  author = {Isha Chaudhary and Shuyi Lin and Cheng Tan and Gagandeep Singh},
  year   = {2024},
  eprint = {2412.03028},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.03028v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.03028.svg)](https://codeofpaper.com/paper/2412.03028)

Discussion