Closed-Form Interpretation of Neural Network Latent Spaces with Symbolic Gradients

Sebastian J. Wetzel, Zakaria Patel
9/9/2024
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

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.

Show full abstract

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.

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. Any repos shown below are weak matches — 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{wetzel2024closedform,
  title  = {Closed-Form Interpretation of Neural Network Latent Spaces with Symbolic Gradients},
  author = {Sebastian J. Wetzel and Zakaria Patel},
  year   = {2024},
  eprint = {2409.05305},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.05305v4}
}

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/2409.05305.svg)](https://codeofpaper.com/paper/2409.05305)

Discussion