EpiArb: Hierarchy Residuals for Selective Cascades in Schema Decision Models

Shaojie Zhang, Yue Yu, Yu ZhangarXiv 2026

TL;DR

Fast classifier models often miss needle-in-a-haystack details—like a single revoked credential buried in a routine audit—because their final layers average out localized evidence with strong default priors. By comparing what the model's upstream attention heads see against what its final readout decides, EpiArb spots these internal disagreements in a single forward pass. It uses this conflict signal to either fix the mistake locally for free or smartly route the trickiest queries to a heavy-duty reasoning LLM, achieving near-Chain-of-Thought accuracy at a fifth of the cost.

What Problem Does This Paper Address?

In production pipelines like security audits or compliance triage, waiting 9 seconds for a massive Chain-of-Thought (CoT) LLM to reason through every query is too slow and expensive. Instead, engineers use cascades: a fast "System 1" model—specifically, a schema decision model that scores predefined candidate answers in one forward pass ($66\times$ faster)—handles the easy traffic and defers uncertain cases to a slower "System 2" CoT model.

Standard cascades decide when to defer using scalar confidence, like the logit margin (the gap between the top two answer scores). But scalar confidence only tells you whether the final readout is unsure, not where the evidence points.

In schema decision models, each candidate option first gathers evidence from the text via dedicated cross-attention heads. Then, the final readout pools all options together and adds a lexical prior (domain defaults). During this fusion, a short, decisive clause—a spoofed link, an exception rule—can get outvoted by long boilerplate text. The authors call this wash-out, creating a representation hierarchy gap: the final readout gets the answer wrong, even though the upstream heads were looking right at the smoking gun. Worse, among low-confidence queries, scalar margin can't tell which ones the slow CoT model will actually get right.

Methods

Instead of trusting the final readout alone, EpiArb (epistemic arbitration) listens to the internal debate between the upstream evidence-routing heads and the downstream fused readout.

Figure 1. Selective cascading via EpiArb hierarchy residuals. (a) One System 1 forward pass yields fused readout ˆyjoint and evidence scores sk(x); their mismatch yields residuals rmass and R. (b) EpiArb routes each query: low R keeps ˆyjoint; disagreement D with high rmass heals to ˆyevi (0 LLM); else top-K(R) escalates to CoT fS2.
  1. Directional Evidence Heads: Using a held-out validation split, EpiArb identifies the top-$M$ upstream heads best at spotting mistakes, measuring scale-invariant cosine alignment between each candidate option's query and its attended evidence.
  2. Hierarchy Residuals: EpiArb distills head-readout conflict into two continuous numbers:
  3. Fused Residual Risk ($R$): Captures the magnitude of conflict—high when heads contradict the readout or are internally split. This ranks queries for CoT escalation.
  4. Runner-up Evidence Mass ($r_{\text{mass}}$): Captures the direction of conflict—how much internal evidence favors an option other than the readout's choice.
  5. Mode-Gated Tri-Tier Cascade: Queries flow through three tiers under a fixed CoT budget (e.g., 20%):
  6. Tier-1 (Fast-pass): Low conflict ($R$); keep the fast readout (0 LLM calls).
  7. Tier-2 (Local Heal): If heads strongly agree on an alternative ($r_{\text{mass}} \ge \tau_{\text{local}}$), override the readout immediately at zero LLM cost. A strict validation mode gate only enables Tier-2 on tasks where local flips heal at least twice as often as they harm.
  8. Tier-3 (Escalate): Spend the CoT budget on the remaining unhealed queries with the highest $R$.

Datasets

  • New Controlled Multi-Field Probes: Because public benchmarks lack native multi-field schemas and exact error attribution, the authors programmatically generated 950 episodes (1,455 typed questions) in Python with exact ground-truth labels: val ($N=824$), Hard ($N=240$) and replicate Hard_v2 ($N=241$) featuring buried-clause wash-out (security policy, math verification, refunds, SLA counting), and Chain ($N=150$) featuring multi-hop arithmetic.
  • Public Benchmarks: Tested on three wash-out-prone suites—RAGTruth (hallucination detection), PhishNChips (phishing), and Clickbait—plus three reasoning/compute scope-control suites: BBH (6 tasks), GSM8K, and ANLI.

