Conceptio › Archive › arXiv CS
arXiv CS open access

How Many and How Much? Contrastive Learning with Negative Samples for Knowledge Graph Embedding

Sooho Moon et al. · arxiv_cs
arXiv CS · Papers
Open Source ↗Direct PDF ↓
deep-learningmachine-learningneural-networks
Knowledge graph embedding (KGE), a fundamental technique for knowledge-centric Web and KG-augmented AI applications, is commonly trained through contrastive learning with negative samples to learn discriminative representations. Despite its empirical success, two crucial questions regarding negative
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

How Many and How Much? Contrastive Learning with Negative Samples for Knowledge Graph Embedding Sooho Moon

Yunyong Ko∗

Chung-Ang University Seoul, Korea moonwalk725@cau.ac.kr

Chung-Ang University Seoul, Korea yyko@cau.ac.kr

Knowledge graph embedding (KGE), a fundamental technique for knowledge-centric Web and KG-augmented AI applications, is commonly trained through contrastive learning with negative samples to learn discriminative representations. Despite its empirical success, two crucial questions regarding negative samples remain underexplored: (Q1) how many negative samples should be used for each positive sample and (Q2) how much should each negative sample contribute to learning? To answer these questions, we propose RADAR, a novel contrastive learning framework for KGE models with two effective strategies, respectively: (1) Risk-aware negative budget allocation quantifies false-negative sampling risk by modeling an open-world KG as a stochastic partial observation of its closed-world counterpart and adaptively assigns a negative budget to each positive sample based on its risk; (2) Distributioncalibrated negative weighting assigns negative weights by calibrating the weighting strength for each positive based on two complementary characteristics of the negative-score distribution: dispersion and concentration. Extensive experiments on 3 real-world KGs with 4 KGE models reveal that RADAR achieves the best KGE performance on average across all model–KG combinations and reduces sampled false negatives by over 90% compared with conventional fixed-budget methods. Our code and datasets are available at https://anonymous.4open.science/r/KGENS-1EB6/.

Keywords knowledge graph, knowledge graph embedding, contrastive learning, negative sampling, open-world assumption

1

Introduction

The Web serves as an abundant source of information about realworld entities and their complex relationships. A knowledge graph (KG) organizes such information into structured relational knowledge, where each fact is represented as a triple, (head entity, relation, tail entity), such as Freebase [3] and YAGO [28]. By making relational knowledge explicit, KGs have become an important foundation for a wide range of knowledge-centric applications, including Web search [11, 25], recommender systems [33, 34], question answering [14, 43], and even drug discovery [35, 45]. Beyond explicit relational knowledge, KG embedding (KGE) [4, 19, 29, 32, 37–39] aims to learn representations of entities and relations to capture latent relational patterns in a KG. The learned representations can then be utilized for diverse downstream tasks. Most notably, KG completion (KGC) [4, 32, 39, 46, 48] aims to discover missing facts in a KG, where KGE estimates their plausibility ∗ Corresponding author

(1) Negative budget allocation Open-world KG

(2) Negative importance estimation Score

AdvisorOf Ireland N=4

Jeff Dean Alex Krizhevsky

Positive KGE Model

arXiv:2610.37389v1 [cs.LG] 27 Oct 2026

Abstract

Easy negative Hard negative False negative!

London

Figure 1: Process of contrastive learning with negative samples for knowledge graph embedding. based on the learned representations of the involved entities and relations. In addition to KGC, learned representations can serve as structural features for downstream tasks such as recommendation and enzyme prediction [27, 33]. They can also support emerging KG-augmented AI applications, such as LLM reasoning with graphbased RAG, by enabling the retrieval of relevant knowledge based on its similarity to a query in the latent representation space [20, 44]. KGE models are generally trained through contrastive learning with negative samples [13, 29, 41, 47], which learns to assign higher scores to positive samples (i.e., true facts) and lower scores to negative samples (i.e., false facts), as illustrated in Figure 1. Since false facts are not explicitly available in a KG, negative samples are typically constructed by corrupting a positive sample (ℎ, 𝑟, 𝑡), i.e., replacing its head or tail entity with another entity such that the resulting triple is not observed in the KG. This learning paradigm enables KGE models to learn discriminative representations that distinguish true facts from false ones. Challenges. Despite its empirical success, the following two challenges regarding negative samples still remain underexplored: (C1) Negative budget allocation. For each positive triple, KGE models are typically trained with a fixed number of negative samples (e.g., 128 or 256) [29, 37, 47]. However, determining a proper negative budget is non-trivial since real-world KGs follow the openworld assumption (OWA) [12, 24, 40]. Under the OWA, an unobserved fact is not necessarily false, implying that some negative samples drawn from unobserved facts may actually be true—i.e., false negatives (FN). This introduces an inherent trade-off: sampling more negatives increases the risk of FNs, whereas sampling too few negatives may limit the supervision available for contrastive learning. More importantly, we observe that the number of FNs varies significantly across positive triples (see Figure 2(a)), where FNs for each training positive (ℎ, 𝑟, 𝑡) are the triples in the validation and test sets that share the same (ℎ, 𝑟 ) or (𝑟, 𝑡) pair (i.e., anchor) but are absent from the training set. This raises a fundamental question: how many negatives should be used for each positive according to its false-negative risk? Answering this question is inherently challenging, as accurately estimating such risk requires closed-world

Score

104 103

Adv. W

# of positive triples

Sooho Moon and Yunyong Ko

100

101

102

# of false negatives

103

0.0

= 0.05

-2.0 1.5 0.0

= 0.53 ×10 2

P1 P2

10 20 30 40 240 250

Negative samples (sorted)

Figure 2: Observations: (a) Varying numbers of false negatives across positive triples on FB15k237 [31], and (b) negative scores and their weights computed by Self-Adv [29] for two positive triples (P1 and P2) with different score dispersion (𝜎) and concentration (shaded: top-10% negative scores). knowledge of whether unobserved facts are actually true, which is unavailable under the OWA. (C2) Negative importance estimation. Once negatives are sampled, another challenge is to determine how much each negative should contribute to learning. Rather than treating all negatives equally, self-adversarial weighting (Self-Adv) [29] estimates their relative hardness based on model scores: higher-scoring negatives are considered harder to distinguish from a positive and are thus assigned larger weights, allowing them to contribute more strongly to learning. Our analytical decomposition of Self-Adv, however, reveals that its weighting strength is determined solely by the dispersion of negative scores: more dispersed scores induce larger weight differences, whereas less dispersed scores yield more uniform weights. Such dispersion-based scaling can overlook another critical characteristic of the score distribution—how strongly high scores are concentrated on a few negatives. As illustrated in Figure 2(b), where P1 and P2 denote two positives, the top-10% negative scores of P1’s negatives are less concentrated (red shaded), yet their larger dispersion (𝜎 = 0.53) results in larger weight differences. In contrast, the top-10% negative of P2’s negatives are concentrated on fewer negatives (blue shaded), but their smaller dispersion (𝜎 = 0.05) leads to lower weights. Such an oversight of score concentration raises another fundamental question: how much should each negative contribute to learning considering both the dispersion and concentration of negative scores? Our work. To address these challenges, in this paper, we propose RADAR, a novel contrastive learning framework for KGE that integrates (1) Risk-Aware negative budget allocation and (2) Distribution-cAlibRated negative weighting. (1) Risk-aware negative budget allocation. We first analyze the gap between an open-world KG and its ideal closed-world counterpart, where all true facts are observed. Specifically, we interpret an open-world KG as a stochastic partial observation of its corresponding closed-world KG. Based on this interpretation, we quantify the risk of sampling false negatives for each positive triple as a probability and derive its relationship to the observed degree. We then adaptively determine the negative budget for each positive triple, allocating fewer negatives to higher-risk triples and more negatives to lower-risk ones. (2) Distribution-calibrated negative weighting. To reflect score concentration in negative weighting, we then design an entropy-based measure that quantifies the score concentration of negatives. Specifically, the measure is computed from the entropy

of a probability distribution derived from standardized negative scores, with larger values indicating that high scores are concentrated among fewer negatives. We observe that score dispersion and concentration are not strongly correlated (see Figure 4), implying that score concentration provides complementary information that is not captured solely by dispersion. Based on this observation, we jointly consider the dispersion and concentration of negative scores to determine the weighting strength for each positive triple, thereby calibrating its negative weights according to both characteristics of the negative score distribution. Contributions. The main contributions of our work are as follows: • Challenges. We identify two underexplored challenges in contrastive learning with negative samples for KGE: (C1) negative budget allocation and (C2) negative importance estimation. • Framework. We propose RADAR, a novel contrastive learning framework that addresses the two challenges through (1) riskaware negative budget allocation and (2) distribution-calibrated negative weighting, respectively. • Evaluation. Via extensive experiments on 3 real-world KGs with 4 KGE models, we demonstrate that RADAR (1) achieves the best KGE performance on average across all model–dataset combinations and (2) reduces sampled false negatives by over 90% compared with existing fixed-budget methods.

2

Related Work

