Papers › Dynamic Anticipation and Completion for Multi-Hop Reasoning over Sparse Knowledge Graph

Dynamic Anticipation and Completion for Multi-Hop Reasoning over Sparse Knowledge Graph

5 Oct 2020EMNLP 2020 11arXiv:2010.01899archive 2025-07-28

Xin Lv, Xu Han, Lei Hou, Juanzi Li, Zhiyuan Liu, Wei zhang, Yichi Zhang, Hao Kong, Suhui Wu

Multi-hop reasoning has been widely studied in recent years to seek an effective and interpretable method for knowledge graph (KG) completion. Most previous reasoning methods are designed for dense KGs with enough paths between entities, but cannot work well on those sparse KGs that only contain sparse paths for reasoning. On the one hand, sparse KGs contain less information, which makes it difficult for the model to choose correct paths. On the other hand, the lack of evidential paths to target entities also makes the reasoning process difficult. To solve these problems, we propose a multi-hop reasoning model named DacKGR over sparse KGs, by applying novel dynamic anticipation and completion strategies: (1) The anticipation strategy utilizes the latent prediction of embedding-based models to make our model perform more potential path search over sparse KGs. (2) Based on the anticipation information, the completion strategy dynamically adds edges as additional actions during the path search, which further alleviates the sparseness problem of KGs. The experimental results on five datasets sampled from Freebase, NELL and Wikidata show that our method outperforms state-of-the-art baselines. Our codes and datasets can be obtained from https://github.com/THU-KEG/DacKGR

PaperPDFConference PDFCodeCode 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="2010.01899")

Code

Syntology Ran 0 of 11 code samples harvested from 1 repository linked to this paper; 11 have no recorded run.

By repository: official repository: 11 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.

THU-KEG/DacKGR officialmentioned in papermentioned on GitHubpytorchMIT 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

11 samples harvested; 0 ran; 0 honoured the contract we drafted; 11 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.

11unverified

Licence: 0 of the 11 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 THU-KEG/DacKGR. “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.

batch_lookup THU-KEG/DacKGR/src/utils/ops.py official repository unverified MIT (permissive) · bf5d078656e9a5cb · report
change_to_test_model_path THU-KEG/DacKGR/src/data_utils.py official repository unverified MIT (permissive) · cfe498d227766f79 · report
check_answer_ratio THU-KEG/DacKGR/src/data_utils.py official repository unverified MIT (permissive) · 10c22da7cb9db158 · report
check_relation_answer_ratio THU-KEG/DacKGR/src/data_utils.py official repository unverified MIT (permissive) · a7e3705996bcffee · report
compute_venn_areas THU-KEG/DacKGR/src/error_analysis/analysis_modules.py official repository unverified MIT (permissive) · 84a0e853fae6b04f · report
convert_to_dist THU-KEG/DacKGR/src/utils/ops.py official repository unverified MIT (permissive) · 788b295e650aa151 · report
entropy THU-KEG/DacKGR/src/utils/ops.py official repository unverified MIT (permissive) · 84a908f10b383452 · report
get_conve_kg_state_dict THU-KEG/DacKGR/src/emb/fact_network.py official repository unverified MIT (permissive) · 54cd6b30f57076ba · report
get_conve_nn_state_dict THU-KEG/DacKGR/src/emb/fact_network.py official repository unverified MIT (permissive) · 2d2c990dd61cae71 · report
get_tucker_nn_state_dict THU-KEG/DacKGR/src/emb/fact_network.py official repository unverified MIT (permissive) · 6be53e3a93f88cac · report
visualize_step THU-KEG/DacKGR/src/utils/vis.py official repository unverified MIT (permissive) · cde5ea85581be0d2 · 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