Facts First, Prose Second: Testing Whether Anchored Infilling Reduces Long-Form Hallucination

Language models write left to right. Each word is chosen without knowing what comes later, and every word already written becomes context the model trusts. In long factual answers this creates a specific trap. The model commits to a sentence frame such as "She was born in…" before it knows whether it can fill the slot truthfully, then supplies a plausible fabrication. Once that wrong word is written, the rest of the sentence follows it with high confidence. The same models answer short, isolated factual questions far more reliably. Chain-of-Verification reports about 70% accuracy on targeted questions against about 17% for the same facts produced inside a long list.

This proposal tests a reordering of generation that follows from that asymmetry. The model first states the atomic facts, each in its own short, isolated prompt. Only the facts it states consistently are kept. The prose is then written between these fixed facts, as infilling, so that every remaining span has a known future it must connect to and is checked to add no new claims of its own.

The idea is only worth pursuing if the infilling step does something that simply pasting the verified facts into the prompt does not. The research program is therefore built around one comparison. Both arms share the same verified facts: one hands them to the model as context and lets it write left to right, the other fixes them in place and fills the gaps. If the two arms tie, the honest conclusion is that ordering the facts first matters and ordering the words does not. The study is designed so that this conclusion would be clean rather than buried.

Core Claim

The claim is that most hallucinations remaining after fact verification sit in the connective text rather than in the verified facts. Connective text means the transitions, framings and incidental details the model adds while turning facts into prose. These come from cornering: an innocent prefix that has no true continuation, the failure Correction with Backtracking documents even when the full source document is in context. If this is right, then making each connective span end at a fixed, already-verified fact should remove these errors. Two mechanisms would do this. The model is no longer free to open frames that need new content, and a span can be rejected cheaply if it introduces any claim not among the anchors.

First Hallucination Tokens Are Different from Conditional Ones gives the mechanistic motivation. The first false token is detectable from model uncertainty (AUROC about 0.8 on RAGTruth), but later tokens conditioned on it are not (0.5 to 0.6). Methods that detect and back out of errors mid-sentence are therefore working in the regime where the signal is weakest. Anchored infilling tries to avoid the first false token rather than detect its aftermath.

How This Differs From Existing Work

Three lines of work motivate the proposal.

Chain-of-Verification drafts a full answer, plans verification questions, answers them in isolated ("factored") contexts and rewrites. We keep the factored question-answering idea, which supplies our fact-elicitation method. We drop the initial long-form draft, whose errors CoVe must then find and undo, and we replace its final left-to-right rewrite with infilling.

SHARS rejects and resamples whole sentences that a semantic-entropy detector flags. It stays strictly left to right within and across sentences. HALLUCANA rolls out short lookaheads at uncertain steps and scores them with a trained classifier on hidden states. Our method needs no trained classifier, which HALLUCANA requires, and no hidden-state access. Its main arm runs on a black-box model.

Two other lines constrain or supply the design.

Off-the-shelf infilling methods, Reflective Decoding and DELOREAN, show that frozen left-to-right models can write text consistent with a future constraint. They were evaluated only on paraphrase and story infilling, never on factuality. Trained any-order models extend this. A3 generates in arbitrary order but reports no hallucination metrics. DRRG shows discrete diffusion revising a false radiology finding, but only for a fixed-length, domain-specific, specially trained model.

Skeleton-of-Thought writes outlines first, but to save time rather than to verify facts. It expands each point left to right.

No paper in this set combines factored fact elicitation with infilling between those facts, or measures where in the text the remaining hallucinations fall.

Research Program

The pipeline has three stages, each run with the same frozen model.

Fact elicitation. For a prompt such as "Tell me a bio of X", a planning prompt proposes a set of short questions (birth, profession, key works, and so on). Each question is answered in a fresh context, sampled several times. A fact is kept as an anchor only if its short answers agree. Because the answers are a few tokens long, the agreement check is far cheaper than multi-draft consistency checks over full paragraphs.

Ordering. The kept anchors are put in a sensible order by a single short prompt that sees only the anchor list.

Anchored infilling. For each gap between consecutive anchors, the model is asked to write a span that leads from the previous anchor into the next one. In the black-box arm this is a fill-between prompt that shows both neighbours. In the open-model arm it is infilling with Reflective Decoding and, if an A3 checkpoint can be obtained, native any-order infilling. Each span is broken into atomic claims with the FActScore decomposition prompt. Any span that asserts a claim not entailed by the anchors is resampled, up to a fixed budget, and otherwise replaced by a minimal connective.