Key Insights and Ideas

  • Rank by escalate gain, not error detection: A router shouldn't just find where the fast model fails; it must find where the fast model fails and the slow CoT model succeeds (escalate gain). On Hard, logit margin actually predicts fast-model errors better than $R$ (0.893 vs. 0.841 AUROC), yet $R$ predicts escalate gain much better (0.957 vs. 0.903 AUROC)—and wins on accuracy.
  • Upstream heads know more than they're allowed to say: On correct readouts in the security probes, selected heads almost never disagree with the readout ($3/413$). Yet on security-policy readout errors, those exact same heads already prefer the gold answer 65% of the time.
  • Ranking doesn't require the heads to know the right answer: Local healing only fires when heads point to the true label (like buried security clauses). Remarkably, $R$'s ranking advantage is even larger on math and refund tasks where heads rarely know the answer—they just split from the readout more noticeably on items CoT can fix.
  • You can predict whether EpiArb will help before deploying it: Measuring the gain-ranking advantage ($\Delta_{\text{inv}}$) purely on validation data cleanly separates wash-out-prone public suites (where EpiArb wins) from multi-hop reasoning suites like GSM8K and BBH (where standard logit margin suffices).
Figure 2. Residual ranking beats confidence where wash-out occurs. (a) Synthetic three-regime model (20 seeds): escalate-gain inversion rate (fraction of gain/non-gain pairs ordered wrongly) of Margin M vs. residual R; the order flips at pwash=0.05. (b) Real suites (Table 6): the measured ranking advantage ∆inv against the deployed accuracy gain over Margin at 20% escalate. All five wash-out-prone suites lie in the upper-left quadrant.

Key Results

Using Clef-flash 9B as System 1 and Qwen3.5-35B CoT (probes) or Qwen3-8B CoT (public suites) as System 2 at a matched 20% escalate budget ($5\times$ fewer CoT calls; $4.6\times$ single-stream A100 speedup):

  • Closing the CoT Gap: On Hard and Hard_v2, EpiArb hits 98.33% and 98.34% accuracy—within 0.5pp of running 35B CoT on 100% of queries, beating Logit Margin by +2.49pp pooled ($p=0.0018$). Zero-cost local healing alone lifts security-family accuracy by +9.68pp (Hard) and +18.2pp (Hard_v2).
  • Outperforming Supervised Routers Under Shift: Because Hard is distribution-shifted from val, learned routers trained on validation labels overfit and tie or lose to Margin, whereas label-free EpiArb generalizes cleanly.
  • Boosting Learned Routers on i.i.d. Data: Feeding EpiArb's residual features into a standard logistic deferral router lifts accuracy by +3.2pp (RAGTruth), +5.5pp (PhishNChips), and +2.6pp (Clickbait). Notably, on PhishNChips—where the CoT model is actually worse than the fast model by 23.7pp—escalating via Margin hurts performance, while EpiArb stays above the fast-model baseline.

Limitations and Future Work

  • Re-ordering, not mind-reading: On Hard+Hard_v2, 65 of 68 wash-out errors already have below-median margins. EpiArb mostly re-orders the uncertain pool rather than catching high-confidence blunders, keeping overall accuracy gains moderate (+2–3pp) and statistically indistinguishable from binary head-voting ($p=0.125$).
  • Scope limits: Zero-cost healing is highly domain-specific (concentrated in rule/exception tasks) and safely shuts off on multi-hop math (Chain), costing potential gains. Furthermore, when in-distribution validation CoT labels are plentiful, supervised hidden-state probes beat label-free EpiArb.
  • Future extensions: Extending schema-bound residuals to open-ended generation would require candidate clustering.

Summary updated

BibTeX
@misc{zhang2026epiarb,
  author = {Shaojie Zhang and Yue Yu and Yu Zhang},
  title = {{EpiArb: Hierarchy Residuals for Selective Cascades in Schema Decision Models}},
  year = {2026},
  eprint = {2611.39382},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.39382},
}
Figure