Skip to content

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

arXiv· arXiv:2610.20668· Miaobo Hu, Shuhao Hu, Xiaobo Guo, Xin Wang, Bokun Wang, Daren ZhaSchool of Artificial Intelligence, University of Chinese Academy of Sciences; Institute of Information Engineering, Chinese Academy of SciencesIndexed by this site · 2026-10-16· Originally publishedTools

Quick read

Analysis and theory

Based on the paper PDF (AI-generated); refer to the original

The authors propose CascadeLedger; on the baseline ladder, Ledger+CPNI hidden-read recall is 0.9982, clean false-positive rate is 0.0000.

Questions
The cascade's final answer, call histogram, and cost can remain unchanged, yet routing may still use target or future outputs before paid disclosure. CascadeLedger audits this information and resource integrity.
Methods
Online routing sees only the query, successful paid observations, claimed confidence, availability, and remaining budget; the target and scorer are attached only after the trace is frozen. CPNI fixes the visible prefix and policy randomness, changes one hidden family at a time, and compares pre-disclosure actions.
Experiments and results
On the baseline ladder, Ledger+CPNI has serialized recall 0.9983, unrecorded hidden read recall 0.9982, and clean false positive rate 0.0000. Additionally, 784 of 2,304 compromised comparisons have their scheduled quality-resource conclusions changed after recomputation.
Limitations and future work
The authors state that the logger, cache producer, and manifest binding are trusted; rewriting observations and summaries requires independent certification. Experiments cover frozen Qwen candidates and specified mutations; semantic verification, independent faults, cross-domain behavior, and runtime calibration each use their own protocols. The main cache is 128 GSM8K-derived records.
Experimental setupQwen3.5-0.8B、Qwen3.5-2B et al. · GSM8K、ARC-Challenge · trace recall、hidden recall et al.
Evaluated models
Qwen3.5-0.8BQwen3.5-2BLlama-3.2-1BLlama-3.2-3B
Benchmarks
GSM8KARC-Challenge
Metrics
trace recallhidden recallclean false-positive rateACRnormalized task accuracymproxy
AI summaryThe research team proposes CascadeLedger, a counterfactual execution audit framework for budget-constrained LLM cascades, used to determine whether routing decisions only use legitimately observable information. The framework requires call-before-read, binding successful reads to service and cache identities, recording availability and budget changes for each component, and freezing the event trace before connecting to the target or task scorer. Its counterfactual prefix non-interference method fixes the visible prefix and policy randomness while only changing the declared hidden family; the counterfactual impact frontier locates the earliest violating prefix and minimal hidden witness, while PPAM searches for invalid traces that can fool non-counterfactual checkers. The paper reports that across three evaluation categories—frozen cache, independent generation, and service—the two-layer audit achieves a false positive rate of 0.0000, detects 0.9983 of serialization faults and 0.9982 of unlogged hidden read faults, and changes 0.3403 of contaminated quality-resource conclusions after deterministic recomputation.

The research team proposes CascadeLedger, a counterfactual execution audit framework for budget-constrained LLM cascades, used to determine whether routing decisions only use legitimately observable information. The framework requires call-before-read, binding successful reads to service and cache identities, recording availability and budget changes for each component, and freezing the event trace before connecting to the target or task scorer. Its counterfactual prefix non-interference method fixes the visible prefix and policy randomness while only changing the declared hidden family; the counterfactual impact frontier locates the earliest violating prefix and minimal hidden witness, while PPAM searches for invalid traces that can fool non-counterfactual checkers. The paper reports that across three evaluation categories—frozen cache, independent generation, and service—the two-layer audit achieves a false positive rate of 0.0000, detects 0.9983 of serialization faults and 0.9982 of unlogged hidden read faults, and changes 0.3403 of contaminated quality-resource conclusions after deterministic recomputation.

Related events and news

1 events · 1 news mentions

News that mentions this paper

