Research Series · CB·P1 · Part 1 of 7 · October 2026

Part 1: Thirty Phases of Fact-Faithful Editing in a Compact Local Model

A pre-registered empirical study of fact-faithful local prose editing (4B–27B on two RTX 3090 GPUs): diagnosing filter-induced length collapse, isolating length-preserving target repair (v4lp), scaling decode-time NLI ensemble reranking, and logging 26 negative results.

Published
Compute
2 × RTX 3090 (local, $0 API)
Tracks
CB·1 Measurement · CB·2 Adaptation · CB·3 Mechanistic
Painterly editorial illustration of a brass mechanical press, a balance scale with shears trimming one scroll short against a full-length illuminated scroll, calibration weights, optical lenses, and a small golden canary watching from a drafting table.
Balancing strict fact-faithfulness against document-length preservation across thirty pre-registered experiments on two consumer GPUs.
Seed Corpus6,186 pairs3,260 docs across 5 domains; 51.1% of raw human targets invented numbers
Length Collapse0.981 → 0.64Monotonic SFT shortening across steps 31–124; 9 indirect fixes failed
Target Repair (v4lp)0.942 ratio807 rewritten pairs vs matched ctlv4: 0 loops, 0% <0.5×, 0.001 regex rate
Null Hypotheses26 of 28Including DPO replications, 27B scale-up, verify-revise, and blind LLM judge

Abstract

Automated prose-editing pipelines decouple drafting from stylistic revision: an editor model receives a rough machine-generated draft x and must output publishable prose y that preserves every factual proposition in x while maintaining comparable document length (|y| / |x| ∈ [0.80, 1.20]). We executed this problem as a strictly pre-registered empirical study on a single dual-GPU workstation (2 × NVIDIA RTX 3090 24 GB): thirty numbered phases (0–29, 4–9 October 2026), a 3× parameter scale-up to Qwen3.5-27B (H31, 23–24 October), and three follow-on verifier/revision extensions (H32a–c), with every hypothesis, sample size, and pass criterion committed to git before GPU execution. Only two interventions cleared their October pre-registered gates. First, filtering human training targets to remove unsupported factual additions induced severe monotonic length collapse (median output/draft word ratio fell from 0.981 on base Qwen3.5-9B to ~0.64 across 124 SFT steps); nine indirect mitigations failed, whereas regenerating training targets under an explicit 90%–110% length contract (v4lp, 807 surviving pairs) restored median ratios to 0.9378 / 0.9453 against an ID-matched control (ctlv4, 0.7250 / 0.7025), eliminated repetition loops (0/120) and sub-half-length outputs (0.0%), reduced regex-detected numeric inventions to 0.001, and replicated at 4B (0.949 / 0.944). Second, decode-time ensemble reranking (E-pick, minimizing mean DeBERTa + RoBERTa contradiction across N samples) reduced flags under a held-out third NLI encoder (BART-large-MNLI) over 720 paired items from 497/720 (69.0%) to 473 at best-of-4 (−3.3 pts, p = 0.024), 446 at best-of-8 (−7.1 pts, 95% CI [4.0, 10.1]), and 441 at best-of-16 (−7.8 pts, saturating). Conversely, 26 of 28 pre-registered hypotheses failed — including two DPO replications, 27B scaling (lower loss across every checkpoint, null contradiction reduction), claim-decomposed picking, verify-then-revise (0/720 items changed), and a blind LLM-judge panel that observed only Δ0.8 pts where held-out NLI claimed Δ7.1. Even after our strongest October intervention, 62.0% of outputs remained flagged — motivating the forensic measurement audit in Part 2.

1Formal Problem Formulation & The Structural Data Trap

In two-stage writing architectures, an upstream generator converts a structured brief into a rough draft x, and a downstream editor model fθ maps x → y to improve cadence, clarity, and rhetorical flow. Unattended deployment imposes two coupled hard constraints that are rarely evaluated jointly in stylistic rewriting benchmarks:

Cfact(x, y) = 0   (zero unsupported or contradicted claims)   ∧   r(x, y) = |y|words|x|words ∈ [0.80, 1.20] (1)

