Absence-Aware AI Validation Gates, Ratio Reconstruction & N-of-M Count Audits
Closing the omission loophole in token-keyed validators, reverse-computing undeclared inputs from printed totals, and separating gate-forced matches from real corroboration.
- 01Any validator keyed solely to written tokens rewards omission: a transparent report with a wrong edition tag gets flagged while an opaque report with zero tags sails through unless an explicit absence mode exists.
- 02Declaration checking stops where author transparency stops; reverse-computing implied factors (
output ÷ activity) exposes undeclared parameter shifts across periods. - 03Before reporting that two datasets agree on a count, check whether a build gate would have aborted on any other number—and remember that corroborating an ID column says nothing about unverified payload columns.
1. Why Token-Keyed Guardrails Reward Omission (And How to Add Absence Mode)
Most compliance, financial, and citation validators trigger on written tokens: a deprecated standard number, an invalid status code, or a mismatched year. When a document omits source editions altogether, zero bad tokens fire—turning non-disclosure into an evasion path.
Worse, when a parser fails to recognize local morphology (such as inflected suffixes or hyphenated identifiers), zero extracted citations look identical to a clean pass. Production ontology gates must emit three distinct outcomes:
VERIFIED_PASS: Expected fields parsed non-empty, resolved against canonical registries, and satisfied all invariants.ABSENCE_VIOLATION: Required provenance, edition, or factor disclosure is missing—escalating to a blocking error whenever the referenced authority carries an active retraction or revision caveat.UNPARSED_INPUT: Zero recognized tokens extracted from a non-empty target block; routed to parser inspection rather than silent pass.
gate CheckDisclosureProvenance(block, authorityRegistry):
if block.raw_text.trim() == "":
return FAIL("EMPTY_READ: Target block read empty")
pins = parseSourcePins(block.raw_text)
if pins.length == 0:
if authorityRegistry.hasCriticalCaveat(block.metric_id):
return FAIL("ABSENCE_ERROR: Mandatory edition pin omitted")
return WARN("ABSENCE_WARN: Unpinned source claim")
return verifyPinsAgainstSet(pins, authorityRegistry)2. Ratio Reconstruction Beats Declaration Checking
When an operational report or supplier filing discloses zero unit conversion factors or emission multipliers, declaration checkers find nothing to test. Yet printed outputs mathematically encode their inputs: dividing reported totals by activity volume (output ÷ activity = implied factor) reconstructs the exact multiplier used and detects undisclosed year-over-year shifts.
When auditing intensity ratios, hunt denominators across companion tables and filings as well—mislabeled denominators (such as net profit substituted for revenue) routinely hide behind clean-looking summary prose.
3. Script-Recounting N-of-M Claims & Gate-Forced Agreement
Every count in a heading, summary sentence, or FINAL filename is a claim rather than a measurement. Script-recounting routinely uncovers screening universes misquoted as fully audited samples, summary footer rows counted as rules, and silent one-sided empty reads (5 vs. 2 contradictions caused by a mistyped field key).
Likewise, agreement carries information only in proportion to the outcomes it ruled out. If a build script asserts count == 334 from an ingested file and aborts otherwise, 334 == 334 is a gate outcome, not independent corroboration. Separate what the gate forced (cardinality) from what remained free to disagree (set membership and payload columns).
Glossary Concepts Referenced in This Guide
ORDER_LINES and PAYMENTS) in one flat SQL query, multiplying totals silently.STAT = 4, SPEC_CODE = "B2") in operational tables to verified business states and calculation inclusion rules.Free to reference in engineering docs, ADRs, articles, and course syllabi with attribution.
[Absence-Aware AI Validation Gates, Ratio Reconstruction & N-of-M Count Audits — Ontoloji.org](https://ontoloji.org/en/guides/absence-aware-validation-gates-and-ratio-reconstruction)