Abstract
Large Language Models (LLMs) have demonstrated significant potential in Information Extraction (IE), yet they often struggle with complex tasks where standard few-shot prompts fail to capture the nuances of extensive annotation manuals. This paper introduces Guideline Learning (GL), a framework that enables LLMs to iteratively synthesize their own natural language rules by learning from mistakes. By retrieving relevant rules during inference, GL significantly improves performance on challenging IE benchmarks, bridging the gap between an LLM's internal logic and specific task requirements.
Introduction: The Problem of Underspecified Tasks
In-Context Learning (ICL) allows models to perform tasks with minimal examples. However, in Information Extraction—such as identifying financial events or entity relations—LLMs often underperform compared to specialized supervised models. The authors identify underspecified task descriptions as a primary cause. Real-world IE tasks are governed by dense guidelines (e.g., the 33-page ACE manual) that cannot fit into a standard prompt.
Without these rules, LLMs suffer from "conceptual bias," where their pre-trained internal logic conflicts with task-specific requirements. For example, a model might misclassify a "motion" event as "stative" simply because the prompt lacked a hierarchical rule to prioritize motion verbs.
Methodology: The Guideline Learning Framework
The Guideline Learning (GL) framework mimics the human process of studying a manual before performing a task. It operates in two distinct phases: Learning and Inference.
1. The Learning Phase (Failure-Driven Reminding)
The system begins with no predefined rules and attempts to label a small training set. When an error occurs, a "Reflect" LLM agent analyzes the mistake against the ground truth to synthesize a new natural language guideline (e.g., "If a company buys back shares mistakenly, it is NOT a repurchase event"). These rules are stored in a "Guideline" bank, where a scoring system tracks their utility, eventually "forgetting" rules that prove harmful.
2. The Inference Phase
During inference, the framework employs a three-step process:
- Generalize: An LLM abstracts the specific instance into a general form (e.g., replacing specific names with placeholders like "Company A") to bridge the semantic gap between specific cases and general rules.
- Retrieve: The system fetches the top-k most relevant rules from the learned guideline bank.
- Reason: A final LLM agent makes a prediction using the task instruction, few-shot examples, and the retrieved guidelines.
To optimize learning, the authors utilize self-consistency-based active learning, prioritizing instances where the model shows high uncertainty across different reasoning paths.
Experimental Evaluation
The framework was evaluated on two challenging benchmarks:
- ChFinAnn: A document-level dataset of Chinese financial news focused on complex event extraction (e.g., Equity Repurchases).
- SemEval 2010 Task 8: A classic English dataset for relation extraction between nominals.
Key Results and Insights
- Performance Gains: GL improved vanilla ICL performance by approximately 4% across tasks. In low-data scenarios on the ChFinAnn dataset, it even outperformed the supervised State-of-the-Art (SOTA).
- Rules Over Examples: The study found that explicit rules are often more effective than additional examples because they directly resolve conceptual ambiguities.
- The Power of Generalization: The "Generalizer" step proved crucial; converting specific instances into general forms significantly increased the accuracy of rule retrieval.
- Data Efficiency: Using active learning (GL-a) with only 50 labeled samples per class, the framework achieved results competitive with supervised models trained on much larger datasets.
Conclusion and Future Work
While Guideline Learning marks a significant step forward, several areas for improvement remain. Future research may focus on developing more specialized retrievers and methods to merge specific rules into broader principles. Additionally, while GPT-4 shows strong rule-following capabilities, smaller or older models like GPT-3.5 occasionally ignore explicit guidelines. Expanding the framework to include argument extraction—filling in specific event details—is also a key objective for future development.
Summary updated