Papers › Matching the Blanks: Distributional Similarity for Relation Learning

Matching the Blanks: Distributional Similarity for Relation Learning

7 Jun 2019ACL 2019 7arXiv:1906.03158archive 2025-07-28

Livio Baldini Soares, Nicholas FitzGerald, Jeffrey Ling, Tom Kwiatkowski

General purpose relation extractors, which can model arbitrary relations, are a core aspiration in information extraction. Efforts have been made to build general purpose extractors that represent relations with their surface forms, or which jointly embed surface forms with relations from an existing knowledge graph. However, both of these approaches are limited in their ability to generalize. In this paper, we build on extensions of Harris' distributional hypothesis to relations, as well as recent advances in learning text representations (specifically, BERT), to build task agnostic relation representations solely from entity-linked text. We show that these representations significantly outperform previous work on exemplar based relation extraction (FewRel) even without using any of that task's training data. We also show that models initialized with our task agnostic representations, and then tuned on supervised relation extraction datasets, significantly outperform the previous methods on SemEval 2010 Task 8, KBP37, and TACRED.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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

Code

Syntology Ran 9 of 14 code samples harvested from 4 repositories linked to this paper; 5 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 7 ran with no contract checked.

By repository: community (archive-listed): 14 samples from 4 repositories, 9 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

13 repositories listed; official and paper-mentioned ones first.

Soikonomou/albert_final mentioned on GitHubpytorchApache-2.0 report
Soikonomou/albert_final_infer12 mentioned on GitHubpytorch report
Soikonomou/albert_final_infer8 mentioned on GitHubpytorchApache-2.0 report
Soikonomou/bert_new mentioned on GitHubpytorchApache-2.0 report
Soikonomou/bert_new_new mentioned on GitHubpytorchApache-2.0 report
cypressd1999/FYP_2021 mentioned on GitHubpytorchApache-2.0 report
dfki-nlp/mtb-bert-em mentioned on GitHubpytorch report
diffbot/knowledge-net mentioned on GitHubtfMIT report
hieudepchai/BERT_IE mentioned on GitHubpytorchApache-2.0 report
jpablou/Matching-The-Blanks-Ths mentioned on GitHubpytorchApache-2.0 report
plkmo/BERT-Relation-Extraction mentioned on GitHubpytorchApache-2.0 report
yi-han/BERT_Relation_Extraction mentioned on GitHubpytorch 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

14 samples harvested; 9 ran; 0 honoured the contract we drafted; 5 have no recorded run. Read from Syntology's graph 2026-09-25; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
7ran
5unverified

Licence: 1 of the 14 samples is 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 4 repositories linked to this paper, official or community; each sample names its own and says which. “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.

calc uf-hobi-informatics-lab/ClinicalTransformerRelationExtraction/src/utils.py community (archive-listed) ran MIT (permissive) · 056e10dccac0c981 · report
convert_examples_to_relation_extraction_features uf-hobi-informatics-lab/ClinicalTransformerRelationExtraction/src/data_utils.py community (archive-listed) ran MIT (permissive) · 4ceff0a659777901 · report
features2tensors uf-hobi-informatics-lab/ClinicalTransformerRelationExtraction/src/data_utils.py community (archive-listed) ran MIT (permissive) · 6925605bcb0e4afa · report
gelu uf-hobi-informatics-lab/ClinicalTransformerRelationExtraction/src/model_utils.py community (archive-listed) ran fingerprinted MIT (permissive) · 4dc5e7239221c929 · report
load_pickle Soikonomou/albert_final_infer12/src/tasks/infer.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · bb4b4b5ebab73228 · report
load_pickle yi-han/BERT_Relation_Extraction/src/infer.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 6b2f5d5a22d006f7 · report
measure_prf uf-hobi-informatics-lab/ClinicalTransformerRelationExtraction/src/utils.py community (archive-listed) ran MIT (permissive) · 5df801e41d511da6 · report
relation_extraction_data_loader uf-hobi-informatics-lab/ClinicalTransformerRelationExtraction/src/data_utils.py community (archive-listed) ran MIT (permissive) · 8665fb489259bdf8 · report
try_catch_annotator uf-hobi-informatics-lab/ClinicalTransformerRelationExtraction/src/utils.py community (archive-listed) ran MIT (permissive) · 99651d855fa20393 · report
get_mask uf-hobi-informatics-lab/ClinicalTransformerRelationExtraction/src/model_utils.py community (archive-listed) unverified MIT (permissive) · 05732f1a5126672d · report
json2args uf-hobi-informatics-lab/ClinicalTransformerRelationExtraction/src/relation_extraction_json.py community (archive-listed) unverified MIT (permissive) · 7d1f16579e77c0fb · report
nltk_tokenization_engine uf-hobi-informatics-lab/ClinicalTransformerRelationExtraction/baseline/data_utils.py community (archive-listed) unverified MIT (permissive) · f31508e399da30ed · report
pkl_load uf-hobi-informatics-lab/ClinicalTransformerRelationExtraction/baseline/data_utils.py community (archive-listed) unverified MIT (permissive) · 1012ce3bde482566 · report
train_and_eval dfki-nlp/mtb-bert-em/src/mtb/train_eval.py community (archive-listed) unverified MIT (permissive) · e50b2589e0455d1f · report

Tasks

Few-Shot Relation ClassificationRelation ClassificationRelation Extraction

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Relation Classification TACRED MTB Baldini Soares et al. (2019) F1 71.5 #9 of 17 Archive leaderboard report
Relation Extraction SemEval-2010 Task-8 BERTEM+MTB F1 89.5 #13 of 31 Archive leaderboard report
Relation Extraction TACRED BERTEM+MTB F1 71.5 #17 of 40 Archive leaderboard report
Relation Extraction TACRED BERTEM+MTB F1 (1% Few-Shot) 43.4 #17 of 40 Archive leaderboard report
Relation Extraction TACRED BERTEM+MTB F1 (10% Few-Shot) 64.8 #17 of 40 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

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