NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Hierarchical Auxiliary Learning

Jaehoon Cha, Kyeong Soo Kim, Sanghyuk Lee

Paper: Hierarchical Auxiliary Learning by Jaehoon Cha, Kyeong Soo Kim, and Sanghyuk Lee (Xi’an Jiaotong-Liverpool University). Published June 2019.

TL;DR

Standard CNNs treat all categories as "flat" and unrelated, ignoring the natural hierarchies found in the real world. This paper introduces Hierarchical Auxiliary Learning (HAL), a framework that injects "superclass" information into a network via a specialized auxiliary block, significantly reducing classification errors and speeding up convergence.

What Problem Does This Paper Address?

In a typical image classification task, a Convolutional Neural Network (CNN) treats every class as an independent entity. To a standard ResNet, the difference between a "Beagle" and a "Poodle" is mathematically the same as the difference between a "Beagle" and a "Truck."

This "flat" assumption ignores two things:

  1. Innate Hierarchy: Many classes naturally group together (e.g., dogs vs. cats, or animals vs. vehicles).
  2. Derived Information: We can often group data based on simple logic (e.g., digits 0–4 vs. 5–9).

When the number of classes grows, this lack of structure leads to scalability issues and higher error rates. The authors aim to bridge this gap by teaching the network to recognize these broader "superclasses" as a stepping stone to fine-grained classification.

Methods

The authors propose a new architectural component called the Auxiliary Block. Here is how it works:

  1. Superclass Grouping: Target classes are grouped into superclasses. These can be semantic (e.g., "transportation" vs. "animals" in CIFAR-10) or non-semantic (e.g., "prime numbers" vs. "non-primes" in MNIST).
  2. The Auxiliary Block: This block is inserted between the last residual block and the final fully-connected (FC) layer of a ResNet.
  3. The Gating Mechanism:
    • The block takes a one-hot encoded superclass vector as an additional input.
  4. It compares this vector against a learned representation of the image features.
  5. It calculates a scalar auxiliary score.
  6. This score is then multiplied element-wise by the output of the last residual block.

Essentially, the auxiliary score acts as a "gate" or a scaling factor that modulates the features before they reach the final classifier, focusing the network's attention based on the identified superclass.

Datasets

The researchers evaluated HAL using three standard benchmarks:

  • MNIST: Handwritten digits (0-9).
  • SVHN (Street View House Numbers): Digits in natural scenes.
  • CIFAR-10: 60,000 images across 10 classes (airplane, car, bird, cat, etc.).

For each dataset, they tested multiple "cases" of superclass definitions, ranging from simple numerical splits (e.g., $\ge 5$) to complex semantic groupings (e.g., grouping by "aliveness" or "shape").

Key Insights and Ideas

  • Superclasses as Hints: By providing the superclass, the network doesn't have to "guess" the broad category from scratch. It turns a 10-way classification problem into a "Superclass + Subclass" mapping problem.
  • Faster Convergence: The authors found that models using HAL converged much faster than the baseline. The "auxiliary score" provides a stronger gradient signal during training.
  • Non-Semantic Groups Work Too: Surprisingly, superclasses don't have to be "logical" to humans to be helpful. Even arbitrary groupings (like splitting digits into two halves) improved performance, though semantic groupings often performed best.
  • Visualizing Confidence: The "auxiliary scores" can be plotted to show how well the network distinguishes between superclasses. A clear separation in these scores usually correlates with a lower final error rate.

Key Results

The HAL framework consistently outperformed the baseline ResNet across all tests.

  • CIFAR-10: The baseline error of 6.81% was slashed to 3.30% (a 3.51% absolute reduction) using a simple "transportation vs. animal" split.
  • SVHN: Error dropped from 4.05% to 2.53%.
  • MNIST: Error dropped from 0.93% to 0.43%.

The results demonstrate that even a very small amount of "top-down" hierarchical information can significantly boost the "bottom-up" feature learning of a CNN.

Limitations and Future Work

  • Manual Superclassing: In this paper, the superclasses were defined manually by the researchers. This requires domain knowledge and might not be feasible for datasets with thousands of classes.
  • Sensitivity to Grouping: The performance boost varies significantly depending on how you group the classes. For example, in CIFAR-10, Case 1 (a simple split) performed much better than Case 3 (transportation/animal).
  • Future Direction: The authors suggest that future research should focus on finding a systematic or automated way to construct these superclasses to ensure the clearest possible separation in the auxiliary scores.

Summary updated

BibTeX
@article{cha2020hierarchical,
  author = {Jaehoon Cha and Kyeong Soo Kim and Sanghyuk Lee},
  title = {{Hierarchical Auxiliary Learning}},
  journal = {Mach. Learn. Sci. Technol.},
  year = {2020},
  doi = {10.1088/2632-2153/aba7b3},
}
Figure