arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.02018cs.LG
收藏

嵌入空间中的几何推理

Geometric Reasoning in the Embedding Space

University of Ostrava(奥斯特拉瓦大学);Czech Technical University in Prague(布拉格捷克技术大学)

Jan Hůla, David Mojžíšek, Jiří Janeček, David Herel, Mikoláš Janota

AI总结:

本文提出通过图神经网络和变换器在嵌入空间中进行几何推理,证明其能有效恢复网格结构并优于变换器。

摘要:

在本研究中,我们证明图神经网络和变换器能够学习对几何约束进行推理。我们训练它们从一组唯一描述包含这些点的隐藏图形的约束中,预测离散2D网格中点的空间位置。两种模型都能预测点的位置,并且有趣的是,在推理过程中,它们在嵌入空间中形成了由输入约束描述的隐藏图形。我们的分析显示,两种模型在训练过程中恢复了网格结构,使得网格内点的嵌入表示组织成二维子空间,并反映了网格的邻近结构。我们还展示了为该任务设计的图神经网络在性能上显著优于变换器,且更容易扩展。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