SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2407.05705 · IJCAI · 2024

Fast and Continual Knowledge Graph Embedding via Incremental LoRA

Peng Wang, Jiajun Liu, Jiahao Wang, Yining Li, Guozheng Li, Wenjun Ke, Ziyu Shang, Ke Ji, Zijie Xu, Jinhua Gao

arXiv · PDF · Open in the Atlas

Code that ran

3 of 4 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 3 failures of our instrument; 1 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2407.05705.json · badge: /api/ran/2407.05705.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
seukgcode/FastKGE canonical (classifier label)
classifier basis: census
3 ran · 1 no recorded run
FunctionStatusWhere it lives
get_param Ran
ran; our contract draft was wrong, not the code
seukgcode/FastKGE/src/utils.py
pointer only (licence: NONE) · get_code("c5332ac773270ba2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, seukgcode/FastKGE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

infoNCE Ran
ran; our contract draft was wrong, not the code
seukgcode/FastKGE/src/utils.py
pointer only (licence: NONE) · get_code("0e9d0a2d2306d6b9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, seukgcode/FastKGE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_fact Ran
ran; our contract draft was wrong, not the code
seukgcode/FastKGE/cal_features.py
pointer only (licence: NONE) · get_code("a1f8642ed76552d6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, seukgcode/FastKGE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

build_edge_index Not yet run
unverified (harvested, no recorded run)
seukgcode/FastKGE/cal_features.py
pointer only (licence: NONE) · get_code("b091e2fd6c3a5afd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, seukgcode/FastKGE when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 0 the same month, 0 later) and 0 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
build_edge_index 1 other paper
1 dated earlier
2405.04453 (2024-05)
Towards Continual Knowledge Graph Embedding via Incremental Distillation
get_param 1 other paper
1 dated earlier
2405.04453 (2024-05)
Towards Continual Knowledge Graph Embedding via Incremental Distillation
infoNCE 1 other paper
1 dated earlier
2405.04453 (2024-05)
Towards Continual Knowledge Graph Embedding via Incremental Distillation
load_fact 1 other paper
1 dated earlier
2405.04453 (2024-05)
Towards Continual Knowledge Graph Embedding via Incremental Distillation

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Continual Knowledge Graph Embedding (CKGE) aims to efficiently learn new knowledge and simultaneously preserve old knowledge. Dominant approaches primarily focus on alleviating catastrophic forgetting of old knowledge but neglect efficient learning for the emergence of new knowledge. However, in real-world scenarios, knowledge graphs (KGs) are continuously growing, which brings a significant challenge to fine-tuning KGE models efficiently. To address this issue, we propose a fast CKGE framework (FastKGE), incorporating an incremental low-rank adapter (IncLoRA) mechanism to efficiently acquire new knowledge while preserving old knowledge. Specifically, to mitigate catastrophic forgetting, FastKGE isolates and allocates new knowledge to specific layers based on the fine-grained influence between old and new KGs. Subsequently, to accelerate fine-tuning, FastKGE devises an efficient IncLoRA mechanism, which embeds the specific layers into incremental low-rank adapters with fewer training parameters. Moreover, IncLoRA introduces adaptive rank allocation, which makes the LoRA aware of the importance of entities and adjusts its rank scale adaptively. We conduct experiments on four public datasets and two new datasets with a larger initial scale. Experimental results demonstrate that FastKGE can reduce training time by 34%-49% while still achieving competitive link prediction performance against state-of-the-art models on four public datasets (average MRR score of 21.0% vs. 21.1%). Meanwhile, on two newly constructed datasets, FastKGE saves 51%-68% training time and improves link prediction performance by 1.5%.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2407.05705")
get_code_for_paper("2407.05705")
have("2407.05705")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2407.05705.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2407.05705.svg)](https://syntology.ai/paper/2407.05705)

Connect an agent — have() is free.