Knowledge graph embedding. Knowledge graph embedding (KGE) models [2, 4, 29, 32, 37, 39] aim to learn latent representations of entities and relations to capture relational patterns in a KG. Translation-based models interpret a relation as a transformation between entity embeddings. TransE [4] models each relation as a translation, h + r ≈ t, while RotatE [29] models relations as rotations in complex space. HousE [18] uses Householder transformation for rotation and projection to capture complex relations. DGS [15] models cyclic and hierarchical relations using spherical and hyperbolic embedding spaces, respectively. Tensor decomposition models represent a KG as a three-way tensor and factorize it using entity and relation representations. DistMult [39] employs a diagonal bilinear scoring function, ComplEx [32] extends it to the complex domain, and TuckER [2] adopts Tucker decomposition. IVR [38] introduces intermediate-variable regularization to reduce overfitting and improve generalization. Contrastive learning for KGE. KGE models are generally trained through contrastive learning with negative samples. Accordingly, various methods have been proposed to improve negative selection and utilization. Uniform sampling [4] randomly corrupts entities, whereas KBGAN [5] uses adversarial learning to generate informative negatives. NSCaching [47] reuses high-scoring negatives, while Self-Adv [29] assigns larger weights to high-scoring negatives. SANS [1] exploits local graph structure, whereas EANS [16] samples nearby entities in embedding space and mitigates false negatives with an auxiliary loss. ERDNS [42], motivated by optimal embedding analysis [17], adaptively allocates a fixed batch-level negative budget across positives based on their degrees. Unlike RADAR, however, its adaptation is batch-specific and does not account for open-world false-negative risk. DeMix [9] identifies likely false and true negatives based on model scores and mixes them

How Many and How Much? Contrastive Learning with Negative Samples for Knowledge Graph Embedding

Risk-aware negative budget allocation for (C1) pfn(a) > pfn(b) > pfn(c) … Closed-world KG

c

|Na|

Weights

…

b …

Distribution

|Nb|

KGE Model

a

Distribution-calibrated weighting for (C2)

|Nc|

(1) Negative sampling

(2) Scoring

(3) Negative weighting

(4) Loss computation

Figure 3: Overview of RADAR. RADAR addresses (C1) “how many negatives to sample” through risk-aware negative budget allocation and (C2) “how much should each negative contribute” through distribution-calibrated negative weighting. with positives and negatives, respectively, to mitigate false negatives while generating harder negatives. M2 ixKG [7] synthesizes hard negatives by mixing same-relation or high-scoring entities in embedding space. IF-NS [6] prioritizes negatives by their estimated training influence. BigramKG [8] down-weights potential false negatives using relation–entity semantic matching. ConDNS [36] generates synthetic negatives via conditional diffusion, with difficulty controlled by the denoising timestep.

3

Preliminary: Contrastive Learning for KGE

Let G = (E, R, T ) denote a KG with entity, relation, and observed triple sets E, R, and T , respectively. Given G and a KGE model 𝜃 , contrastive learning with negative samples proceeds as follows: • (1) Negative sampling. For each positive triple (ℎ, 𝑟, 𝑡) ∈ T , negative triples are generated by replacing its head or tail entity. • (2) Scoring. The KGE model computes scores for the positive and its sampled negatives, where a higher score indicates that the triple is more likely to be true. • (3) Negative weighting. Each sampled negative is assigned a weight that determines its contribution to the training objective. • (4) Loss computation. A contrastive loss is computed using the positive and negative scores to update the model 𝜃 . In practice, for (1), a fixed number of negatives (e.g., 128 or 256) is typically generated for each positive, while the selection of negatives depends on the sampling strategy. For (3), negative weight assignment varies across methods: uniform weighting assigns equal weights to all negatives, whereas Self-Adv [29] assigns different weights based on their model scores. For (4), the loss function for contrastive learning with negative samples is defined as follows:

In this work, we focus on determining how many negatives to sample in Step (1) (Section 4.2) and how much each negative should contribute to learning in Step (3) (Section 4.3).

4

Proposed Framework: RADAR

In this section, we present RADAR, a novel contrastive learning framework for KGE. As illustrated in Figure 3, RADAR integrates two strategies: (a) risk-aware negative budget allocation for (C1) and (b) distribution-calibrated negative weighting for (C2).

4.1

Bridging Open-World and Closed-World KGs

To quantify the false-negative risk for each positive, we first analyze the relationship between an observed open-world KG G and its underlying closed-world counterpart G ∗ that contains all latent true facts. Specifically, we view G as a stochastic partial observation of G ∗ , where each latent fact is independently observed through a Bernoulli trial, assuming that G and G ∗ share the same entity and relation sets. Let O ∈ (0, 1] | E | × | R | × | E | denote an observability tensor, where O [ℎ, 𝑟, 𝑡] corresponds to the probability that a latent fact (ℎ, 𝑟, 𝑡) ∈ G ∗ is observed in G. Then, the observation process is formulated as follows: G = M ⊙ G ∗,

M [ℎ, 𝑟, 𝑡] ∼ Bernoulli(O [ℎ, 𝑟, 𝑡]) ,

(2)

where M ∈ {0, 1} | E | × | R | × | E | is the resulting binary observation mask and ⊙ denotes the element-wise product. For an anchor x, i.e., x = (ℎ, 𝑟 ) or (𝑟, 𝑡) for a positive triple (ℎ, 𝑟, 𝑡), let 𝑑 ∗ (x) denote the number of target entities 𝑦𝑖 such that (x, 𝑦𝑖 ) forms a true fact in G ∗ . Before the observation process is realized, its observed degree can be represented as a random variable ∗

𝑑∑︁ (x)   𝐷 (x) = Mx,𝑦𝑖 , Mx,𝑦𝑖 ∼ Bernoulli(𝜖x,𝑦𝑖 ), (3) ∑︁   1 log 𝜎 (𝜃 (x, 𝑦 + )) + L =− 𝑤 x,𝑖 log 𝜎 (−𝜃 (x, 𝑦𝑖− ))  , 𝑖=1  2|P |  where 𝜖 𝑦𝑖− ∈ Nx,𝑦 + (x,𝑦 + ) ∈ P   x,𝑦𝑖 denotes the observability of the corresponding latent (1) fact, i.e., its entry in O. After realization, 𝐷 (x) takes the observed where P denotes the set of positive triples, x = (ℎ, 𝑟 ) or (𝑟, 𝑡) value 𝑑 (x) in G. denotes an anchor for a positive (ℎ, 𝑟, 𝑡), Nx,𝑦 + denotes its set of Since the individual observability 𝜖x,𝑦𝑖 cannot be determined sampled negative targets, and 𝜃 (x, 𝑦) and 𝑤 x,𝑖 denote the score of without knowledge of the underlying closed-world KG, we assume target 𝑦 and the weight of the 𝑖-th negative, respectively. After that all latent facts are observed with a uniform probability, i.e., training, the learned representations of entities and relations can 𝜖x,𝑦𝑖 = 𝜖, following a conventional assumption adopted in prior be utilized for various downstream tasks [20, 22, 27, 34, 44]. In studies [26, 40]. Under this assumption, the observed-degree ranthis work, we focus on knowledge graph completion (KGC), which dom variable and its mean and variance can be written as predicts the missing entity in (ℎ, 𝑟, ?) or (?, 𝑟, 𝑡). For each query, 𝐷 (x) ∼ Binomial(𝑑 ∗ (x), 𝜖) , (4) candidate entities are ranked by their scores, and the resulting ∗ ∗ rankings are evaluated using KGC metrics [23, 24, 30]. E[𝐷 (x)] = 𝜖𝑑 (x), Var[𝐷 (x)] = 𝜖 (1 − 𝜖)𝑑 (x). (5)

∑︁

Sooho Moon and Yunyong Ko

Based on this relationship between the anchor degrees in the open- and closed-world KGs, we can inversely estimate the latent degree from its observed degree as   𝑑 (x) 𝑑b∗ (x) = min , |E | . (6) 𝜖 Based on the estimated latent degree, we quantify the falsenegative risk for each positive triple through its anchor x. The risk can be defined as the fraction of unobserved target entities that are actually true in the latent closed-world KG. Specifically, among the |E | − 𝑑 (x) target entities unobserved for x in G, 𝑑 ∗ (x) − 𝑑 (x) correspond to latent true facts in G ∗ . Since 𝑑 ∗ (x) is unobservable, we estimate the false-negative risk using Eq. (5) and Eq. (6) as 𝑑 (x) 𝑑b∗ (x) − 𝑑 (x) 𝑑 (x) 𝜖 ≤|E| 1 − 𝜖 . (7) = |E | − 𝑑 (x) 𝜖 |E | − 𝑑 (x) Since (1 − 𝜖)/𝜖 is constant across all positives, the estimated false-negative risk is determined solely by 𝑑 (x)/(|E | −𝑑 (x)), which monotonically increases with the observed degree 𝑑 (x). Thus, a positive with a higher-degree anchor has a higher false-negative risk, whereas one with a lower-degree anchor has a lower risk. This result allows us to use the observed anchor degree 𝑑 (x) as a direct proxy for false-negative risk. Based on this analysis, we next develop a risk-aware strategy that determines the negative budget for each positive according to its observed anchor degree. 𝑝bfn (x) =

4.2

How Many? Risk-Aware Negative Budget Allocation

