RelBall: Relation Ball with Quaternion Rotation for Knowledge Graph Completion

arXiv cs.AI Papers

Summary

Proposes RelBall, a KGC model that extends Rotate3D with modulus transformation for modeling hierarchies and a tail-centric relation ball to handle one-to-many relations, achieving competitive link prediction performance.

arXiv:2606.27967v1 Announce Type: new Abstract: Real-world knowledge graphs are often incomplete, lacking many valid facts. Knowledge Graph Completion (KGC) aims to predict missing links using known triples, thereby enhancing graph coverage. A key challenge is modeling diverse relational patterns such as symmetry, antisymmetry, inversion, composition and semantic hierarchy. Existing models such as RotatE can capture symmetric, antisymmetric, inverse, and commutative composition patterns, yet struggle with non-commutative composition. Rotate3D addresses this by introducing non-commutativity via three-dimensional rotations, but still fails to capture the semantic hierarchies prevalent in knowledge graphs. Moreover, both models cannot effectively model one-to-many relations. To overcome these limitations, we propose RelBall, which extends Rotate3D with two innovations. First, our model introduces modulus transformation to model hierarchies, driving abstract concepts toward smaller moduli and concrete instances toward larger ones. Second, it introduces a tail-centric relation ball to model one-to-one, one-to-many, many-to-one, and many-to-many relations. RelBall offers the following advantages: (1) coverage of all relational patterns, including the ones mentioned above; (2) an interpretable hierarchical representation where the modulus directly reflect semantic levels; (3) support for one-to-one, one-to-many, many-to-one, and many-to-many relations. Experiments on multiple datasets demonstrate RelBall's competitive link prediction performance against various baselines.
Original Article
View Cached Full Text

Cached at: 06/29/26, 05:28 AM

