Skip to content

Hierarchical Selective Classification

A classification method that can return a broader class when a finer prediction is uncertain.

Core Idea

Hierarchical selective classification lets a classifier choose the specificity of its prediction from a class hierarchy when the evidence for a fine label is uncertain. Instead of either emitting a leaf label or declining to classify, a rule can return an internal class that contains multiple possible leaves. The gain in breadth sacrifices detail; it does not make a confidence score a guarantee of correctness.[1]

Goren, Galil and El-Yaniv formulate the classes as nodes in a hierarchy, with leaf classes under broader ancestors. Their setting counts an output correct when it is the true leaf or an ancestor of it. Predicting the root for every sample would be trivially correct under this rule but uninformative, so their evaluation also measures the specificity of predictions.[1]

How would you explain it like I'm…

Say 'Bird!' When Unsure

Imagine you see an animal far away and can't tell if it's a robin or a sparrow. Instead of guessing wrong or saying nothing, you can say "It's a bird!" That answer has less detail, but it's still right. Saying "It's a living thing" every time would always be right, but it wouldn't help anyone.

Zoom Out When Unsure

Some computer programs sort pictures into groups, like "beagle" or "poodle." Those small groups sit inside bigger groups, like "dog," which sits inside "animal." When the program isn't sure about the small group, it can answer with a bigger group that holds all the small ones it is choosing between. A bigger answer counts as right if the real answer is inside it. But if the program always said "thing," it would always be right and never helpful, so we also check how exact its answers are.

Choosing How Specific to Be

A classifier normally has two choices when it is unsure: commit to a specific label or refuse to answer. Hierarchical Selective Classification adds a middle path by arranging the labels in a tree, with specific "leaf" classes under broader ones. When evidence for a leaf is weak, the classifier can return a broader class that contains several possible leaves. An answer counts as correct if it is the true leaf or one of its ancestors. Because always answering with the root would be trivially correct, performance is judged on both correctness and how specific the answers are. Being broader trades away detail; it does not turn a confidence score into a guarantee.

 

Hierarchical Selective Classification extends selective classification (where a model may abstain) by organizing classes as nodes of a hierarchy, with leaves as the finest labels and internal nodes as broader ancestors. A prediction rule can output any node, choosing an internal node when the evidence cannot separate among its descendant leaves. In the formulation by Goren, Galil and El-Yaniv, an output is correct if it equals the true leaf or is an ancestor of it. This makes the trivial policy of predicting the root always correct yet useless, so evaluation also tracks the specificity of predictions alongside correctness. The method buys broader coverage at the cost of detail, and the confidence scores that drive the choice remain estimates, not correctness guarantees.

How It Works

  • Hierarchy: a tree organizes leaf labels and their more general ancestor classes.
  • Base scores: a classifier supplies leaf scores; in the paper’s construction an internal-node score sums scores of its descendant leaves.
  • Selection rule: a confidence threshold and an inference rule decide which node to emit. The paper’s climbing rule starts at the most probable leaf and moves toward the root until the node’s score reaches the threshold. Other inference rules can select differently.
  • Evaluation: hierarchical risk measures incorrect outputs under the chosen loss; hierarchical coverage quantifies prediction specificity. A risk–coverage curve shows the trade-off across thresholds.[1]

Example

In the paper’s Figure 1, an image whose label is Labrador is incorrectly given Golden Retriever as the highest-scored leaf. A climbing rule can move up the hierarchy to a broader dog class whose score exceeds the chosen threshold. That output can be correct at the broader level while omitting the breed. This is an illustration from a particular image classifier, not proof that the score is calibrated or that every broad prediction is right.[1]

The authors evaluated inference rules on outputs from 1,115 ImageNet-1k models and six iNat21 models. In their reported aggregate comparison, climbing achieved a better hierarchical risk–coverage result than their selective and maximum-coverage baselines. This result is tied to those data, hierarchies, models and metrics rather than a guarantee for every deployment.[1]

Boundaries

Ordinary selective classification can reject an uncertain leaf prediction; the hierarchical formulation can retain some information as a broader class. A non-selective hierarchical classifier may also predict internal nodes, but need not expose the same threshold-controlled risk–specificity trade-off. Output quality depends on the hierarchy, scores, threshold and data distribution; moving upward does not by itself establish reliability. The paper’s high-probability target-accuracy result belongs to its particular calibration procedure and assumptions, not every use of the idea.[1]

A field observer’s use of a broader bird identification is a useful comparison, but it is a different operational practice. Neither a coarse class nor a human label automatically satisfies the classifier’s score and evaluation definitions.

Neighborhood in Abstraction Space

Hierarchical Selective Classification sits in a sparse region of the domain-specific corpus (95th percentile for distinctiveness): few abstractions share its structure, so a faithful description tends to retrieve it precisely.

Family — Decision Rules Under Uncertainty (7 abstractions)

Nearest neighbors

Computed from structural-signature embeddings · 2026-11-14

References

[1] Shani Goren, Ido Galil and Ran El-Yaniv, “Hierarchical Selective Classification,” Advances in Neural Information Processing Systems 37 (2024), https://doi.org/10.52202/079017-3526, https://papers.neurips.cc/paper_files/paper/2024/file/c8b100b376a7b338c84801b699935098-Paper-Conference.pdf. registry ↩a ↩b ↩c ↩d ↩e ↩f