Our analysis in Section 4.1 implies that the conventional fixedbudget strategy, which assigns the same number of negatives to every positive, overlooks varying false-negative risks across positive triples. To address this issue, we allocate fewer negatives to positives with higher-risk anchors and more negatives to those with lower-risk anchors. Specifically, we determine the negative budget for each positive (x, 𝑦 + ) based on its anchor degree as   𝛾  𝑑 min + 𝑁 (x, 𝑦 ) = max{1, 𝑁 max }, 𝛾 ≥ 0, (8) 𝑑 (x) where 𝑁 max denotes the maximum negative budget, 𝑑 min = minx 𝑑 (x) is the minimum observed anchor degree, and 𝛾 controls the sensitivity of the budget to the estimated risk. An anchor with 𝑑 (x) = 𝑑 min , which has the lowest estimated risk, receives the maximum budget 𝑁 max , while the budget progressively decreases as 𝑑 (x) increases. When 𝛾 = 0, Eq. (8) reduces to conventional fixed-size negative sampling, whereas a larger 𝛾 more aggressively reduces the negative budget for higher-risk anchors. In this way, our strategy mitigates false-negative exposure without explicitly identifying individual false negatives. We further consider two adjustments to account for additional factors that may affect the observed anchor degree 𝑑 (x): (a) observation uncertainty and (b) relation-level degree characteristics. (a) Uncertainty-aware adjustment. The observed degree 𝑑 (x) is a realization of the random variable 𝐷 (x) and may thus deviate from its expected value even under uniform observability. To account for this observation uncertainty, we perturb 𝑑 (x) according to its degree-dependent variance: 𝑑e𝑢 (x) = max{1, 𝑑 (x) + 𝜂 x },

𝜂 x ∼ N (0, 𝜏𝑑 (x)) ,

(9)

where 𝜏 ≥ 0 controls the degree of uncertainty and absorbs the unknown observability factor in the variance derived in Eq. (5). When applying this adjustment, we use 𝑑e𝑢 (x) in place of 𝑑 (x) in Eq. (8); 𝜏 = 0 recovers the original risk-aware allocation. (b) Relation-aware adjustment. The observed degree 𝑑 (x) may also deviate from its expected degree associated with its relation. We therefore additionally consider relation-level information by smoothing the anchor degree toward the average degree of anchors with the same relation: 𝑑e𝑟 (x) = (1 − 𝜔)𝑑 (x) + 𝜔𝑑𝑟 ,

𝑑𝑟 = Ex∈ X𝑟 [𝑑 (x)]

(10)

where X𝑟 denotes the set of anchors associated with relation 𝑟 , and 𝜔 ∈ [0, 1] controls the contribution of relation-level information. When applying this adjustment, we use 𝑑e𝑟 (x) in place of 𝑑 (x) in Eq. (8), where 𝜔 = 0 recovers the original risk-aware allocation.

4.3

How Much? Distribution-Calibrated Negative Weighting

After determining the negative budget for each positive, we now address (i) how to sample the allocated number of negatives and (ii) how much each sampled negative should contribute to learning. For (i), we randomly sample the allocated number of negatives since directly identifying hard negatives requires scoring a large number of candidate entities, following Self-Adv [29]. For (ii), we first analyze the weighting mechanism of Self-Adv, which differentiates the contributions of randomly sampled negatives by assigning larger weights to higher-scoring ones as follows:  𝑤 x,𝑖 = softmax 𝛼𝑠 x,𝑖 = Í

exp(𝛼𝑠 x,𝑖 ) , 𝑗 ∈ Nx,𝑦 + exp(𝛼𝑠 x,𝑗 )

(11)

where 𝑠 x,𝑖 = 𝜃 (x, 𝑦𝑖− ) is the score of the 𝑖-th negative and 𝛼 is a global scaling factor. To better understand its weighting mechanism, we decompose each negative score as 𝑠 x,𝑖 − 𝜇 x 𝑠 x,𝑖 = 𝜇x + 𝜎x𝑧 x,𝑖 , 𝑧 x,𝑖 = , (12) 𝜎x where 𝜇 x and 𝜎x denote the mean and standard deviation of the negative scores, respectively, and 𝑧 x,𝑖 is the standardized relative score of the 𝑖-th negative. Since softmax is invariant to a common additive shift, Eq. (11) can be equivalently expressed as   𝑤 x,𝑖 = softmax 𝛼 (𝜇 x + 𝜎x𝑧 x,𝑖 ) = softmax 𝛼𝜎x𝑧 x,𝑖 . (13) This decomposition shows that 𝑧 x,𝑖 determines the relative score configuration among negatives, whereas 𝛼𝜎x determines how strongly their differences are emphasized. Since 𝛼 is globally shared across anchors, the anchor-specific weighting strength of Self-Adv is determined by the score dispersion 𝜎x . However, dispersion alone may not sufficiently characterize how much each negative should contribute to learning. As observed for P2 in Figure 2(b), high scores can be strongly concentrated on a few negatives even when their overall score dispersion is relatively small. In such cases, a small 𝜎x makes Self-Adv weights more uniform, potentially reducing the contributions of these concentrated high-scoring negatives. This motivates us to additionally consider score concentration when determining the weighting strength.

How Many and How Much? Contrastive Learning with Negative Samples for Knowledge Graph Embedding

RotatE = 0.26 = 0.05 = 0.08 = 0.31 = 0.31

x

1.5 1.0 0.50

0.75

ComplEx

1.00

= 0.15 = 0.64 = 0.38 = 0.31 = 0.28

0.6 x

1.0

𝑤 ex,𝑖 = Í

0.5 0.25

0.8 0.4

0.00

0.25

0.8

0.50

0.75

DistMult

1.00

= 0.35 = 0.73 = 0.26 = 0.21 = 0.30

0.6 0.4 0.2

0.2 0.0 0.00

introduce a budget-aware adjustment as follows:

= 0.09 = 0.22 = 0.03 = 0.08 = 0.01

1.5

x

0.5 0.00

TransE

2.0 x

2.0

0.25

0.50

Cx

0.75

1.00

0.0 0.00

0.25

0.50

Cx

0.75

1.00

Figure 4: Relationship between dispersion (𝜎x ) and concentration (𝐶 x ) of negative-score distributions during training with Self-Adv on FB15k237. Each color represents the evolution of the negative-score distribution for the same positive. To quantify score concentration, we construct a probability distribution from the standardized negative scores: 𝜋 x,𝑖 = Í

exp(𝑧 x,𝑖 ) . 𝑗 ∈ Nx,𝑦 + exp(𝑧 x,𝑗 )

(14)

We then define the concentration of probability mass on highscoring negatives using normalized entropy as ∑︁ 𝐻 (𝜋x ) , 𝐻 (𝜋x ) = − 𝐶x = 1 − 𝜋 x,𝑖 log 𝜋x,𝑖 , (15) log |Nx,𝑦 + | 𝑖∈N

|P |𝑁 (x, 𝑦 + ) 𝛽 𝑤 , ′ ′ 𝛽 x,𝑖 (x′ ,𝑦 ′ ) ∈ P 𝑁 (x , 𝑦 )

𝛽 ≥ 0,

(17)

where 𝛽 controls the degree of weight adjustment according to the allocated negative budget. When 𝛽 = 0, negatives from smallerbudget positives have larger average weights due to the 1/𝑁 (x, 𝑦 + ) effect. As 𝛽 increases, the weights are adjusted according to the allocated budget: negatives from smaller-budget positives are downweighted, while those from larger-budget positives are up-weighted. In particular, when 𝛽 = 1, the effect of the budget size on the average per-negative weight is fully compensated, resulting in the same average per-negative weight across positives. Finally, the negative weights 𝑤 ex,𝑖 computed by Eq. (17) are applied to the contrastive loss in Eq. (1) to train the KGE model. Connection to existing methods. RADAR generalizes two existing methods as special cases. With 𝛾 = 0, 𝛽 = 0, and 𝛼 = 0, RADAR reduces to the fixed-uniform method, using a fixed negative budget with uniform weighting. With 𝛾 = 0, 𝜆 = 0, and 𝛽 = 0, RADAR reduces to Self-Adv, using a fixed negative budget with dispersiononly weighting. Thus, RADAR provides a unified generalization of existing fixed-budget negative sampling while adaptively controlling both the number and contribution of negative samples. Overall, RADAR addresses the two fundamental challenges in contrastive learning with negative samples: it determines how many negatives to sample for each positive through risk-aware negative budget allocation and how much each negative should contribute through distribution-calibrated negative weighting.

x,𝑦 +

where 𝐶 x ∈ [0, 1]. A larger 𝐶 x indicates that high-score probability mass is concentrated on fewer negatives. Finally, we interpolate between score dispersion and concentration to determine the weighting strength:  𝑤 x,𝑖 = softmax𝑖 𝛼 [(1 − 𝜆)𝜎x + 𝜆𝐶 x ] 𝑧 x,𝑖 , (16) where 𝜆 ∈ [0, 1] controls the contribution of score concentration. Analysis of dispersion and concentration. To further justify our design, we analyze the relationship between score dispersion 𝜎x and concentration 𝐶 x during training in Figure 4, where each point represents the negative-score distribution of a positive and each color tracks its evolution during training. The two characteristics are not strongly correlated (low 𝜌 values) and exhibit distinct behaviors: concentration varies substantially while dispersion remains relatively stable for ComplEx and DistMult, whereas the opposite pattern appears for RotatE and TransE. These observations suggest that dispersion and concentration provide complementary information, motivating us to consider both in determining the anchor-specific weighting strength. Budget-aware weight normalization. Unlike conventional weighting with a fixed negative budget, RADAR assigns different numbers of negatives to individual positives. Since the negative weights Í for each positive (x, 𝑦 + ) are normalized as 𝑖 ∈ Nx,𝑦+ 𝑤 x,𝑖 = 1, the average weight per negative becomes 1/𝑁 (x, 𝑦 + ). Consequently, a high-risk positive assigned a smaller negative budget can have larger weights on its fewer negatives. To control this effect, we

5

Experimental Validation

In this section, we aim to answer the following evaluation questions: • EQ1 (KGE Performance). To what extent does RADAR improve the performance of KGE models compared to existing methods? • EQ2 (Training efficiency). How efficient is the training of RADAR compared to existing methods? • EQ3 (Ablation study). How effective is each of our proposed strategy in improving the performance of RADAR? • EQ4 (Sensitivity analysis). How sensitive is the performance of RADAR to its hyperparameters?

