<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Low-dimensional Knowledge Graph Embedding based on Extended Poincare Ball: Preliminary Results ?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Xingchen Zhou</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Zhe Pan</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Peng Wang</string-name>
          <email>pwangg@seu.edu.cn</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>School of Computer Science and Engineering, Southeast University</institution>
          ,
          <addr-line>Nanjing</addr-line>
          ,
          <country country="CN">China</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Most existing knowledge graph embedding (KGE) methods are built on Euclidean space, which are di cult to handle hierarchical structures. While hyperbolic embedding methods have shown the promise of high delity and concise representation for hierarchical data, logical patterns in knowledge graphs (KGs) are not considered well in current methods. To address this problem, we propose a novel KGE model with extended Poincare Ball and polar coordinate system to capture hierarchical structures. It rst uses the tangent space and exponential transformation to initialize and map the corresponding vectors to the Poincare Ball in hyperbolic space. Then, to solve the boundary conditions, the Poincare Ball boundary is stretched and zoomed by expanding the modulus length. Moreover, it is optimized by using polar coordinate and changing operators in the extended Poincare Ball. Experimental results of link prediction on WN18RR and FB15k-237 datasets show that our model outperforms state-of-the-art baselines.</p>
      </abstract>
      <kwd-group>
        <kwd>Knowledge graph embedding</kwd>
        <kwd>Extended Poincare Ball</kwd>
        <kwd>Hyperbolic space</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>Since knowledge graphs (KGs) are usually incomplete, predicting missing links
in KGs via knowledge graph embedding (KGE) into vector spaces becomes more
and more important. Hierarchical structures are common in KGs and used to
manage the relations and concepts. However, existing KGE methods often
encounter challenges dealing with hierarchical structures, because it is notably
di cult for models built on Euclidean space to preserve hierarchical structures.</p>
      <p>
        Recent works proposed hyperbolic representation learning [
        <xref ref-type="bibr" rid="ref2 ref6">2, 6</xref>
        ]. In KGs,