These constraints fail simultaneously under standard supervised fine-tuning (SFT) on natural human-versus-draft pairs. When a compact model (Qwen3.5-4B) synthesizes a rough draft x from an outline of a published human article y*, the human original routinely contains contextual statistics, dates, citations, or technical qualifications that never appeared in x. Across our raw 6,186-pair seed pool (spanning 3,260 distinct documents), deterministic numeric regex extraction alone flagged 51.1% of human targets as introducing numerals absent from their paired drafts. Fine-tuning directly on y* therefore teaches the editor to hallucinate plausible background numbers.

Conversely, aggressively pruning or filtering y* to eliminate unsupported clauses creates a systematic distributional skew: surviving targets skew substantially shorter than their input drafts. Under cross-entropy SFT, the editor absorbs deletion as a cheap faithfulness heuristic — turning a prose editor into an extractive summarizer that silently discards one-third of every document.

Pre-registration protocol & chronological note Every hypothesis in this study (prefixed S… or H…), its sample size, exact scoring script, and binary pass threshold were committed to git prior to GPU or API execution. Methodological scope: Part 1 reports the October 2026 study and pre-registered outcomes exactly as logged; Part 2 subsequently audits the evaluation instruments on raw JSONL outputs, exposing a sliding-window NLI aggregation defect that overturns the reranking headline while confirming length collapse and v4lp repair.

2Corpus Provenance, Model Family & Statistical Protocol

All thirty numbered phases (0–29, 4–9 October 2026), the H31 27B scale-up (23–24 October), and H32a–c ran on a single local dual-GPU workstation (2 × NVIDIA RTX 3090 24 GB, AMD Ryzen 9 5900X, 60 GB RAM) under strict GPU-UUID isolation. To prevent source memorization, we constructed a locked held-out evaluation benchmark of 120 items drawn from 74 unique source documents, programmatically verified for zero document-ID overlap against all 6,186 training pairs. Pooling six independently seeded DPO preference lanes (seeds 3–8) yielded n = 720 paired evaluations for primary reranking and prompt/temperature ablations; two-seed checks (e.g., H17, H31) evaluated n = 240.

Statistical inference: Because six-lane pooled items share the same 120 underlying source drafts, standard independent binomial confidence intervals understate variance. Every pooled contrast therefore uses item-cluster bootstrap 95% confidence intervals (10,000 resamples over the 120 document clusters, fixed RNG seed 18) paired with exact two-sided McNemar tests on discordant item pairs. Throughout Part 1, directional deltas (Δ) are signed positive when an intervention reduces NLI-flagged contradictions.

Exact corpus construction, QLoRA/DPO hyperparameters, and NLI verifier definitions
  • Fixed editor instruction: “You are an editor. Rewrite the draft so it reads like a careful human writer: keep every fact from the draft, match its length within 20%, use natural varied prose. Output only the rewritten text.”
  • Raw seed distribution (6,186 pairs, 3,260 docs): wikipedia-2020 (2,522), Congressional Research Service crs (1,655), Europe PMC epmc (1,511), UK Parliamentary postnotes (474), and nasa technical briefs (24).
  • Fact-filtered corpora (v2 & v3): Phase 1 executed 7 registered filtering/rewrite stages using numeric regex gates, NLI filters, and 4,682 glm-5.3 rewrites (temp 0.2), yielding v2 (2,956 pairs; regex invention share 78.4% → 0%) and atomic claim-checked v3 (2,020 pairs).
  • Length-preserving repair (v4lp) & matched control (ctlv4): All 2,020 v3 targets were regenerated via glm-5.3 (temp 0.6) under an explicit 90%–110% word-count contract; exactly 807 pairs survived joint regex, DeBERTa contradiction < 0.5, entailment, and 0.90–1.15 length-ratio filters. To isolate target rewriting from dataset size or ID selection, ctlv4 trained on the unchanged v3 targets over the exact same 807 IDs and batch ordering.
  • Model architectures & optimization: Qwen3.5-4B, Qwen3.5-9B, and Qwen3.5-27B (H31) loaded in 4-bit NF4 double quantization with bfloat16 compute. LoRA adapters (r = 32, α = 64, dropout = 0.05) targeted all 7 linear projections (q/k/v/o_proj, gate/up/down_proj). SFT used AdamW, cosine decay, lr = 1e-4 (124 steps on v3; 50 steps on v4lp/ctlv4). DPO used β = 0.1, lr = 1e-5, 50 steps × 8 pairs/step. Default decoding: temp = 0.7, top_p = 0.95, max_new_tokens = 1100.
  • Tri-family NLI stack: Picker encoders D = DeBERTa-v3-large-mnli-fever-anli-ling-wanli and R = RoBERTa-large-mnli; strictly held-out evaluation encoder B = facebook/bart-large-mnli (excluded from all data filtering, DPO pair mining, and candidate selection).