5.1

Experimental Setup

Datasets and KGE models. We evaluate RADAR with four KGE models, TransE [4], RotatE [29], DistMult [39], and ComplEx [32], on three widely used KGs, FB15k237 [31], WN18RR [10], and YAGO310 [10]. Since RADAR is model-agnostic, it can be applied to any KGE models without modifying their underlying architectures. A detailed description of the datasets is provided in Appendix A.2. Baselines. We compare RADAR with 15 contrastive learning methods that leverage negative samples: Uniform [4], KBGAN [5], SelfAdv [29], NSCaching [47], Uniform SANS [1], Uniform RW-SANS [1], Self-Adv SANS [1], Self-Adv RW-SANS [1], EANS [16], ERDNS [42], DeMix-Adv [9], M2 ixKG [7], IF-NS [6], BigramKG [8], and ConDNS [36]. We use the official implementations for Self-Adv, SANS, EANS, ERDNS, and ConDNS. For the remaining six methods, we use their reported results (marked ∗ ) since their code is unavailable or does

Sooho Moon and Yunyong Ko

Table 1: KGE performance (MRR and H@10) comparison of RADAR with baselines. RADAR achieves the best average rank on all datasets. ∗ indicates results reported in the original works. Bold and underline indicate the best and the second-best results, respectively. A.R. and OOM denote average rank and out of memory, respectively.

WN18RR

YAGO3-10

RotatE MRR ↑ H@10 ↑ 30.9±N/A 48.6±N/A 32.9±N/A 51.8±N/A 33.7±N/A 53.2±N/A 34.0±N/A 53.2±N/A 29.5±0.1 47.9±0.1 29.8±0.1 48.0±0.0 29.7±0.0 48.5±0.0 33.6±0.0 53.1±0.1 33.6±0.1 53.1±0.1 31.5±0.0 50.8±0.0 34.5±0.0 53.4±0.1 34.5±0.0 53.7±0.1 33.6±0.1 53.1±0.1 35.1±0.1 53.9±0.1 47.1±N/A 55.3±N/A 47.9±N/A 57.6±N/A 47.7±N/A 57.5±N/A 47.7±N/A 57.3±N/A 47.5±0.1 55.7±0.4 47.8±0.0 56.0±0.2 48.0±0.1 56.8±0.2 47.7±0.1 56.3±0.5 47.7±0.1 56.0±0.2 48.2±0.1 57.2±0.2 47.7±0.1 56.5±0.4 48.8±0.0 57.7±0.1 47.8±0.1 56.3±0.6 49.0±0.2 58.2±0.2 44.7±0.1 64.7±0.1 OOM OOM 42.0±0.1 60.1±0.2 49.6±0.1 67.2±0.1 OOM OOM 41.8±0.2 58.3±0.3 48.8±0.1 66.8±0.2 47.4±0.1 66.5±0.2 49.5±0.2 67.4±0.2 50.8±0.2 68.0±0.2

TransE MRR ↑ H@10 ↑ 29.4±N/A 49.7±N/A 30.0±N/A 47.4±N/A 31.8±N/A 51.0±N/A 33.1±N/A 52.9±N/A 31.0±N/A 48.9±N/A 33.5±N/A 53.1±N/A 29.3±0.0 48.1±0.1 29.6±0.0 48.4±0.1 31.2±0.1 50.6±0.0 33.0±0.1 52.7±0.1 32.6±0.0 52.0±0.0 31.2±0.0 49.9±0.1 34.1±0.0 53.3±0.0 34.1±0.0 53.4±0.0 32.9±0.1 52.7±0.1 34.7±0.0 53.4±0.1 18.6±N/A 45.4±N/A 20.0±N/A 47.8±N/A 22.0±N/A 52.1±N/A 23.0±N/A 54.1±N/A 23.6±N/A 50.9±N/A 22.3±N/A 52.9±N/A 20.5±0.0 50.0±0.1 20.5±0.0 50.0±0.1 21.9±0.0 51.0±0.2 22.5±0.1 53.2±0.1 22.5±0.1 53.1±0.1 22.3±0.3 51.1±0.4 23.9±0.0 53.2±0.1 22.9±0.0 53.4±0.1 22.5±0.0 53.1±0.1 25.9±0.0 55.1±0.1 41.2±0.1 63.8±0.1 OOM OOM 40.1±0.1 59.4±0.2 50.3±0.1 67.9±0.2 OOM OOM 41.1±0.0 57.6±0.2 49.9±0.1 67.5±0.2 48.7±0.1 67.7±0.3 50.4±0.1 67.9±0.2 51.8±0.1 67.7±0.1

not reproduce the reported performance; these results are unavailable for YAGO3-10. Baseline details are provided in Appendix A.3. Evaluation protocol. Following [29, 30], we use two metrics: mean reciprocal rank (MRR) and Hits@10 (H@10), reported as percentages (%). We adopt the filtered setting [4] and tie-breaking protocol [30]. We run all experiments with five different random seeds and report the mean performance with standard deviation. Implementation details are provided in Appendix A.1.

5.2

EQ1. KGE Performance

Overall performance. Table 1 shows that RADAR consistently improves the performance of four KGE models across all three KGs. Compared with Uniform, RADAR improves both MRR and H@10 in every model–KG combination, demonstrating the benefit of addressing the two challenges, i.e., negative budget allocation and importance estimation, is beneficial to improving KGE performance. Moreover, RADAR achieves the best average rank (A.R.) on all three KGs, verifying consistent advantages over all baseline methods. Notably, on WN18RR, RADAR ranks first on all eight model–metric combinations, with an A.R. of 1.0 compared with 4.1 for the second-best method. These results demonstrate the importance of the challenges identified in this work and the effectiveness of RADAR in addressing them. Analysis of false-negative sampling risk. To further analyze the performance improvement, we examine how many false negatives

ComplEx MRR ↑ H@10 ↑ 28.2±N/A 45.4±N/A 30.2±N/A 48.1±N/A 30.7±N/A 47.9±N/A 32.3±N/A 51.6±N/A 32.3±N/A 51.6±N/A 27.2±0.1 43.2±0.1 27.1±0.1 43.1±0.1 29.0±0.1 46.1±0.2 32.2±0.0 51.1±0.1 31.7±0.0 50.2±0.1 30.3±0.3 47.0±0.5 35.6±0.1 54.6±0.1 29.6±0.1 48.3±0.6 32.3±0.1 51.1±0.1 35.7±0.1 54.4±0.1 42.9±N/A 47.0±N/A 44.6±N/A 50.9±N/A 46.8±N/A 55.2±N/A 47.4±N/A 56.2±N/A 47.3±N/A 56.8±N/A 46.3±0.2 53.8±0.2 42.7±0.2 47.6±0.3 40.7±0.3 43.6±0.2 46.8±0.1 55.5±0.1 37.5±0.4 40.0±0.5 23.0±0.2 34.4±0.1 48.4±0.1 55.7±0.2 45.6±0.1 53.4±0.1 46.9±0.1 55.8±0.1 49.4±0.1 57.4±0.1 39.6±0.3 54.5±0.2 OOM OOM 19.4±1.4 32.7±0.9 48.5±0.2 66.2±0.2 OOM OOM 21.2±1.1 34.1±0.6 54.5±0.2 70.2±0.1 42.3±0.6 59.6±0.8 48.4±0.3 66.1±0.2 54.5±0.2 70.3±0.3

Uniform Self-Adv

Uniform SANS Self-Adv SANS

FB15k237 100

10 1 0K

1K

2K

3K

Training step

4K

DistMult MRR ↑ H@10 ↑ 26.7±N/A 45.3±N/A 28.3±N/A 45.6±N/A 30.1±N/A 47.0±N/A 31.7±N/A 50.3±N/A 31.6±N/A 49.7±N/A 25.5±0.0 40.4±0.1 25.9±0.0 41.0±0.1 27.3±0.1 43.6±0.1 30.7±0.0 48.4±0.0 31.1±0.1 48.7±0.1 30.8±0.2 48.3±0.3 35.0±0.1 53.8±0.1 30.9±0.2 49.5±0.2 30.8±0.0 48.5±0.1 35.4±0.1 54.0±0.1 38.5±N/A 44.3±N/A 41.3±N/A 45.5±N/A 43.9±N/A 53.5±N/A 44.6±N/A 54.1±N/A 44.3±N/A 54.3±N/A 42.8±0.2 52.6±0.1 41.2±0.3 47.7±1.1 41.8±0.2 49.9±0.2 43.9±0.1 53.3±0.1 38.2±0.4 42.6±0.5 40.0±0.4 45.1±0.3 45.5±0.1 54.8±0.3 43.1±0.1 51.8±0.1 43.9±0.1 53.2±0.3 46.0±0.1 54.9±0.1 36.3±0.2 49.7±0.2 OOM OOM 7.1±0.3 18.7±0.9 46.6±0.1 64.5±0.1 OOM OOM 38.0±0.3 50.5±0.2 52.8±0.1 69.6±0.1 42.3±0.2 60.4±0.3 46.5±0.3 64.4±0.1 53.0±0.2 69.7±0.1

Uniform RW-SANS Self-Adv RW-SANS

5K

Avg. # of FN per positive

FB15k237