hierarchical relationships between entities can be approximated as a tree structure,
while the number of entities in each layer increases exponentially with depth of
tree increasing. Such a knowledge structure can be well represented with the
Poincare Ball [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. However, even most hyperbolic KGE models employ Poincare
Ball to embed the structures, they still su er from limitations of restricted
capacity and oating-point precision when majority of entities are embedded near
by the boundary of Poincare Ball due to long-tail distribution.
      </p>
      <p>
        To address these issues, we propose a novel hyperbolic knowledge
embedding method, which employs the extended Poincare Ball for KGE and captures
hierarchical structures with polar coordinate system [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Model</title>
      <p>
        The principle of our model is shown in Fig. 1. In order to learn hierarchical
hyperbolic embeddings to represent logical patterns such as symmetry and
antisymmetry while preserving latent hierarchies, our model uses polar coordinate to
encode logical patterns with hierarchies in hyperbolic space as shown in Fig. 1(a).
Due to the advantages of Poincare Ball for gradient optimization [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], our model
rst initials embedding in Poincare Ball. However, the capacity of Poincare Ball
model is restricted by oating-point precision when majority of points locate
near the boundary due to long-tail distribution. To release this limitation, our
method expands the boundary into in nite to increase capacity of model and
adjust some operators to align with Euclidean geometry, which rede nes the
distance dB(u; v) and can be shown in Fig. 1(b).
v1
v'1
v2
      </p>
      <p>v'2</p>
      <p>PoincaréBall
Extended PoincaréBall</p>
      <p>N
T</p>
      <p>B
v1
v2
Tangent Space
Hyperbolic Space
v1
v'1
v2</p>
      <p>v'2</p>
      <p>PoincaréBall
Extended PoincaréBall</p>
      <p>N
T</p>
      <p>B
v1
v2
Tangent Space
Hyperbolic Space
(a) Hyperbolic Space.</p>
      <p>(b) Extended Poincare Ball.</p>
      <p>
        In Poincare Ball, the whole space is symmetric along the center but the
apparent Euclidean distance from the origin to any point is not equal to the
hyperbolic distance [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. To make the apparent distance consistent with the actual
hyperbolic distance, we establish a new model called the extended Poincare Ball
to ensure the distance from any point to the center is equal to which in hyperbolic
space. Suppose that the polar coordinates of any point in the original coordinate
system (Poincare disk) is(r; ), and that in the new space is (2tanh 1r; ). In
this way, the radius of ball space is in nite. Therefore, points near the boundary
are extremely compressed in Poincare Ball while there is no such problem in the
extended one. Meanwhile, it can be proved that Hyperbolic Cosine Theorem still
holds for the operators in extended Poincare Ball: cosh(c) = cosh(a)cosh(b)
sinh(a)sinh(b) cos (a; b; c stand for the geodesic distance of triangle and
stands for the angle between a; b). Extended Poincare Ball and Poincare Ball
share the same distance form when calculated by cosine theorem as well.
      </p>
      <p>
        Furthermore, inspired by the Hyperbolic Cosine Theorem, in which the
hyperbolic distance can be composed of modulus and angle, we use polar
coordinates to embed KGs into the extended Poincare Ball. The score function can be
formed as two parts: polar radius (h; r; t) and polar angle ( h; r; t) as follow:
(1)
(3)
drB = k2 tanh-1((R
c h) c (r c t))k2
(2)
where h; r; t stand for hyperbolic embeddings of head entity, relation, and tail
entity, respectively. R stands for relation matrix in hyperbolic space inspired by
MuRP [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. As stated in the property of extended Poincare Ball, we classify the
embedding levels of di erent entities by Euclidean Norm.
      </p>
      <p>
        Considering convergence and e ciency, we can simplify and obtain the polar
angle as: = j j 0jj. Consequently, a point xB in polar coordinate
system can be calculated in TransE form [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] as:
dB =
      </p>
      <p>
        drB + d B
where ; is the weights to be learned. The whole function shares the similar
way as works proposed by Federico [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] which does not satisfy Cauchy inequality.
      </p>
      <p>It is worth noting that the radius part plays an essential role in levels of
entities in extended Poincare Ball, and the angle aims to distinguish entities in
the same level. Therefore, we formulate the polar radius with Mobius addition
and multiplication as follow:
d B = k( h + r
t)mod2 k</p>
      <p>
        From another perspective, angle parts can be replaced with radius parts
by Cosine Theorem in hyperbolic space. However, to better capture complex
relation such as symmetry, anti-symmetry, inversion and composition, it is
necessary to utilize extra angle part for downstream tasks like link predictions. On
the other hand, the introduction of angle part can simulate the rotation in
RotatE [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. Theoretically, any algebraic system hold the fundamental properties of
congruence can be used as angle part in the model when embedding complex
relations. Take angles as an example, suppose that a relation r 2 [0; 2 ) is close to
, then a symmetric relation can be formed as ( h + r + r) mod 2 = h mod 2
with arbitrary h and 6= for asymmetric relations.
      </p>
      <p>
        Since the Poincare Ball has a Riemannian manifold structure, we optimize
radius parameters with stochastic Riemannian optimization methods such as
RSGD or RSVRG [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Let rE denote the Euclidean gradient of L(P ). Using
RSGD, the Riemannian gradient can be computed as rR =
summary, the full update for a single embedding is calculated by:
P t+1 = P t
t
1
kP tk
4
where p is the probability distribution of sampling negative triples, and
temperature of sampling.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>Experiments</title>
      <p>To evaluate our approach, we choose the widely used KG datasets: WN18RR
and FB15K-237. The evaluation metrics are: (1) mean reciprocal rank (MRR),
which measures the mean of inverse ranks assigned to correct entities; and (2) hits
at K (H@K, K 2 1, 10), which measures the proportion of correct triples among
the top-K predicted triples. Table 1 summarizes the experimental results of
di erent models on the task of KG link prediction. It can be seen that our method
achieves the state-of-the-art results on both datasets, which demonstrates the
e ciency of our model.
(4)
(5)
(6)
is the</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Abramowicz</surname>
            ,
            <given-names>M.A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bengtsson</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Karas</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosquist</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>Poincare ball embeddings of the optical geometry</article-title>
          .
          <source>Classical and Quantum Gravity</source>
          <volume>19</volume>
          (
          <issue>15</issue>
          ),
          <volume>3963</volume>
          (
          <year>2002</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Balazevic</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Allen</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>M. Hospedales</surname>
          </string-name>
          , T.:
          <article-title>Multi-relational poincare graph embeddings</article-title>
          .
          <source>In: Proceedings of the 33rd NIPS</source>
          . pp.
          <volume>4463</volume>
          {
          <issue>4473</issue>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Bonnabel</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Stochastic gradient descent on riemannian manifolds</article-title>
          .
          <source>IEEE Transactions on Automatic Control</source>
          <volume>58</volume>
          (
          <issue>9</issue>
          ),
          <volume>2217</volume>
          {
          <fpage>2229</fpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Bordes</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Usunier</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Garcia-Duran</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          , et al:
          <article-title>Translating embeddings for modeling multi-relational data</article-title>
          .
          <source>In: Proceedings of the 26th NIPS</source>
          . pp.
          <volume>1</volume>
          {
          <issue>9</issue>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Chami</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ying</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Re</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          , et al:
          <article-title>Hyperbolic graph convolutional neural networks</article-title>
          .
          <source>In: Proceedings of the 33rd NIPS</source>
          . pp.
          <volume>4869</volume>
          {
          <issue>4880</issue>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Kolyvakis</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kalousis</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kiritsis</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          : Hyperkg:
          <article-title>Hyperbolic knowledge graph embeddings for knowledge base completion</article-title>
          . CoRR abs/
          <year>1908</year>
          .04895 (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Lopez</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Heinzerling</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Strube</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Fine-grained entity typing in hyperbolic space</article-title>
          .
          <source>In: Proceedings of the 4th RepL4NLP</source>
          . pp.
          <volume>169</volume>
          {
          <issue>180</issue>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Sun</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Deng</surname>
            ,
            <given-names>Z.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nie</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          , et al:
          <article-title>Rotate: Knowledge graph embedding by relational rotation in complex space</article-title>
          .
          <source>In: Proceedings of the 7th ICLR</source>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Ungar</surname>
            ,
            <given-names>A.A.</given-names>
          </string-name>
          :
          <article-title>Hyperbolic trigonometry and its application in the poincare ball model of hyperbolic geometry</article-title>
          .
          <source>Computers and Mathematics with Applications</source>
          <volume>41</volume>
          (
          <issue>1</issue>
          ),
          <volume>135</volume>
          {
          <fpage>147</fpage>
          (
          <year>2001</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Yang</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yih</surname>
          </string-name>
          , W.t.,
          <string-name>
            <surname>He</surname>
            ,
            <given-names>X.</given-names>
          </string-name>
          , et al:
          <article-title>Embedding entities and relations for learning and inference in knowledge bases</article-title>
          .
          <source>In: Proceedings of the 3rd ICLR</source>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>