Yi Yang, Wen Zhang, Huajun Chen, Mingyang Chen, Yufeng Huang, Zhen Yao
We lifted 2 functions out of this paper's own repositories and ran 0 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| zjukg/AnKGE | — | 0 of 2 |
| Function | Status | Where it lives |
|---|---|---|
| AnKnn | Not yet run | zjukg/AnKGE/src/ankge/model/KGEModel/AnKnn.py code served (permissive licence) · get_code("25c15f2e6c1f7c5e") |
| Model | Not yet run | zjukg/AnKGE/src/ankge/model/KGEModel/AnKnn.py code served (permissive licence) · get_code("05be1cc6e2638d27") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Knowledge graph embedding (KGE), which maps entities and relations in a knowledge graph into continuous vector spaces, has achieved great success in predicting missing links in knowledge graphs. However, knowledge graphs often contain incomplete triples that are difficult to inductively infer by KGEs. To address this challenge, we resort to analogical inference and propose a novel and general self-supervised framework AnKGE to enhance KGE models with analogical inference capability. We propose an analogical object retriever that retrieves appropriate analogical objects from entity-level, relation-level, and triple-level. And in AnKGE, we train an analogy function for each level of analogical inference with the original element embedding from a welltrained KGE model as input, which outputs the analogical object embedding. In order to combine inductive inference capability from the original KGE model and analogical inference capability enhanced by AnKGE, we interpolate the analogy score with the base model score and introduce the adaptive weights in the score function for prediction. Through extensive experiments on FB15k-237 and WN18RR datasets, we show that AnKGE achieves competitive results on link prediction task and well performs analogical inference.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2301.00982")
get_code_for_paper("2301.00982")
have("2301.00982")
Connect an agent — have() is free.