SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2202.12109 · ACL · 2022

Prompt for Extraction? PAIE: Prompting Argument Interaction for Event Argument Extraction

Kun Wang, Jing Shao, Mukai Li, Yixin Cao, Yubo Ma, Meiqi Chen, Zehao Wang

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 4 functions out of this paper's own repositories and ran 3 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
mayubo2333/PAIE — 3 of 4
FunctionStatusWhere it lives
get_best_span Ran mayubo2333/PAIE/models/paie.py
pointer only (licence: NONE) · get_code("5e5185563bc9ea19")
get_best_span_simple Ran mayubo2333/PAIE/models/paie.py
pointer only (licence: NONE) · get_code("08abb4f831436540")
hungarian_matcher Ran mayubo2333/PAIE/models/paie.py
pointer only (licence: NONE) · get_code("6de4a51730d5dea1")
PAIE Not yet run mayubo2333/PAIE/models/paie.py
pointer only (licence: NONE) · get_code("1875c696e7b1082e")

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 paper, we propose an effective yet efficient model PAIE for both sentence-level and document-level Event Argument Extraction (EAE), which also generalizes well when there is a lack of training data. On the one hand, PAIE utilizes prompt tuning for extractive objectives to take the best advantages of Pre-trained Language Models (PLMs). It introduces two span selectors based on the prompt to select start/end tokens among input texts for each role. On the other hand, it captures argument interactions via multi-role prompts and conducts joint optimization with optimal span assignments via a bipartite matching loss. Also, with a flexible prompt design, PAIE can extract multiple arguments with the same role instead of conventional heuristic threshold tuning. We have conducted extensive experiments on three benchmarks, including both sentenceand document-level EAE. The results present promising improvements from PAIE (3.5% and 2.3% F1 gains in average on three benchmarks, for PAIE-base and PAIE-large respectively). Further analysis demonstrates the efficiency, generalization to few-shot settings, and effectiveness of different extractive prompt tuning strategies. Our code is available at https: //github.com/mayubo2333/PAIE. * Equal Contribution. † Work was done when Yubo, Zehao, Mukai and Meiqi were intern researchers at SenseTime Research.

For agents

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

get_harvested_code_for_paper("2202.12109")
get_code_for_paper("2202.12109")
have("2202.12109")

Connect an agent — have() is free.