# RelBall: Relation Ball with Quaternion Rotation for Knowledge Graph Completion
Source: [https://arxiv.org/html/2606.27967](https://arxiv.org/html/2606.27967)
11institutetext:South China Normal University, Guangzhou, China###### Abstract

Real\-world knowledge graphs are often incomplete, lacking many valid facts\. Knowledge Graph Completion \(KGC\) aims to predict missing links using known triples, thereby enhancing graph coverage\. A key challenge is modeling diverse relational patterns such as symmetry, antisymmetry, inversion, composition and semantic hierarchy\. Existing models such as RotatE can capture symmetric, antisymmetric, inverse, and commutative composition patterns, yet struggle with non\-commutative composition\. Rotate3D addresses this by introducing non\-commutativity via three\-dimensional rotations, but still fails to capture the semantic hierarchies prevalent in knowledge graphs\. Moreover, both models cannot effectively model one\-to\-many relations\. To overcome these limitations, we propose RelBall, which extends Rotate3D with two innovations\. First, our model introduces modulus transformation to model hierarchies, driving abstract concepts toward smaller moduli and concrete instances toward larger ones\. Second, it introduces a tail\-centric relation ball to model one\-to\-one, one\-to\-many, many\-to\-one, and many\-to\-many relations\. RelBall offers the following advantages: \(1\) coverage of all relational patterns, including the ones mentioned above; \(2\) an interpretable hierarchical representation where the modulus directly reflect semantic levels; \(3\) support for one\-to\-one, one\-to\-many, many\-to\-one, and many\-to\-many relations\. Experiments on multiple datasets demonstrate RelBall’s competitive link prediction performance against various baselines\.

## 1Introduction

Knowledge graphs \(KGs\) represent real\-world facts as triples \(head entity, relation, tail entity\) and are widely used in tasks such as question answering and recommendation systems\[[7](https://arxiv.org/html/2606.27967#bib.bib9)\]\. However, KGs are often incomplete, with many missing links that degrade downstream performance\. Knowledge Graph Completion \(KGC\) has thus emerged to predict missing entities or relations, improving KG coverage and accuracy\.

Knowledge Graph Embedding \(KGE\) is a prevalent KGC approach that maps entities and relations into a low\-dimensional vector space while preserving their structural and semantic information\. KGE methods can be categorized into geometric transformations, tensor decompositions, and neural networks\. Among these, geometric transformation models have drawn considerable attention due to their parameter efficiency, fast convergence, and high interpretability\.

Relations in knowledge graphs exhibit diverse patterns, including symmetry, antisymmetry, inversion, and composition\. Composition relations can be further divided into commutative and non\-commutative types\. For instance, “wife’s father” and “father’s wife” refer to father\-in\-law and mother, respectively—their meanings depend on composition order, underscoring the importance of non\-commutativity\. While models like TransE and RotatE handle commutative composition well, they struggle with non\-commutative cases and often fail to distinguish queries with different composition orders\.

Quaternion space, as a hypercomplex space, naturally captures 3D rotational transformations with greater flexibility\. Models such as QuatE\[[18](https://arxiv.org/html/2606.27967#bib.bib1)\], QuatRE\[[8](https://arxiv.org/html/2606.27967#bib.bib12)\], and Rotate3D\[[6](https://arxiv.org/html/2606.27967#bib.bib8)\]employ quaternions for relational rotation and achieve strong completion performance\. However, these methods typically use quaternions solely for modeling relation directions, overlooking the expressive power of the modulus\. This limitation makes it difficult to capture the hierarchical structures common in knowledge graphs\. Moreover, prior rotation\-based models such as RotatE and Rotate3D often assume one\-to\-one mappings and cannot effectively model one\-to\-many, many\-to\-one, or many\-to\-many relations, which are prevalent in real\-world KGs\.

To address these limitations, we propose RelBall, a hierarchy\-aware knowledge graph embedding model based on quaternion rotation and modulus scaling\. RelBall introduces two key innovations\. First, it performs rotations in quaternion space to model relational patterns while adjusting hierarchical distances via modulus scaling, enabling simultaneous capture of both semantic hierarchy and relational direction\. Second, it introduces a tail\-centric relation ball that maps entities onto ball centered at the tail entity, allowing the model to naturally handle one\-to\-one, one\-to\-many, many\-to\-one, and many\-to\-many relations without additional parameters\. The main contributions are as follows:

1. 1\.Semantic Hierarchy Modeling:Combines quaternion rotation with modulus scaling to model hierarchical relations\. Theoretical analysis proves that the modulus directly reflects semantic level, where higher\-level entities converge toward smaller moduli and lower\-level entities toward larger ones, aligning with human cognitive abstraction\.
2. 2\.Advantages of 3D Rotations:Leverages quaternions for three\-dimensional rotations, avoiding the gimbal lock problem of Euler angles and providing a more stable and expressive rotation representation\.
3. 3\.Relation Ball for Complex Mappings:Introduces a tail\-centric relation ball that enables flexible modeling of one\-to\-one, one\-to\-many, many\-to\-one, and many\-to\-many relations, overcoming a key limitation of prior rotation\-based models\.
4. 4\.Empirical Results:Experiments on two standard benchmarks demonstrate RelBall’s advantages in both hierarchical relation modeling and link prediction against competitive baselines\.

This paper is organized as follows\. Section[2](https://arxiv.org/html/2606.27967#S2)reviews related work on knowledge graph embedding and hierarchical relation modeling\. Section[3](https://arxiv.org/html/2606.27967#S3)covers preliminaries on quaternion rotation and Rotate3D\. Section[4](https://arxiv.org/html/2606.27967#S4)presents the RelBall model along with its theoretical analysis\. Section[5](https://arxiv.org/html/2606.27967#S5)reports experimental results and discussion\. Section[6](https://arxiv.org/html/2606.27967#S6)concludes the paper\.

## 2Related Work

### 2\.1Knowledge Graph Embedding Methods

Knowledge graph embedding methods can be grouped into three categories based on their modeling approach: geometric transformation models, tensor decomposition models, and neural network models\.

Geometric transformation modelstreat relations as geometric operations in the embedding space\. Translation\-based models like TransE\[[4](https://arxiv.org/html/2606.27967#bib.bib5)\]view relations as translations from head to tail entities but struggle with complex relations patterns\. Rotation\-based models like RotatE\[[12](https://arxiv.org/html/2606.27967#bib.bib15)\]introduce rotational operations in complex space, capable of modeling symmetric, inverse, and other relations; QuatE\[[18](https://arxiv.org/html/2606.27967#bib.bib1)\]extends this to quaternion hypercomplex space, and HRotatE\[[11](https://arxiv.org/html/2606.27967#bib.bib14)\]further introduces hierarchy\-aware rotations\. Hyperbolic geometry models like MuRP\[[2](https://arxiv.org/html/2606.27967#bib.bib3)\]and HAKE\[[19](https://arxiv.org/html/2606.27967#bib.bib20)\]utilize the exponential growth property of hyperbolic space to model hierarchical structures\. BoxE\[[1](https://arxiv.org/html/2606.27967#bib.bib2)\]uses box regions to represent entities and relations, modeling complex relations patterns\.

Tensor decomposition modelstreat the knowledge graph as a third\-order tensor for decomposition\. DistMult\[[16](https://arxiv.org/html/2606.27967#bib.bib19)\]uses diagonal matrices for simplified decomposition but can only handle symmetric relations; ComplEx\[[14](https://arxiv.org/html/2606.27967#bib.bib17)\]introduces complex embeddings, effectively modeling asymmetric relations\.

Neural network modelsleverage deep networks to learn interaction features between entities and relations\. ConvE\[[5](https://arxiv.org/html/2606.27967#bib.bib7)\]uses 2D convolutions to learn embedding interactions; A2N\[[3](https://arxiv.org/html/2606.27967#bib.bib4)\]introduces attention mechanisms for neighbor aggregation\.

### 2\.2Hierarchical Relation Modeling

Modeling hierarchical relations is crucial in knowledge graph embedding\. Early methods like TransE\[[4](https://arxiv.org/html/2606.27967#bib.bib5)\]struggle with this because translation cannot capture semantic distance variations\. HAKE\[[19](https://arxiv.org/html/2606.27967#bib.bib20)\]uses the magnitude in plane polar coordinates to represent semantic hierarchy\.

### 2\.3Quaternions in Representation Learning

Quaternions have also found applications in knowledge graph completion:

QuatE\[[18](https://arxiv.org/html/2606.27967#bib.bib1)\]first introduced quaternions to knowledge graph embeddings, using the Hamilton product for relational rotations\. QuatRE\[[8](https://arxiv.org/html/2606.27967#bib.bib12)\]extended this idea with relation\-aware quaternion transformations\. HRotatE\[[11](https://arxiv.org/html/2606.27967#bib.bib14)\]introduced hierarchy\-aware rotations in quaternion space but still focused on rotation operations\.

## 3Preliminaries

### 3\.1Quaternion Basics

A quaternionqqhas the following form:q=a\+b​i\+c​j\+d​kq=a\+bi\+cj\+dk, wherea,b,c,d∈ℝa,b,c,d\\in\\mathbb\{R\}\. It consists of one real part and three imaginary parts\. Complex numbers can be seen as a special case of quaternions withc=d=0c=d=0\. A quaternion\[[10](https://arxiv.org/html/2606.27967#bib.bib6)\]can also be represented as a scalar\-vector pairq=\[a,𝐮\]q=\[a,\\mathbf\{u\}\], wherea∈ℝa\\in\\mathbb\{R\}and𝐮∈ℝ​i\+ℝ​j\+ℝ​k\\mathbf\{u\}\\in\\mathbb\{R\}i\+\\mathbb\{R\}j\+\\mathbb\{R\}k\.

The imaginary unitsi,j,ki,j,ksatisfy the following rules:

i2=j2=k2=i​j​k=−1i^\{2\}=j^\{2\}=k^\{2\}=ijk=\-1\(1\)
From these rules, the following can be obtained:

i​j=k=−j​i,j​k=i=−k​j,k​i=j=−i​kij=k=\-ji,\\quad jk=i=\-kj,\\quad ki=j=\-ik\(2\)
Based on these equations, the multiplication of two quaternionsq1=\[a1,𝐮1\]q\_\{1\}=\[a\_\{1\},\\mathbf\{u\}\_\{1\}\]andq2=\[a2,𝐮2\]q\_\{2\}=\[a\_\{2\},\\mathbf\{u\}\_\{2\}\]is:

q1​q2=\[a1​a2−𝐮1⋅𝐮2,a1​𝐮2\+a2​𝐮1\+𝐮1×𝐮2\]q\_\{1\}q\_\{2\}=\[a\_\{1\}a\_\{2\}\-\\mathbf\{u\}\_\{1\}\\cdot\\mathbf\{u\}\_\{2\},\\ a\_\{1\}\\mathbf\{u\}\_\{2\}\+a\_\{2\}\\mathbf\{u\}\_\{1\}\+\\mathbf\{u\}\_\{1\}\\times\\mathbf\{u\}\_\{2\}\]\(3\)Importantly, due to the presence of the vector cross product𝐮1×𝐮2\\mathbf\{u\}\_\{1\}\\times\\mathbf\{u\}\_\{2\}, multiplication is non\-commutative:q1​q2≠q2​q1q\_\{1\}q\_\{2\}\\neq q\_\{2\}q\_\{1\}\.

### 3\.2Representing 3D Rotations with Quaternions

Let𝐯∈ℝ3\\mathbf\{v\}\\in\\mathbb\{R\}^\{3\}denote a point or vector in three\-dimensional space\[[6](https://arxiv.org/html/2606.27967#bib.bib8)\]\. To perform rotation operations using quaternions, v is represented as a pure imaginary quaternion with zero real part:

v=\[0,𝐯\]v=\[0,\\mathbf\{v\}\]\(4\)
A rotation is defined by an axis and an angle\. Let𝐮∈ℝ3\\mathbf\{u\}\\in\\mathbb\{R\}^\{3\}be a unit vector representing the direction of the rotation axis, and letθ∈ℝ\\theta\\in\\mathbb\{R\}be the rotation angle\. The corresponding rotation is represented by the unit quaternion:

q=cos⁡θ2\+𝐮​sin⁡θ2=\[cos⁡θ2,sin⁡θ2​𝐮\]q=\\cos\\frac\{\\theta\}\{2\}\+\\mathbf\{u\}\\sin\\frac\{\\theta\}\{2\}=\\left\[\\cos\\frac\{\\theta\}\{2\},\\;\\sin\\frac\{\\theta\}\{2\}\\,\\mathbf\{u\}\\right\]\(5\)This quaternion satisfiesq​q∗=1qq^\{\*\}=1, whereq∗=cos⁡θ2−𝐮​sin⁡θ2q^\{\*\}=\\cos\\frac\{\\theta\}\{2\}\-\\mathbf\{u\}\\sin\\frac\{\\theta\}\{2\}is the conjugate and inverseq−1q^\{\-1\}ofqq\. The rotated vector𝐯′\\mathbf\{v\}^\{\\prime\}is obtained via the following quaternion multiplication:

v′=q​v​q−1v^\{\\prime\}=q\\,v\\,q^\{\-1\}\(6\)withv′=\[0,𝐯′\]v^\{\\prime\}=\[0,\\mathbf\{v\}^\{\\prime\}\]\.

Geometrically, decompose𝐯\\mathbf\{v\}into components parallel and perpendicular to the rotation axis𝐮\\mathbf\{u\}:

v=v∥\+v⟂v=v\_\{\\parallel\}\+v\_\{\\perp\}\(7\)Under the rotationv′=q​v​q−1v^\{\\prime\}=qvq^\{\-1\}, the parallel component𝐯∥\\mathbf\{v\}\_\{\\parallel\}remains unchanged, while the perpendicular component𝐯⟂\\mathbf\{v\}\_\{\\perp\}rotates around𝐮\\mathbf\{u\}by angleθ\\theta\. Therefore, the quaternion multiplicationv′=q​v​q−1v^\{\\prime\}=qvq^\{\-1\}exactly represents a rotation of𝐯\\mathbf\{v\}byθ\\thetaabout the axis𝐮\\mathbf\{u\}\.

### 3\.3Rotate3D Model

Rotate3D\[[6](https://arxiv.org/html/2606.27967#bib.bib8)\]projects entities to𝐡,𝐭∈ℝ3×n\\mathbf\{h\},\\mathbf\{t\}\\in\\mathbb\{R\}^\{3\\times n\}and defines each relation as an element\-wise rotation\. For a triple\(h,r,t\)\(h,r,t\):

t\(i\)=qi​h\(i\)​qi−1t^\{\(i\)\}=q\_\{i\}h^\{\(i\)\}q\_\{i\}^\{\-1\}\(8\)wherei∈\{1,…,n\}i\\in\\\{1,\\ldots,n\\\},h\(i\)=\[0,𝐡\(i\)\]h^\{\(i\)\}=\[0,\\mathbf\{h\}^\{\(i\)\}\],t\(i\)=\[0,𝐭\(i\)\]t^\{\(i\)\}=\[0,\\mathbf\{t\}^\{\(i\)\}\],qi=\[cos⁡θ2,sin⁡θ2​𝐮\]q\_\{i\}=\[\\cos\\frac\{\\theta\}\{2\},\\;\\sin\\frac\{\\theta\}\{2\}\\,\\mathbf\{u\}\], andθ\\thetaand𝐮\\mathbf\{u\}constitute𝐫\(i\)\\mathbf\{r\}^\{\(i\)\}\. For simplicity, this rotation is written as:

𝐭\(i\)=𝐡\(i\)⊙𝐫\(i\)\\mathbf\{t\}^\{\(i\)\}=\\mathbf\{h\}^\{\(i\)\}\\odot\\mathbf\{r\}^\{\(i\)\}\(9\)where⊙:ℝ3×ℝ3→ℝ3\\odot:\\mathbb\{R\}^\{3\}\\times\\mathbb\{R\}^\{3\}\\to\\mathbb\{R\}^\{3\}represents a 3D rotation induced by𝐫\(i\)\\mathbf\{r\}^\{\(i\)\}\. This follows the standard Rotate3D formulation\. The score function is defined as:

fr​\(h,t\)=−∑i=1n‖𝐡\(i\)⊙𝐫\(i\)−𝐭\(i\)‖pf\_\{r\}\(h,t\)=\-\\sum\_\{i=1\}^\{n\}\\\|\\mathbf\{h\}^\{\(i\)\}\\odot\\mathbf\{r\}^\{\(i\)\}\-\\mathbf\{t\}^\{\(i\)\}\\\|\_\{p\}\(10\)where∥⋅∥p\\\|\\cdot\\\|\_\{p\}denotes the L1 norm ifp=1p=1or the L2 norm ifp=2p=2\. Let𝐛∈ℝn\\mathbf\{b\}\\in\\mathbb\{R\}^\{n\}be a relation\-specific bias vector, whereb\(i\)b^\{\(i\)\}denotes itsii\-th component \(a scalar\)\. Then:

fr​\(h,t\)=−∑i=1n‖\(𝐡\(i\)⊙𝐫\(i\)\)⋅b\(i\)−𝐭\(i\)‖pf\_\{r\}\(h,t\)=\-\\sum\_\{i=1\}^\{n\}\\\|\(\\mathbf\{h\}^\{\(i\)\}\\odot\\mathbf\{r\}^\{\(i\)\}\)\\cdot b^\{\(i\)\}\-\\mathbf\{t\}^\{\(i\)\}\\\|\_\{p\}\(11\)Rotate3D primarily focuses on rotational transformations\. Its relation\-specific bias term performs element\-wise multiplication on the rotated vector\. The original Rotate3D paper does not constrain the sign of this bias term\. This paper further imposes a range constraint on the bias\. Geometric modeling and experimental results demonstrate that the constrained bias term captures semantic distances in hierarchical relations\. This capability is not explored in the original Rotate3D paper\.

## 4RelBall Model

### 4\.1Model Formulation

RelBall extends Rotate3D by introducing modulus scaling and a relation ball mechanism\. Let𝐬r,𝝆r∈\(ℝ\+\)n\\mathbf\{s\}\_\{r\},\\boldsymbol\{\\rho\}\_\{r\}\\in\(\\mathbb\{R\}^\{\+\}\)^\{n\}be learnable vectors with componentssr\(i\)s\_\{r\}^\{\(i\)\}andρr\(i\)\\rho\_\{r\}^\{\(i\)\}, respectively, where𝐬r\\mathbf\{s\}\_\{r\}is the scaling factor and𝝆r\\boldsymbol\{\\rho\}\_\{r\}is the radius factor\. The relation ball radius in theii\-th subspace is proportional to the local modulus of the tail entity:

Rr\(i\)=ρr\(i\)​‖𝐭\(i\)‖p,R\_\{r\}^\{\(i\)\}=\\rho\_\{r\}^\{\(i\)\}\\\|\\mathbf\{t\}^\{\(i\)\}\\\|\_\{p\},\(12\)where∥⋅∥p\\\|\\cdot\\\|\_\{p\}is theLpL\_\{p\}\-norm used in Rotate3D\.

The head entity is first scaled then rotated:

𝐭\(i\)=\(sr\(i\)⋅𝐡\(i\)\)⊙𝐫\(i\),\\mathbf\{t\}^\{\(i\)\}=\(s\_\{r\}^\{\(i\)\}\\cdot\\mathbf\{h\}^\{\(i\)\}\)\\odot\\mathbf\{r\}^\{\(i\)\},\(13\)with⊙\\odotdenoting the quaternion rotation defined in Rotate3D\. The scoring function becomes:

fr​\(h,t\)=−∑i=1nmax⁡\(0,‖\(sr\(i\)⋅𝐡\(i\)\)⊙𝐫\(i\)−𝐭\(i\)‖p−Rr\(i\)\)\.f\_\{r\}\(h,t\)=\-\\sum\_\{i=1\}^\{n\}\\max\\bigl\(0,\\\|\(s\_\{r\}^\{\(i\)\}\\cdot\\mathbf\{h\}^\{\(i\)\}\)\\odot\\mathbf\{r\}^\{\(i\)\}\-\\mathbf\{t\}^\{\(i\)\}\\\|\_\{p\}\-R\_\{r\}^\{\(i\)\}\\bigr\)\.\(14\)

### 4\.2Geometric Representation for Semantic Hierarchies and Complex Relations

![Refer to caption](https://arxiv.org/html/2606.27967v1/x1.png)Figure 1:RelBall Model IllustrationThe model leverages radial layering to characterize semantic hierarchies\. Entities with smaller moduli correspond to more abstract concepts, whereas those with larger moduli represent concrete ones\. Complex relations \(1\-to\-1, 1\-to\-N, N\-to\-1, N\-to\-N\) are modeled using relation ball\. Specifically, the transformed head entity is constrained within the ball centered at the tail entity, enabling multiple heads to map to one tail, or a single head to belong to multiple relation ball\. The overall architecture of RelBall is illustrated in Figure[1](https://arxiv.org/html/2606.27967#S4.F1)\.

Combining scaling, rotation and relation ball operations, RelBall jointly learns semantic hierarchies and complex relations\. Concretely, the head entityhhis scaled by factorsrs\_\{r\}, and then matched with the tail entityttthrough quaternion rotation\.

RelBall integrates quaternion rotation, modulus scaling and relation ball into a unified framework\. Rotation captures relational directionality, scaling encodes hierarchical semantics, and relation ball handle complex relations\. This framework offers a full geometric explanation for knowledge graph representation learning\.

### 4\.3Semantic Hierarchy Characteristics

In the RelBall model, hierarchical structures are primarily represented by the modulus scaling factorsrs\_\{r\}, while the relation ball radiusRrR\_\{r\}provides a geometric interpretation of the tolerance boundary for hierarchical mappings\. Specifically:

Whensr<1s\_\{r\}<1, the head entityhhresides at a higher semantic level and the tail entityttat a lower level\. Ifρr\\rho\_\{r\}is small, the ball radiusRrR\_\{r\}is correspondingly small, indicating a precise mapping from higher\-level to lower\-level entities with limited tolerance\. Ifρr\\rho\_\{r\}is large, greater deviation is permitted, reflecting a degree of fuzziness in the hierarchical mapping\.

Whensr=1s\_\{r\}=1, the head and tail entities lie at the same level of abstraction\. In this case, the magnitude ofρr\\rho\_\{r\}determines the tolerance range between same\-level entities: a smallρr\\rho\_\{r\}enforces strict equivalence relations, while a largeρr\\rho\_\{r\}allows for looser semantic similarity\.

Whensr\>1s\_\{r\}\>1, the head entityhhresides at a lower semantic level and the tail entityttat a higher level\. Similarly,ρr\\rho\_\{r\}controls the ball tolerance for mappings from lower\-level to higher\-level entities: a smallρr\\rho\_\{r\}indicates precise hypernym mappings, while a largeρr\\rho\_\{r\}permits fuzzy hypernym relations\.

Furthermore,srs\_\{r\}andRrR\_\{r\}admit a joint interpretation:srs\_\{r\}determines the direction and magnitude of the hierarchical shift, whileRrR\_\{r\}determines the tolerance range of that shift\. Together, they enable RelBall to model both strict hierarchical structures \(smallsrs\_\{r\}deviation with smallρr\\rho\_\{r\}\) and loose hierarchical structures \(largesrs\_\{r\}deviation with largeρr\\rho\_\{r\}\)\.

### 4\.4Modeling Capability of Relation Patterns

RelBall maintains strong modeling capability for relation patterns, representing the following types of relations:

#### 4\.4\.1Symmetric Relations

For a symmetric relation pattern, if\(h,r,t\)∈𝒯\(h,r,t\)\\in\\mathcal\{T\}and\(t,r,h\)∈𝒯\(t,r,h\)\\in\\mathcal\{T\}, then the ball constraints impose:

\{‖t−sr⋅\(qr​h​qr−1\)‖p≤Rr‖h−sr⋅\(qr​t​qr−1\)‖p≤Rr\\begin\{cases\}\\\|t\-s\_\{r\}\\cdot\(q\_\{r\}\\,h\\,q\_\{r\}^\{\-1\}\)\\\|\_\{p\}\\leq R\_\{r\}\\\\\[6\.0pt\] \\\|h\-s\_\{r\}\\cdot\(q\_\{r\}\\,t\\,q\_\{r\}^\{\-1\}\)\\\|\_\{p\}\\leq R\_\{r\}\\end\{cases\}Substituting the first inequality into the second yields:

‖h−sr⋅\(qr​t​qr−1\)‖p\\displaystyle\\\|h\-s\_\{r\}\\cdot\(q\_\{r\}\\,t\\,q\_\{r\}^\{\-1\}\)\\\|\_\{p\}=‖h−sr⋅\(qr​\(sr⋅\(qr​h​qr−1\)\+δ\)​qr−1\)‖p\\displaystyle=\\bigl\\\|h\-s\_\{r\}\\cdot\\bigl\(q\_\{r\}\\,\\bigl\(s\_\{r\}\\cdot\(q\_\{r\}\\,h\\,q\_\{r\}^\{\-1\}\)\+\\delta\\bigr\)\\,q\_\{r\}^\{\-1\}\\bigr\)\\bigr\\\|\_\{p\}=‖h−sr2⋅\(qr2​h​qr−2\)−sr⋅\(qr​δ​qr−1\)‖p\\displaystyle=\\bigl\\\|h\-s\_\{r\}^\{2\}\\cdot\\bigl\(q\_\{r\}^\{2\}\\,h\\,q\_\{r\}^\{\-2\}\\bigr\)\-s\_\{r\}\\cdot\(q\_\{r\}\\,\\delta\\,q\_\{r\}^\{\-1\}\)\\bigr\\\|\_\{p\}≤Rr\\displaystyle\\leq R\_\{r\}where‖δ‖p≤Rr\\\|\\delta\\\|\_\{p\}\\leq R\_\{r\}is the deviation vector \(pure quaternion\) from the first ball constraint\. For this inequality to hold for arbitraryhhwithin the ball tolerance, the core rotation\-scaling condition must be satisfied:

sr2=1andqr2=±1s\_\{r\}^\{2\}=1\\quad\\text\{and\}\\quad q\_\{r\}^\{2\}=\\pm 1Sincesr∈ℝ\+s\_\{r\}\\in\\mathbb\{R\}^\{\+\}, it follows thatsr=1s\_\{r\}=1\. The conditionqr2=±1q\_\{r\}^\{2\}=\\pm 1corresponds to rotation anglesθr∈\{0,π\}\\theta\_\{r\}\\in\\\{0,\\pi\\\}\.

#### 4\.4\.2Antisymmetric Relations

For an antisymmetric relation pattern,\(h,r,t\)∈𝒯⇒\(t,r,h\)∉𝒯\(h,r,t\)\\in\\mathcal\{T\}\\Rightarrow\(t,r,h\)\\notin\\mathcal\{T\}, the ball constraints give:

\{‖t−sr⋅\(qr​h​qr−1\)‖p≤Rr‖h−sr⋅\(qr​t​qr−1\)‖p\>Rr\\begin\{cases\}\\\|t\-s\_\{r\}\\cdot\(q\_\{r\}\\,h\\,q\_\{r\}^\{\-1\}\)\\\|\_\{p\}\\leq R\_\{r\}\\\\\[6\.0pt\] \\\|h\-s\_\{r\}\\cdot\(q\_\{r\}\\,t\\,q\_\{r\}^\{\-1\}\)\\\|\_\{p\}\>R\_\{r\}\\end\{cases\}Expanding the second inequality with the first constraint:

‖h−sr2⋅\(qr2​h​qr−2\)−sr⋅\(qr​δ​qr−1\)‖p\>Rr\\bigl\\\|h\-s\_\{r\}^\{2\}\\cdot\\bigl\(q\_\{r\}^\{2\}\\,h\\,q\_\{r\}^\{\-2\}\\bigr\)\-s\_\{r\}\\cdot\(q\_\{r\}\\,\\delta\\,q\_\{r\}^\{\-1\}\)\\bigr\\\|\_\{p\}\>R\_\{r\}For antisymmetry to be enforced, at least one of the following conditions must hold:

sr2≠1orqr2≠±1s\_\{r\}^\{2\}\\neq 1\\quad\\text\{or\}\\quad q\_\{r\}^\{2\}\\neq\\pm 1

#### 4\.4\.3Composition Relations

For a composition relation pattern, if\(h,r1,t\)∈𝒯\(h,r\_\{1\},t\)\\in\\mathcal\{T\},\(t,r2,z\)∈𝒯\(t,r\_\{2\},z\)\\in\\mathcal\{T\}and\(h,r3,z\)∈𝒯\(h,r\_\{3\},z\)\\in\\mathcal\{T\}, then the ball constraints impose:

\{‖t−sr1⋅\(qr1​h​qr1−1\)‖p≤Rr1‖z−sr2⋅\(qr2​t​qr2−1\)‖p≤Rr2‖z−sr3⋅\(qr3​h​qr3−1\)‖p≤Rr3\\begin\{cases\}\\\|t\-s\_\{r\_\{1\}\}\\cdot\(q\_\{r\_\{1\}\}\\,h\\,q\_\{r\_\{1\}\}^\{\-1\}\)\\\|\_\{p\}\\leq R\_\{r\_\{1\}\}\\\\\[6\.0pt\] \\\|z\-s\_\{r\_\{2\}\}\\cdot\(q\_\{r\_\{2\}\}\\,t\\,q\_\{r\_\{2\}\}^\{\-1\}\)\\\|\_\{p\}\\leq R\_\{r\_\{2\}\}\\\\\[6\.0pt\] \\\|z\-s\_\{r\_\{3\}\}\\cdot\(q\_\{r\_\{3\}\}\\,h\\,q\_\{r\_\{3\}\}^\{\-1\}\)\\\|\_\{p\}\\leq R\_\{r\_\{3\}\}\\end\{cases\}Combining the first two constraints:

z\\displaystyle z=sr2⋅\(qr2​t​qr2−1\)\+δ2\\displaystyle=s\_\{r\_\{2\}\}\\cdot\(q\_\{r\_\{2\}\}\\,t\\,q\_\{r\_\{2\}\}^\{\-1\}\)\+\\delta\_\{2\}=sr2⋅\(qr2​\(sr1⋅\(qr1​h​qr1−1\)\+δ1\)​qr2−1\)\+δ2\\displaystyle=s\_\{r\_\{2\}\}\\cdot\\bigl\(q\_\{r\_\{2\}\}\\,\\bigl\(s\_\{r\_\{1\}\}\\cdot\(q\_\{r\_\{1\}\}\\,h\\,q\_\{r\_\{1\}\}^\{\-1\}\)\+\\delta\_\{1\}\\bigr\)\\,q\_\{r\_\{2\}\}^\{\-1\}\\bigr\)\+\\delta\_\{2\}=\(sr1​sr2\)⋅\(\(qr2​qr1\)​h​\(qr2​qr1\)−1\)\+sr2⋅\(qr2​δ1​qr2−1\)\+δ2\\displaystyle=\(s\_\{r\_\{1\}\}s\_\{r\_\{2\}\}\)\\cdot\\bigl\(\(q\_\{r\_\{2\}\}q\_\{r\_\{1\}\}\)\\,h\\,\(q\_\{r\_\{2\}\}q\_\{r\_\{1\}\}\)^\{\-1\}\\bigr\)\+s\_\{r\_\{2\}\}\\cdot\(q\_\{r\_\{2\}\}\\,\\delta\_\{1\}\\,q\_\{r\_\{2\}\}^\{\-1\}\)\+\\delta\_\{2\}where‖δ1‖p≤Rr1\\\|\\delta\_\{1\}\\\|\_\{p\}\\leq R\_\{r\_\{1\}\}and‖δ2‖p≤Rr2\\\|\\delta\_\{2\}\\\|\_\{p\}\\leq R\_\{r\_\{2\}\}\(both pure quaternions\)\. Forzzto satisfy the third ball constraint, the ideal composition conditions are:

sr3=sr1​sr2andqr3=±qr2​qr1s\_\{r\_\{3\}\}=s\_\{r\_\{1\}\}s\_\{r\_\{2\}\}\\quad\\text\{and\}\\quad q\_\{r\_\{3\}\}=\\pm\\,q\_\{r\_\{2\}\}q\_\{r\_\{1\}\}Furthermore, the ball radii must satisfy a cumulative constraint to accommodate the propagated errors:

Rr3≥sr2⋅Rr1\+Rr2\.R\_\{r\_\{3\}\}\\geq s\_\{r\_\{2\}\}\\cdot R\_\{r\_\{1\}\}\+R\_\{r\_\{2\}\}\.Ifr1r\_\{1\}andr2r\_\{2\}are commutative, then:

qr1​qr2=qr2​qr1q\_\{r\_\{1\}\}q\_\{r\_\{2\}\}=q\_\{r\_\{2\}\}q\_\{r\_\{1\}\}Ifr1r\_\{1\}andr2r\_\{2\}are non\-commutative, then:

qr1​qr2≠qr2​qr1q\_\{r\_\{1\}\}q\_\{r\_\{2\}\}\\neq q\_\{r\_\{2\}\}q\_\{r\_\{1\}\}

#### 4\.4\.4Inverse Relations

For an inverse relation pattern, if\(h,r1,t\)∈𝒯\(h,r\_\{1\},t\)\\in\\mathcal\{T\}and\(t,r2,h\)∈𝒯\(t,r\_\{2\},h\)\\in\\mathcal\{T\}, wherer1r\_\{1\}andr2r\_\{2\}are a pair of inverse relations, the ball constraints impose:

\{‖t−sr1⋅\(qr1​h​qr1−1\)‖p≤Rr1‖h−sr2⋅\(qr2​t​qr2−1\)‖p≤Rr2\\begin\{cases\}\\\|t\-s\_\{r\_\{1\}\}\\cdot\(q\_\{r\_\{1\}\}\\,h\\,q\_\{r\_\{1\}\}^\{\-1\}\)\\\|\_\{p\}\\leq R\_\{r\_\{1\}\}\\\\\[6\.0pt\] \\\|h\-s\_\{r\_\{2\}\}\\cdot\(q\_\{r\_\{2\}\}\\,t\\,q\_\{r\_\{2\}\}^\{\-1\}\)\\\|\_\{p\}\\leq R\_\{r\_\{2\}\}\\end\{cases\}Substituting the first inequality into the second yields:

‖h−sr2⋅\(qr2​t​qr2−1\)‖p\\displaystyle\\\|h\-s\_\{r\_\{2\}\}\\cdot\(q\_\{r\_\{2\}\}\\,t\\,q\_\{r\_\{2\}\}^\{\-1\}\)\\\|\_\{p\}=‖h−sr2⋅\(qr2​\(sr1⋅\(qr1​h​qr1−1\)\+δ1\)​qr2−1\)‖p\\displaystyle=\\bigl\\\|h\-s\_\{r\_\{2\}\}\\cdot\\bigl\(q\_\{r\_\{2\}\}\\,\\bigl\(s\_\{r\_\{1\}\}\\cdot\(q\_\{r\_\{1\}\}\\,h\\,q\_\{r\_\{1\}\}^\{\-1\}\)\+\\delta\_\{1\}\\bigr\)\\,q\_\{r\_\{2\}\}^\{\-1\}\\bigr\)\\bigr\\\|\_\{p\}=‖h−\(sr1​sr2\)⋅\(\(qr2​qr1\)​h​\(qr2​qr1\)−1\)−sr2⋅\(qr2​δ1​qr2−1\)‖p\\displaystyle=\\bigl\\\|h\-\(s\_\{r\_\{1\}\}s\_\{r\_\{2\}\}\)\\cdot\\bigl\(\(q\_\{r\_\{2\}\}q\_\{r\_\{1\}\}\)\\,h\\,\(q\_\{r\_\{2\}\}q\_\{r\_\{1\}\}\)^\{\-1\}\\bigr\)\-s\_\{r\_\{2\}\}\\cdot\(q\_\{r\_\{2\}\}\\,\\delta\_\{1\}\\,q\_\{r\_\{2\}\}^\{\-1\}\)\\bigr\\\|\_\{p\}≤Rr2\\displaystyle\\leq R\_\{r\_\{2\}\}where‖δ1‖p≤Rr1\\\|\\delta\_\{1\}\\\|\_\{p\}\\leq R\_\{r\_\{1\}\}is a pure quaternion deviation\. For this to hold for arbitraryhhwithin the ball tolerance, the core conditions are:

sr1​sr2=1andqr2​qr1=±1s\_\{r\_\{1\}\}s\_\{r\_\{2\}\}=1\\quad\\text\{and\}\\quad q\_\{r\_\{2\}\}q\_\{r\_\{1\}\}=\\pm 1Sincesr1,sr2∈ℝ\+s\_\{r\_\{1\}\},s\_\{r\_\{2\}\}\\in\\mathbb\{R\}^\{\+\}, it follows thatsr2=sr1−1s\_\{r\_\{2\}\}=s\_\{r\_\{1\}\}^\{\-1\}\. The quaternion conditionqr2​qr1=±1q\_\{r\_\{2\}\}q\_\{r\_\{1\}\}=\\pm 1impliesqr2=±qr1−1q\_\{r\_\{2\}\}=\\pm q\_\{r\_\{1\}\}^\{\-1\}, i\.e\., the rotation of the inverse relation is the inverse \(or negative inverse\) of the original rotation\. Additionally, the ball radii must satisfy:

Rr2≥sr2⋅Rr1=sr1−1⋅Rr1\.R\_\{r\_\{2\}\}\\geq s\_\{r\_\{2\}\}\\cdot R\_\{r\_\{1\}\}=s\_\{r\_\{1\}\}^\{\-1\}\\cdot R\_\{r\_\{1\}\}\.

### 4\.5Loss Function and Training

During training, each triple\(h,r,t\)\(h,r,t\)in the training set is treated as a positive sample\. For each positive samples,nnnegative triples\(hi′,r,ti′\)\(h^\{\\prime\}\_\{i\},r,t^\{\\prime\}\_\{i\}\)are constructed by randomly replacing the head or tail entity, ensuring that these negative samples are not present in the training set\. The model is optimized using the negative sampling loss with self\-adversarial training\[[12](https://arxiv.org/html/2606.27967#bib.bib15)\]:

L=−log⁡σ​\(γ−fr​\(h,t\)\)−∑i=1np​\(hi′,r,ti′\)​log⁡σ​\(fr​\(hi′,ti′\)−γ\)\\begin\{split\}L=&\-\\log\\sigma\(\\gamma\-f\_\{r\}\(h,t\)\)\\\\ &\-\\sum\_\{i=1\}^\{n\}p\(h^\{\\prime\}\_\{i\},r,t^\{\\prime\}\_\{i\}\)\\log\\sigma\(f\_\{r\}\(h^\{\\prime\}\_\{i\},t^\{\\prime\}\_\{i\}\)\-\\gamma\)\\end\{split\}\(15\)
whereσ\\sigmais the sigmoid function,γ\\gammais a margin hyperparameter, andfr​\(h,t\)f\_\{r\}\(h,t\)is the score function for the triple\. The negative sample sampling probability is defined as:

p​\(hj′,r,tj′\)=exp⁡\(α​fr​\(hj′,tj′\)\)∑i=1nexp⁡\(α​fr​\(hi′,ti′\)\)p\(h^\{\\prime\}\_\{j\},r,t^\{\\prime\}\_\{j\}\)=\\frac\{\\exp\(\\alpha f\_\{r\}\(h^\{\\prime\}\_\{j\},t^\{\\prime\}\_\{j\}\)\)\}\{\\sum\_\{i=1\}^\{n\}\\exp\(\\alpha f\_\{r\}\(h^\{\\prime\}\_\{i\},t^\{\\prime\}\_\{i\}\)\)\}\(16\)
whereα\\alphais the sampling temperature parameter controlling the sampling weight of negative samples\. This mechanism assigns higher sampling probabilities to hard negative samples with higher scores, thus improving training efficiency\.

### 4\.6Implementation Details

RelBall is implemented using PyTorch with the following main configurations: Hyperparameter ranges include embedding dimensiond∈\{500,750,1000,1500\}d\\in\\\{500,750,1000,1500\\\}, margin parameterγ∈\{6,9,12,24\}\\gamma\\in\\\{6,9,12,24\\\}, self\-adversarial sampling temperatureτ∈\{0\.5,1\.0\}\\tau\\in\\\{0\.5,1\.0\\\}, batch sizeB∈\{512,1024\}B\\in\\\{512,1024\\\}, regularization coefficientλ∈\[0,1\]\\lambda\\in\[0,1\],pp\-normp∈\{1,2\}p\\in\\\{1,2\\\}, number of negative samplesNneg=256N\_\{\\text\{neg\}\}=256, maximum training stepsT∈\[8×104,2\.0×105\]T\\in\[8\\times 10^\{4\},2\.0\\times 10^\{5\}\]\. The Adam optimizer is used with learning rateη∈\[5×10−5,2×10−4\]\\eta\\in\[5\\times 10^\{\-5\},2\\times 10^\{\-4\}\], and a learning rate decay strategy is employed\.

## 5Experiments

### 5\.1Experimental Setup

#### 5\.1\.1Datasets

Experiments on RelBall are performed on two standard benchmark knowledge graph completion datasets: WN18RR\[[13](https://arxiv.org/html/2606.27967#bib.bib16)\]and FB15k\-237\[[5](https://arxiv.org/html/2606.27967#bib.bib7)\]\. Table[1](https://arxiv.org/html/2606.27967#S5.T1)summarizes their statistics\.

Table 1:Dataset Statistics
#### 5\.1\.2Baseline Methods

RelBall is compared against several geometric transformation baselines, including RotatE, QuatE, QuatRE, Rotate3D, HA\-RotatE, HAKE, MuRP, HBE, and RotatH\. Among these, HA\-RotatE, HAKE, MuRP, and HBE are hierarchy\-aware, while RotatH is capable of handling complex relations\.

#### 5\.1\.3Evaluation Metrics

For each triple\(h,r,t\)\(h,r,t\)in the test set, the head or tail entity is replaced with every candidate entity to create candidate triples\. The filtered setting is used, excluding existing valid triples\. Evaluation metrics include Mean Reciprocal Rank \(MRR\) and Hits@k \(k = 1, 3, 10\)\.

#### 5\.1\.4Implementation Details

All experiments are run on NVIDIA RTX 4090 GPUs\.

### 5\.2Main Results

This section presents the experimental results in four parts\. First, the overall performance of RelBall is compared with baseline models\. Second, the distribution of scaling factor values across different relations is analyzed\. Third, the performance of RelBall on complex relations is evaluated\. Finally, the contribution of each component is assessed through ablation studies\.

#### 5\.2\.1Overall Performance

Table 2:Link prediction results on WN18RR and FB15k\-237\.Based on the experimental results presented in Table[2](https://arxiv.org/html/2606.27967#S5.T2), the following conclusions can be drawn\. This table compares models without explicit semantic hierarchy modeling capabilities \(RotatE, QuatE, QuatRE, Rotate3D\), aiming to verify the fundamental effectiveness of RelBall in general knowledge graph reasoning tasks\. It also compares models with semantic hierarchy awareness or complex relations modeling capabilities \(HAKE, HA\-RotatE, MuRP, HBE, RotatH\), to evaluate the competitive advantage of RelBall in handling complex semantic hierarchical relations\.

On the FB15k\-237 dataset, RelBall demonstrates excellent modeling capability, ranking first across all evaluation metrics, which fully demonstrates its comprehensive advantage in handling complex relations patterns contained in this dataset\. On the WN18RR datasets, RelBall also exhibits outstanding robustness, with all evaluation metrics ranking among the top\. These results confirm its strong generalization ability and robustness\.

#### 5\.2\.2Semantic Hierarchy Analysis

![Refer to caption](https://arxiv.org/html/2606.27967v1/figs/modulus/relation_0__hypernym_scale.png)\(a\)\_hypernym
![Refer to caption](https://arxiv.org/html/2606.27967v1/figs/modulus/relation_9__verb_group_scale.png)\(b\)\_verb\_group
![Refer to caption](https://arxiv.org/html/2606.27967v1/figs/modulus/relation_4__member_meronym_scale.png)\(c\)\_member\_meronym

Figure 2:Distribution of the modulus scale parameter across three relation types\. Red solid line: Baseline \(=1\.0=1\.0\); green dashed line: Mean; orange dash\-dotted line: Median\.This paper analyzes the distribution of scaling factor values across different relations\.

In Figure[2](https://arxiv.org/html/2606.27967#S5.F2), both the mean and median scaling factors for subfigures \(a\), fall below 1; for \(b\), they approximate 1; for \(c\), they exceed 1\. This aligns with theoretical expectations: as discussed in the hierarchical interpretation of the modulus transformation, the scaling factor mathematically captures semantic hierarchical structures, where values below 1, near 1, and above 1 respectively correspond to the head entity being at a higher, same, or lower semantic level than the tail entity\.

#### 5\.2\.3Performance by Relation Type

Table 3:The results of mapping properties of relations on FB15k\-237\. \[†\\dagger\] denotes results reported in\[[17](https://arxiv.org/html/2606.27967#bib.bib21)\]\. \[‡\\ddagger\] denotes results from\[[14](https://arxiv.org/html/2606.27967#bib.bib17)\]\.Furthermore, RelBall is evaluated on different relation types, including 1\-to\-1, 1\-to\-N, N\-to\-1, and N\-to\-N\. Specifically, head prediction and tail prediction tasks are analyzed separately\. The head prediction is processed by taking each positive triple, removing the head entity, and keeping the relation and tail entity\. The head is then replaced with candidate entities to predict whether the newly created triple is valid, i\.e\., predicting\(?,r,t\)\(?,r,t\)\. Tail prediction is performed in the same way, but the replaced entity is the tail entity, i\.e\., predicting\(h,r,?\)\(h,r,?\)\. The results are summarized in Table[3](https://arxiv.org/html/2606.27967#S5.T3)\. As shown in the table, RelBall achieves particularly strong performance on complex relations\. These gains can be attributed to the ball constraint, which allows multiple head or tail entities to be valid within the tolerance boundary defined byRrR\_\{r\}\.

#### 5\.2\.4Ablation Study

Table 4:Ablation study on model components on WN18RR and FB15k\-237\.Note:✓\\checkmarkindicates the component is included,×\\timesindicates it is removed\. The four rows represent: \(1\) with both scale and radius; \(2\) with scale only; \(3\) with radius only; \(4\) without both\.

To evaluate the contribution of each component in RelBall, ablation experiments are conducted on WN18RR and FB15k\-237 by selectively removing the modulus scaling factorsrs\_\{r\}and the radius factorρr\\rho\_\{r\}\. The modulus scaling factorsrs\_\{r\}controls the semantic\-level adjustment of the head entity, while the radius factorρr\\rho\_\{r\}determines the size of the relational ball centered at the tail entity\. Removingsrs\_\{r\}reduces the modulus transformation to an identity mapping, restricting the model to represent relations only at the same semantic level\. Removingρr\\rho\_\{r\}collapses the relational ball into a single point, eliminating tolerance for complex relations\.

The results are reported in Table[4](https://arxiv.org/html/2606.27967#S5.T4)\. The results show that the complete RelBall model, which includes bothsrs\_\{r\}andρr\\rho\_\{r\}, achieves excellent performance on most metrics\.

## 6Conclusion

This paper proposes RelBall, a knowledge graph embedding model that integrates quaternion rotation, modulus transformation, and relation ball\. Theoretical analysis and experimental results demonstrate that modulus transformation reflects the semantic hierarchy of entities: higher\-level entities correspond to smaller moduli, while lower\-level entities correspond to larger moduli\. Meanwhile, the introduction of the relation ball enables it to effectively model complex relations\.

## References

- \[1\]R\. Abboud, I\. I\. Ceylan, T\. Lukasiewicz, and T\. Salvatori\(2020\)BoxE: A Box Embedding Model for Knowledge Base Completion\.\.InAdvances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020,Cited by:[§2\.1](https://arxiv.org/html/2606.27967#S2.SS1.p2.1)\.
- \[2\]I\. Balazevic, C\. Allen, and T\. M\. Hospedales\(2019\)Multi\-relational Poincaré Graph Embeddings\.\.InAdvances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019,pp\. 4465–4475\.Cited by:[§2\.1](https://arxiv.org/html/2606.27967#S2.SS1.p2.1),[Table 2](https://arxiv.org/html/2606.27967#S5.T2.4.1.5.3.1)\.
- \[3\]T\. Bansal, D\. Juan, S\. Ravi, and A\. McCallum\(2019\)A2N: Attending to Neighbors for Knowledge Graph Inference\.\.InProceedings of the 57th Conference of the Association for Computational Linguistics,pp\. 4387–4392\.Cited by:[§2\.1](https://arxiv.org/html/2606.27967#S2.SS1.p4.1)\.
- \[4\]A\. Bordes, N\. Usunier, A\. García\-Durán, J\. Weston, and O\. Yakhnenko\(2013\)Translating Embeddings for Modeling Multi\-relational Data\.\.InAdvances in Neural Information Processing Systems 26: 27th Annual Conference on Neural Information Processing Systems 2013,pp\. 2787–2795\.Cited by:[§2\.1](https://arxiv.org/html/2606.27967#S2.SS1.p2.1),[§2\.2](https://arxiv.org/html/2606.27967#S2.SS2.p1.1),[Table 3](https://arxiv.org/html/2606.27967#S5.T3.10.6.1),[Table 3](https://arxiv.org/html/2606.27967#S5.T3.5.1.1)\.
- \[5\]T\. Dettmers, P\. Minervini, P\. Stenetorp, and S\. Riedel\(2018\)Convolutional 2D Knowledge Graph Embeddings\.\.InProceedings of the Thirty\-Second AAAI Conference on Artificial Intelligence, the 30th innovative Applications of Artificial Intelligence, and the 8th AAAI Symposium on Educational Advances in Artificial Intelligence,pp\. 1811–1818\.Cited by:[§2\.1](https://arxiv.org/html/2606.27967#S2.SS1.p4.1),[§5\.1\.1](https://arxiv.org/html/2606.27967#S5.SS1.SSS1.p1.1)\.
- \[6\]C\. Gao, C\. Sun, L\. Shan, L\. Lin, and M\. Wang\(2020\)Rotate3D: Representing Relations as Rotations in Three\-Dimensional Space for Knowledge Graph Embedding\.\.InCIKM ’20: The 29th ACM International Conference on Information and Knowledge Management,pp\. 385–394\.Cited by:[§1](https://arxiv.org/html/2606.27967#S1.p4.1),[§3\.2](https://arxiv.org/html/2606.27967#S3.SS2.p1.1),[§3\.3](https://arxiv.org/html/2606.27967#S3.SS3.p1.2),[Table 2](https://arxiv.org/html/2606.27967#S5.T2.4.1.11.9.1)\.
- \[7\]H\. Ren, Z\. Chen, X\. Liang, C\. Yang, and W\. Gui\(2023\-08\)Association Hierarchical Representation Learning for Plant\-Wide Process Monitoring by Using Multilevel Knowledge Graph\.IEEE Transactions on Artificial Intelligence4\(4\),pp\. 636–649\.External Links:ISSN 2691\-4581Cited by:[§1](https://arxiv.org/html/2606.27967#S1.p1.1)\.
- \[8\]D\. Q\. Nguyen, T\. Vu, T\. D\. Nguyen, and D\. Q\. Phung\(2022\)QuatRE: Relation\-Aware Quaternions for Knowledge Graph Embeddings\.\.InCompanion of The Web Conference 2022,pp\. 189–192\.Cited by:[§1](https://arxiv.org/html/2606.27967#S1.p4.1),[§2\.3](https://arxiv.org/html/2606.27967#S2.SS3.p2.1),[Table 2](https://arxiv.org/html/2606.27967#S5.T2.4.1.10.8.1)\.
- \[9\]Z\. Pan and P\. Wang\(2021\)Hyperbolic Hierarchy\-Aware Knowledge Graph Embedding for Link Prediction\.\.InFindings of the Association for Computational Linguistics: EMNLP 2021,pp\. 2941–2948\.Cited by:[Table 2](https://arxiv.org/html/2606.27967#S5.T2.4.1.6.4.1)\.
- \[10\]S\. Sarabandi and F\. Thomas\(2019\-03\)A Survey on the Computation of Quaternions From Rotation Matrices\.Journal of Mechanisms and Robotics11\(021006\)\.External Links:ISSN 1942\-4302Cited by:[§3\.1](https://arxiv.org/html/2606.27967#S3.SS1.p1.7)\.
- \[11\]A\. Shah, B\. C\. Molokwu, and Z\. Kobti\(2021\)HRotatE: Hybrid Relational Rotation Embedding for Knowledge Graph\.\.InInternational Joint Conference on Neural Networks,pp\. 1–8\.Cited by:[§2\.1](https://arxiv.org/html/2606.27967#S2.SS1.p2.1),[§2\.3](https://arxiv.org/html/2606.27967#S2.SS3.p2.1)\.
- \[12\]Z\. Sun, Z\. Deng, J\. Nie, and J\. Tang\(2019\)RotatE: Knowledge Graph Embedding by Relational Rotation in Complex Space\.\.In7th International Conference on Learning Representations,Cited by:[§2\.1](https://arxiv.org/html/2606.27967#S2.SS1.p2.1),[§4\.5](https://arxiv.org/html/2606.27967#S4.SS5.p1.3),[Table 2](https://arxiv.org/html/2606.27967#S5.T2.4.1.8.6.1),[Table 3](https://arxiv.org/html/2606.27967#S5.T3.12.8.1),[Table 3](https://arxiv.org/html/2606.27967#S5.T3.7.3.1)\.
- \[13\]K\. Toutanova and D\. Chen\(2015\)Observed versus latent features for knowledge base and text inference\.\.InProceedings of the 3rd Workshop on Continuous Vector Space Models and their Compositionality,pp\. 57–66\.Cited by:[§5\.1\.1](https://arxiv.org/html/2606.27967#S5.SS1.SSS1.p1.1)\.
- \[14\]T\. Trouillon, J\. Welbl, S\. Riedel, É\. Gaussier, and G\. Bouchard\(2016\)Complex Embeddings for Simple Link Prediction\.\.InProceedings of the 33nd International Conference on Machine Learning,pp\. 2071–2080\.Cited by:[§2\.1](https://arxiv.org/html/2606.27967#S2.SS1.p3.1),[Table 2](https://arxiv.org/html/2606.27967#S5.T2.4.1.7.5.1),[Table 3](https://arxiv.org/html/2606.27967#S5.T3),[Table 3](https://arxiv.org/html/2606.27967#S5.T3.11.7.1),[Table 3](https://arxiv.org/html/2606.27967#S5.T3.14.10.1),[Table 3](https://arxiv.org/html/2606.27967#S5.T3.6.2.1),[Table 3](https://arxiv.org/html/2606.27967#S5.T3.9.5.1)\.
- \[15\]S\. Wang, K\. Fu, X\. Sun, Z\. Zhang, S\. Li, and L\. Jin\(2021\)Hierarchical\-aware relation rotational knowledge graph embedding for link prediction\.\.Neurocomputing458,pp\. 259–270\.Cited by:[Table 2](https://arxiv.org/html/2606.27967#S5.T2.4.1.4.2.1)\.
- \[16\]B\. Yang, W\. Yih, X\. He, J\. Gao, and L\. Deng\(2015\)Embedding Entities and Relations for Learning and Inference in Knowledge Bases\.\.In3rd International Conference on Learning Representations,Cited by:[§2\.1](https://arxiv.org/html/2606.27967#S2.SS1.p3.1)\.
- \[17\]Q\. Zhang, R\. Wang, J\. Yang, and L\. Xue\(2022\)Knowledge graph embedding by reflection transformation\.\.Knowl\. Based Syst\.238,pp\. 107861\.Cited by:[Table 3](https://arxiv.org/html/2606.27967#S5.T3),[Table 3](https://arxiv.org/html/2606.27967#S5.T3.13.9.1),[Table 3](https://arxiv.org/html/2606.27967#S5.T3.8.4.1)\.
- \[18\]S\. Zhang, Y\. Tay, L\. Yao, and Q\. Liu\(2019\)Quaternion Knowledge Graph Embeddings\.\.InAdvances in Neural Information Processing Systems 32: Annual Conference on Neural Information Processing Systems 2019,pp\. 2731–2741\.Cited by:[§1](https://arxiv.org/html/2606.27967#S1.p4.1),[§2\.1](https://arxiv.org/html/2606.27967#S2.SS1.p2.1),[§2\.3](https://arxiv.org/html/2606.27967#S2.SS3.p2.1),[Table 2](https://arxiv.org/html/2606.27967#S5.T2.4.1.9.7.1)\.
- \[19\]Z\. Zhang, J\. Cai, Y\. Zhang, and J\. Wang\(2020\)Learning Hierarchy\-Aware Knowledge Graph Embeddings for Link Prediction\.\.InThe Thirty\-Fourth AAAI Conference on Artificial Intelligence, The Thirty\-Second Innovative Applications of Artificial Intelligence Conference, The Tenth AAAI Symposium on Educational Advances in Artificial Intelligence,pp\. 3065–3072\.Cited by:[§2\.1](https://arxiv.org/html/2606.27967#S2.SS1.p2.1),[§2\.2](https://arxiv.org/html/2606.27967#S2.SS2.p1.1),[Table 2](https://arxiv.org/html/2606.27967#S5.T2.4.1.3.1.1)\.

Similar Articles

RelGT-AC: A Relational Graph Transformer for Autocomplete Tasks in Relational Databases

arXiv cs.AI

This paper introduces RelGT-AC, a relational graph transformer architecture tailored for autocomplete tasks in relational databases. The model extends the RelGT architecture with column masking to prevent trivial solutions, a unified task head for multiple prediction types, and a TF-IDF text encoder to leverage lexical signals, achieving significant improvements over baselines on RelBench v2 benchmarks.

Collaboration of Fusion and Independence: Hypercomplex-driven Robust Multi-Modal Knowledge Graph Completion

arXiv cs.CL

This paper proposes M-Hyper, a novel multi-modal knowledge graph completion method that balances fusion and independence of modality representations using hypercomplex (biquaternion) algebra. The approach introduces Fine-grained Entity Representation Factorization and Robust Relation-aware Modality Fusion modules to achieve state-of-the-art performance with improved robustness.