Method KBGAN∗ [NAACL’18] NSCaching∗ [ICDE’19] DeMix-Adv∗ [ISWC’23] M2 ixKG∗ [NN’24] IF-NS∗ [KBS’25] BigramKG∗ [TKDE’25] Uniform [NeurIPS’13] Uniform SANS [EMNLP’20] Uniform RW-SANS [EMNLP’20] Self-Adv [ICLR’19] Self-Adv SANS [EMNLP’20] Self-Adv RW-SANS [EMNLP’20] ERDNS [ISWC’23] EANS [arXiv’22] ConDNS [NC’25] RADAR (Ours) KBGAN∗ [NAACL’18] NSCaching∗ [ICDE’19] DeMix-Adv∗ [ISWC’23] M2 ixKG∗ [NN’24] IF-NS∗ [KBS’25] BigramKG∗ [TKDE’25] Uniform [NeurIPS’13] Uniform SANS [EMNLP’20] Uniform RW-SANS [EMNLP’20] Self-Adv [ICLR’19] Self-Adv SANS [EMNLP’20] Self-Adv RW-SANS [EMNLP’20] ERDNS [ISWC’23] EANS [arXiv’22] ConDNS [NC’25] RADAR (Ours) Uniform [NeurIPS’13] Uniform SANS [EMNLP’20] Uniform RW-SANS [EMNLP’20] Self-Adv [ICLR’19] Self-Adv SANS [EMNLP’20] Self-Adv RW-SANS [EMNLP’20] ERDNS [ISWC’23] EANS [arXiv’22] ConDNS [NC’25] RADAR (Ours)

Avg. # of FN per positive

Dataset

A.R.↓ 11.5 9.2 4.1 4.0 14.6 13.9 11.8 6.9 6.9 9.8 2.2 4.8 6.4 1.2 12.6 6.6 4.1 5.7 10.8 11.4 10.0 6.9 11.6 10.6 4.4 5.9 6.4 1.0 6.2 7.6 2.7 7.1 3.1 4.8 3.1 1.4

ERDNS EANS

ConDNS RADAR

WN18RR 10 1 10 2 10 3 0K

1K

2K

3K

Training step

4K

5K

Figure 5: The average number of false negatives sampled per positive during training (𝑁𝑚𝑎𝑥 = 256). RADAR consistently samples the fewest false negatives among all baselines. (FNs) are sampled by each method during training. Figure 5 shows the average number of sampled FNs per positive during training on FB15k237 and WN18RR, where a sampled negative is regarded as an FN if it appears as a positive in the validation or test set. RADAR consistently samples far fewer FNs than all baselines on both KGs, providing empirical support for our observed-degree-based measure of false-negative risk. Together with the performance gains in Table 1, this result suggests that our risk-aware budget allocation strategy effectively mitigates FN sampling, thereby contributing to improved KGE performance. Performance by relation cardinality. We further analyze the performance (MRR) of each method across 1-to-1, 1-to-N, N-to-1, and

How Many and How Much? Contrastive Learning with Negative Samples for Knowledge Graph Embedding

RotatE

Uniform Uniform SANS Uniform RW-SANS Self-Adv Self-Adv SANS Self-Adv RW-SANS ERDNS EANS ConDNS

Tail

MRR ComplEx

TransE

Head

Tail

Head

Table 2: Training time (TT) and GPU memory cost (MC) of RotatE with each method on FB15k237.

DistMult

Tail

Head

Tail

1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N

Head

RADAR (Ours)

High

Low

Figure 6: KGE performance across relation cardinality categories for head and tail prediction. RADAR performs strongly on multi-valued relations. N-to-N relation cardinality categories, following [37]. As shown in Figure 6, KGE models with RADAR outperform the baselines across 1-to-N, N-to-1, and N-to-N relations, where multiple true targets increase the risk of sampling FNs, supporting the effectiveness of our risk-aware budget allocation for such multi-valued relations. The improvement is less consistent for 1-to-1 relations, which have lower FN risk and account for the fewest triples among the four relation categories (1.6% of the total), thus having a smaller impact on overall performance. Detailed statistics and results for all datasets and KGE models are provided in Appendix A.5.

5.3

EQ2. Training Efficiency

Performance–efficiency trade-off. In this experiment, we evaluate the training efficiency of RADAR by comparing performance (MRR) against training time. As shown in Figure 7, RADAR achieves the highest performance while reaching its peak performance faster than all baselines across both KGE models and datasets. This indicates that our risk-aware negative budget allocation does not simply accelerate training by reducing the number of negatives, but also retains sufficient contrastive supervision for effective KGE training. By adaptively allocating negative budgets, RADAR reduces the processing of potentially adverse negatives (i.e., high-risk negatives) while preserving effective learning signals, thereby achieving a

Uniform Self-Adv

Uniform SANS Self-Adv SANS

Uniform RW-SANS Self-Adv RW-SANS

FB15k237 34 32 30 28 26 24 10 1

101

46 44 42 40 38 36 34 32 10 1

100

100

101

Gain 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% +15.0% +165.0% +850.0% -30.0%

MC ↓ 7.5GB 7.5GB 7.5GB 7.5GB 7.5GB 7.5GB 7.5GB 13.4GB 7.6GB 5.0GB

Gain 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% +78.2% +0.5% -34.2%

MRR ↑ 29.5 29.8 29.7 33.6 33.6 31.5 34.5 34.5 33.6 35.0

favorable accuracy–efficiency trade-off. Results for all KGE models and datasets are provided in Appendix A.6. Analysis of training resources. To further analyze the efficiency gains, we measure training time and GPU memory cost of RotatE on FB15k237. For a fair comparison, we use the same number of positives |P | = 1024, maximum negative budget 𝑁𝑚𝑎𝑥 = 256, and embedding dimension of 1000. As shown in Table 2, RADAR reduces training time and memory cost by 30.0% and 34.2%, respectively, compared with Uniform and Self-Adv, while achieving the highest MRR. Moreover, unlike three baselines that incur additional computational and memory overhead, RADAR achieves these reductions through its adaptive negative budgets without introducing costly auxiliary procedures. These results verify that our risk-aware negative budget allocation improves not only KGE performance but also training efficiency.

5.4

EQ3. Ablation Study

In this experiment, we verify the effectiveness of the two proposed components of RADAR: risk-aware negative budget allocation (RA) for (C1) and distribution-calibrated negative weighting (DW) for (C2). We compare RADAR with the following ablated variants: • w/o RA: uses a fixed negative budget (𝛾 = 0), while applying our distribution-calibrated weighting. • w/o DW: uses our risk-aware negative budget allocation, but assigns uniform weights to all negatives (𝛼 = 0).

101

Training time (hour)

WN18RR

Table 3: Ablation study of RADAR. Ablating either of our strategies consistently degrades KGE performance.

MRR

WN18RR

TT ↓ 1h 40m 1h 40m 1h 40m 1h 40m 1h 40m 1h 40m 1h 55m 4h 25m 15h 50m 1h 10m

Effectiveness of individual strategies. Table 3 shows that removing either component degrades KGE performance in all model– dataset combinations, demonstrating that both RA and DW contribute to the effectiveness of RADAR. Without RA, MRR decreases by 1.6–8.4% (4.5% on average), validating the benefit of adapting the negative budget to false-negative risk. Without DW, MRR decreases

MRR 100

Training time (hour)

MRR

48 46 44 42 40 38 36 34 10 1

ConDNS RADAR

FB15k237

MRR

34 32 30 28 26 24 10 1

ERDNS EANS

Method Uniform Uniform SANS Uniform RW-SANS Self-Adv Self-Adv SANS Self-Adv RW-SANS ERDNS EANS ConDNS RADAR

Dataset FB15k237

100

Training time (hour) Training time (hour) (a) RotatE (b) DistMult Figure 7: Performance–efficiency trade-off of RotatE and DistMult with each method on two KGs. RADAR achieves the highest performance in the shortest training time.

WN18RR

YAGO3-10

Method RADAR w/o RA w/o DW RADAR w/o RA w/o DW RADAR w/o RA w/o DW

RotatE 35.1 34.1 (-2.7%) 33.1 (-5.5%) 49.0 47.8 (-2.5%) 47.8 (-2.5%) 50.8 50.0 (-1.6%) 45.0 (-11.4%)

TransE 34.7 33.7 (-2.7%) 32.5 (-6.2%) 25.9 23.8 (-8.4%) 23.7 (-8.4%) 51.8 50.5 (-2.5%) 42.8 (-17.4%)

ComplEx 35.7 34.2 (-4.2%) 31.7 (-11.1%) 49.4 47.7 (-3.6%) 47.4 (-4.2%) 54.5 50.8 (-6.9%) 42.8 (-21.4%)

DistMult 35.4 32.8 (-7.4%) 31.0 (-12.4%) 46.0 44.5 (-3.1%) 44.2 (-4.1%) 53.0 48.5 (-8.3%) 38.2 (-27.9%)

Sooho Moon and Yunyong Ko

T

C

D

R

T

34

C

D

Figure 8: Relative MRR gains over the corresponding counterparts, Self-Adv and Uniform. R, T, C, and D denote RotatE, TransE, ComplEx, and DistMult, respectively. by 2.5%–27.9% (11.0% on average), with the larger degradation indicating that effective weighting remains crucial even after the negative budget is adapted to reduce false-negative risk. Relative performance over existing counterparts. We further analyze the effectiveness of each proposed strategy by comparing its relative performance against the corresponding existing counterpart. Specifically, w/o RA uses the same fixed budget as Self-Adv but retains our DW, thereby isolating the effect of distributioncalibrated weighting. Conversely, w/o DW uses the same uniform weighting as Uniform but retains our RA, thereby isolating the effect of risk-aware budget allocation. As shown in Figure 8, w/o RA consistently outperforms Self-Adv, showing that incorporating score concentration in addition to dispersion provides more effective negative weighting. This supports our motivation that dispersion and concentration capture complementary characteristics of negative-score distributions. Moreover, w/o DW yields even larger gains over Uniform across all model–dataset combinations, despite using the same uniform weighting. This demonstrates that adapting the negative budget according to false-negative risk alone provides substantial performance gains, further validating the importance of risk-aware negative budget allocation.

