Query embedding (QE) -- which aims to embed entities and first-order logical (FOL) queries in low-dimensional spaces -- has shown great power in multi-hop reasoning over knowledge graphs. Recently, embedding entities and queries with geometric shapes becomes a promising direction, as geometric shapes can naturally represent answer sets of queries and logical relationships among them. However, existing geometry-based models have difficulty in modeling queries with negation, which significantly limits their applicability. To address this challenge, we propose a novel query embedding model, namely Cone Embeddings (ConE), which is the first geometry-based QE model that can handle all the FOL operations, including conjunction, disjunction, and negation. Specifically, ConE represents entities and queries as Cartesian products of two-dimensional cones, where the intersection and union of cones naturally model the conjunction and disjunction operations. By further noticing that the closure of complement of cones remains cones, we design geometric complement operators in the embedding space for the negation operations. Experiments demonstrate that ConE significantly outperforms existing state-of-the-art methods on benchmark datasets.
翻译:查询嵌入 (QE) 旨在将实体和一阶逻辑查询嵌入低维空间,旨在将实体和第一阶逻辑查询嵌入低维空间) 展示出对知识图形的多视推理的强大力量。 最近, 嵌入实体和以几何形状进行查询会成为一个大有希望的方向, 因为几何形状自然可以代表答案组和它们之间的逻辑关系。 但是, 现有的基于几何的模型很难用否定来模拟查询, 这大大限制了它们的适用性。 为了应对这一挑战, 我们提议了一个新的查询嵌入模型, 即Cone Embedings (ConE), 这是第一个基于几何的 QE 模型, 能够处理所有 FOL 操作, 包括连接、 断开和否定。 具体地说, ConE 代表实体和查询作为两维连接的Cartetisian 产品, 其中的连接和连接自然模拟连接和分离操作。 进一步注意到, 连接的连接仍然是同系的连接, 我们设计嵌入空间用于否定操作的嵌入空间的地理补充操作操作。 实验显示Con- 大大超越了现有数据基准方法。