TL;DR
Falconer is a collaborative framework that solves the cost and scalability bottleneck of using large language models (LLMs) for large-scale knowledge mining. By using an LLM to plan pipelines and generate training supervision for a single, lightweight instruction-following proxy model (Cuckoo), Falconer achieves LLM-level extraction accuracy with over 20× faster throughput and a 90% reduction in inference cost.
What Problem Does This Paper Address?
Knowledge mining requires extracting structured facts (entities, relations, labels) from massive, unstructured text collections (e.g., millions of customer reviews or scientific papers).
Practitioners currently face an unsatisfying trade-off:
- Direct LLM execution: Powerful and flexible at following instructions, but deploying LLMs across millions of documents via API is prohibitively slow and expensive.
- Traditional extraction pipelines: Small classifiers and NER taggers (like RoBERTa) run cheaply and quickly, but they are rigid, lack instruction-following abilities, and require hand-crafting and maintaining separate models for every subtask.
Falconer resolves this dilemma by bridging LLM-level agentic flexibility with small-model inference efficiency.
Methods
Falconer splits knowledge mining into a planner–generator–executor workflow:
User Instruction
│
▼
[LLM Planner] ──► Decomposes task into Python code using get_label & get_span
│
▼
[LLM Generator] ──► Annotates ~5% of raw corpus samples as supervision
│
▼
[Small Proxy] ──► Fine-tunes Cuckoo to execute both tasks at corpus scale
- The Planner (LLM): Codifies natural language queries into executable logic using only two unified atomic primitives:
get_label(text, instruction)for classification andget_span(text, instruction)for span extraction. - The Generator (LLM): Samples roughly 5% of the target corpus (using an active ranking heuristic for classification) and prompts an LLM (e.g., GPT-4.1) to annotate those samples according to the planner's subtasks.
- The Metamodel / Proxy Executor (Cuckoo): Rather than maintaining separate classifiers and extractors, Falconer deploys Cuckoo—a lightweight, instruction-tuned model trained under the Next Tokens Extraction (NTE) paradigm. By framing classification as a Natural Language Inference (NLI) problem, a single small model handles both label filtering and span extraction.
Datasets
- Labeled NER Benchmarks: Evaluated against ground truth across six public datasets: FabNER (fabrication), Broad Twitter (social media), BC2GM and AnatEM (biomedical/biology), WikiNER (encyclopedic), and FindVehicle (transportation).
- Unlabeled Corpora & New Benchmarks: Evaluated against GPT-4o annotations on three large-scale unlabeled corpora: TED Talk Summaries, Steam Game Descriptions, and Text Messages. The authors created 40 realistic knowledge mining tasks across three tiers: Basic (single-entity/relation), Query-Based (semantic understanding), and Multi-Entity (compositional Boolean logic).
Key Insights and Ideas
- Universal 2-Function Abstraction: Complex knowledge mining pipelines can be decomposed entirely into conditional sequences of
get_labelandget_span. This eliminates the need for disparate model architectures in multi-stage pipelines. - "Arising Abilities" from Positional Pretraining: When tested on biomedical text where GPT-4o performed poorly (F1 of 0.27), Cuckoo still achieved an F1 of 0.42 after fine-tuning on those noisy annotations. The authors discovered that Cuckoo's pretraining gives it strong positional sensitivity: even when span boundaries were deliberately degraded or randomized, Cuckoo leveraged positional cues to spontaneously extract correct entities, whereas RoBERTa degraded significantly.
- Single vs. Specialized Proxies: Training one unified Cuckoo model for both classification and extraction performed virtually identically to training two dedicated, task-specific models, drastically simplifying deployment overhead.
- Continual Integration: Sequentially adapting Cuckoo from task to task maintained performance comparable to training fresh base models from scratch, showing resilience against catastrophic forgetting.
Key Results
- Efficiency Gains: Falconer delivers a >20× speedup and cuts inference costs by up to 90% compared to GPT-4o.
- Outperforming the Teacher: When fine-tuned on just 2,048 LLM-annotated samples (≤5% of the corpus), Cuckoo outperformed zero-shot GPT-4o across all labeled benchmark domains (e.g., WikiNER: 0.68 vs. 0.53 F1; Biology: 0.45 vs. 0.27 F1; Twitter: 0.43 vs. 0.35 F1).
- Planning Accuracy: GPT-4.1 achieved a 0.96 to 1.00 correctness score in synthesizing execution pipelines for basic, query-based, and multi-entity tasks.
Limitations and Future Work
- Planner Dependency on In-Context Learning: On highly complex, multi-step "miscellaneous" tasks, LLM planners struggled zero-shot (GPT-4.1 scored only 0.21), requiring few-shot in-context learning to recover high planning fidelity (0.96).
- Annotation Bottlenecks: Although Cuckoo exhibits self-correcting tendencies on noisy labels, the authors note that the proxy’s adaptation speed remains tied to the quality of the LLM generator’s annotations.
- Scope: The framework currently focuses on text extraction and classification primitives; extending the atomic operations to numeric reasoning, cross-document aggregation, or multimodal sources remains open for future research.
Summary updated