5.5

EQ4. Sensitivity Analysis

In this experiment, we analyze the sensitivity of RADAR to its hyperparameters, 𝛾, 𝜆, and 𝛽. For each analysis, we vary one hyperparameter while fixing the others to their default values. Detailed settings and additional sensitivity analyses for the adjustment parameters 𝜏 and 𝜔 are provided in Appendix A.4. Sensitivity to 𝛾. The hyperparameter 𝛾 controls the degree of adapting the negative budget to false-negative risk, where 𝛾 = 0 corresponds to a fixed negative budget and a larger 𝛾 reduces the budget for higher-risk positives more. As shown in the top row of Figure 9, the best performance is consistently achieved with 𝛾 > 0 across all KGE models and datasets, validating the benefit of adapting the negative budget according to false-negative risk rather than using a fixed budget. Performance tends to improve as 𝛾 increases, with the best results typically observed around 𝛾 = 0.6– 1.0. On YAGO3-10, however, performance tends to peak around 𝛾 = 0.6 and then decrease, suggesting that overly aggressive budget reduction can discard useful negative supervision. Sensitivity to 𝜆. The hyperparameter 𝜆 balances score dispersion 𝜎x and concentration 𝐶 x in our distribution-calibrated weighting, where 𝜆 = 0 considers only dispersion and 𝜆 = 1 considers only concentration. Across most settings, performance initially improves

33 0.0 0.2 0.4 0.6 0.8 1.0 36 34 32

MRR

MRR

MRR

3.9% 4.8% 7.5% 4.1% 5.3%

15.9% R

50 45

0.0

0.2

0.4

0.6

0.8

50 48 46 28 26 24

30 0.0 0.2 0.4 0.6 0.8 1.0

1.0

40

0.0 0.2 0.4 0.6 0.8 1.0

55

MRR

0

49 48 47 46 26 25 24 23

DistMult

55

MRR

D

ComplEx

50 45

0.0

0.2

0.4

0.6

0.8

0.0 0.2 0.4 0.6 0.8 1.0

1.0

54 52

MRR

C

35

50 48 46 44 28 26 24 22

MRR

T

5

0.0 0.2 0.4 0.6 0.8 1.0

MRR

R

10

30

MRR

0

15

10 8 6 4 2 0

TransE

35

0.8% 0.7% 0.4%

10

20

5.5% 1.8% 2.2% 1.4% 3.4%

20

YAGO3-10

0.1% 0.7%

30

RotatE

w/o DW (vs. Uniform)

WN18RR

1.5% 12.3% 2.3% 10.8% 6.0% 16.8% 6.5% 21.7%

Relative MRR gain (%)

w/o RA (vs. Self-Adv)

FB15k237

50

0.0

0.2

0.4

0.6

0.8

1.0

48

0.0 0.2 0.4 0.6 0.8 1.0

(a) FB15k237 (b) WN18RR (c) YAGO3-10 Figure 9: Hyperparameter sensitivity analysis of RADAR. as 𝜆 increases and then decreases at larger values, with the best performance generally achieved at intermediate values. This indicates that neither dispersion nor concentration alone is sufficient and supports our design of jointly considering both characteristics when determining negative weights. Sensitivity to 𝛽. The hyperparameter 𝛽 controls budget-aware weight normalization, where 𝛽 = 0 applies no normalization and increasing 𝛽 compensates for the larger average per-negative weights induced by smaller budgets. Performance tends to improve as 𝛽 increases, indicating that assigning excessively large weights to negatives from smaller-budget, higher-risk positives can be detrimental. This result supports the necessity of our normalization strategy for mitigating unintended weight amplification caused by adaptive negative budgets.

6

Conclusion and Future Work

In this work, we identify two fundamental yet underexplored challenges in contrastive learning with negative samples for KGE: (C1) negative budget allocation and (C2) negative importance estimation. To effectively address these challenges, we propose RADAR, which employs (1) risk-aware negative budget allocation and (2) distribution-calibrated negative weighting. The former adaptively determines the negative budget based on false-negative sampling risk, while the latter calibrates negative contributions to learning based on two complementary characteristics of the negative-score distribution: dispersion and concentration. Extensive experiments with four KGE models on three real-world KGs demonstrate that RADAR (1) achieves the best average KGC performance, (2) improves training efficiency, and (3) benefits from both proposed strategies, which provide complementary gains. While these results demonstrate the effectiveness of RADAR, several aspects remain open for further works. Our analysis (Section 4.1) assumes uniform observability and shared entity and relation sets between open- and closed-world KGs; extending it to heterogeneous observability and inductive settings with unseen entities or relations is an important direction for future work. Moreover, while RADAR focuses on determining the negative budget and weights, jointly optimizing the negative sampling strategy itself could further improve negative selection.

How Many and How Much? Contrastive Learning with Negative Samples for Knowledge Graph Embedding

References [1] Kian Ahrabian, Aarash Feizi, Yasmin Salehi, William L Hamilton, and Avishek Joey Bose. Structure aware negative sampling in knowledge graphs. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 6093–6101, 2020. [2] Ivana Balazevic, Carl Allen, and Timothy Hospedales. Tucker: Tensor factorization for knowledge graph completion. In Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing (EMNLP-IJCNLP), pages 5185–5194, Hong Kong, China, nov 2019. Association for Computational Linguistics. doi: 10.18653/v1/D19-1522. URL https://aclanthology.org/D19-1522/. [3] Kurt Bollacker, Colin Evans, Praveen Paritosh, Tim Sturge, and Jamie Taylor. Freebase: a collaboratively created graph database for structuring human knowledge. In Proceedings of the 2008 ACM SIGMOD International Conference on Management of Data, pages 1247–1250, 2008. [4] Antoine Bordes, Nicolas Usunier, Alberto Garcia-Duran, Jason Weston, and Oksana Yakhnenko. Translating embeddings for modeling multi-relational data. In Advances in Neural Information Processing Systems, volume 26, 2013. [5] Liwei Cai and William Yang Wang. Kbgan: Adversarial learning for knowledge graph embeddings. In Proceedings of the 2018 conference of the North American chapter of the association for computational linguistics: human language technologies, volume 1 (long papers), pages 1470–1480, 2018. [6] Ming Cai, Zhuolin Deng, and Chen Xiong. If-ns: A new negative sampling framework for knowledge graph embedding using influence function. KnowledgeBased Systems, 315:113258, 2025. [7] Feihu Che and Jianhua Tao. M2ixkg: Mixing for harder negative samples in knowledge graph. Neural Networks, 177:106358, 2024. [8] Feihu Che, Jianhua Tao, and Qionghai Dai. Hard or false: Keep the balance for negative sampling in knowledge graphs. IEEE Transactions on Knowledge and Data Engineering, 2025. [9] Xiangnan Chen, Wen Zhang, Zhen Yao, Mingyang Chen, and Siliang Tang. Negative sampling with adaptive denoising mixup for knowledge graph embedding. In International semantic web conference, pages 253–270. Springer, 2023. [10] Tim Dettmers, Pasquale Minervini, Pontus Stenetorp, and Sebastian Riedel. Convolutional 2d knowledge graph embeddings. In Proceedings of the AAAI Conference on Artificial Intelligence, 2018. [11] Xin Dong, Evgeniy Gabrilovich, Geremy Heitz, Wilko Horn, Ni Lao, Kevin Murphy, Thomas Strohmann, Shaohua Sun, and Wei Zhang. Knowledge vault: A web-scale approach to probabilistic knowledge fusion. In Proceedings of the 20th ACM SIGKDD international conference on Knowledge discovery and data mining, pages 601–610, 2014. [12] Luis Galárraga, Simon Razniewski, Antoine Amarilli, and Fabian M Suchanek. Predicting completeness in knowledge bases. In Proceedings of the tenth acm international conference on web search and data mining, pages 375–383, 2017. [13] Michael Gutmann and Aapo Hyvärinen. Noise-contrastive estimation: A new estimation principle for unnormalized statistical models. In Proceedings of the thirteenth international conference on artificial intelligence and statistics, pages 297–304. JMLR Workshop and Conference Proceedings, 2010. [14] Xiao Huang, Jingyuan Zhang, Dingcheng Li, and Ping Li. Knowledge graph embedding based question answering. In Proceedings of the twelfth ACM international conference on web search and data mining, pages 105–113, 2019. [15] Roshni G Iyer, Yunsheng Bai, Wei Wang, and Yizhou Sun. Dual-geometric space embedding model for two-view knowledge graphs. In Proceedings of the 28th ACM SIGKDD conference on knowledge discovery and data mining, pages 676–686, 2022. [16] Sang-Hyun Je. Entity aware negative sampling with auxiliary loss of false negative prediction for knowledge graph embedding. arXiv preprint arXiv:2210.06242, 2022. [17] Hidetaka Kamigaito and Katsuhiko Hayashi. Comprehensive analysis of negative sampling in knowledge graph representation learning. In International Conference on Machine Learning, pages 10661–10675. PMLR, 2022. [18] Rui Li, Jianan Zhao, Chaozhuo Li, Di He, Yiqi Wang, Yuming Liu, Hao Sun, Senzhang Wang, Weiwei Deng, Yanming Shen, et al. House: Knowledge graph embedding with householder parameterization. In International Conference on Machine Learning, pages 13209–13224. PMLR, 2022. [19] Zhifei Li, Wei Huang, Xuchao Gong, Xiangyu Luo, Kui Xiao, Honglian Deng, Miao Zhang, and Yan Zhang. Decoupled semantic graph neural network for knowledge graph embedding. Neurocomputing, 611:128614, 2025. [20] Linhao Luo, Zicheng Zhao, Reza Haffari, Dinh Phung, Chen Gong, and Shirui Pan. Gfm-rag: graph foundation model for retrieval augmented generation. In Advances in Neural Information Processing Systems, volume 38, pages 36371– 36405, 2026. [21] Farzaneh Mahdisoltani, Joanna Biega, and Fabian M Suchanek. Yago3: A knowledge base from multilingual wikipedias. In CIDR, 2013. [22] Sameh K Mohamed, Aayah Nounu, and Vít Nováček. Biological applications of knowledge graph embedding models. Briefings in bioinformatics, 22(2):1679–1693, 2021.

