Mathematical Reasoning in Latent Space

09/26/2019
by   Dennis Lee, et al.
34

We design and conduct a simple experiment to study whether neural networks can perform several steps of approximate reasoning in a fixed dimensional latent space. The set of rewrites (i.e. transformations) that can be successfully performed on a statement represents essential semantic features of the statement. We can compress this information by embedding the formula in a vector space, such that the vector associated with a statement can be used to predict whether a statement can be rewritten by other theorems. Predicting the embedding of a formula generated by some rewrite rule is naturally viewed as approximate reasoning in the latent space. In order to measure the effectiveness of this reasoning, we perform approximate deduction sequences in the latent space and use the resulting embedding to inform the semantic features of the corresponding formal statement (which is obtained by performing the corresponding rewrite sequence using real formulas). Our experiments show that graph neural networks can make non-trivial predictions about the rewrite-success of statements, even when they propagate predicted latent representations for several steps. Since our corpus of mathematical formulas includes a wide variety of mathematical disciplines, this experiment is a strong indicator for the feasibility of deduction in latent space in general.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/05/2019

Image2StyleGAN: How to Embed Images Into the StyleGAN Latent Space?

We propose an efficient algorithm to embed a given image into the latent...
research
12/06/2018

Traversing Latent Space using Decision Ferns

The practice of transforming raw data to a feature space so that inferen...
research
08/30/2023

On the Potential of CLIP for Compositional Logical Reasoning

In this paper we explore the possibility of using OpenAI's CLIP to perfo...
research
02/11/2022

Multi-level Latent Space Structuring for Generative Control

Truncation is widely used in generative models for improving the quality...
research
10/08/2018

Towards the Latent Transcriptome

In this work we propose a method to compute continuous embeddings for km...
research
07/20/2021

Semantic Reasoning with Differentiable Graph Transformations

This paper introduces a differentiable semantic reasoner, where rules ar...
research
04/26/2023

Effect of latent space distribution on the segmentation of images with multiple annotations

We propose the Generalized Probabilistic U-Net, which extends the Probab...

Please sign up or login with your details

Forgot password? Click here to reset