3Diagnosis of Filter-Induced Length Collapse & Matched-Control Target Repair

Our Phase 5 checkpoint dose–response curve ruled out base-model truncation bias immediately. Evaluated under identical decoding parameters, un-fine-tuned Qwen3.5-9B tracked input length almost 1:1 at a median ratio of 0.981. Once SFT began on fact-filtered v3 targets, median output/draft ratio dropped monotonically across training: 0.780 at step 31, 0.639 at step 62, 0.643 at step 93, and 0.645 at step 124. Over the same trajectory, external style win rate (GLM vs-draft) rose from 0.555 to ~0.81 by step 62, while NLI contradiction rates fluctuated non-monotonically (26.7% / 35.8% / 23.3% / 30.0% / 32.5%).

Before incurring the cost of regenerating training targets, we systematically tested nine indirect mitigations spanning data filtering, loss reweighting, optimization, decoding constraints, and prompt/inference structure. Every single indirect lever failed its pre-registered gate:

  • Data & loss reweighting (S8, S9, Phase 5, H12–H14): Filtering training targets by minimum length ratio (0.60, 0.70, 0.75, 0.80) either shifted median output length negligibly (0.638 / 0.681 vs 0.636 unfiltered) or purged too much of the corpus (471/840 pairs ineligible). Content-preserving delete repair (S9, 647 pairs) stalled at 0.647, and 3× upweighting long drafts slightly worsened long-quartile ratio (Δ −0.041).
  • Optimization & prompt levers (Phases 6–7, H8–H9): Early stopping found no eligible checkpoint k* simultaneously clearing length and style bars; cutting learning rate to 0.1×/0.3× under-fit style; adding explicit word-count prompts (H9) worsened length collapse (0.592 / 0.652) while increasing repetition loops.
  • Decoding & chunking hacks (Phase 4, H10): Masking the EOS token until generation reached 0.85× draft length exposed why length collapse is distributional rather than a simple stop-token bias: forced to continue after exhausting its planned summary, the model entered degenerate n-gram repetition loops in 48 of 51 outputs (94.1%). Splitting drafts into independent paragraph chunks (H10) recovered only 0.725 / 0.708 while introducing 12%–13% cross-boundary coreference and factual contradictions.

Collapse (Phase 5). Base Qwen3.5-9B preserves length at 0.981×, then drops monotonically across SFT steps 31 (0.780), 62 (0.639), 93 (0.643), and 124 (0.645) on fact-filtered targets.

Figure 1. Monotonic filter-induced length collapse across Phase 5 checkpoints and controlled causal repair via length-preserving targets (v4lp) against ID-matched ctlv4 (H15–H16).

Only intervening directly on the target length distribution solved the failure cleanly. In H15, comparing v4lp against the ID- and step-matched control ctlv4 across two independent seeds (Table 1) isolated a paired median length lift of +0.202 (seed 1) and +0.231 (seed 2), eliminating both sub-half-length collapses (15.8% → 0.0%) and repetition loops (10 / 7 → 0 / 0) while cutting micro regex numeric inventions by two orders of magnitude (0.115 / 0.122 → 0.001) and boosting GLM vs-draft win rate (+0.115 / +0.109).

Table 1. H15 controlled target-repair comparison over identical 807 training IDs and 50-step QLoRA schedules on Qwen3.5-9B (n = 120 locked items per seed), alongside full 124-step v3 references.
Metric (Qwen3.5-9B, n = 120) v3 ref s1 ctlv4 s1 v4lp s1 v3 ref s2 ctlv4 s2 v4lp s2
Median output/draft ratio0.64510.72500.93780.64210.70250.9453
Paired median Δ vs ctlv4——+0.202——+0.231
NLI contradicted (share of 120)32.5%24.2%29.2%22.5%25.0%32.5%
Sub-half-length (< 0.5×)—15.8%0.0%—15.8%0.0%
Repetition loops (/120)2100370
Regex invented facts (micro)0.1050.1150.0010.0970.1220.001
GLM vs-draft style win rate0.8110.7420.8570.7750.7310.840