[23] Sooho Moon and Yunyong Ko. How sharp and bias-robust is a model? dual evaluation perspectives on knowledge graph completion. In Proceedings of the nineteenth ACM international conference on web search and data mining, 2026. [24] Sooho Moon, Jian Kang, and Yunyong Ko. Generalized rank-based evaluation for knowledge graph completion: Perspectives, framework, and analyses. arXiv preprint arXiv:2606.08921, 2026. [25] Natasha Noy, Yuqing Gao, Anshu Jain, Anant Narayanan, Alan Patterson, and Jamie Taylor. Industry-scale knowledge graphs: lessons and challenges. Communications of the ACM, 62(8):36–43, 2019. [26] Joshua Robinson, Ching-Yao Chuang, Suvrit Sra, and Stefanie Jegelka. Contrastive learning with hard negative samples. arXiv preprint arXiv:2010.04592, 2020. [27] Tengwei Song, Long Yin, Zhen Han, and Zhiqiang Xu. Improving enzyme prediction with chemical reaction equations by hypergraph-enhanced knowledge graph embeddings. In Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining V. 1, pages 1309–1320, 2026. [28] Fabian M Suchanek, Gjergji Kasneci, and Gerhard Weikum. Yago: a core of semantic knowledge. In Proceedings of the 16th International Conference on World Wide Web, pages 697–706, 2007. [29] Zhiqing Sun, Zhi-Hong Deng, Jian-Yun Nie, and Jian Tang. Rotate: Knowledge graph embedding by relational rotation in complex space. In International Conference on Learning Representations (ICLR), 2019. URL https://openreview. net/forum?id=HkgEQnRqYQ. [30] Zhiqing Sun, Shikhar Vashishth, Soumya Sanyal, Partha Talukdar, and Yiming Yang. A re-evaluation of knowledge graph completion methods. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 5516–5522, Online, jul 2020. Association for Computational Linguistics. doi: 10.18653/v1/2020.acl-main.489. URL https://aclanthology.org/2020.acl-main.489/. [31] Kristina Toutanova and Danqi Chen. Observed versus latent features for knowledge base and text inference. In Proceedings of the 3rd Workshop on Continuous Vector Space Models and Their Compositionality, pages 57–66, 2015. [32] Théo Trouillon, Johannes Welbl, Sebastian Riedel, Éric Gaussier, and Guillaume Bouchard. Complex embeddings for simple link prediction. In Proceedings of International Conference on Machine Learning, pages 2071–2080. PMLR, 2016. [33] Hongwei Wang, Fuzheng Zhang, Miao Zhao, Wenjie Li, Xing Xie, and Minyi Guo. Multi-task feature learning for knowledge graph enhanced recommendation. In The world wide web conference, pages 2000–2010, 2019. [34] Hongwei Wang, Miao Zhao, Xing Xie, Wenjie Li, and Minyi Guo. Knowledge graph convolutional networks for recommender systems. In The world wide web conference, pages 3307–3313, 2019. [35] Yingheng Wang, Yaosen Min, Xin Chen, and Ji Wu. Multi-view graph contrastive representation learning for drug-drug interaction prediction. In Proceedings of the web conference 2021, pages 2921–2933, 2021. [36] Zhaorongjie Wang, Nan Li, Kai Chen, Aiping Li, and Liqun Gao. Condns: A novel conditional diffusion-based negative sampling method for knowledge graph embedding. Neurocomputing, page 131751, 2025. [37] Zhen Wang, Jianwen Zhang, Jianlin Feng, and Zheng Chen. Knowledge graph embedding by translating on hyperplanes. In Proceedings of the AAAI conference on artificial intelligence, 2014. [38] Changyi Xiao and Yixin Cao. Knowledge graph completion by intermediate variables regularization. Advances in Neural Information Processing Systems, 37: 110218–110245, 2024. [39] Bishan Yang, Wen-tau Yih, Xiaodong He, Jianfeng Gao, and Li Deng. Embedding entities and relations for learning and inference in knowledge bases. In Proceedings of International Conference on Learning Representations (ICLR), Poster Track, 2015. URL https://arxiv.org/abs/1412.6575. [40] Haotong Yang, Zhouchen Lin, and Muhan Zhang. Rethinking knowledge graph evaluation under the open-world assumption. In Advances in Neural Information Processing Systems, volume 35, pages 8374–8385, 2022. [41] Zhen Yang, Ming Ding, Tinglin Huang, Yukuo Cen, Junshuai Song, Bin Xu, Yuxiao Dong, and Jie Tang. Does negative sampling matter? a review with insights into its theory and applications. IEEE Transactions on Pattern Analysis and Machine Intelligence, 46(8):5692–5711, 2024. [42] Naimeng Yao, Qing Liu, Yi Yang, Weihua Li, and Quan Bai. Entity-relation distribution-aware negative sampling for knowledge graph embedding. In International Semantic Web Conference, pages 234–252. Springer, 2023. [43] Michihiro Yasunaga, Hongyu Ren, Antoine Bosselut, Percy Liang, and Jure Leskovec. Qa-gnn: Reasoning with language models and knowledge graphs for question answering. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 535–546, 2021. [44] Michihiro Yasunaga, Antoine Bosselut, Hongyu Ren, Xikun Zhang, Christopher D Manning, Percy S Liang, and Jure Leskovec. Deep bidirectional languageknowledge graph pretraining. In Advances in Neural Information Processing Systems, volume 35, pages 37309–37323, 2022. [45] Xiangxiang Zeng, Xinqi Tu, Yuansheng Liu, Xiangzheng Fu, and Yansen Su. Toward better drug discovery with knowledge graph. Current Opinion in Structural Biology, 72:114–126, 2022.

Sooho Moon and Yunyong Ko

[46] Yongqi Zhang and Quanming Yao. Knowledge graph reasoning with relational digraph. In Proceedings of the ACM web conference 2022, pages 912–924, 2022. [47] Yongqi Zhang, Quanming Yao, Yingxia Shao, and Lei Chen. Nscaching: simple and efficient negative sampling for knowledge graph embedding. In 2019 IEEE 35th International Conference on Data Engineering (ICDE), pages 614–625. IEEE, 2019. [48] Zhaocheng Zhu, Zuobai Zhang, Louis-Pascal Xhonneux, and Jian Tang. Neural bellman-ford networks: A general graph neural network framework for link prediction. Advances in neural information processing systems, 34:29476–29490, 2021.

A Appendix A.1 Implementation Details The implementation details of our experiments are as follows: • System configurations: We run all experiments on a machine with an NVIDIA RTX 5000 PRO GPU, with dual Intel Xeon Gold 6526Y CPUs (32 physical cores, 64 threads in total) with 256 GB of main memory. • Training: We tune hyperparameters and select the configuration with the highest validation MRR. Each model is trained for 100K steps and evaluated every 5K steps. We decay the learning rate by 10% after 50K steps. For a fair comparison, all baselines are trained under the same hardware environment and memory configuration. For reproducibility, we release the code, datasets, and complete hyperparameter settings at https://anonymous. 4open.science/r/KGENS-1EB6/. • Evaluation: We adopt the standard filtered setting [4] alongside the tie-breaking protocol from Sun et al. [30] when computing rank-based metrics. Under the filtered setting, candidate triples that exist as ground-truth facts in the dataset (other than the target entity) are excluded during ranking. Under the tie-breaking protocol, if 𝑛 entities obtain a strictly higher score than the target entity and 𝑚 entities receive the same score, the final rank is calculated as 𝑛 + 𝑚+1 2 in order to resolve identical scores fairly and prevent overestimation [30].

A.2

Description of Datasets

We use the following three real-world KGs in our experiments. Table 4 summarizes their statistics. • FB15k237 [31]: A subset of Freebase [3] containing real-world facts across diverse domains, such as people, locations, and organizations. It removes inverse relations from FB15k to prevent information leakage. • WN18RR [10]: A subset of WordNet, a lexical knowledge base representing semantic relationships between words, such as hypernymy and derivational relations. It removes inverse relations from WN18. • YAGO3-10 [10]: A subset of YAGO3 [21, 28], a large-scale knowledge graph primarily constructed from Wikipedia, containing factual relationships among real-world entities. Table 4: Statistics of three KGs used in our experiments. FB15k237 WN18RR YAGO3-10

|E | 14,541 40,943 123,182

|R| 237 11 37

|T | 272,115 86,835 1,079,040

A.3

Description of Baselines

