arXiv:2610.20668cs.CROct 2026

Manuscript Offprint

arXiv:2610.20668

CascadeLedger: Counterfactual Auditing of Information and Resource Integrity in LLM Cascades

Miaobo Hu, Shuhao Hu, Xiaobo Guo, Xin Wang, Bokun Wang, Daren Zha, Jun Xiao

ABSTRACT

We introduce CASCADELEDGER, a counterfactual execution-audit framework for budgeted language-model cascades. The protocol enforces call-before-read semantics, binds successful reads to service and cache identities, records availability and component-wise budget transitions, and freezes the event trace before any target or task scorer is joined.

The central object is aggregate-equivalent trace validity: two executions can share a final answer, declared resource projection, and service histogram while differing in whether their routing decisions used only legitimately observable information. We complement single-trace invariants with counterfactual prefix non-interference (CPNI), which couples a visible prefix and policy randomness while changing only a declared hidden family. The counterfactual influence frontier (CIF) localizes the earliest violating prefix and a minimal hidden witness; projection-preserving adversarial mutation (PPAM) searches for invalid traces that remain acceptable to a non-counterfactual checker.

Across frozen-cache, independently generated, and serving evaluations, the two-layer audit reports a clean false-positive rate of 0.0000, detects 0.9983 of serialized faults and 0.9982 of unlogged hidden-read faults, and changes 0.3403 of corrupted quality-resource conclusions after deterministic recomputation. The online recorder and offline CPNI audit have separate overhead measurements. Learned routing and semantic verification provide downstream compatibility studies under the same execution contract.

1 INTRODUCTION

Cascade systems make a conditional-computation promise: spend extra computation only when an observed signal justifies it. That promise is difficult to audit when candidate outputs are revealed before payment, unavailable calls disappear from the trace, or a verifier is evaluated with the same target used to select the route. A final answer, call histogram, and cost summary can remain unchanged while an implementation consults a target or future output before that field is observable.

Our answer is a replayable protocol, CascadeLedger. Candidate outputs are frozen before routing. Online policies see only the query, observations returned by successful paid calls, declared confidence fields, service availability, and remaining budget. Targets and future service outputs are joined only after the trace is frozen. The ledger supplies the serialized execution layer, while CPNI tests the behavior of the realized router under controlled hidden-state interventions.

The audit also changes the empirical question. On the primary 128-record cache, fixed and sequential routing obtain the same cache–target proxy match, 0.3203, while sequential routing spends more declared service cost. The split-aware learned gate reaches 41/128 held-out matches versus 42/128 for sequential routing and costs 1.609375 additional declared units. This result identifies the decision-value gap that a stronger route feature or independent semantic verifier must close. The separate

64/128 and 256/1,319 operating-point gates further demonstrate why dataset partition and cache provenance travel with every threshold.

The independent task and serving protocol tests the same contract across train, calibration, and held-out splits. It fixes 1,319 held-out requests per seed and a common scorer, linking quality to coverage, failure events, token cost, and request latency. Fault-consequence and semantic-verifier comparisons test whether a valid trace also changes the scientific conclusion.

The protocol is policy-agnostic: routing quality is a validation substrate for the audit. The primary methodological question is whether a hidden field can change a pre-reveal action while every legitimately visible state component and policy random draw is held fixed. This separates behavioral information integrity from the validity of the serialized event stream.