Papers › Linguistic representations for fewer-shot relation extraction across domains

Linguistic representations for fewer-shot relation extraction across domains

7 Jul 2023arXiv:2307.03823archive 2025-07-28

Sireesh Gururaja, Ritam Dutt, Tinglong Liao, Carolyn Rose

Recent work has demonstrated the positive impact of incorporating linguistic representations as additional context and scaffolding on the in-domain performance of several NLP tasks. We extend this work by exploring the impact of linguistic representations on cross-domain performance in a few-shot transfer setting. An important question is whether linguistic representations enhance generalizability by providing features that function as cross-domain pivots. We focus on the task of relation extraction on three datasets of procedural text in two domains, cooking and materials science. Our approach augments a popular transformer-based architecture by alternately incorporating syntactic and semantic graphs constructed by freely available off-the-shelf tools. We examine their utility for enhancing generalization, and investigate whether earlier findings, e.g. that semantic representations can be more helpful than syntactic ones, extend to relation extraction in multiple domains. We find that while the inclusion of these graphs results in significantly higher performance in few-shot transfer, both types of graph exhibit roughly equivalent utility.

PaperPDFCode 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="2307.03823")

Code

Syntology Ran 10 of 12 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 10 ran with no contract checked.

By repository: found in paper text by Syntology: 12 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ShoRit/flow_graphs found in paper text by SyntologyMIT 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

12 samples harvested; 10 ran; 0 honoured the contract we drafted; 2 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.

10ran
2unverified

Licence: 0 of the 12 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 ShoRit/flow_graphs. “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.

add_evaluation_context ShoRit/flow_graphs/code/evaluation.py found in paper text by Syntology ran MIT (permissive) · a4338ddc4d9fefe7 · report
create_mini_batch ShoRit/flow_graphs/code/dataloader.py found in paper text by Syntology ran MIT (permissive) · e862ce41c308f4c8 · report
get_case ShoRit/flow_graphs/code/modeling/metadata_utils.py found in paper text by Syntology ran fingerprinted MIT (permissive) · fd1263cea7785bb2 · report
get_experiment_config_from_filename ShoRit/flow_graphs/code/modeling/metadata_utils.py found in paper text by Syntology ran MIT (permissive) · 06352740042a8bcb · report
get_transfer_checkpoint_filename ShoRit/flow_graphs/code/modeling/metadata_utils.py found in paper text by Syntology ran MIT (permissive) · ea2da938a6597622 · report
load_amr_rel2id ShoRit/flow_graphs/code/dataloading_utils.py found in paper text by Syntology ran MIT (permissive) · 9ee0b1fa45ecb649 · report
load_deprels ShoRit/flow_graphs/code/dataloading_utils.py found in paper text by Syntology ran MIT (permissive) · 60f6752e6b70b47a · report
load_glove ShoRit/flow_graphs/code/dataloading_utils.py found in paper text by Syntology ran MIT (permissive) · 7eaf87d77923564b · report
sample_fraction ShoRit/flow_graphs/code/dataloader.py found in paper text by Syntology ran MIT (permissive) · 8599b1cb2086c2f2 · report
stratified_sample ShoRit/flow_graphs/code/dataloader.py found in paper text by Syntology ran MIT (permissive) · e17310578b0210f1 · report
get_labels_and_model_predictions ShoRit/flow_graphs/code/evaluation.py found in paper text by Syntology unverified MIT (permissive) · 962a5b07a9931a3d · report
seen_eval ShoRit/flow_graphs/code/evaluation.py found in paper text by Syntology unverified MIT (permissive) · 44053179e1c00586 · report

Tasks

Relation Extraction

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Focus

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