SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2004.09930 · ACL · 2020

Relabel the Noise: Joint Extraction of Entities and Relations via Cooperative Multiagents

Yaliang Li, Ying Shen, Daoyuan Chen, Kai Lei

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 2 have no contract verdict; 2 failures of our instrument; 1 no recorded run), measured 2026-11-22; 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/2004.09930.json · badge: /api/ran/2004.09930.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
INK-USC/DS-RelationExtraction canonical (classifier label)
classifier basis: census
4 ran · 1 no recorded run
FunctionStatusWhere it lives
genFields Ran
ran; our contract draft was wrong, not the code
INK-USC/DS-RelationExtraction/code/Classifier/liblinear.py
pointer only (licence: MIT); the stored copy get_code serves, from xmc-aalto/dismec, is pointer only (licence: NONE) · get_code("2065a445394e47c6")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from xmc-aalto/dismec, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_as_list Ran
ran on a synthesized input
INK-USC/DS-RelationExtraction/code/Classifier/DataIO.py
code served (permissive licence) · get_code("d86d209ddd994d96")
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. 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 tempfile
import os

# Create a temporary file with test data
# The function expects a file with tab-separated values
# Format: index \t feature
# Multiple features can have the same index

temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt')
temp_filename = temp_file.name

# Write test data
test_data = """0\t5
0\t2
0\t8
1\t3
1\t1
2\t7
2\t4
2\t9"""

temp_file.write(test_data)
temp_file.close()

ARGS = {
    "filename": temp_filename
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is 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
load_map Ran
ran on a synthesized input
INK-USC/DS-RelationExtraction/code/Classifier/DataIO.py
code served (permissive licence) · get_code("ab6070a4d1da8d0a")
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 dict. 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 tempfile
import os

# Create a temporary file with tab-separated mapping data
temp_file = tempfile.NamedTemporaryFile(mode='w', delete=False, suffix='.txt')
temp_file.write("mention1\tlabel1\n")
temp_file.write("mention2\tlabel2\n")
temp_file.write("mention3\tlabel3\n")
temp_file.close()

filename = temp_file.name
mode = 'mention'

ARGS = {
    'filename': filename,
    'mode': mode
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type dict — a dict output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a dict output the recorded ndim 0 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
toPyModel Ran
ran; our contract draft was wrong, not the code
INK-USC/DS-RelationExtraction/code/Classifier/liblinear.py
pointer only (licence: MIT); the stored copy get_code serves, from xmc-aalto/dismec, is pointer only (licence: NONE) · get_code("82641d763d29c6fd")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from xmc-aalto/dismec, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_as_dict Not yet run
unverified (harvested, no recorded run)
INK-USC/DS-RelationExtraction/code/Classifier/DataIO.py
code served (permissive licence) · get_code("639090b6f394e431")
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, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 2 later) and 0 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
genFields 5 other papers
2 dated earlier, 3 later
1609.02521 (2016-09)
DiSMEC - Distributed Sparse Machines for Extreme Multi-label Classification
1907.12865 (2019-07)
Open Set Domain Adaptation for Image and Action Recognition
aaai_25904 (2023 (year only))
Can Label-Specific Features Help Partial-Label Learning?
and 2 more not named here
toPyModel 5 other papers
2 dated earlier, 3 later
1609.02521 (2016-09)
DiSMEC - Distributed Sparse Machines for Extreme Multi-label Classification
1907.12865 (2019-07)
Open Set Domain Adaptation for Image and Action Recognition
aaai_25904 (2023 (year only))
Can Label-Specific Features Help Partial-Label Learning?
and 2 more not named here
load_as_dict 1 other paper
1 dated earlier
1503.03578 (2015-03)
LINE: Large-scale Information Network Embedding
load_as_list 1 other paper
1 dated earlier
1503.03578 (2015-03)
LINE: Large-scale Information Network Embedding
load_map 1 other paper
1 dated earlier
1503.03578 (2015-03)
LINE: Large-scale Information Network Embedding

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

Distant supervision based methods for entity and relation extraction have received increasing popularity due to the fact that these methods require light human annotation efforts. In this paper, we consider the problem of shifted label distribution, which is caused by the inconsistency between the noisy-labeled training set subject to external knowledge graph and the human-annotated test set, and exacerbated by the pipelined entity-then-relation extraction manner with noise propagation. We propose a joint extraction approach to address this problem by re-labeling noisy instances with a group of cooperative multiagents. To handle noisy instances in a fine-grained manner, each agent in the cooperative group evaluates the instance by calculating a continuous confidence score from its own perspective; To leverage the correlations between these two extraction tasks, a confidence consensus module is designed to gather the wisdom of all agents and re-distribute the noisy training set with confidence-scored labels. Further, the confidences are used to adjust the training losses of extractors. Experimental results on two realworld datasets verify the benefits of re-labeling noisy instance, and show that the proposed model significantly outperforms the state-ofthe-art entity and relation extraction methods.

For agents

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

get_harvested_code_for_paper("2004.09930")
get_code_for_paper("2004.09930")
have("2004.09930")

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

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

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

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

Connect an agent — have() is free.