Cross-scale & fresh-seed replication (H16–H17): Re-running the identical v4lp recipe on Qwen3.5-4B replicated length repair cleanly across both seeds (0.949 and 0.944, even though 4B had failed the finer Phase 7 dose–response monotonicity check). On fresh seeds 3–4 (H17, n = 240), v4lp cleared its pre-registered faithfulness non-degradation bound (≤ +5.0 pts contradiction rise vs ctlv4): 78 vs 71 flagged items (Δ +2.92 pts, 95% CI [−3.25, 9.08], exact McNemar p = 0.427).

4Decode-Time Ensemble Reranking (E-pick) — And Every Attempt to Push Beyond It

With length stabilized, we tested inference-time best-of-N reranking (E-pick) across six DPO lanes (seeds 3–8, n = 720). For each draft x, we sampled N independent rewrites {y1, …, yN} at temp = 0.7 and selected the candidate minimizing mean contradiction probability across two picker NLI encoders, then scored the selected output under the strictly held-out third encoder B:

ŷE-pick(x) = arg minj ∈ {1,…,N}   12   ( sD(x, yj) + sR(x, yj) ) (2)

Relative to single-pass greedy decoding (497/720 = 69.0% flagged under B), E-pick scaled smoothly through best-of-8 before saturating: best-of-4 dropped flags to 473/720 (Δ +3.3 pts, 95% CI [0.6, 6.1], p = 0.024), best-of-8 to 446/720 (Δ +7.1 pts, CI [4.0, 10.1], p ≈ 0), and best-of-16 to 441/720 (Δ +7.8 pts, CI [4.6, 11.1], marginal +0.7 pts over bo8). All six seeds moved in the same direction (83→73, 85→71, 79→76, 83→78, 81→69, 86→79) without sacrificing length preservation (median ratios 0.918–0.943 greedy vs 0.921–0.939 bo8). Notably, same-family scores overstated the effect by more than 2× (bo8 Δ16.5 under picker D and Δ14.4 under picker R versus Δ7.1 under held-out B; an earlier circular D-on-D precursor on 240 items had shown 32.5% → 9.6%).

Hover any bar above to inspect exact flagged counts, 95% bootstrap CIs, and McNemar p-values.
Figure 2. October reranking scaling (H23/H24/H26) versus every follow-on hypothesis attempting to strengthen verifier diversity (H28, H32a, H32b, H32c) or triple model capacity to 27B (H31).

We then executed four targeted follow-on experiments designed to break past the best-of-8 plateau. Every single one failed its pre-registered gate, revealing distinct structural bottlenecks:

  • 3× Model Scale-Up to Qwen3.5-27B (H31, seeds 7–8, n = 240): Scaling from 9B to 27B under identical v4lp SFT + DPO schedules improved every optimization loss monotonically (seed 7: SFT val loss 0.4632 → 0.3882, DPO 0.3002 → 0.2828; seed 8: SFT 0.3750 → 0.3151, DPO 0.3015 → 0.2359). Yet lower cross-entropy loss failed to translate into fewer held-out contradictions under B: 167 → 160/240 (Δ +2.9 pts, CI [−2.1, 7.9], p = 0.3368), and 27B composite vs 9B composite landed at Δ −1.7 pts (CI [−6.2, 2.9]).
  • Adding a Third Verifier Family (H28 ELECTRA & H32c AlignScore): Adding a third NLI architecture (ELECTRA) yielded only 446 → 441/720 (Δ +0.7 pts, CI [0.0, 1.4], p = 0.125). Replacing R with genuinely non-NLI AlignScore-base (low inter-scorer correlation: Pearson r = 0.268 with D, 0.388 with R) actively degraded held-out B (446 → 464/720, Δ −2.5 pts, CI [−5.0, 0.0], p = 0.0662); combining all three was neutral (446 → 451, Δ −0.7).
  • Atomic Claim-Decomposed Reranking (H32a): Decomposing candidate sentences into atomic claims and averaging claim-level contradiction scores flipped 85–97 of 120 candidate selections per lane — yet degraded held-out B (446 → 461/720, Δ −2.1 pts, CI [−5.0, 0.8], p = 0.1953) because short atomic clauses suffered higher single-premise entailment variance.
  • Verify-Then-Revise Second Pass (H32b): Passing the 439/720 items flagged by D+R back to the 9B DPO editor with explicit pointers to the flagged sentences produced an exact null: 446 → 446/720 (Δ 0.0, p = 1.0). Token-level diffing revealed an identity-copy attractor: the editor preserved 98.4%–99.7% of unflagged sentences verbatim, and altered a flagged sentence in only 0.0%–4.3% of targeted items (0.0% on lane s5) — echoing Tyen et al.’s finding that mid-sized LMs fail self-correction even when supplied exact error spans.

