Compiling Multi-Agent Debate into a Small Information Extractor

When a large language model pulls entities and relations out of text, it makes characteristic mistakes. It labels a span "Location" in one place and "Organization" in another. It outputs a Work-for relation whose arguments are not a person and an organization. It produces overlapping spans that cannot both be right. Recent systems fix these errors by assigning one model instance (an "agent") to each entity or relation type and letting the agents argue until they agree. In CROSSAGENTIE, this kind of debate resolves 77.5% of entity conflicts in one round and reaches 50.19% average F1 on zero-shot entity and relation extraction. The cost is many serialized calls to a large model per document, which is not affordable when the corpus has millions of documents.

This note bets that much of what the agents argue about does not need arguing. A large share of debate outcomes in extraction should follow mechanically from the schema itself: which argument types each relation allows, and which spans cannot coexist. That share can be compiled into hard constraints on a small extractor's decoding at essentially zero runtime cost. Only the remainder, the conflicts that truly depend on context, needs to be learned from the debate, and we teach a compact model those cases as before-and-after correction pairs rather than as transcripts. If the bet holds, a sub-1B extractor recovers the accuracy of test-time debate at the price of a single forward pass plus a cheap constraint solve. If it fails, we will have measured exactly what debate contributes to extraction that a schema cannot express.

Core Claim

Our hypothesis is that the accuracy gain from multi-agent debate in structured extraction splits into two parts. The first part is schema-entailed: resolutions a constraint solver could reach from the relation type signatures and span-exclusivity rules alone. The second part is contextual: resolutions that need the text. We claim the schema-entailed part dominates on standard benchmarks. Enforcing it during decoding, and distilling only the contextual corrections, gives a compact extractor that matches debate F1 at a small fraction of its cost. We also claim that training on correction pairs avoids the capacity problem AgentArk reports for small students, because the student never has to imitate several conflicting viewpoints.

This differs from the closest work in three specific ways. CROSSAGENTIE both motivates the proposal and serves as its strongest baseline. Its "Template Fine-Tuning" distills debate consensus into one model by training on final outputs only. It neither separates what the schema entails from what the context decides nor constrains the student's decoding, so the student can still emit illegal tuples. Graph-constrained Reasoning supplies the method. It replaces agentic exploration of a knowledge graph with a prefix tree of valid paths, and a fine-tuned 0.5B model then reaches 100% faithful paths while running about 4.5x faster and using about 30x fewer input tokens than agent baselines. That tree is built from a fixed, pre-existing graph. Ours is built from a declarative schema the user supplies at query time, and it constrains the extractor's own output rather than a path search. Falconer shows a RoBERTa-large proxy trained on LLM silver labels can beat GPT-4o (0.68 vs 0.53 F1 on WikiNER) at a 90% cost reduction. Its teacher is a single LLM pass, and its proxy performs no cross-task consistency checking, which is precisely the ingredient debate adds.

Research Program

Debate logging and attribution. We run a CROSSAGENTIE-style debate, with type agents, intra-group cross-type debate, and inter-group NER↔RE debate, over unlabeled training text from each benchmark. We log every conflict together with its pre-debate and post-debate state. A schema compiler takes the declarative schema, meaning the entity types, the relation signatures that give allowed (head type, tail type) pairs, and nesting rules, and turns it into a constraint set. For each logged conflict we ask whether a solver given only the pre-debate candidate scores and these constraints reaches the same resolution. The fraction it does is the compilable fraction of debate. That number is the first deliverable, and it decides how much the rest of the program can achieve.

Constrained joint decoding for a compact extractor. The extractor is a schema-conditioned encoder in the style of GLiNER2, which already handles NER and classification on CPU in under 500M parameters. We add a relation head on top. The extractor produces scores $s(e)$ for candidate typed spans $e$ and $s(r)$ for candidate typed relations $r$. Decoding then picks the selection that maximizes total score subject to the compiled constraints:

$$ \max_{y \in \{0,1\}} \sum_{e} s(e)\, y_e + \sum_{r} s(r)\, y_r \quad \text{s.t.} \quad y_r \le y_{h(r)},\; y_r \le y_{t(r)},\; \mathrm{sig}(r) \in \mathcal{S},\; y_e + y_{e'} \le 1 \;\; \forall (e,e') \in \mathcal{X}. $$

Here $h(r)$ and $t(r)$ are the typed head and tail spans of relation $r$. $\mathrm{sig}(r)$ is its (head type, relation, tail type) signature, and $\mathcal{S}$ is the set of signatures the schema allows. $\mathcal{X}$ is the set of span pairs the schema marks as mutually exclusive, such as one span carrying two incompatible types. Candidate sets are small per sentence, so exact solving is cheap. As a second instantiation we test a 0.5–1B generative extractor with a schema-derived prefix tree in the spirit of GCR. This checks whether the constraint idea depends on the architecture.

Distilling only the contextual residue. The student is trained on debate consensus labels, which is the same supervision CROSSAGENTIE's One-LLM uses. For conflicts the compiler could not resolve, we add a contrastive term: the student's score for the post-debate resolution must exceed its score for the pre-debate error by a margin. This draws on the observation from Structured Agent Distillation that small students learn better when supervision is split by function rather than given as flat text. We simply split along a different line, constraint versus context. The student never reads a transcript.

Confidence-gated escalation. At inference, documents whose constrained solution has a low margin are optionally sent to the full debate. This produces an F1-versus-cost curve rather than a single operating point, and it addresses the one-way design that Falconer leaves open. Escalation is secondary. The headline result is the zero-escalation operating point.

Baselines

The naive reference point is a single zero-shot LLM pass with JSON-structured output. Reported numbers in the file are ChatGPT at 21.76 F1 on zero-shot CoNLL04 relation extraction, from RexUIE, and GPT-4o at 0.53 F1 on WikiNER, from Falconer.

The strongest accuracy competitor is full test-time CROSSAGENTIE debate, which reports 50.19% average F1 across CoNLL03, CoNLL04, OntoNotes, SemEval and TACRED. We rerun it with the same teacher model we use for logging, so both sides see identical teacher capability. We record its tokens and wall-clock time per document. Beating it means matching its F1 within one point at zero escalation while using under 5% of its per-document compute.

The strongest efficiency competitor is CROSSAGENTIE's One-LLM. The file gives no standalone number for it: no reported result found on Lacuna for One-LLM F1. We therefore reproduce it on the same debate-labeled pool and the same student size. We also try it with a JSON grammar added, so that the comparison isolates schema-level constraints from mere syntactic validity.

The unified-extractor baselines are RexUIE, which reports 30.62 zero-shot CoNLL04 relation F1 and 32.80 F1 on Camera-COQE quintuples, and a Falconer-style RoBERTa-large proxy trained on single-LLM silver labels. Each gets the same unlabeled text and the same hyperparameter-search budget as our student.

Two ablations isolate the key ingredients. The first removes constrained decoding while keeping the contrastive residue loss. The second removes the residue loss while keeping constraints. A third, decisive control trains our constrained student on single-LLM silver labels instead of debate labels. It tells us whether debate contributes anything once the schema is enforced.

Why not just…?

Why not just distill debate outcomes into one model, as CROSSAGENTIE already does? This is the most direct competitor. We reproduce it exactly as our main ablation. Outcome-only training leaves the student free to emit signature-violating tuples, and the extraction survey Large language models for generative information extraction identifies illegal structures as a persistent failure of generative IE. We will count schema violations in One-LLM output directly. If they are rare and our F1 gain over One-LLM-plus-grammar is under a point, the constraint compiler adds nothing, and we will report that.

Why not just skip debate and train a small proxy on single-LLM silver labels, as Falconer does? This is the real threat. It is plausible that schema constraints applied on top of single-LLM labels recover most of what debate fixes, because debate partly is constraint enforcement. The single-LLM-label control settles the question. If it matches debate-label training, the conclusion is that multi-agent debate is unnecessary for schema-governed extraction. That is a useful negative result, and the compilable-fraction measurement would explain why.

Why not just distill the full debate transcripts with process-level rewards, as AgentArk does? AgentArk itself reports that 0.6B students struggle to absorb conflicting multi-agent perspectives, and our target sizes are at or below that scale. We include a transcript-distillation baseline at 1B under AgentArk's reasoning-enhanced fine-tuning recipe. Our prediction is that it underperforms correction-pair training at equal student size. If it wins, the capacity argument does not carry over to extraction.

Why not just run debate at test time? Debate needs $N \times R$ serialized large-model calls per document for $N$ agents over $R$ rounds. When Debate Fails also shows debate can entrench errors instead of fixing them. Our escalation curve quantifies how much accuracy remains on the table at each cost level.

Proposed Experiments

The benchmarks are CoNLL03, CoNLL04, OntoNotes, SemEval and TACRED, which together make the CROSSAGENTIE suite and allow direct comparison with its 50.19%. We add ACE05, NYT and SciERC for richer relation signatures, and Camera-COQE to test whether compiled constraints extend to quintuples. Metrics are entity F1 and strict relation F1. We report the rate of schema violations. We also report cost as teacher tokens per document, CPU and GPU latency per document, and the fraction of documents escalated.

There are three decisive checks. The first is the compilable fraction. If fewer than about half of logged debate resolutions are schema-entailed, the core claim fails, and the program narrows to studying contextual correction alone. The second is the head-to-head at zero escalation: our constrained student must match CROSSAGENTIE debate F1 within a point and beat reproduced One-LLM by a margin larger than seed variance across three seeds. The third tests the specialization tax that Specializing Smaller Language Models towards Multi-Step Reasoning documents for reasoning. We train on one subset of the benchmarks and evaluate zero-shot on held-out schemas, comparing against an untuned GLiNER2-style baseline. Constraints are recompiled from each new schema at test time, so we expect transfer to degrade far less than it does for an outcome-distilled student. A drop larger than the baseline's would show that distilling debate erodes the ability to follow unseen schemas.