TLDR: Falconer is a framework that combines the reasoning power of large language models (LLMs) with the efficiency of small proxy models for knowledge mining. LLMs act as planners to decompose tasks and as annotators to generate training data for a unified, instruction-following proxy model called Cuckoo. This approach achieves LLM-level accuracy with up to 90% cost reduction and 20x speedup, making large-scale knowledge extraction scalable and efficient.
In the rapidly evolving landscape of artificial intelligence, extracting structured information from vast amounts of unstructured text, a process known as knowledge mining, is a critical task. While large language models (LLMs) have shown remarkable ability in understanding complex instructions for these tasks, their high operational cost and latency make them impractical for large-scale deployment. On the other hand, traditional methods, relying on chains of classifiers and extractors, are efficient but lack the flexibility and generalization capabilities of LLMs.
Addressing this challenge, researchers from the University of California, San Diego, have introduced Falconer, an innovative framework designed to bring the best of both worlds to knowledge mining. Falconer combines the sophisticated reasoning of LLMs with the efficiency of lightweight proxy models, creating a scalable and cost-effective solution.
How Falconer Works
At its core, Falconer leverages LLMs in two key roles: as planners and as annotators. As planners, LLMs break down complex user instructions into manageable, executable steps, forming a pipeline. For instance, an instruction like “Extract all laptop prices from positive Amazon reviews” would be decomposed into two atomic operations: first, classifying reviews to identify positive laptop reviews, and then extracting price information from those filtered reviews. This eliminates the need for manual pipeline design, which is often rigid and task-specific in traditional systems.
Secondly, LLMs act as annotators. They generate high-quality supervision data, which is then used to train smaller, more efficient proxy models. These proxy models, specifically a unified instruction-following model called Cuckoo, are designed to perform two fundamental operations: get label for classification and get span for extraction. This unification means a single lightweight model can replace multiple task-specific components, significantly reducing complexity and maintenance overhead.
The Cuckoo model, central to Falconer’s execution, is built on a “Next Tokens Extraction” (NTE) paradigm. It undergoes extensive pre-training on large datasets like C4, where it learns general extraction abilities by automatically generating BIO labels for repeated spans. Further post-training on diverse datasets like Tulu 3 equips it with strong instruction-following capabilities, allowing it to directly interpret prompts such as “Is this a positive laptop review?” or “Extract the price.”
Falconer’s architecture includes three main components: a planner, a generator, and the Cuckoo proxy metamodel. The planner translates natural language requirements into executable code, defining the logical flow and dependencies between subtasks. The generator then samples a small percentage (around 5%) of the corpus, uses a powerful LLM (like GPT-4.1) to annotate these samples, and fine-tunes the Cuckoo metamodel with this high-quality, task-specific supervision. This process ensures the proxy model acquires specialized knowledge while retaining its efficiency.
Also Read:
- RADAR: Intelligent Routing for Reasoning LLMs Balances Performance and Cost
- Inter-Cascade: Empowering Weaker Language Models to Learn from Stronger Ones On-the-Fly
Impressive Results and Efficiency
Experimental results are compelling. Falconer demonstrates instruction-following accuracy comparable to state-of-the-art LLMs while achieving a dramatic reduction in inference cost—up to 90%—and accelerating large-scale knowledge mining by more than 20 times. This efficiency allows for real-time inference even in resource-constrained environments. The framework also shows strong adaptability, with the fine-tuned metamodel outperforming GPT-4o on various Named Entity Recognition (NER) datasets when trained with just 2048 samples (5% of the original corpus).
Furthermore, Falconer’s proxy models exhibit “arising abilities,” meaning they can sometimes correct their outputs even when trained with noisy or inaccurate annotations from LLMs. This capability is attributed to the proxy model’s extensive pre-trained knowledge and sensitivity to token structure, allowing it to spontaneously extract entities based on positional patterns.
In conclusion, Falconer offers a robust and scalable foundation for knowledge mining, bridging the gap between the powerful reasoning of LLMs and the practical demands of large-scale data processing. By intelligently combining LLM planning and annotation with efficient, unified proxy models, it provides an effective and cost-efficient solution for extracting valuable insights from massive text corpora. You can read the full research paper here.