The analysis has two parts. The first is a localization study. In every system's outputs, we label each unsupported atomic fact as either an anchor-derived claim or a connective-span claim. For left-to-right baselines, the label is assigned by aligning output claims to the verified fact list. The second is a first-token study on open models. We measure entropy at the first unsupported token in anchored versus unanchored writing, to test whether anchoring reduces how often the trap is entered, as opposed to merely hiding it.

Baselines

The naive reference is greedy left-to-right generation from the plain prompt. It anchors the scale of every gain and is the baseline against which SHARS reports roughly 20 to 26% higher factual precision.

The prompting baseline is Plan-and-Solve-style zero-shot planning followed by writing. This is the cheapest way to "think first", and we run it with the same model and the same tuning budget for prompt wording.

The strongest published competitor on this question is CoVe in its factor+revise setting, which Chain-of-Verification reports raising FActScore on biographies from 55.9 to 71.4. It is the strongest competitor because it already exploits the short-versus-long asymmetry that our method depends on. SHARS is the second strong competitor because it intervenes online, sentence by sentence. Neither paper's numbers can be compared directly to ours because the underlying models differ. We therefore re-implement both on our model, using the same entity sets, the same evaluator, and a matched cap on total generated tokens per answer. Beating CoVe means higher FActScore at equal or lower token cost with no loss in the number of supported facts per answer. Gaining precision only by writing less does not count.

The ablation that isolates the key ingredient is facts-in-prompt writing. It uses the identical verified anchors from stage one, given to the model as a list with the instruction to write a biography using only these facts, decoded left to right. This arm shares everything with our method except infilling and span checking. A second ablation keeps infilling but drops the span claim check, to separate the effect of fixed future context from the effect of rejection.

Why not just…?

Why not just put the verified facts in the prompt and write normally? This is the most serious threat, and it may work about as well. CoBa's summarization results suggest it will not be enough: cornering produced hallucinations even with the entire source document in context. Summarization is not open-ended biography writing, though. The facts-in-prompt ablation settles the question directly. If it matches anchored infilling on FActScore and on the connective-span error rate, we will report that the benefit comes from factored fact elicitation and that infilling adds nothing. That is itself a useful negative result against the non-monotonic-decoding literature.

Why not just use chain-of-thought or plan-and-solve prompting? The plan is itself generated left to right inside one context, so a wrong fact in the plan becomes trusted context for the writing. CoVe's few-shot list baseline, at 0.17 precision on Wikidata, shows that in-context examples alone do not stop this. Our Plan-and-Solve baseline measures the gap directly.

Why not just sample many drafts and keep the most consistent one? This multiplies full-length generation cost. HALLUCANA reports over 6x less compute than SelfCheckGPT for better quality, which suggests targeted intervention beats brute-force sampling. Our method samples only short answers. We report quality per generated token to make the cost comparison explicit.

Why not just retrieve documents? Retrieval addresses missing knowledge, not cornering. RAGTruth outputs studied in First Hallucination Tokens Are Different from Conditional Ones still hallucinate with retrieved context present. Retrieval is complementary rather than a substitute. As a secondary experiment, we plug retrieved evidence into fact elicitation and test whether the infilling gain persists on top of it.

Why not just correct afterwards, as ZEROFEC does? ZEROFEC edits individual claims after generation, at 3 to 4 times the cost of end-to-end models. Editing a single claim cannot easily repair sentences that exist only because of an earlier false premise. We include ZEROFEC-style correction applied to greedy outputs as a post-hoc reference.

Proposed Experiments

The main evaluation uses FActScore biographies, stratified by entity frequency. This matters because FActScore shows precision collapsing for rare entities (ChatGPT reaches about 80% on very frequent entities against 58.3% overall), and rare entities are where short-answer agreement should also be weakest. Generalization is tested on LongFact and FactualBio, following SHARS, and on Wikidata list questions and MultiSpanQA, following CoVe.

The metrics are FActScore precision, the number of supported facts per response as an informativeness check, the connective-span unsupported-claim rate from the localization study, and generated tokens per answer. Two additional metrics are reported for open models: abstention rate, and entropy at the first unsupported token.

There are two decisive checks. The first is whether anchored infilling beats facts-in-prompt writing on connective-span errors at matched informativeness. This determines whether the non-monotonic part of the idea is real. The second is whether the whole pipeline matches or exceeds re-implemented CoVe factor+revise at lower token cost. A further diagnostic is the localization result itself. If even CoVe's residual errors turn out to be mostly anchor errors rather than connective errors, the core claim is wrong and effort should shift to better fact elicitation rather than better ordering.