Geometric Reasoning in the Embedding Space

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Hůla, Jan, Mojžíšek, David, Janeček, Jiří, Herel, David, Janota, Mikoláš
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866917300904394752
author Hůla, Jan
Mojžíšek, David
Janeček, Jiří
Herel, David
Janota, Mikoláš
author_facet Hůla, Jan
Mojžíšek, David
Janeček, Jiří
Herel, David
Janota, Mikoláš
contents In this contribution, we demonstrate that Graph Neural Networks and Transformers can learn to reason about geometric constraints. We train them to predict spatial position of points in a discrete 2D grid from a set of constraints that uniquely describe hidden figures containing these points. Both models are able to predict the position of points and interestingly, they form the hidden figures described by the input constraints in the embedding space during the reasoning process. Our analysis shows that both models recover the grid structure during training so that the embeddings corresponding to the points within the grid organize themselves in a 2D subspace and reflect the neighborhood structure of the grid. We also show that the Graph Neural Network we design for the task performs significantly better than the Transformer and is also easier to scale.
format Preprint
id arxiv_https___arxiv_org_abs_2504_02018
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Geometric Reasoning in the Embedding Space
Hůla, Jan
Mojžíšek, David
Janeček, Jiří
Herel, David
Janota, Mikoláš
Machine Learning
In this contribution, we demonstrate that Graph Neural Networks and Transformers can learn to reason about geometric constraints. We train them to predict spatial position of points in a discrete 2D grid from a set of constraints that uniquely describe hidden figures containing these points. Both models are able to predict the position of points and interestingly, they form the hidden figures described by the input constraints in the embedding space during the reasoning process. Our analysis shows that both models recover the grid structure during training so that the embeddings corresponding to the points within the grid organize themselves in a 2D subspace and reflect the neighborhood structure of the grid. We also show that the Graph Neural Network we design for the task performs significantly better than the Transformer and is also easier to scale.
title Geometric Reasoning in the Embedding Space
topic Machine Learning
url https://arxiv.org/abs/2504.02018