Papers › An Adversarial Transfer Network for Knowledge Representation Learning

An Adversarial Transfer Network for Knowledge Representation Learning

30 Apr 2021arXiv:2104.14757archive 2025-07-28

Huijuan Wang, Shuangyin Li, Rong pan

Knowledge representation learning has received a lot of attention in the past few years. The success of existing methods heavily relies on the quality of knowledge graphs. The entities with few triplets tend to be learned with less expressive power. Fortunately, there are many knowledge graphs constructed from various sources, the representations of which could contain much information. We propose an adversarial embedding transfer network ATransN, which transfers knowledge from one or more teacher knowledge graphs to a target one through an aligned entity set without explicit data leakage. Specifically, we add soft constraints on aligned entity pairs and neighbours to the existing knowledge representation learning methods. To handle the problem of possible distribution differences between teacher and target knowledge graphs, we introduce an adversarial adaption module. The discriminator of this module evaluates the degree of consistency between the embeddings of an aligned entity pair. The consistency score is then used as the weights of soft constraints. It is not necessary to acquire the relations and triplets in teacher knowledge graphs because we only utilize the entity representations. Knowledge graph completion results show that ATransN achieves better performance against baselines without transfer on three datasets, CN3l, WK3l, and DWY100k. The ablation study demonstrates that ATransN can bring steady and consistent improvement in different settings. The extension of combining other knowledge graph embedding algorithms and the extension with three teacher graphs display the promising generalization of the adversarial transfer network.

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="2104.14757")

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.

LemonNoel/ATransN officialmentioned in papermentioned on GitHubpytorchApache-2.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

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 LemonNoel/ATransN. “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.

anneal_fn LemonNoel/ATransN/src/util.py official repository unverified Apache-2.0 (permissive) · 90a1ba008204d7a0 · report
get_best_steps LemonNoel/ATransN/src/convertor.py official repository unverified Apache-2.0 (permissive) · 181f93687a587de5 · report
get_constant_schedule_with_warmup LemonNoel/ATransN/src/util.py official repository unverified Apache-2.0 (permissive) · a2003a42a1bf5632 · report
get_cosine_with_hard_restarts_schedule_with_warmup LemonNoel/ATransN/src/util.py official repository unverified Apache-2.0 (permissive) · 6bf3d4e2168f71c5 · report
get_learner_iter_per_shared LemonNoel/ATransN/src/dataset.py official repository unverified Apache-2.0 (permissive) · d5eaad152c10fc75 · report
get_metric LemonNoel/ATransN/src/convertor.py official repository unverified Apache-2.0 (permissive) · 6dfb1c716b6c83a7 · report
get_true_head_and_tail LemonNoel/ATransN/src/dataset.py official repository unverified Apache-2.0 (permissive) · 4cf6f2aff9b0abed · report
index LemonNoel/ATransN/src/link_predictor.py official repository unverified Apache-2.0 (permissive) · 1be2ea3a070800ae · report
load_shared_entity LemonNoel/ATransN/src/dataset.py official repository unverified Apache-2.0 (permissive) · df000b54e9dee3f4 · report
make_train_valid_test LemonNoel/ATransN/src/run_data_split.py official repository unverified Apache-2.0 (permissive) · 6ecfdb3bf0b75d2a · report
read_dictionary LemonNoel/ATransN/src/run_entity_alignment.py official repository unverified Apache-2.0 (permissive) · 2ecf01405509ebdf · report

Tasks

Graph EmbeddingKnowledge Graph CompletionKnowledge Graph EmbeddingKnowledge GraphsRepresentation Learning

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