Papers › DGL-KE: Training Knowledge Graph Embeddings at Scale

DGL-KE: Training Knowledge Graph Embeddings at Scale

18 Apr 2020arXiv:2004.08532links table onlyarchive 2025-07-28

Da Zheng, Xiang Song, Chao Ma, Zeyuan Tan, Zihao Ye, Jin Dong, Hao Xiong, Zheng Zhang, George Karypis

The archive published only this paper's code-link row. Authors, date and abstract are from arXiv's metadata (CC0), read from the Kaggle arXiv metadata snapshot of 2026-09-12 where its title matched the archive's; the title is the archive's.

Knowledge graphs have emerged as a key abstraction for organizing information in diverse domains and their embeddings are increasingly used to harness their information in various information retrieval and machine learning tasks. However, the ever growing size of knowledge graphs requires computationally efficient algorithms capable of scaling to graphs with millions of nodes and billions of edges. This paper presents DGL-KE, an open-source package to efficiently compute knowledge graph embeddings. DGL-KE introduces various novel optimizations that accelerate training on knowledge graphs with millions of nodes and billions of edges using multi-processing, multi-GPU, and distributed parallelism. These optimizations are designed to increase data locality, reduce communication overhead, overlap computations with memory accesses, and achieve high operation efficiency. Experiments on knowledge graphs consisting of over 86M nodes and 338M edges show that DGL-KE can compute embeddings in 100 minutes on an EC2 instance with 8 GPUs and 30 minutes on an EC2 cluster with 4 machines with 48 cores/machine. These results represent a 2x~5x speedup over the best competing approaches. DGL-KE is available on https://github.com/awslabs/dgl-ke.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2004.08532")

Code

Syntology Ran 0 of 25 code samples harvested from 2 repositories linked to this paper; 25 have no recorded run.

By repository: official repository: 10 samples from 1 repository, 0 ran; community (archive-listed): 15 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

awslabs/dgl-ke officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
idirlab/freebases mentioned on GitHubpytorchCC0-1.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

25 samples harvested; 0 ran; 0 honoured the contract we drafted; 25 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

25unverified

Licence: 0 of the 25 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

check_port_available awslabs/dgl-ke/python/dglke/kvserver.py official repository unverified Apache-2.0 (permissive) · bc3a10c2f9154e25 · report
get_local_machine_id awslabs/dgl-ke/python/dglke/kvclient.py official repository unverified Apache-2.0 (permissive) · 51ced90c9fe3686a · report
get_long_tail_partition awslabs/dgl-ke/python/dglke/kvclient.py official repository unverified Apache-2.0 (permissive) · 210da1d26a3627d6 · report
get_machine_count awslabs/dgl-ke/python/dglke/dist_train.py official repository unverified Apache-2.0 (permissive) · 2d755fd7759a79cc · report
get_machine_count awslabs/dgl-ke/python/dglke/kvclient.py official repository unverified Apache-2.0 (permissive) · 14d9fe99228da0c1 · report
get_server_data awslabs/dgl-ke/python/dglke/kvserver.py official repository unverified Apache-2.0 (permissive) · 249d1c8c4c51f698 · report
is_local awslabs/dgl-ke/python/dglke/dist_train.py official repository unverified Apache-2.0 (permissive) · 1bed5159d4510f5a · report
load_model awslabs/dgl-ke/python/dglke/train_mxnet.py official repository unverified Apache-2.0 (permissive) · 099352c8df6bbfe5 · report
load_model_from_checkpoint awslabs/dgl-ke/python/dglke/train_mxnet.py official repository unverified Apache-2.0 (permissive) · 4bc4112f66051106 · report
run_cmd awslabs/dgl-ke/python/dglke/dist_train.py official repository unverified Apache-2.0 (permissive) · 13997ea0dc0416ad · report
cartesian_relations idirlab/freebases/DataPreparationScripts/cartesian.py community (archive-listed) unverified CC0-1.0 (permissive) · dd8acaaab9a42aa5 · report
create_triples idirlab/freebases/DataPreparationScripts/cartesian.py community (archive-listed) unverified CC0-1.0 (permissive) · 0c1f71b8bac6e691 · report
create_triples idirlab/freebases/DataPreparationScripts/duplicate.py community (archive-listed) unverified CC0-1.0 (permissive) · 391f5f5a397f785d · report
duplicate_relations idirlab/freebases/DataPreparationScripts/duplicate.py community (archive-listed) unverified CC0-1.0 (permissive) · cbf9223db5e0b8ba · report
entity_dict idirlab/freebases/ExperimentsScripts/data_preparation/create_er_dicts.py community (archive-listed) unverified CC0-1.0 (permissive) · e9baa88374fa3160 · report
find_edge_domain idirlab/freebases/ExperimentsScripts/FB1_statistics_domain_triples_relations.py community (archive-listed) unverified CC0-1.0 (permissive) · 36dfb609acf78036 · report
get_id2label idirlab/freebases/ExperimentsScripts/FB1_statistics_domain_triples_relations.py community (archive-listed) unverified CC0-1.0 (permissive) · 5b9798142c710f46 · report
index_KvsAll idirlab/freebases/ExperimentsScripts/kge/kge/indexing.py community (archive-listed) unverified CC0-1.0 (permissive) · 79e8c86b8cbf34bf · report
index_relation_types idirlab/freebases/ExperimentsScripts/kge/kge/indexing.py community (archive-listed) unverified CC0-1.0 (permissive) · 8de5ea6adbb76af2 · report
index_relations_per_type idirlab/freebases/ExperimentsScripts/kge/kge/indexing.py community (archive-listed) unverified CC0-1.0 (permissive) · 016f6033e3fdf5c1 · report
read_dict idirlab/freebases/ExperimentsScripts/data_preparation/map_triples_to_ids.py community (archive-listed) unverified CC0-1.0 (permissive) · df9fc541b4d9d076 · report
read_file idirlab/freebases/ExperimentsScripts/FB1_statistics_domain_triples_relations.py community (archive-listed) unverified CC0-1.0 (permissive) · da36ef8474d88ac2 · report
relation_dict idirlab/freebases/ExperimentsScripts/data_preparation/create_er_dicts.py community (archive-listed) unverified CC0-1.0 (permissive) · e71bc2d8ce60d3ff · report
replaceWID idirlab/freebases/ExperimentsScripts/data_preparation/map_triples_to_ids.py community (archive-listed) unverified CC0-1.0 (permissive) · a058bd02af0f0c57 · report
splitData idirlab/freebases/ExperimentsScripts/data_preparation/split_no_cvt_data.py community (archive-listed) unverified CC0-1.0 (permissive) · a943b8e45daa74e9 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections