NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Provenance-Gated Metadata Extraction with Calibrated Abstention

When a language model fills in a metadata record from a scientific paper (its license, dataset size, languages, parameter count), the record can be well-formed and still be wrong in ways no format check will catch. A fabricated "MIT" license or an invented "12k sentences" passes every type assertion. This note proposes changing what the model is asked to produce. Instead of writing each field's value directly, the model must point to the line or lines in the document where the value comes from. A deterministic program then copies and normalizes the value from that evidence, checks that the evidence exists, and labels each field by how it was obtained. A small calibration step uses these provenance labels to decide which fields to emit and which to leave as an explicit, schema-valid "unverified." The result carries a statistical bound on the fraction of fabricated values.

The two-sentence version is this. Most extraction hallucinations are values the model wrote but did not read, so requiring every value to be traceable to a checked source location removes the commonest corruption by construction and makes the remaining errors easy to score. Abstention calibrated on those scores then turns "the extractor is usually right" into a bound on fabricated values among emitted fields, with abstained fields reported as abstentions rather than silently filled in.

Where the gap is

Extraction systems have improved quickly, but their validation layers mostly check form rather than content. MOLE extracts more than 30 attributes from papers with schema-guided prompting, web browsing, type checks, option normalization and JSON repair. It reaches an average F1 of 75.23 with Gemini 1.5 Pro, but its rule-based checks cannot catch a fabrication that matches the field type. MeXtract distills this task into 0.5B–3B Qwen models with supervised fine-tuning and preference optimization (DPO) that penalizes hallucination. It reports 73.23 average F1 and 99.24% schema adherence, and that second number measures form compliance, not truth. ExtractBench shows the problem at scale: a 4.6% aggregate pass rate across frontier models, and 0% valid output on a 369-field schema. It also reports that native schema-constrained decoding lowers accuracy compared with free generation. These papers motivate the proposal. They show that format is solved and grounding is not.

On the hallucination side, the most relevant finding for us is Structured Hallucination in Tool-Using Agents. Even when an LLM is handed perfectly clean structured data, it corrupts 11–13% of cells while rendering them, with 100% parse success. The author's fix routes the data around the model entirely. That works only when clean structured data already exists. In document extraction the model must do the reading. Our proposal brings the same principle to that setting: the model never writes values, it only selects where they come from. Language Models with Conformal Factuality Guarantees supplies the statistical method. It breaks free text into sub-claims, scores them, and prunes until factuality meets a target, raising biography factuality from about 30% to 80% while keeping about half the claims. It was never applied to schema-bound output, where deleting a claim can break a required key. It also gives only marginal guarantees, which can fail under domain shift. Conformal Structured Prediction shows how Learn-Then-Test calibration (choosing a threshold by testing a family of hypotheses on held-out data) extends to structured label spaces. We reuse that machinery for controlling risk over fields.

Core Claim

Requiring span-level provenance for every emitted field, and checking it deterministically, does two things a direct port of conformal factuality to JSON cannot. First, it eliminates value mutation for fields copied from the document. Second, it produces a confidence signal that separates fabricated from correct values much better than sampling agreement or self-reported confidence. That signal is what makes calibrated abstention useful rather than wasteful. Concretely, at a fixed bound on fabricated values, the provenance-gated extractor should emit substantially more correct fields than the same model calibrated on confidence scores without provenance.

Research Program

The document is first split into numbered lines, using LaTeX source where available, since MOLE found it about 1,000 times cheaper than PDF. For each schema field the extractor emits three things: a pointer to one or more line identifiers, a short verbatim quote, and a provenance type. A checker confirms that the quote occurs in the referenced lines. Typed normalizers for numbers, units, URLs, license names, language codes and categorical options then produce the stored value from the quote. The checker never uses the model's own rendering of the value. Each field ends up in one of five states. "Copied" means the value is found verbatim in the quote. "Normalized" means a deterministic transform of the quote produced it. "Derived" means the model claims the value follows from several spans, such as counting the languages listed. "External" means the model claims the value is not in the document and needs retrieval. "Unsupported" means the pointer or quote failed the check. Derived fields are the honest weak point. For them we score whether the cited spans entail the value with a separate pass, and they receive their own calibration group.

Calibration controls the expected fraction of schema fields that are emitted and wrong. Let $s_j$ be the confidence score for field $j$, combining provenance state, an entailment score for derived fields, and agreement across a few samples. Let $\lambda$ be the emission threshold, and let $m$ be the number of fields in the record. We choose $\lambda$ on held-out annotated papers so that

$$\mathbb{E}\Big[\tfrac{1}{m}\textstyle\sum_{j=1}^{m} \mathbf{1}[s_j \ge \lambda \text{ and } \hat{y}_j \ne y_j]\Big] \le \alpha,$$

where $\hat{y}_j$ is the emitted value, $y_j$ is the gold value, and $\alpha$ is the user's tolerance. This loss is monotone in $\lambda$, so conformal risk control or Learn-Then-Test applies directly. Fields below threshold are written as schema-valid nulls with an "unverified" status, so the record never loses a required key. To address the marginal-guarantee weakness, thresholds are set separately for each field family: bibliographic, quantitative, accessibility, model-specific and derived. The bound then holds within each family and not only on average.

