Saved in:
Bibliographic Details
Main Authors: Wetzel, Sebastian J., Patel, Zakaria
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2409.05305
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915515315781632
author Wetzel, Sebastian J.
Patel, Zakaria
author_facet Wetzel, Sebastian J.
Patel, Zakaria
contents It has been demonstrated that artificial neural networks like autoencoders or Siamese networks encode meaningful concepts in their latent spaces. However, there does not exist a comprehensive framework for retrieving this information in a human-readable form without prior knowledge. In quantitative disciplines concepts are typically formulated as equations. Hence, in order to extract these concepts, we introduce a framework for finding closed-form interpretations of neurons in latent spaces of artificial neural networks. The interpretation framework is based on embedding trained neural networks into an equivalence class of functions that encode the same concept. We interpret these neural networks by finding an intersection between the equivalence class and human-readable equations defined by a symbolic search space. Computationally, this framework is based on finding a symbolic expression whose normalized gradients match the normalized gradients of a specific neuron with respect to the input variables. The effectiveness of our approach is demonstrated by retrieving invariants of matrices and conserved quantities of dynamical systems from latent spaces of Siamese neural networks.
format Preprint
id arxiv_https___arxiv_org_abs_2409_05305
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Closed-Form Interpretation of Neural Network Latent Spaces with Symbolic Gradients
Wetzel, Sebastian J.
Patel, Zakaria
Machine Learning
Artificial Intelligence
It has been demonstrated that artificial neural networks like autoencoders or Siamese networks encode meaningful concepts in their latent spaces. However, there does not exist a comprehensive framework for retrieving this information in a human-readable form without prior knowledge. In quantitative disciplines concepts are typically formulated as equations. Hence, in order to extract these concepts, we introduce a framework for finding closed-form interpretations of neurons in latent spaces of artificial neural networks. The interpretation framework is based on embedding trained neural networks into an equivalence class of functions that encode the same concept. We interpret these neural networks by finding an intersection between the equivalence class and human-readable equations defined by a symbolic search space. Computationally, this framework is based on finding a symbolic expression whose normalized gradients match the normalized gradients of a specific neuron with respect to the input variables. The effectiveness of our approach is demonstrated by retrieving invariants of matrices and conserved quantities of dynamical systems from latent spaces of Siamese neural networks.
title Closed-Form Interpretation of Neural Network Latent Spaces with Symbolic Gradients
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2409.05305