5Complete Negative-Results Ledger (26 Pre-Registered Nulls)

Selective reporting destroys small-lab ML research. Table 2 documents all 26 pre-registered hypotheses that failed their acceptance criteria across the core 30-phase sequence and H32a–c. Two failures carried outsized diagnostic weight: (1) DPO failed both independent replications (H19 two-seed Δ +1.2, CI [−3.8, 6.2]; H20 six-seed Δ +2.8, CI [−0.1, 5.7]; ensemble-mined T-Edpo H27 Δ +5.0, CI [−0.8, 10.8]), proving that our single positive H18c DPO signal on 240 circularly scored items did not generalize; and (2) our blind LLM-judge panel (H22) saw virtually zero difference between greedy decoding and best-of-8 E-pick (220 vs 214/720 preferred, Δ +0.8 pts, CI [−2.6, 4.2]) directly contradicting B’s +7.1-point gain.

Table 2. Complete October 2026 negative-results ledger (23 core 30-phase nulls plus H32a/b/c). All CIs are 95% item-cluster bootstrap intervals.
ID / PhaseIntervention TestedPrimary Logged OutcomeStatus
S8 / Ph 3Target length filter ≥ 0.60 / 0.70Medians 0.638 / 0.681 vs 0.636 unfilteredFailed
S9 / Ph 3Content-preserving delete repairMedian 0.647 vs v2 0.636 (647 pairs)Failed
— / Ph 4EOS token forbidden until 0.85× draftDegenerate repetition loops in 48/51 outputsFailed
— / Ph 53× long-draft loss upweightingLong-quartile Δ −0.041; overall Δ −0.029Failed
— / Ph 6–7Early stop k* & 4B dose–responseNo eligible k*; 4B monotonicity failed both seedsFailed
H8–H10LR ×0.1/×0.3; length prompt; chunkingPrompt 0.592/0.652; chunk 0.725/0.708 (~12–13% boundary flags)Failed
H12–H14Ratio ≥0.80 / ≥0.75; mixed v4lp471 / 840 pairs ineligible; H14 s2 missed NLI barFailed
H18b / 18dStrict v5fc targets; DPO+bo4 gatev5fc Δ +2.9 CI [−1.2, 7.1]; DPO+bo4 Δ +2.5Failed
H19 / H20DPO replications (s5/s6; 6-seed pooled)H19 Δ +1.2 [−3.8, 6.2]; H20 Δ +2.8 [−0.1, 5.7]Failed
H21 / H22Single-family R-pick; blind LLM judgeR-pick 208 vs 203 (Δ −0.7); blind panel 220 vs 214 (Δ +0.8)Failed
H27 / H28T-Edpo (532 pairs); +ELECTRA pickerT-Edpo Δ +5.0 [−0.8, 10.8]; ELECTRA 441 vs 446 (Δ +0.7)Failed
H29 / H30“Preserve facts” prompt; temp 0.3/0.5/0.1Both 488 vs 497/720 (Δ +1.2, p ≈ 0.5); t05 499, t01 501Failed
H3127B scale-up (SFT+DPO, s7/s8, n=240)160 vs 167/240 (Δ +2.9 [−2.1, 7.9]); all losses lowerFailed
H32a / b / cClaim-E-pick; verify-revise; AlignScoreH32a Δ −2.1; H32b Δ 0.0 (446→446); H32c Δ −2.5Failed

6Threats to Validity, Disclosed Deviations & The Open Measurement Anomaly