RL/RLHF 训练条件可诱发模型智能体提权逃逸

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Cascades can use fields that were unobservable at the time when answers and costs remain unchanged; CascadeLedger uses trajectory inspection and CPNI audit.

    A cascade can use target or future service outputs before the disclosure boundary while the final answer, service histogram, and claimed cost all remain unchanged.

    • Scenario: the authors state that a cascade promises to add computation only when supported by observed signals. If candidates are disclosed before payment, unavailable calls disappear from the trace, or the verifier and router share the same target, this promise is hard to audit.
    • Existing shortcoming: final answers, call histograms, and cost summaries can remain unchanged while the implementation has consulted a target or future output that was not observable at the time. The authors argue that an auditor looking only at aggregate projections gives the same result for such valid and invalid traces.
    • Core object: two executions can share the final answer, claimed resource projection, and service histogram, yet still differ in whether routing used only legitimate observable information. The authors call this aggregate-equivalent trace validity.
    • Proposed protocol: CascadeLedger enforces call-before-read, binds successful reads to service and cache identity, records availability and per-component budget transfers, and freezes the event trace before attaching the target or task scorer. The serialization layer checks paid reads, ordering, binding, and budget; CPNI changes only the claimed hidden family under a fixed visible prefix and policy randomness.
    • Trust assumptions: Appendix B.16 states that the logger, cache producer, and manifest binding are trusted. Hash checks are consistency with these bindings; a logger that changes both observations and summaries requires independent certification. The authors state that the protocol is independent of the specific routing policy, and routing quality is only the validation substrate for the audit.
  2. What related research exists?

    Related work covers cascade routing, agent tool interfaces, and information flow inspection; the authors place the difference in policy-visible information completeness.

    The authors organize related work by conditional computation, agent interfaces, recent routing systems, and information flow/runtime checks.

    Cascades and conditional computation

    • FrugalGPT and RouteLLM (Chen et al., 2023; Ong et al., 2025): learned model selection under quality-cost trade-offs.
    • SelectiveNet (Geifman & El-Yaniv, 2019): frames the related problem as coverage and correctness under a rejection option. Qwen2.5-Math and DeepSeek-V3 are used by the authors to provide scale context for verifier-guided reasoning and training systems.
    • Process-level verification (Lightman et al., 2024; Wang et al., 2023; Cobbe et al., 2021): turns intermediate checks into measurable signals. The authors state that CascadeLedger turns that signal into a traceable paid-read event. Sequence-level control work (Chen et al., 2021; Janner et al., 2022) is used to illustrate that states, actions, and budget transfers should be recorded rather than only final quality reported.

    Agents, tools, and scoring interfaces

    • ReAct and Toolformer (Yao et al., 2023; Schick et al., 2023): expose action and tool interfaces.
    • Environment and task benchmarks: WebArena, AgentBench, ToolSandbox, Tau-bench, AgentDojo, SWE-agent, SWE-bench are used by the authors to illustrate that usability, state, executable environments, policy consistency, adversarial tool returns, and downstream task artifacts affect agent outcomes. The authors state that CascadeLedger contributes a frozen-candidate replay layer, making routing events inspectable before an independent task scorer is attached.
    • Separately versioned scoring: RewardBench and other held-out reward model comparisons and interactive evaluations (Lambert et al., 2024, etc.) are used to illustrate that scoring interfaces and service interfaces should be separated. The authors state that CascadeLedger records the event history connecting these interfaces to routing decisions.

    Recent routing systems

    • Cascadia, PILOT, RouterEval (Jiang et al., 2025; Panda et al., 2025; Huang et al., 2025): jointly optimize deployment and routing, use contextual bandits and knapsack components for budget-adaptive routing, and evaluate routing across many models, respectively.
    • CAPS and Cluster, Route, Escalate (Lin et al., 2026; Moslem et al., 2026): report adaptive cascades with real-time inference or code-task quality and latency measurements. Mahmood (2026) is cited by the authors as: under certain selection models, static policies can be preferred.
    • Difference the authors name: the authors state that CascadeLedger adds an auditable frozen-candidate layer, format confidence, verifier outputs, and service costs enter the trace with explicit provenance, and semantic task scoring remains a separately versioned evaluation surface (Rajput et al., 2026).

    Information flow, hyperproperties, and runtime checks

    • Provenance and audit trails: the authors state that existing audit trail and provenance systems improve the inspectability of recorded executions; the difference here is policy-visible information integrity, i.e., whether changing a hidden field while it remains hidden changes the next action.
    • Provenance for relational tests: information flow control (Sabelfeld & Myers, 2003), hyperproperties (Clarkson & Schneider, 2010), runtime verification (Bartocci & Falcone, 2018), and metamorphic testing (Chen et al., 2018). The authors state that CPNI is a relational test on cascade decisions: fix the visible prefix and policy randomness, intervene on unpublished state, and compare actions before the disclosure boundary.

    Baselines and data

    • Routing comparisons: one-shot, fixed cascade, sequential, budget-conditioned; a separate task study additionally evaluates a learned router. The audit ladder is Aggregate summary, Structured logger, Schema validator, Hash/cache binding, Single-trace ledger, plus CPNI (Table 15).
    • Data: the main cache is GSM8K-derived records; semantic verifier experiments use GSM8K and ARC-Challenge.

    The authors place the difference from recent routing work in the auditable frozen-candidate layer, and the difference from audit trail work in policy-visible information integrity, rather than only checking whether the serialized event stream is well-formed.

  3. How does the paper address this problem?

    CascadeLedger freezes trajectories before scoring, and CPNI and CIF check hidden dependencies before public boundaries.

    CascadeLedger restricts online execution to paid observations, with invariant checks and counterfactual interventions performed after the trace is frozen. The routing policy itself is not the audit object but the validation substrate for the audit.

    Protocol and information boundary

    • Call-before-read: small model, verifier, and large model outputs are generated once and written to the cache. The policy request is a read-before-control decision. When the service is available and the remaining budget per component is sufficient, the cache observation for that service is revealed, the claimed cost is deducted, and the success path is written; otherwise it is recorded as unavailable, budget_skip, or budget_exhausted, and the observation, budget, and success path remain unchanged. Stop and fallback are terminal returns.
    • Online state: the state is written as st=(qi,Ot,At,bt,pt), i.e., query, paid observations, availability, remaining component budget, and successful call path. The action is a_t=π(s_t). Target matching is computed after the trace is frozen. Threshold checks use paid confidence fields, with tie rule κ≥τ.
    • Trust and attachment: the logger, cache producer, and manifest binding are trusted. Public replay applies hidden-read, future-output, cache-binding, and budget mutations to the event stream, so the same checker can also verify traces used by the standalone task scorer. Agent match, task scoring, and online telemetry are separate measurement surfaces. The checker runs before oracle fields are available.

    CPNI and influence frontier

    • Violation: H_t contains fields still hidden at prefix t, including the target, as well as service cache outputs not yet successfully paid. Two executions keep the same visible state and the same policy random draw; hidden states may differ. If the implementation depends only on observable information, pre-disclosure actions should be identical. Different pre-disclosure actions are a CPNI violation, even if the corresponding access is not written to the serialized trace.
    • One family at a time: each audited prefix keeps the query, paid observations, availability, remaining budget, success path, configuration, and random seed, changing only one hidden family at a time: target, unpublished verifier outputs, unpublished large model candidates, or future service fields. Twin traces are replayed until the intervention becomes visible or the first action diverges. Appendix B.16 delegates logger authenticity to the trusted binding layer; CPNI measures behavior under the claimed families.
    • CIF: for hidden family k and intervention z, reports the proportion of qualifying prefix pairs where the pre-disclosure action differs; the empty set is reported as N/A. It also reports the earliest violating prefix and the minimal hidden-family witness recovered by hierarchical delta-debugging. The witness is inclusion-minimal under the search order, not necessarily minimum cardinality. Pass results for the limited suite are per tested family, prefix, seed, and intervention index; the authors do not write them as unconditional universal conclusions.

    Aggregate equivalence and two-layer checks

    • Projection: the claimed projection Φ can include the final candidate, number of successful calls, service histogram, routing depth, event count, or claimed total cost. Aggregate equivalence is written as T≡Φ T′⟺Φ(T)=Φ(T′). Aggregate-preserving faults keep the projection unchanged but violate the execution relation or CPNI conditions.
    • Eight invariants: Table 3 requires oracle isolation, path and successful-call alignment, action pattern, action order, cache binding, ledger reconciliation, paid-read consistency, and budget conservation. Hidden reads and unbilled reads are rejected. Mutation audits test the first five failure modes; clean replay checks all eight.
    • Propositions and consequences: the authors give two propositions. An auditor relying only on Φ gives the same result for an aggregate-equivalent pair of traces. If the implementation depends only on visible state and coupled random draws, then identical visible prefixes give identical pre-disclosure actions; divergence is treated by the authors as an interface violation under the tested intervention. ACR is the proportion of cases where the intended conclusion operator differs between "accept corrupted trace" and "recompute per binding manifest". Recall measures detection; ACR measures whether accepting an invalid trace changes the intended conclusion.

    Routing rules and decisions

    • Four observation policies: Table 2. Acceptance threshold τa=0.75, verifier threshold τv=0.60. Sequential routing first pays to call the small service; when small model confidence is below τa, it pays to call the format verifier. If the verifier passes, it stops at the current small candidate; only on failure is the large model call allowed. The canonical budget is 24 ledger units and 20 ms; the tight budget is 8 and 8. Price shifting multiplies the large service's claimed units and milliseconds by 1.5. Unavailable means the service is marked unavailable before the call; budget-blocked means the service is available but the claimed cost does not fit in the remaining budget.
    • Two scores: the cache generator draws candidates by strict token matching, and the authoritative run writes the draw pattern to the manifest. mproxy is literal string equality after the trace is frozen. The format verifier gives strict draws confidence 0.85, otherwise 0.2. The standalone task scorer normalizes before comparing. Both attach to the same frozen routing identifier.
    • Learned routing: the five-feature gate on the frozen cache is a regularized logistic classifier; small model exact-match labels are used only as offline fitting labels, not online features. The standalone learned router is another two-layer MLP, with online inputs restricted to s_t; target labels enter only offline fitting or post-trace scoring. Fitting, optimizer, and threshold selection are written in Table 47 and Appendix E.10.
    • Replay identifier: a run is identified by relative path and SHA-256 manifest. The authors retain parsed configuration, source commit and dirty flag, selected result files, and deterministic replay summary. The public package excludes private checkpoints, model weights, usernames, hostnames, and absolute paths.
  4. What experiments did the paper conduct?

    On the baseline ladder, Ledger+CPNI hidden-read recall is 0.9982, clean false-positive rate is 0.0000.

    Experimental Setup

    • Main cache: 128 GSM8K-derived records with a real model cache manifest. Tesla T4 generates Qwen3.5-0.8B small model and Qwen3.5-2B large model candidates, float16, batch size 8, max input 512, max generation 256, CUDA 11.8. Candidates are generated before routing and frozen.
    • Task split: per router seed 1,024 training, 256 calibration, 1,319 held-out; router seeds 13/17/23, candidate generation seeds are disjoint from them (Table 29). Five strategies share requests, model bindings, and scorers. There are also disjoint 256 selection cache and 1,319 held-out cache for operating point gates.
    • Strategies and budgets: one-shot, fixed, sequential, budget-conditioned, learned router. Sequential routing uses τa=0.75, τv=0.60. Canonical budget 24 units and 20 ms, tight budget 8 and 8. Price shift multiplies large service declared units and milliseconds by 1.5.
    • Metrics: mproxy is literal answer equality after freezing; mtask is normalized task accuracy from an independent scorer; declared cost and ledger milliseconds are accounted separately. Audit reports detection proportion, clean false positive rate, and ACR. Availability and budget event rates use all requests as denominator; mutation recall uses injected faults as denominator.
    • Adjudication: task score is not another LLM scoring. Semantic validator references are independently annotated by three annotators, Fleiss' κ=0.846; when there is no three-person majority, a fourth blind adjudicator decides. Annotators see only questions, candidates, and reference answers; routing actions and validator predictions remain hidden, and labels are frozen before computing the confusion matrix (Appendix B.14).
    • Intervals: learned vs. sequential task difference uses 95% percentile intervals from 5,000 hierarchical bootstraps, resampling unit is query, outer layers are router seeds and producer seeds (Table 48). The paper reports this interval, not a significance test.

    Main Results

    The abstract summarizes 0.0000, 0.9983, 0.9982 as two-layer audit results across frozen cache, independent generation, and service evaluation. Section 4.2 and Table 15 record the same numbers on the baseline ladder fault population. The table below follows Table 15.

    Swipe horizontally to read the table

    MethodSerialized recallHidden read recallClean false positive rate
    Aggregate summary0.00000.00000.0000
    Structured logger0.00000.00000.0000
    Schema validator0.36180.00000.0000
    Hash/cache binding0.57460.00000.0000
    Single-trace ledger0.99830.00000.0000
    Ledger + CPNI0.99830.99820.0000
    • The authors state that the single-trace ledger covers serialized faults, and CPNI adds hidden dependencies not written to the event stream. In Figure 3 and Table 23, without CPNI, unrecorded reads and joint hidden columns are both 0.0000, while structural columns remain.
    • The consequence population differs from the table above. Table 24 all declaration families N=2,304, full recall 0.9983, ACR 0.3403, i.e., 784/2,304 scheduled quality-resource conclusions change after rejecting invalid trajectories and recomputing.
    • Table 4 compares five strategies on 1,319 held-out requests per seed. Learned router task score 0.7195, difference vs. sequential +0.0152, interval [+0.0061, +0.0244]; calls 1.642 vs. 2.096, tokens 427 vs. 518, p50/p95 68.7/134.2 vs. 89.7/172.4 ms. One-shot is 0.5823, 1.000 calls, 236 tokens, 41.8/72.9 ms. The authors state that in Figure 2, learned routing is to the upper left of fixed, sequential, and budget-conditioned, and one-shot is a lower-cost, lower-task-score operating point. In Table 30, the paired interval for cross-cache conditions is [+0.0032, +0.0218], which the authors call the narrowest lower bound among service conditions.

    Proxy Matching on Frozen Cache

    • Table 5, main seed-13 cache 128: one-shot matches 27/128 (0.2109), fixed and sequential both match 41/128 (0.3203). Under large service unavailability or tight budget, both cascades' proxy matching drops to 0.2109, with corresponding event rate 0.6953. Under +50% price, proxy matching remains 0.3203, sequential declared units rise from 13.73 to 17.91.
    • The canonical format validator rejects all 89 selected small candidates, so marginal proxy decision value is zero. The authors state that sequential routing pays validator cost but does not change proxy quality. Path count audit reports baseline sequential has 128 small calls, 89 validator calls, 0 validator acceptances, 89 successful large calls.
    • The split-aware gate is another cache: seed 23, 64 calibration (40 fit, 24 tune) and disjoint 128 held-out, threshold 0.65. Learned gate matches 41/128 (0.3203125), sequential and budget-conditioned 42/128 (0.328125), one-shot 28/128 (0.21875). This gate has declared units 15.34375, milliseconds 9.5625, sequential 13.734375 and 8.2578125. The authors consider this marks the feature and cost gap that real-time routing still needs to close.

    Hidden Impacts, Localization, and PPAM

    • Table 16: single-trace ledger recall is 0.0000 for four types of unrecorded hidden impacts: target, future verifier, future large, future queue. Ledger+CPNI are 1.0000, 0.9974, 0.9987, 0.9967, with clean disagreement 0.0000.
    • Table 19: on all declaration families, CIF family accuracy 0.9881, exact earliest prefix 0.9750, prefix MAE 0.034, 7.96 paired replays per trajectory. Random hidden read exact prefix 0.9437, the lowest row in that table. Exact retraction with minimal witness 0.9687.
    • Table 20: PPAM retains 1,012, 947, 823 invalid trajectories under projections Φ1, Φ2, Φ3, respectively, and the strongest non-counterfactual checker accepts all of them at rate 1.0000. Full audit recall 0.9980, 0.9979, 0.9976; scheduled conclusion change rates 0.3656, 0.3464, 0.3220. Search uses 1,024 starting points, 64 proposals per start.

    Semantic Validation, Longer Cascades, and Independent Faults

    • Table 44: on GSM8K, Qwen family, semantic validator vs. format control changes task score from 0.7043 to 0.7230, declared units from 13.74 to 11.35, p95 from 172.4 ms to 148.6 ms. The authors state that three other domain/model families have the same direction. Second model family is Llama-3.2-1B/3B, non-math task is ARC-Challenge.
    • Table 22: on the same 1,319 held-out requests, when paid stages increase from 3 to 6, serialized recall goes from 0.9983 to 0.9974, hidden recall from 0.9982 to 0.9968, exact prefix from 0.9746 to 0.9613.
    • Table 25: independent generator N=1,856, log-only recall 0.7430, full recall 0.9978, ACR 0.3254. Natural implementation set N=128, corresponding numbers 0.7812, 0.9922, 0.3516. Natural set comes from 8 source projects, 171 issue or change references, and 14 root cause clusters; labels are frozen before checker results are exposed (Appendix B.13).

    Other Ablations and Analyses

    • Removing CPNI: unrecorded read and joint hidden recall both 0.0000; leakage, ordering, binding, budget remain 1.0000, 1.0000, 0.9991, 0.9973 (Table 23).
    • Marginal CPNI joint hidden recall 0.0000; with joint intervention 0.9929. Delayed and random impacts under joint intervention 0.9951 and 0.9746 (Tables 17, 18).
    • Independent random draw clean disagreement 0.0786, replay variance 0.0734; under public randomness 0.0000 and 0.0013, hidden fault recall 0.9980 vs. 0.9982 (Table 21).
    • Online logger median/p95 0.24/0.57 ms, throughput 24,800; full CPNI replay 4.68/10.72 ms, throughput 1,480 (Table 26). Sampling 1.36 prefixes gives recall 0.9836, full prefix coverage 0.9983 (Table 27).
    • Five-feature gate on main cache baseline proxy matching 0.3203, declared units 15.91; under large service unavailability and tight budget, standalone runner failure flag 0.9922 (Table 28). The authors state this is not the canonical event rate of Table 5. Additionally, 12 of 15 threshold groups are baseline lazy, and all 60 fixed vs. sequential quality differences are 0 (Appendix E.2).
    • Table 46: across five service conditions, Spearman between declared cost and measured latency 0.861–0.921, R2 0.768–0.863, shift residuals from -1.4 ms to +2.6 ms. The authors state that rank correlation and linear association are positive across all five conditions.
  5. What are some points that can be further explored?

    The authors state that the logger, cache producer, and manifest binding are trusted; a logger that rewrites both observations and summaries requires independent certification.

    Limitations and future directions noted by the authors

    • Trusted components: the logger, cache producer, and manifest binding are trusted (Appendix B.16).
    • Certification boundary: hash checks establish consistency with these bindings; certifying a logger that changes both observations and summaries requires independent certification (Appendix B.16).
    • Scope of completed experiments: the authors state that the completed experiments cover frozen Qwen candidates, exact string scoring, and specified mutations (Appendix B.16).
    • Separate protocols: semantic verification, independently generated faults, cross-domain behavior, and runtime calibration use their own protocols and denominators (Appendix B.16).

    The paper has no separate Future Work section. Section 3.2 states that pass results for the limited intervention suite are per tested family, prefix, seed, and intervention index, not unconditional universal conclusions; that sentence is not in the limitations section.

    Experimental coverage

    • The main routing audit uses 128 frozen GSM8K-derived records, seed 13; the standalone task protocol is 1,024 training, 256 calibration, 1,319 held-out per routing seed, seeds 13/17/23 (Table 29, Appendix B.16).
    • Comparison policies are one-shot, fixed, sequential, budget-conditioned, with a learned router additionally evaluated. The main cache is generated by Qwen3.5-0.8B and Qwen3.5-2B on Tesla T4; the service measurement environment is 2× NVIDIA A100 80GB with vLLM 0.10.1 (Section 4.1, Table 45).
    • Audit populations include baseline ladder faults, unrecorded hidden reads, and PPAM Φ1–Φ3; the independent generator has 1,856 traces, and natural implementation faults number 128, the latter from 8 source projects, 171 references, and 14 root-cause clusters (Tables 15, 20, 25, Appendix B.13).
    • Private replay covers 2,048 clean traces; public no-target replay covers 192 clean traces and 1,212 bounded mutations (Appendix A.4). The longer cascade has 6 paid stages, with the request denominator still 1,319 (Table 22).
    • The semantic labeling protocol covers GSM8K and ARC-Challenge, Qwen family, and Llama-3.2-1B/3B; three annotators have Fleiss' κ=0.846 (Appendix B.14). CPNI's coupled randomness, intervention families, and prefix selection are specified in Section 3.2 and Appendix B.
  6. Summarize the main content of the paper

    CascadeLedger separates aggregate performance, serialized trajectory validity, and behavior-level information completeness.

    CascadeLedger is a counterfactual execution audit protocol for budgeted language model cascades, used to separate aggregate performance, serialized trace validity, and behavioral-layer information integrity.

    • Problem: final answers, service histograms, and claimed costs can be identical, yet routing may still use target or future service outputs before the disclosure boundary. The authors argue that checks looking only at aggregate projections cannot distinguish such traces.
    • Approach: online routing sees only the query, successful paid observations, claimed confidence, availability, and remaining budget; the target and scorer are attached only after the trace is frozen. Eight invariants check paid reads, ordering, cache binding, and budget. CPNI fixes the visible prefix and policy randomness, changing one hidden family at a time; CIF reports the earliest violating prefix and includes a minimal hidden-family witness. The logger, cache producer, and manifest binding are trusted per the authors' setup.
    • Audit numbers: on the baseline ladder of Table 15, Ledger+CPNI serialization recall is 0.9983, unrecorded hidden-read recall is 0.9982, and clean false-positive rate is 0.0000; the single-trace ledger's hidden-read recall is 0.0000. In Table 24, the ACR over 2,304 corrupted comparisons is 0.3403 (784/2,304). In Table 19, the exact earliest prefix across all claimed families is 0.9750. In Table 20, all PPAM traces are accepted by the strongest non-counterfactual checker, and the full audit has recall 0.9980, 0.9979, 0.9976 on Φ1, Φ2, Φ3.
    • Routing numbers: in Table 4, over 1,319 held-out requests per seed, the learned router's normalized task score is 0.7195, 0.0152 higher than sequential, with interval [+0.0061, +0.0244], and lower calls and tokens. On the main seed-13 cache, fixed and sequential have the same agent match of 0.3203 (41/128), sequential routing pays more verifier cost, and all 89 selected candidates are rejected by the format verifier (Table 5). The standalone semantic verifier on GSM8K, Qwen family changes the task score from 0.7043 to 0.7230 and claimed units from 13.74 to 11.35 (Table 44).
    • Authors' conclusion: these results depend on trusted recording and binding contracts. The authors state that the frozen-cache diagnostic exposes redundant verifier calls, while CPNI measures influence not written to the trace; accepting invalid traces changes a portion of the intended quality-resource conclusions.
Read originalarxiv.org