TL;DR
The Composable Prompt-based Generative Framework (CPGF) unifies diverse Information Extraction (IE) tasks—Named Entity Recognition, Relation Extraction, and Event Extraction—into a single generative slot-filling format using T5. By decomposing complex tasks into modular, reusable sub-prompts and framing relation extraction as a semantic consistency check, CPGF achieves state-of-the-art performance across both data-abundant and zero/few-shot scenarios.
What Problem Does This Paper Address?
Information Extraction (IE) is the backbone of turning unstructured text into structured knowledge, encompassing sub-tasks like identifying entities (NER), finding relationships between them (RE), and detecting real-world events (EE). Traditionally, researchers tackle these tasks by grafting specialized classification heads onto Pre-trained Language Models (PLMs). However, this creates a significant structural and objective gap between how the model was pre-trained (e.g., predicting missing words) and how it is fine-tuned.
While "prompt learning" has emerged to bridge this gap by rephrasing downstream tasks as cloze tests, existing frameworks remain heavily siloed. A framework designed for NER rarely works for EE without a complete redesign. Furthermore, existing event extraction prompt models struggle to generalize to unseen event types because their prompt templates are rigidly tied to specific event definitions. CPGF addresses this by providing a truly unified, generative framework capable of handling all three core IE tasks out of the box.
Methods
CPGF reformulates IE tasks into a generative slot-filling task using a T5 encoder-decoder architecture. Instead of predicting abstract class labels, the model learns to fill in [mask] tokens within natural language prompts.
The framework introduces three key innovations:
- Information Decomposition & Sub-prompts: For complex tasks like Event Extraction, CPGF breaks down the target structure into minimal components (the trigger and individual argument roles). It generates independent slot-filling sub-prompts for each element.
- Composable Prompts: To handle data-scarce and zero-shot scenarios, the authors build a modular sub-prompt library. If different event types share an argument role with the same underlying semantics (e.g., "Place"), they share the exact same modular sub-prompt template. These sub-prompts are concatenated dynamically to form a "composable prompt" for any given event type.
- RE as Semantic Consistency Checking: Because Relation Extraction is inherently a classification problem rather than a span extraction problem, CPGF handles it uniquely. It constructs a prompt asserting a specific relationship between two entities and tasks the model with predicting whether the assertion is "right" or "wrong" based on the text context.
Datasets
The authors evaluated CPGF across three widely recognized standard benchmarks:
- CoNLL2003: Used to evaluate Named Entity Recognition performance in both full-data and downsampled low-resource settings.
- ACE2005: Used for Event Extraction, featuring 7 coarse types and 33 fine-grained subtypes, evaluated under data-abundant, zero-shot, and low-resource conditions.
- SemEval (SemEval-2010 Task 8): Used for Relation Extraction, containing 9 bidirectional relation types and a special "Other" class.
Key Insights and Ideas
- Generative Alignment Beats Classification Heads: Utilizing an encoder-decoder model to fill slots natively aligns downstream extraction tasks with the model's generative pre-training, making it highly effective at extracting variable-length text spans.
- Decoupling Prompts Unlocks Zero-Shot Transfer: Previous models tied argument prompts closely to specific event types. By breaking prompts into independent, modular sub-prompts, CPGF allows the model to transfer knowledge about an argument role (like "Place") from a well-trained event type to an entirely unseen event type.
- Simplifying the Output Space for RE: Forcing a generative model to directly output abstract relation label names is notoriously difficult. Framing RE as a binary "right/wrong" consistency check against a descriptive prompt bypasses this issue entirely.
- Resilience to Prompt Engineering: Unlike many prompt-based methods where minor wording tweaks cause massive performance swings, CPGF shows remarkable stability across different manual prompt designs, significantly reducing the labor cost of prompt engineering.
Key Results
Event Extraction
On the full ACE2005 dataset, CPGF-large significantly outperformed the state-of-the-art prompt baseline (DEGREE) by 4.43% in trigger classification, achieving an F1 score of 78.24%. In the zero-shot setting, the application of composable prompts yielded massive improvements in argument classification, pushing the F1 score to 37.58% compared to DEGREE's 24.39%.
Named Entity Recognition
CPGF matched the top-performing prompt baseline (LightNER) on the full CoNLL2003 dataset with a 92.93% F1 score. Crucially, in low-resource entity scenarios, CPGF-large achieved a significant jump on the "LOC" type, hitting 84.12% F1 versus LightNER's 81.57%.
Relation Extraction
On the SemEval dataset, CPGF-large achieved an F1 score of 90.24%, outperforming the rule-based prompt tuning method PTR. More impressively, in extreme low-resource settings (1-, 2-, and 4-shot), CPGF demonstrated substantial performance gains over existing prompt-based methods.
Limitations and Future Work
While highly effective, CPGF's task formulations for NER and EE depend strictly on encoder-decoder architectures (like T5 or BART) due to the requirement of generating variable-length text spans. Consequently, these specific templates cannot be directly applied to encoder-only models like BERT.
Additionally, the authors noted that in extremely sparse data scenarios (e.g., the 1% data split), using modular sub-prompts with very large models can sometimes reduce sample diversity, slightly exacerbating overfitting. Future work includes exploring how to automatically optimize the modular prompt library generation and extending the framework to decoder-only large language models.
Summary updated