Prophecy: Inferring Formal Properties from Neuron Activations

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Gopinath, Divya, Pasareanu, Corina S., Usman, Muhammad
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866915994528645120
author Gopinath, Divya
Pasareanu, Corina S.
Usman, Muhammad
author_facet Gopinath, Divya
Pasareanu, Corina S.
Usman, Muhammad
contents We present Prophecy, a tool for automatically inferring formal properties of feed-forward neural networks. Prophecy is based on the observation that a significant part of the logic of feed-forward networks is captured in the activation status of the neurons at inner layers. Prophecy works by extracting rules based on neuron activations (values or on/off statuses) as preconditions that imply certain desirable output property, e.g., the prediction being a certain class. These rules represent network properties captured in the hidden layers that imply the desired output behavior. We present the architecture of the tool, highlight its features and demonstrate its usage on different types of models and output properties. We present an overview of its applications, such as inferring and proving formal explanations of neural networks, compositional verification, run-time monitoring, repair, and others. We also show novel results highlighting its potential in the era of large vision-language models.
format Preprint
id arxiv_https___arxiv_org_abs_2509_21677
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Prophecy: Inferring Formal Properties from Neuron Activations
Gopinath, Divya
Pasareanu, Corina S.
Usman, Muhammad
Machine Learning
Software Engineering
We present Prophecy, a tool for automatically inferring formal properties of feed-forward neural networks. Prophecy is based on the observation that a significant part of the logic of feed-forward networks is captured in the activation status of the neurons at inner layers. Prophecy works by extracting rules based on neuron activations (values or on/off statuses) as preconditions that imply certain desirable output property, e.g., the prediction being a certain class. These rules represent network properties captured in the hidden layers that imply the desired output behavior. We present the architecture of the tool, highlight its features and demonstrate its usage on different types of models and output properties. We present an overview of its applications, such as inferring and proving formal explanations of neural networks, compositional verification, run-time monitoring, repair, and others. We also show novel results highlighting its potential in the era of large vision-language models.
title Prophecy: Inferring Formal Properties from Neuron Activations
topic Machine Learning
Software Engineering
url https://arxiv.org/abs/2509.21677