We closed October with three stark validity warnings that prevented unattended deployment:

  1. Unsolved residual flag rate: Even under the strongest reranking arm (E-pick bo16), 61.3%–62.0% of items (441–446/720) remained flagged by held-out encoder B.
  2. Inter-judge collapse: On a 50-pair spot audit across three external LLM judges, inter-rater reliability fell below chance (Fleiss κ = −0.223; positive flag counts diverged wildly: Astra 6, GLM 42, Grok 1).
  3. Construct-validity contradiction: Why did an independent blind LLM-judge panel detect essentially zero difference between greedy decoding and E-pick bo8 (Δ +0.8 pts, CI [−2.6, 4.2]) on the exact 720 pairs where held-out NLI encoder B reported a highly significant +7.1-point reduction?

Resolving that discrepancy required a zero-GPU forensic test: score verbatim unchanged copies of the 120 drafts through B, R, and D to measure the instrument’s true false-positive floor. Running that single control is what collapsed the October reranking headline and reshaped our entire research direction in Part 2.

Disclosed pre-registration slips, execution deviations & descriptive tooling (Phase 27)
  • Two disclosed pre-registration slips: (1) the length-threshold rule was committed 1 min 48 sec after its gate script launched (strictly prior to any adapter checkpoint existing); (2) one concurrent-session script edit was isolated and reconciled via git SHA reconstruction and raw output attestation.
  • Logged operational deviations: one mid-phase resume requiring --no-early-abort, three overnight CUDA OOM cycles during Phase 18c, one shared invalid base generation_config field affecting all compared arms symmetrically, and external API judge-credit outages on 7 October.
  • Phase 27 descriptive cascade: A local confidence-based JEV cascade flagged 4.8% of 1,567 audited units, agreed on 43% of low-confidence escalations, and would have reduced external judging spend by ~$53 out of $81.6.

7References

  1. Brown et al. (2024). Large Language Monkeys: Scaling Inference Compute with Repeated Sampling.
  2. Cao et al. (2020). Factual Error Correction for Abstractive Summarization Models. EMNLP.
  3. Cobbe et al. (2021). Training Verifiers to Solve Math Word Problems.
  4. Dettmers et al. (2023). QLoRA: Efficient Finetuning of Quantized LLMs. NeurIPS.
  5. Dhuliawala et al. (2023). Chain-of-Verification Reduces Hallucination in Large Language Models.
  6. Dubois et al. (2024). Length-Controlled AlpacaEval.
  7. Gao et al. (2023). Scaling Laws for Reward Model Overoptimization.
  8. Gekhman et al. (2024). Does Fine-Tuning LLMs on New Knowledge Encourage Hallucinations? EMNLP.
  9. Gou et al. (2023). CRITIC: Large Language Models Can Self-Correct with Tool-Interactive Critiquing. ICLR.
  10. Honovich et al. (2022). TRUE: Re-evaluating Factual Consistency Evaluation. EMNLP Findings.
  11. Hu et al. (2022). LoRA: Low-Rank Adaptation of Large Language Models. ICLR.
  12. Laban et al. (2022). SummaC: Re-Visiting NLI-based Models for Inconsistency Detection in Summarization. TACL.
  13. Maynez et al. (2020). On Faithfulness and Factuality in Abstractive Summarization. ACL.
  14. Min et al. (2023). FActScore: Fine-grained Atomic Evaluation of Factual Precision. EMNLP.
  15. Rafailov et al. (2023). Direct Preference Optimization: Your Language Model is Secretly a Reward Model. NeurIPS.
  16. Tyen et al. (2024). LLMs Cannot Find Reasoning Errors, but Can Correct Them Given the Error Location. ACL Findings.
  17. Yu et al. (2023). RLHF-V. · Zha et al. (2023). AlignScore. EMNLP. · Zheng et al. (2023). Judging LLM-as-a-Judge. NeurIPS.

Cite this

To cite Part 1 of the Canary Builds local-model research series:

@techreport{canarybuilds-2026-part1-thirty-phases,
  title       = {Part 1: Thirty Phases of Fact-Faithful Editing in a Compact Local Model},
  year        = {2026},
  month       = {10},
  institution = {Canary Builds},
  url         = {https://canarybuilds.com/papers/part-1-thirty-phases-local-editor}
}