SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2001.08943 · 2020

Active Learning for Entity Alignment

arXiv · PDF · Open in the Atlas

Code that ran

4 of 5 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 4 have no contract verdict; 0 failures of our instrument; 1 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2001.08943.json · badge: /api/ran/2001.08943.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
mberr/ea-active-learning canonical (classifier label)
classifier basis: census
4 ran · 1 no recorded run
FunctionStatusWhere it lives
aggregate_auc_qh Ran
ran on a synthesized input
mberr/ea-active-learning/src/kgm/eval/active_learning.py
code served (permissive licence) · get_code("a9f3547084ed6f7d")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned DataFrame. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import pandas
import numpy as np

# Create a sample DataFrame with AUC-QH values
np.random.seed(0)

data = {
    'data.subset_name': ['subset_A', 'subset_A', 'subset_A', 'subset_A', 'subset_B', 'subset_B', 'subset_B', 'subset_B'],
    'heuristic.heuristic_name': ['heur_1', 'heur_1', 'heur_2', 'heur_2', 'heur_1', 'heur_1', 'heur_2', 'heur_2'],
    'auc_qh': [0.75, 0.78, 0.82, 0.80, 0.71, 0.74, 0.85, 0.87]
}

auc_df = pandas.DataFrame(data)

ARGS = {
    'auc': auc_df,
    'subset_column': 'data.subset_name',
    'heuristic_column': 'heuristic.heuristic_name',
    'auc_column': 'auc_qh'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_node_with_max_min_ref_distance Ran
ran on a synthesized input
mberr/ea-active-learning/src/kgm/active_learning/graph.py
code served (permissive licence) · get_code("a57a6e8a64a94bdb")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy
import numpy as np

# Create a distances matrix - this needs to be indexed by [sources] then [:, candidates]
# Shape should be (total_nodes, total_nodes) where we have at least 5 nodes total
distances = np.array([
    [0.0, 1.0, 2.0, 3.0, 4.0],
    [1.0, 0.0, 1.5, 2.5, 3.5],
    [2.0, 1.5, 0.0, 1.0, 2.0],
    [3.0, 2.5, 1.0, 0.0, 1.5],
    [4.0, 3.5, 2.0, 1.5, 0.0],
], dtype=np.float32)

# Define sources and candidates as collections of node indices
sources = [0, 1]  # List of source node indices
candidates = [2, 3, 4]  # List of candidate node indices

ARGS = {
    'sources': sources,
    'candidates': candidates,
    'distances': distances,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family float — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_rank Ran
ran on a synthesized input
mberr/ea-active-learning/src/kgm/eval/common.py
code served (permissive licence) · get_code("24c3f21daf7bffe9")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned Tensor, ndim 1, dtype family float, shape (2,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch

torch.manual_seed(0)

# Create a batch_size=2, with similarity matrix of shape (2, 4)
# sim represents similarity scores between queries and 4 candidates
sim = torch.randn(2, 4, dtype=torch.float32)

# true is a LongTensor of shape (2,) with indices of the true candidate for each query
# Values must be valid indices into the second dimension of sim (0-3)
true = torch.tensor([1, 2], dtype=torch.long)

ARGS = {
    "sim": sim,
    "true": true,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 1, dtype family float, shape (2,) — shape (2,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
metrics_long_to_wide Ran
ran on a synthesized input
mberr/ea-active-learning/src/kgm/eval/active_learning.py
code served (permissive licence) · get_code("fee00efed1ac9785")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned DataFrame. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import pandas
import numpy as np

# Create a sample dataframe in long format with the required columns
data = {
    'run_id': ['run_1', 'run_1', 'run_1', 'run_1', 'run_2', 'run_2', 'run_2', 'run_2'],
    'step': [0, 0, 1, 1, 0, 0, 1, 1],
    'key': ['num_queries', 'hits@1', 'num_queries', 'hits@1', 'num_queries', 'hits@1', 'num_queries', 'hits@1'],
    'value': [100, 0.85, 150, 0.87, 120, 0.82, 160, 0.89]
}

metrics_df = pandas.DataFrame(data)

ARGS = {
    'metrics': metrics_df,
    'num_queries_column': 'num_queries',
    'hits_column': 'hits@1'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, pandas — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type DataFrame — a DataFrame output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a DataFrame output the recorded ndim 2 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
auc_qh Not yet run
unverified (harvested, no recorded run)
mberr/ea-active-learning/src/kgm/eval/active_learning.py
code served (permissive licence) · get_code("0bb6c547899b26fe")
How it ran

no invocation recorded.

Also present in other papers' code

Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 1 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 1 later) and 4 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
get_rank 1 other paper
1 later
2002.06914 (2020-02)
On the Ambiguity of Rank-Based Evaluation of Entity Alignment or Link Prediction Methods

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

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

Abstract

In this work, we propose a novel framework for the labeling of entity alignments in knowledge graph datasets. Different strategies to select informative instances for the human labeler build the core of our framework. We illustrate how the labeling of entity alignments is different from assigning class labels to single instances and how these differences affect the labeling efficiency. Based on these considerations we propose and evaluate different active and passive learning strategies. One of our main findings is that passive learning approaches, which can be efficiently precomputed and deployed more easily, achieve performance comparable to the active learning strategies.

For agents

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

get_harvested_code_for_paper("2001.08943")
get_code_for_paper("2001.08943")
have("2001.08943")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2001.08943.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2001.08943.svg)](https://syntology.ai/paper/2001.08943)

Connect an agent — have() is free.