The extractor is run in two regimes. The first is a frontier model prompted with a few examples, matching MOLE's finding that three-shot prompting worked best. The second is a MeXtract-sized 3B model fine-tuned to emit pointers, using pointer annotations that are automatically recoverable for copied fields by locating gold values in the source. The second regime tests whether provenance survives the cost constraints that matter for digital libraries.

Baselines

The naive reference is direct value extraction with MOLE's validation layer (type checks, option normalization, JSON repair), emitting every field. Its reported strength is 75.23 average F1 on MOLE with Gemini 1.5 Pro (MOLE). We rerun it with the same backbone, prompts, few-shot examples and LaTeX inputs as our system. This tells us how many emitted fields are fabricated today, as distinct from omitted.

The strongest lightweight competitor is MeXtract 3B (MeXtract), which reports 73.23 average F1 and 99.24% schema adherence, with DPO aimed at hallucination. It is the most direct claim that training alone handles fabrication. We compare against it with the same base model, size and SFT data, adding only pointer outputs. That way any gain comes from provenance, not more data or tuning.

The strongest calibration competitor, and the key ablation, is conformal factuality ported to fields without provenance. It uses the same risk-control procedure, the same calibration split and field-family grouping, and an equal sampling budget, but scores come from multi-sample frequency and self-reported confidence as in Language Models with Conformal Factuality Guarantees. This isolates the proposal's key ingredient. Both systems are run at matched $\alpha$, and we compare the fraction of fields emitted and correct.

A second ablation keeps provenance but removes calibration, emitting every field whose pointer check passes. This shows how much the deterministic check achieves by itself.

Beating the field means three things at once. Empirical fabricated-field rate must track $\alpha$ within each family on held-out papers. Correct-field yield at $\alpha = 0.05$ must clearly exceed the provenance-free conformal baseline. And F1, where abstentions count as misses, must not fall far below the naive baseline. If yield is merely equal to the provenance-free baseline, the core claim fails.

Why not just…?

Why not just ask for a supporting quote and string-match it afterward? This is the most serious alternative, and it is close to our copied-field path. The difference is that a post-hoc quote check confirms the quote exists, not that the stored value came from it. The model can still quote "about twelve thousand sentences" and write 1,200. Our design takes the value from the quote through a normalizer, so mutation is impossible on copied and normalized fields. We test this directly with a quote-then-verify arm. If its fabricated-field rate and yield match ours, the honest conclusion is that the deterministic value channel adds nothing beyond quote verification. The contribution would then shrink to the calibration and grouping design.

Why not just train harder against hallucination, as MeXtract does with DPO? MeXtract's own reported adherence of 99.24% is a format figure, and the file notes that semantic hallucination in free string fields remains unaddressed. Training also gives no per-deployment guarantee and no signal for when to abstain. The matched MeXtract-plus-pointers comparison shows whether provenance adds to preference training or is subsumed by it.

Why not just constrain decoding to the schema, or backtrack on semantic checks as IterGen does? IterGen backtracks out of invalid branches when a programmatic check exists, for example a non-existent SQL column. Its gains come from such checks, and our span checker is precisely a source of them. IterGen does not support batched inference and was not tested on long documents. ExtractBench further reports that schema-constrained decoding degraded accuracy. We therefore treat backtracking on failed pointer checks as an optional add-on, not a replacement.

Why not just shard the schema into small chunks? Sharding addresses breadth collapse, not fabrication. A five-field prompt can still invent a license. We do shard on ExtractBench, applying it equally to every arm, so it is controlled rather than competing.

Proposed Experiments

The main testbed is MOLE (126 papers, 7,518 annotations, six language groups) together with MOLE+ (21 papers with model-specific metadata). We add one new annotation layer to each gold field: whether the value is stated in the document, derivable from it, external, or absent. This lets fabrication be separated from omission, following ExtractBench's practice. Calibration uses roughly 40 papers, in line with the 25–50 examples that sufficed for conformal factuality, and testing uses the rest. The primary metrics are the fabricated-field rate among emitted fields per family against target $\alpha$, the yield of correct fields, F1 with abstentions counted as misses, and token cost per paper.

The decisive check for the guarantee under shift is to calibrate on English papers and test on Arabic, Japanese and Russian ones. We report whether family-wise bounds hold and how much recalibration on five papers per language restores them. A second check runs ExtractBench's research-paper and credit-agreement domains, plus the SEC schema in field shards, using its field-specific metrics. This tests whether provenance gating keeps fabrication bounded where long documents and broad schemas make unaided models fail. ExtractBench reports no per-method fabrication rate for these settings, so our baselines are rerun rather than quoted. A third check is a sanity test on Hoang's frozen flight payloads. Treating the serialized tool output as the "document," the pointer-copy path should drive cell mutation from the reported 11–13% to near zero. If it does not, the value channel is leaking and the design is broken.

The experiment that could falsify the proposal is the yield comparison against provenance-free conformal calibration at matched $\alpha$, measured by provenance state. We expect the advantage to concentrate in copied and normalized fields, and to shrink or vanish for derived fields. If derived fields dominate the real error mass on MOLE, the method's scope is narrower than claimed, and that is worth knowing too.