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

The Block Catastrophe of Marginal Calibration in Certified Requirements Traceability

Jikun Wu, Dongxin Guo, Sm YiuNeurIPS 2026

TL;DR

When building software for airplanes or pacemakers, regulators inspect requirements traceability module by module—yet standard ML calibration methods only bound error rates on average across the entire project. This mismatch creates a "block catastrophe," where overall statistics look spotless while individual modules are flooded with false links. This paper introduces CERTRA, a wrapper for any black-box ML scorer that shifts error guarantees from the global average down to each individual module an auditor actually checks.

What Problem Does This Paper Address?

Imagine you are certifying flight-control software. Every high-level safety requirement must be linked to corresponding design elements and test cases—a task known as trace-link recovery (TLR). Because checking millions of candidate pairs by hand is brutal, engineers use ML models to score and suggest links.

To make ML outputs trustworthy, statisticians use tools like conformal prediction to bound the False Discovery Rate (FDR)—the expected fraction of accepted links that are actually bogus—below a target threshold like $\alpha = 10\%$.

Here is the catch: standard calibration pools all candidate pairs across the entire system to set one shared threshold, certifying marginal (average) FDR. Regulators, however, don't audit averages; they audit module by module (or "blocks"). Because candidate scores within the same module share context and correlate strongly, one noisy module can have its scores systematically shifted upward. Under a single global threshold, that module suffers massive false discoveries while quieter modules compensate, keeping the global average deceptively low. The authors formalize the extreme version of this failure mode as the block catastrophe.

Figure 1: (1) Auditors check each module; standard calibration certifies marginal FDR. (2) Under one shared threshold, worst-block FDP can far exceed α (Section 3; Table 1). (3) CERTRA cali- brates and runs e-BH within each source module: (4) one finite-sample FDR certificate per module for a partition fixed independently of the scores, under within-block exchangeability (Theorem 5).

Methods

To align statistical guarantees with how auditors actually work, the authors propose CERTRA (CERTified Requirements TRAceability) and a new evaluation metric:

  • Black-box wrapper: CERTRA sits on top of any existing link-scoring model without retraining it.
  • Within-block conformal e-values: Instead of p-values (which struggle when candidate scores correlate), CERTRA uses e-values—non-negative random variables whose expected value under the null hypothesis (non-links) is at most $1$. For each module, CERTRA compares test candidates strictly against known non-links from that same module to compute a binary, rank-based conformal e-value.
  • Block-aware e-BH: CERTRA applies the e-BH procedure (a standard multiple-testing algorithm by Wang and Ramdas that controls FDR under arbitrary correlation) separately inside each module. If a module lacks enough calibration data to make a mathematical guarantee, CERTRA explicitly abstains on that module and flags it for human review rather than guessing.
  • Audit Deficiency Rate (ADR): Standard metrics like F1 treat a typo in a UI requirement the same as a bug in a braking system. The authors introduce ADR, a metric that weights missed mandatory links by their regulatory safety-criticality level (from A down to E).

Datasets

The authors evaluate on seven datasets:

  • Six existing public benchmarks: iTrust, eTOUR, eANCI, WARC, Dronology, and LibEST.
  • INDTRACE-2026 (Newly Introduced): Existing benchmarks lack safety-criticality labels and regulatory diversity. The authors built and released INDTRACE-2026, containing $12,406$ true links across $1,847$ source requirements and $8,432$ targets spanning $47$ modules in aerospace, automotive, and medical-device standards documents, complete with criticality-level annotations.

Key Insights and Ideas

  • Global averages hide local disasters: Even sophisticated methods designed to handle correlation globally—like dependence-adjusted Benjamini–Hochberg (dBH)—still leave individual modules exposed because they optimize for the whole matrix rather than the audited unit.
  • E-values tame intra-module correlation: Within a single requirement module, candidate pairs share source text and retrieved context, making their scores heavily dependent. Standard conformal p-values break here; e-values remain mathematically valid under arbitrary within-block dependence.
  • An "all-or-nothing" phase transition: Because CERTRA's rank-indicator e-values take on only two values (zero or a fixed positive boost), running e-BH inside a block acts like a clean switch: a module either accepts all of its top-ranked candidates if enough of them clear the bar, or accepts none of them. Because of this, CERTRA needs a decent upstream retriever (e.g., filtering to top-$7$ candidates per requirement) where true links aren't needle-in-a-haystack rare.

Key Results

Evaluated on the top-$7$ candidate pairs per source in INDTRACE-2026 at a target error level of $\alpha = 0.10$ (wrapping a retrieval-augmented scorer, LiSSA-RAG):

  • Closing the worst-block gap: Standard pooled split-conformal achieves a respectable $0.108$ marginal FDR, but its worst-module false discovery proportion (worst-block FDP) spikes to $0.413$ ($41.3\%$ bogus links!). Dependence-adjusted dBH hits $0.094$ marginal FDR, yet still suffers a $0.196$ worst-block FDP. CERTRA brings worst-block FDP right down to $0.118$ (with $0.103$ marginal FDR).
  • Higher recall and safer audits: Despite being stricter per module, CERTRA recovers $74.1\%$ of true links (up to $78.9\%$ with a fine-tuned scorer), beating split-conformal ($58.2\%$) and dBH ($65.8\%$).
  • Lower Audit Deficiency: Under equal criticality weighting, CERTRA drops the Audit Deficiency Rate to $8.4\%$, compared to $14.2\%$ for split-conformal and $11.6\%$ for dBH.

Limitations and Future Work

  • Exchangeability vs. practical pipelines: CERTRA's theoretical guarantee requires that calibration non-links and test non-links within a block are exchangeable (statistically interchangeable). In the paper's own INDTRACE-2026 pipeline, calibration nulls were sampled broadly while test pairs were pre-filtered to top-$7$ candidates—violating strict exchangeability and making the strong empirical numbers measured rather than formally certified.
  • Distribution shift & partition gaming: Severe changes across specification versions or calibrating on one vendor's documents to test on another's can break exchangeability and raise error rates. Furthermore, modules must be defined by document metadata before seeing scores.
  • Expectation, not absolute certainty: Controlling FDR bounds the expected error rate over draws; in any single audit run, an individual module's realized false discovery proportion can still occasionally exceed $\alpha$. CERTRA is decision support, not a replacement for human regulatory sign-off.

Summary updated

BibTeX
@inproceedings{wu2026block,
  author = {Jikun Wu and Dongxin Guo and SM Yiu},
  title = {{The Block Catastrophe of Marginal Calibration in Certified Requirements Traceability}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=xjocfB8Qxp},
}
Figure