{"about":{"non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","site":"https://codewithpapers.app","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page","syntology":{"site":"https://syntology.ai","developers":"https://syntology.ai/developers","mcp":{"server":"https://syntology.ai/mcp","transport":"streamable-http","server_card":"https://syntology.ai/.well-known/mcp/server-card.json","auth":{"type":"trial token, no account","trial_token":"https://syntology.ai/api/oauth/trial/token","method":"POST","docs":"https://syntology.ai/developers"}},"have":"https://syntology.ai/api/graph/have?x=<method, arXiv id or title> (free, answers coverage only)","paper_base":"https://syntology.ai/paper/","atlas_base":"https://app.syntology.ai/?focus="},"machine_readable":[{"url":"https://codewithpapers.app/llms.txt","what":"the machine catalog: every machine-readable file, counted"},{"url":"https://codewithpapers.app/index/manifest.json","what":"paper-to-code index by arXiv id, with Syntology's counts"},{"url":"https://codewithpapers.app/search/manifest.json","what":"site search index (titles, authors) and its files"},{"url":"https://codewithpapers.app/download","what":"bulk files: Syntology's layer, described there"},{"url":"https://codewithpapers.app/build_manifest.json","what":"the build record: inputs, counts, exclusions, probes"}]},"url":"/paper/embedding-entities-and-relations-for-learning","title":"Embedding Entities and Relations for Learning and Inference in Knowledge Bases","arxiv_id":"1412.6575","date":"2014-12-20","proceeding":null,"authors":["Bishan Yang","Wen-tau Yih","Xiaodong He","Jianfeng Gao","Li Deng"],"abstract":"We consider learning representations of entities and relations in KBs using\nthe neural-embedding approach. We show that most existing models, including NTN\n(Socher et al., 2013) and TransE (Bordes et al., 2013b), can be generalized\nunder a unified learning framework, where entities are low-dimensional vectors\nlearned from a neural network and relations are bilinear and/or linear mapping\nfunctions. Under this framework, we compare a variety of embedding models on\nthe link prediction task. We show that a simple bilinear formulation achieves\nnew state-of-the-art results for the task (achieving a top-10 accuracy of 73.2%\nvs. 54.7% by TransE on Freebase). Furthermore, we introduce a novel approach\nthat utilizes the learned relation embeddings to mine logical rules such as\n\"BornInCity(a,b) and CityInCountry(b,c) => Nationality(a,c)\". We find that\nembeddings learned from the bilinear objective are particularly good at\ncapturing relational semantics and that the composition of relations is\ncharacterized by matrix multiplication. More interestingly, we demonstrate that\nour embedding-based rule extraction approach successfully outperforms a\nstate-of-the-art confidence-based rule mining approach in mining Horn rules\nthat involve compositional reasoning.","url_abs":"http://arxiv.org/abs/1412.6575v4","url_pdf":"http://arxiv.org/pdf/1412.6575v4.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"embedding-entities-and-relations-for-learning","repo_url":"https://github.com/Sujit-O/pykg2vec","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"embedding-entities-and-relations-for-learning","repo_url":"https://github.com/awslabs/dgl-ke","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"embedding-entities-and-relations-for-learning","repo_url":"https://github.com/bi-graph/emgraph","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"tf","reach":{"status":"unanswered"}},{"paper_slug":"embedding-entities-and-relations-for-learning","repo_url":"https://github.com/facebookresearch/PyTorch-BigGraph","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"NOASSERTION"}},{"paper_slug":"embedding-entities-and-relations-for-learning","repo_url":"https://github.com/giuseppefutia/semi","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"embedding-entities-and-relations-for-learning","repo_url":"https://github.com/sntcristian/and-kge","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"embedding-entities-and-relations-for-learning","repo_url":"https://github.com/thiviyant/intelligraphs","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"NOASSERTION"}},{"paper_slug":"embedding-entities-and-relations-for-learning","repo_url":"https://github.com/thu-keg/eakit","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"embedding-entities-and-relations-for-learning","repo_url":"https://github.com/Accenture/AmpliGraph","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"tf","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"embedding-entities-and-relations-for-learning","repo_url":"https://github.com/pyg-team/pytorch_geometric/blob/master/torch_geometric/nn/kge/distmult.py","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"link-prediction","task_name":"Link Prediction"}],"methods":[{"method_slug":"transe","method_name":"TransE"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/link-prediction-on-fb15k-237","task":"Link Prediction","dataset":"FB15k-237","model":"DistMult","rank_in_archive_order":73,"of":75,"metrics":{"Hits@10":"0.419","MRR":"0.241"},"uses_additional_data":false},{"leaderboard":"/sota/link-prediction-on-umls","task":"Link Prediction","dataset":"UMLS","model":"DistMult","rank_in_archive_order":10,"of":10,"metrics":{"Hits@10":"0.846","MR":"5.52"},"uses_additional_data":false},{"leaderboard":"/sota/link-prediction-on-wn18","task":"Link Prediction","dataset":"WN18","model":"DistMult","rank_in_archive_order":29,"of":37,"metrics":{"Hits@1":"0.728","Hits@10":"0.936","Hits@3":"0.914","MR":"902","MRR":"0.822"},"uses_additional_data":false},{"leaderboard":"/sota/link-prediction-on-wn18rr","task":"Link Prediction","dataset":"WN18RR","model":"DisMult","rank_in_archive_order":74,"of":75,"metrics":{"Hits@1":"0.39","MRR":"0.43"},"uses_additional_data":false},{"leaderboard":"/sota/link-property-prediction-on-ogbl-biokg","task":"Link Property Prediction","dataset":"ogbl-biokg","model":"DistMult","rank_in_archive_order":14,"of":16,"metrics":{"Ext. data":"No","Number of params":"187648000","Test MRR":"0.8043 ± 0.0003","Validation MRR":"0.8055 ± 0.0003"},"uses_additional_data":false},{"leaderboard":"/sota/link-property-prediction-on-ogbl-wikikg2","task":"Link Property Prediction","dataset":"ogbl-wikikg2","model":"DistMult (500dim)","rank_in_archive_order":27,"of":30,"metrics":{"Ext. data":"No","Number of params":"1250569500","Test MRR":"0.3729 ± 0.0045","Validation MRR":"0.3506 ± 0.0042"},"uses_additional_data":false},{"leaderboard":"/sota/link-property-prediction-on-ogbl-wikikg2","task":"Link Property Prediction","dataset":"ogbl-wikikg2","model":"DistMult (100dim)","rank_in_archive_order":28,"of":30,"metrics":{"Ext. data":"No","Number of params":"250113900","Test MRR":"0.3447 ± 0.0082","Validation MRR":"0.3150 ± 0.0088"},"uses_additional_data":false}],"syntology":{"syntology_url":"https://syntology.ai/paper/1412.6575","atlas_url":"https://app.syntology.ai/?focus=1412.6575","mcp":null,"developers":"https://syntology.ai/developers","held":true,"reason":"arxiv_id_in_atlas","checked_against":{"atlas_ids":549449,"atlas_ids_sha256":"afd72399dafd9906e9062927f70655952385a3d75488558e1f0484e950ab09b7","read_at":"2026-10-05T01:46:21Z"},"agent_calls":[{"tool":"get_citation_path","arguments":{"paper_1":"1412.6575"},"arguments_in":{"paper_2":"another paper's arXiv id or title"},"call":"get_citation_path(paper_1=\"1412.6575\", paper_2=\"…\")"},{"tool":"get_concepts_for_paper","arguments":{"arxiv_id":"1412.6575"},"call":"get_concepts_for_paper(arxiv_id=\"1412.6575\")"}],"by_repo":[{"repo":"Sujit-O/pykg2vec","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"awslabs/dgl-ke","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":1,"harvested_for":["2004.08532"],"harvested_for_calls":[{"arxiv_id":"2004.08532","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2004.08532"},"call":"get_harvested_code_for_paper(arxiv_id=\"2004.08532\")"}]},{"repo":"bi-graph/emgraph","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"facebookresearch/PyTorch-BigGraph","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"giuseppefutia/semi","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":1,"harvested_for":["1703.06103"],"harvested_for_calls":[{"arxiv_id":"1703.06103","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"1703.06103"},"call":"get_harvested_code_for_paper(arxiv_id=\"1703.06103\")"}]},{"repo":"sntcristian/and-kge","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"thiviyant/intelligraphs","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0},{"repo":"thu-keg/eakit","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":1,"harvested_for":["1911.09419"],"harvested_for_calls":[{"arxiv_id":"1911.09419","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"1911.09419"},"call":"get_harvested_code_for_paper(arxiv_id=\"1911.09419\")"}]},{"repo":"Accenture/AmpliGraph","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":1,"harvested_for":["2105.08683"],"harvested_for_calls":[{"arxiv_id":"2105.08683","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2105.08683"},"call":"get_harvested_code_for_paper(arxiv_id=\"2105.08683\")"}]},{"repo":"pyg-team/pytorch_geometric","kind":"listed","samples":0,"ran":0,"instrument":0,"unverified":0,"harvested_for_other_papers":1,"harvested_for":["2606.17022"],"harvested_for_calls":[{"arxiv_id":"2606.17022","tool":"get_harvested_code_for_paper","arguments":{"arxiv_id":"2606.17022"},"call":"get_harvested_code_for_paper(arxiv_id=\"2606.17022\")"}]}],"by_repo_harvested_for_is":"harvested_for: the arXiv ids (as Syntology's graph holds them) of every paper whose samples Syntology's graph links to this repository, in arXiv-id order, complete; the page names the first 3 and says how many more. A link only: it does not say the papers are the same work, that one copied the other, or that the code implements this paper's method; harvested_for_calls gives the get_harvested_code_for_paper call for each arXiv-shaped id among them","by_repo_is":"one row per repository in the archive's code links, Syntology's graph links or the samples; samples 0 means no sample is linked to this paper, a statement about Syntology's coverage, not about the repository: with harvested_for_other_papers present, Syntology harvested the repository for that many other papers, and without it, Syntology harvested nothing from it; placed_by_identical_code counts samples whose link records no repository, placed here because identical code was harvested from this repository for another paper; ran counts executions on a synthesized input and instrument counts failures of Syntology's instrument, not of the code"},"code_links_note":null,"arxiv_metadata":null,"syntology_extracted_results":null,"record_sha256":"380f6f429289309671655d7491e3f77a1c0047c89c59a6bd453e5657338fe4a6","record_changed_at":"2026-09-28","record_changed_at_basis":"first_hashed"}