We compare 15 baselines with RADAR in our experiments. • Uniform Sampling [4] randomly corrupts the head or tail entity of a positive triple using a uniformly sampled entity. While efficient, it often produces trivial negatives. • KBGAN [5] employs an adversarial framework where a generator selects challenging negatives for a discriminator. • NSCaching [47] maintains dynamically updated caches of highscoring negatives, balancing exploration and exploitation. • Self-Adv [29] weights uniformly sampled negatives using a temperature-controlled softmax over model scores, emphasizing harder negatives. • SANS and RW-SANS [1] sample structurally relevant negatives from 𝑘-hop neighborhoods and their random-walk approximations, respectively. We combine each with Uniform and Self-Adv weighting, resulting in four more variants: Uniform SANS, Uniform RW-SANS, Self-Adv SANS, and Self-Adv RW-SANS. • EANS [16] exploits embedding similarity by reorganizing entity indices and applying Gaussian sampling to select nearby negatives, with an auxiliary loss for false-negative mitigation. • ERDNS [42] allocates a fixed negative budget via multinomial sampling based on entity–relation frequencies, motivated by optimal embedding analysis [17]. • DeMix-Adv [9] distinguishes suspected false negatives from reliable negatives, mixing the former with positives and the latter with other negatives to generate informative samples. • M2 ixKG [7] synthesizes hard negatives through embedding interpolation, mixing entities from relation-sharing triples or highscoring negatives. • IF-NS [6] uses influence functions to identify informative negatives and maintains a dynamically updated candidate repository. • BigramKG [8] combines relation–entity semantic matching probabilities with model scores to emphasize hard negatives and suppress potential false negatives. • ConDNS [36] uses conditional diffusion to generate synthetic negatives in embedding space, controlling difficulty through denoising timesteps.

A.4

Sensitivity Analysis: 𝜏 and 𝜔

As described in Section 4.2, we further consider two strategies for adjusting the estimated risk: (a) uncertainty-aware and (b) relationaware adjustments. (a) is controlled by 𝜏, where 𝜏 = 0 directly uses the observed anchor degree 𝑑 (x) and a larger 𝜏 incorporates greater uncertainty into 𝑑 (x). (b) is controlled by 𝜔, where 𝜔 = 0 directly uses 𝑑 (x) and a larger 𝜔 places greater emphasis on the relation-level degree. Figure 10 shows the sensitivity of the KGE performance (MRR and H@10) to 𝜏 and 𝜔. For 𝜏, performance remains largely stable across a wide range of values, indicating that RADAR is highly insensitive to the assumed uncertainty in 𝑑 (x). This suggests that the observed anchor degree, 𝑑 (x), itself provides a sufficiently reliable estimate for risk-aware negative budget allocation. For 𝜔, performance also remains stable up to around 𝜔 = 0.8, showing that incorporating relation-level information yields comparable performance to directly using 𝑑 (x). However, performance degrades when 𝜔 > 0.8, indicating that excessive reliance on relation-level

How Many and How Much? Contrastive Learning with Negative Samples for Knowledge Graph Embedding RotatE

TransE

ComplEx

DistMult

58

Hits@10

56 55

0.0

0.2

0.4

0.6

0.8

50 48 46 44 28 26 24

0.0 0.2 0.4 0.6 0.8 1.0

1.0

MRR

Hits@10

58 56 54

0.0

0.2

0.4

0.6

0.8

1.0

0.0 0.2 0.4 0.6 0.8 1.0

Figure 10: Sensitivity of KGE performance to the two adjustment parameters, 𝜏 and 𝜔, on WN18RR. information can obscure anchor-specific risk. Overall, these results demonstrate that the original degree-based design of RADAR is sufficiently reliable and RADAR is insensitive to the adjustment hyperparameters.

A.5

Table 5: Statistics of relation cardinality. Dataset

57

MRR

49 48 47 46 28 27 26 25 24

Relation Category Analysis

We explain how relations are categorized into four types: 1-to-1, 1-to-N, N-to-1, and N-to-N. Following Wang et al. [37], for each relation 𝑟 , we compute the average number of tails per head (tphr) and the average number of heads per tail (hptr) from the training data. We classify relations as follows: 1-to-1 if tphr < 1.5 and hptr < 1.5; 1-to-N if tphr ≥ 1.5 and hptr < 1.5; N-to-1 if tphr < 1.5 and hptr ≥ 1.5; and N-to-N otherwise. Statistics of relation categories are summarized in Table 5.

Statistic 1-to-1 1-to-N N-to-1 N-to-N # Relations 17 26 86 108 FB15k237 # Train triples 4,278 (1.6%) 12,536 (4.6%) 50,635 (18.6%) 204,666 (75.2%) # Test triples 192 (0.9%) 1,293 (6.3%) 4,508 (22.0%) 14,473 (70.7%) # Relations 2 4 3 2 WN18RR # Train triples 1,218 (1.4%) 13,770 (15.9%) 40,833 (47.0%) 31,014 (35.7%) # Test triples 42 (1.3%) 475 (15.2%) 1,487 (47.4%) 1,130 (36.1%) # Relations 2 5 10 20 YAGO3-10 # Train triples 6,323 (0.6%) 15,356 (1.4%) 127,635 (11.8%) 929,726 (86.2%) # Test triples 30 (0.6%) 89 (1.8%) 591 (11.8%) 4,290 (85.8%)

Figure 11 shows the complete results across all KGE model– dataset combinations, complementing the relation-cardinality analysis in EQ1 (Section 5.2). Overall, RADAR performs strongly across different relation categories, with particularly consistent gains on 1-to-N, N-to-1, and N-to-N relations. These results further support the effectiveness of risk-aware negative budget allocation for multivalued relations, where false-negative risk is higher. In contrast, RADAR shows limited gains on 1-to-1 relations compared to baselines. Nevertheless, as shown in Table 5, 1-to-1 relations account for only around 1% of train/test triples across the three datasets and thus have limited impact on overall KGE performance.

A.6

Performance–Efficiency Trade-Off

Figure 12 presents the complete performance–efficiency results across all KGE models and datasets, complementing the results in EQ2 (Section 5.3). Overall, RADAR exhibits a favorable performance– efficiency trade-off across diverse settings. On FB15k237 and WN18RR, RADAR achieves the highest KGE performance in the shortest training time than other methods. In particular, although RADAR is not always the fastest on YAGO3-10, it achieves the highest performance, demonstrating that its efficiency gains do not come at the cost of KGE performance. These results further support the effectiveness of RADAR across different models and datasets.

Sooho Moon and Yunyong Ko

RotatE

Head

RADAR (Ours)

Tail

DistMult

Head

Tail

RotatE

Head

Tail

HITS@10ComplEx

TransE

Head

Tail

Head

DistMult

Tail

Head

Tail

Tail

Head

Tail

DistMult

Head

Tail

RotatE

Head

Tail

Head

Tail

Head

MRR ComplEx TransE

DistMult

Tail

Head

Tail

Head

Tail

Head

Tail

DistMult

Head

Tail

RotatE

Head

Tail

Head

Tail

Head

DistMult

Tail

Head

Tail

RADAR (Ours)

100

101

48 46 44 42 40 38 36 34 10 1

Training time (hour)

WN18RR

MRR

MRR

WN18RR

100

Training time (hour)

52 50 48 46 44 42 40 38 36 10 1

100

Training time (hour)

YAGO3-10

MRR

YAGO3-10

100

101

Training time (hour) (a) RotatE

ConDNS RADAR

FB15k237

FB15k237

101

34 32 30 28 26 24 10 1

101

46 44 42 40 38 36 34 32 10 1

MRR

101

36 34 32 30 28 26 24 10 1

ERDNS EANS

100

Training time (hour)

WN18RR

54 52 50 48 46 44 42 40 38 10 1

100

101

Training time (hour) (b) TransE

100

101

Training time (hour)

WN18RR

MRR

100

Training time (hour)

MRR

50 48 46 44 42 40 38 36 34 1 10

FB15k237

MRR 101

26 25 24 23 22 21 20 19 18 10 1

MRR

101

34 32 30 28 26 24 10 1

Uniform RW-SANS Self-Adv RW-SANS

100

Training time (hour)

YAGO3-10

52 50 48 46 44 42 40 38 36 10 1

100

Training time (hour)

YAGO3-10

MRR

FB15k237

Uniform SANS Self-Adv SANS

MRR

Uniform Self-Adv

48 46 44 42 40 38 36 34 10 1

High

Low

Figure 11: Negative sampling methods evaluated on different relation categories.

34 32 30 28 26 24 10 1

High

Low

HITS@10ComplEx TransE

1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N

Tail

High

Low

HITS@10ComplEx TransE

1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N

Head

RotatE

Head

YAGO3-10

Head

MRR

WN18RR

Tail

RADAR (Ours)

Uniform Uniform SANS Uniform RW-SANS Self-Adv Self-Adv SANS Self-Adv RW-SANS ERDNS EANS ConDNS

MRR ComplEx

MRR ComplEx TransE

RotatE

Head

Uniform Uniform SANS Uniform RW-SANS Self-Adv Self-Adv SANS Self-Adv RW-SANS ERDNS EANS ConDNS

Tail

1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N 1-to-1 1-to-N N-to-1 N-to-N

Uniform Uniform SANS Uniform RW-SANS Self-Adv Self-Adv SANS Self-Adv RW-SANS ERDNS EANS ConDNS

TransE

Tail

MRR

FB15k237

Head

100

101

Training time (hour) (c) ComplEx

100

101

Training time (hour) (d) DistMult

Figure 12: Performance–efficiency trade-off of RADAR and baselines across all KGE models and datasets.

Related documents

Record · ID 1473619 · SHA-256 22b01e6cf756d8db
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive