Extracting Events Like Code: A Multi-Agent Programming Framework for Zero-Shot Event Extraction
Quanjiang Guo, Sijie Wang, Jinchuan Zhang, Ben Zhang, Zhao Kang, Ling Tian, Ke Yan

TL;DR
This paper introduces Agent-Event-Coder, a multi-agent framework that models zero-shot event extraction as a code-generation task, enabling more accurate and schema-consistent extractions across diverse domains.
Contribution
The paper presents a novel multi-agent, programming-inspired approach to zero-shot event extraction, improving accuracy and schema enforcement over prior methods.
Findings
Outperforms prior zero-shot baselines across five domains
Enables deterministic validation of event schemas
Demonstrates effectiveness with six different LLMs
Abstract
Zero-shot event extraction (ZSEE) remains a significant challenge for large language models (LLMs) due to the need for complex reasoning and domain-specific understanding. Direct prompting often yields incomplete or structurally invalid outputs--such as misclassified triggers, missing arguments, and schema violations. To address these limitations, we present Agent-Event-Coder (AEC), a novel multi-agent framework that treats event extraction like software engineering: as a structured, iterative code-generation process. AEC decomposes ZSEE into specialized subtasks--retrieval, planning, coding, and verification--each handled by a dedicated LLM agent. Event schemas are represented as executable class definitions, enabling deterministic validation and precise feedback via a verification agent. This programming-inspired approach allows for systematic disambiguation and schema enforcement…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
Taxonomy
TopicsScientific Computing and Data Management · Model-Driven Software Engineering Techniques · Business Process Modeling and Analysis
