When a language model is used to grade another model's expert work, such as a legal analysis or a physics derivation, it usually hits the limits of its own domain knowledge somewhere specific. It may be quite sure the answer invoked the right body of law, less sure it cited the right statute, and unable to tell whether the final ruling is correct. Current risk-controlled judges have two options. They either commit to a single correct/incorrect verdict or abstain completely and hand the case to a human. We propose a judge that returns the deepest level of a domain hierarchy at which its verdict is statistically certified. An example output is "correct at the level of legal provision; uncertified at the level of the reversal ruling." Each level carries a guarantee that, among items certified at that level, the error rate stays below a user-chosen bound.
The idea comes from hierarchical novelty detection, a line of vision work where an image of an unknown species is assigned to its most specific known ancestor ("a carnivore") rather than being rejected outright. We transfer this "imprecise but accurate" principle from the label space of a classifier to the verdict space of a judge. The setting where it matters is exactly where general models are known to have domain-specific knowledge gaps. In that setting, flat abstention discards most cases, and full human review is expensive. The deliverable is a calibration procedure, a scoring signal based on disagreement between coarse and fine judgments, and a test of whether the depth where certification stops actually marks where the judge's knowledge runs out.
Core Claim
Given a nested chain of verdicts for each evaluated response, ordered from general to specific, we can calibrate one threshold per depth on held-out data and test the depths in order, stopping at the first one that fails. The result controls the false discovery rate at every depth. It also certifies coarse levels on many items that a flat risk-controlled judge would abstain on entirely. Our second claim is that a specific score predicts where certification should stop better than the judge's own self-report: the gap between a judge's confidence at depth $d$ and at depth $d+1$, which is the "incongruence" signal. A third, more speculative claim is that the stopping depth localizes the judge's knowledge gap well enough that retrieval targeted at that depth recovers more coverage than untargeted retrieval.
Formally, for response $x$ with nested verdict chain $v_1(x) \Rightarrow v_2(x) \Rightarrow \dots \Rightarrow v_D(x)$, the judge produces scores $s_d(x)$. Here $v_d$ means "the response is correct up to depth $d$." We certify depth $d$ when $s_k(x) \ge t_k$ for all $k \le d$. The thresholds $t_d$ are chosen on a calibration set so that
$$ \Pr\left[\, v_d(x) \text{ is false} \;\middle|\; \text{depth } d \text{ certified} \,\right] \le \alpha \quad \text{for every } d, $$
with $\alpha$ the user's risk tolerance. The output is the deepest certified $d$, or full abstention when $d=0$.
Relation to Prior Work
The method's statistical machinery comes from Judge, Retrieve, or Abstain. That paper routes a judge among parametric judging, retrieval-augmented judging, and abstention, using entropy thresholds calibrated with Clopper–Pearson intervals so that false discovery rate stays below $\alpha$. It reports that coverage on NQ-Open at $\alpha=0.20$ rises from 7% (parametric only) to 82% with joint routing for Qwen3-8B. Its verdicts are binary and its abstention is all-or-nothing. We keep its guarantee and make the verdict space hierarchical.
The hierarchical idea comes from three vision papers. ProHOC retreats to internal taxonomy nodes when leaf uncertainty is high, reaching 46.7% mixed balanced accuracy on iNaturalist19 against 38.2% for a hierarchical softmax. Hierarchical Novelty Detection for Visual Object Recognition and E-HND attach "novel" children to internal nodes. None of these concern judging or offer finite-sample risk control. Our scoring signal comes from Beyond Novelty Detection, which defines novelty as a general classifier accepting an input while all its specific sub-classifiers reject it. We apply that idea to a judge's confidence across verdict depths.
The motivating evidence comes from domain benchmarks. On AppealCase, all 20 tested models score below 50% F1 at predicting appellate reversal. On TheoremQA, GPT-4 reaches 51.0% with program-of-thought prompting and open models fall below 15%. Both show that a general judge cannot be trusted at the leaf. TheoremQA also constrains the design: putting theorem definitions in the prompt "did not provide a significant boost" for solving. So our retrieval claim is limited to judging, and we treat it as a hypothesis that could fail.
The closest structured judges are JADE and Agent-as-a-Judge. JADE decomposes reports into claim checklists with dependency gating and reaches Pearson $r=0.858$ with experts. Agent-as-a-Judge checks requirement graphs and reaches 90% human alignment. Both give structured partial credit, but neither attaches error guarantees to their node-level verdicts or abstains at any node. They tell you what the judge thinks failed, not whether that judgment can be trusted. CFC uses an LLM as a coarse-then-fine open-set judge for graph nodes, but assumes the LLM's coarse judgment is reliable. We measure that reliability instead of assuming it.
Research Program
We build verdict hierarchies on two domains where intermediate gold labels already exist or are cheap to obtain.
On AppealCase, the chain runs from cause of action (one of 91 categories), to recommended legal provision at the statute level, to the specific article, to the reversal ruling. Gold labels come from the dataset's own legal provision recommendation and reversal tasks. Candidate responses are rationales plus predictions generated by several open and API models.
On TheoremQA, the chain runs from field (four fields), to the theorem invoked (350 tagged theorems), to correct application, to the final evaluable answer. For "correct application," we hand-annotate a few hundred candidate solutions. The other levels are checked automatically against the theorem tags and numeric answers.
The judge never sees gold labels. It sees the problem and the candidate response and produces a score at each depth. We compare three score sources:
- token-level predictive entropy for open judges, following Judge, Retrieve, or Abstain;
- sampled-agreement and biased-justification susceptibility for black-box judges, following Black-box Uncertainty Quantification;
- an incongruence score that combines confidence at $d$ with the drop to $d+1$.
Calibration uses ordered, per-depth Clopper–Pearson thresholds. Testing depths in sequence and stopping at the first failure means deeper certification never contradicts shallower certification.
The analysis has two parts. First, the coverage profile: the fraction of items certified at each depth, compared with the flat judge's single coverage number. Second, localization: on items where certification stops at depth $d$, we retrieve domain material for level $d+1$ only, such as statute text for the provision level. We then ask whether coverage gains concentrate there more than under retrieval at a randomly chosen level.
Baselines
The naive reference is a vanilla judge that always issues a leaf-level verdict with no abstention. We report its accuracy at every depth to show how often confident leaf verdicts are wrong in these domains.
The strongest existing competitor is flat joint routing from Judge, Retrieve, or Abstain. It is the only method in the file with a finite-sample error guarantee on judge verdicts, and it already uses retrieval to recover coverage. Its strongest reported result is coverage rising from 7% to 82% on NQ-Open at $\alpha=0.20$ with Qwen3-8B, and from 40% to 85% on HotpotQA with LLaMA-3.1-8B. We first reproduce it on NQ-Open to check our implementation, then run it on AppealCase and TheoremQA, where no reported result was found on Lacuna. The comparison is fair because both methods use the same judge models, retrieval corpus, calibration split, $\alpha$, and sampling budget. We beat it if three things hold together: (a) leaf-level coverage at the same $\alpha$ is not lower; (b) a substantial share of items it abstains on are certified at some intermediate depth; and (c) empirical error at every depth stays at or below $\alpha$.
The second competitor is a JADE-style decomposed checklist judge with dependency gating, using a gating rule modeled on JADE adapted to our depths. It has no risk control. We measure its per-depth error rate when it is forced to match our coverage. It loses if its error exceeds $\alpha$ at matched coverage.
The third competitor is a prompted self-report baseline. The judge is asked to state the deepest level it is confident about, and that verbalized depth is then calibrated with the same procedure.
Two ablations isolate the key ingredients. The first replaces the semantic hierarchy with a shuffled depth order, testing whether the taxonomy matters or whether any sequence of nested checks would do. The second drops the incongruence score in favor of per-depth confidence alone.
Why not just…?
Why not just use flat conformal abstention with retrieval? This is the most serious competitor. On open-domain QA its retrieval stage already pushes coverage above 80%, so if retrieval similarly closes the gap on legal and theorem judging, partial verdicts add little. The evidence against this is indirect. Retrieval does not fix application failures: theorem augmentation gave no significant boost on TheoremQA, and KMQA attributes 32% of its medical-exam errors to retrieval noise and 44% to information absent from both text and knowledge graph. The head-to-head on AppealCase and TheoremQA settles it. If flat routing's abstention rate there is small, we will report that the hierarchy is unnecessary.
Why not just ask the judge to say how far it is sure? This could work as well as our method. If it does, the contribution reduces to the calibration procedure, which is still useful. Verbalized confidence is known to be swayed by framing, which is the premise of the Black-box Uncertainty Quantification method. But that is not proof. The prompted self-report baseline uses identical calibration, so the comparison isolates the score source. We will report honestly if self-report matches incongruence.
Why not just use JADE-style decomposition, which already gives partial credit? Decomposition answers "which part failed according to the judge," not "how often is the judge wrong when it says a part passed." JADE's agreement with experts is reported as a correlation over whole reports, not as a per-node error bound. The matched-coverage error comparison shows whether ungated node verdicts exceed $\alpha$ at the depths that matter.
Why not just fine-tune a domain judge? Expert labels are scarce, and Distributional LLM-as-a-Judge shows that single-label tuning produces overconfident judges. Fine-tuning and our method are also complementary: a fine-tuned judge can supply the scores. We include one fine-tuned open judge as a score source to check that hierarchical calibration still adds coverage on top of it.
Proposed Experiments and Decisive Checks
The primary metric is the per-depth coverage curve at $\alpha \in \{0.1, 0.2\}$, together with empirical per-depth false discovery rate on a held-out test split, averaged over repeated random calibration splits. TheoremQA has only 800 questions, so calibration sets will be a few hundred items and Clopper–Pearson bounds will be loose there. We report interval widths, and we treat AppealCase, with 10,000 pairs, as the main testbed. A secondary metric is a review-cost estimate: the human only needs to check levels below the certified depth, priced using the per-task human review cost reported by Agent-as-a-Judge.
Three outcomes would falsify the proposal:
- Per-depth error exceeds $\alpha$ on test data, meaning the guarantee breaks under the distribution shift between candidate-generating models.
- The shuffled-hierarchy ablation matches the semantic one.
- Targeted retrieval at the stopping depth gains no more coverage than random-level retrieval, which would mean the stopping point does not localize the judge's knowledge gap.
The proposal is supported if the method certifies intermediate depths on a large fraction of flat-abstained AppealCase items, does so without violating $\alpha$, and outperforms calibrated self-report.
References
- Judge, Retrieve, or Abstain: Uncertainty-Guarded LLM Judging with Provable Risk Guarantees
- ProHOC: Probabilistic Hierarchical Out-of-Distribution Classification via Multi-Depth Networks
- Hierarchical Novelty Detection for Visual Object Recognition
- Hierarchical Novelty Detection via Fine-Grained Evidence Allocation
- Beyond Novelty Detection: Incongruent Events, when General and Specific Classifiers Disagree
- AppealCase: A Dataset and Benchmark for Civil Case Appeal Scenarios
- TheoremQA: A Theorem-driven Question Answering Dataset
- JADE: Expert-Grounded Dynamic Evaluation for Open-Ended Professional Tasks
- Agent-as-a-Judge: Evaluate Agents with Agents
- Coarse-to-Fine Open-Set Graph Node Classification with Large Language Models
- Black-box Uncertainty Quantification Method for LLM-as-a-Judge
- Towards Medical Machine Reading Comprehension with Structural Knowledge and Plain Text
- Distributional LLM-as-a-Judge