SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2004.13579 · 2020

TransEdge: Translating Relation-contextualized Embeddings for Knowledge Graphs

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 12 functions out of this paper's own repositories and ran 9 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.

RepositoryRoleRan
nju-websoft/TransEdge canonical 9 of 12
FunctionStatusWhere it lives
dic_kkv2list Ran nju-websoft/TransEdge/code/kg_lp.py
code served (permissive licence) · get_code("43a68e3c8da3cb8f")
dic_kv2list Ran nju-websoft/TransEdge/code/kg_lp.py
code served (permissive licence) · get_code("e780f352a3c7ac74")
dic_kv2list_hubu Ran nju-websoft/TransEdge/code/kg_lp.py
code served (permissive licence) · get_code("3796f718ded4e854")
filter_mat Ran nju-websoft/TransEdge/code/train_bp.py
code served (permissive licence) · get_code("3d11d81dffd5eb22")
generate_cross_min_sim Ran nju-websoft/TransEdge/code/train_funcs.py
code served (permissive licence) · get_code("ce42c9af98b99262")
generate_out_folder Ran nju-websoft/TransEdge/code/train_funcs.py
code served (permissive licence) · get_code("076eb32b455bd4e6")
generate_sup_triples Ran nju-websoft/TransEdge/code/utils.py
code served (permissive licence) · get_code("1cb6e3f91859d444")
limit_loss Ran nju-websoft/TransEdge/code/model_funcs.py
code served (permissive licence) · get_code("cafe03267576040a")
search_nearest_k Ran nju-websoft/TransEdge/code/train_bp.py
code served (permissive licence) · get_code("8feff77c105deae2")
bootstrapping Not yet run nju-websoft/TransEdge/code/train_bp.py
code served (permissive licence) · get_code("4084cc8f42902e22")
embed_init Not yet run nju-websoft/TransEdge/code/model_funcs.py
code served (permissive licence) · get_code("ac1af7025e0011b6")
xavier_init Not yet run nju-websoft/TransEdge/code/model_funcs.py
code served (permissive licence) · get_code("ae60d2c6a850f59a")

Repositories linked to this paper

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

Abstract

Learning knowledge graph (KG) embeddings has received increasing attention in recent years. Most embedding models in literature interpret relations as linear or bilinear mapping functions to operate on entity embeddings. However, we find that such relation-level modeling cannot capture the diverse relational structures of KGs well. In this paper, we propose a novel edge-centric embedding model TransEdge, which contextualizes relation representations in terms of specific head-tail entity pairs. We refer to such contextualized representations of a relation as edge embeddings and interpret them as translations between entity embeddings. TransEdge achieves promising performance on different prediction tasks. Our experiments on benchmark datasets indicate that it obtains the state-of-the-art results on embedding-based entity alignment. We also show that TransEdge is complementary with conventional entity alignment methods. Moreover, it shows very competitive performance on link prediction.

For agents

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

get_harvested_code_for_paper("2004.13579")
get_code_for_paper("2004.13579")
have("2004.13579")

Connect an agent — have() is free.