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

Self-Supervised Generalisation with Meta Auxiliary Learning

Shikun Liu, Andrew J. Davison, Edward Johns

Deep learning models often use auxiliary learning to improve performance on a primary task (like classifying images) by simultaneously training on secondary tasks (like predicting image rotation). This multi-tasking forces the model to learn more robust, versatile features. However, finding the right auxiliary task is a "Goldilocks" problem: supervised auxiliary tasks require expensive manual labeling, while unsupervised "free" tasks might be entirely irrelevant to the primary goal.

To solve this, researchers introduce Meta AuXiliary Learning (MAXL), a meta-learning framework that automatically generates optimal auxiliary labels to help a primary task generalize better, without requiring any additional human-labeled data.

High-level concept of MAXL generating auxiliary labels

The MAXL Framework

MAXL operates using two neural networks working together in a meta-learning loop:

  1. The Multi-Task Network (Student): This network tries to solve both the primary task using ground-truth labels and an auxiliary task using labels provided by the second network.
  2. The Label-Generation Network (Teacher): This network analyzes input data to generate "pseudo-labels" for the auxiliary task.
The MAXL architecture featuring the Multi-task and Label-Generation networks

The Meta-Learning Loop

The core innovation lies in how the teacher network is trained. It isn't trained to be "correct" in a traditional sense. Instead, it is updated based on how much its generated labels improve the student's performance on the primary task.

This is achieved via a double gradient (Hessian) update:

  • First, the student takes a simulated step using the generated auxiliary labels.
  • Then, the teacher calculates the gradient of the student’s primary task loss with respect to its own parameters.

Key Technical Innovations

  • Mask SoftMax: To ensure the auxiliary tasks are meaningful, MAXL assumes a hierarchical structure (e.g., if the primary class is "Dog," auxiliary classes might be "Labrador" or "Poodle"). The Mask SoftMax restricts the label generator to only suggest sub-classes that are valid for the given primary class.
  • Entropy Regularization: To prevent "label collapse"—where the generator lazily assigns the same auxiliary label to every image—an entropy loss is added to encourage a diverse distribution of generated labels.

Key Insights and Results

Evaluated across seven diverse image classification datasets (including CIFAR, ImageNet downsampled, and UCF-101), MAXL demonstrated significant advantages:

  • Consistent Gains: MAXL consistently outperformed single-task learning using the same amount of data. On UCF-101, for instance, accuracy improved from 53.15% to 55.39%.
  • Beating Baselines: It surpassed automated methods that rely on random labels or K-Means clustering to create auxiliary tasks.
  • Competitive with Human Expertise: On CIFAR-100, which features a built-in human-defined hierarchy, MAXL performed as well as—and sometimes better than—models trained using those expert-designed labels. This proves that the manual labor of hierarchy design can be automated.

A fascinating insight from the paper is that labels define tasks. By learning to generate labels, the model effectively invents its own optimal training curriculum. Interestingly, these generated labels often don't align with human intuition. While some groupings make visual sense (like grouping digits by the "tail" of a 9), many seem arbitrary to humans but still improve primary task performance. This suggests the model discovers "features of interest" that human designers might overlook.

Furthermore, gradient analysis showed that MAXL maintains high "gradient agreement" between primary and auxiliary tasks throughout training, unlike manual tasks whose usefulness often degrades early on.

Limitations and Future Work

Despite its success, MAXL has limitations. The double gradient update introduces computational overhead compared to standard training. Additionally, while the model discovers the sub-classes itself, the user must still define the number of auxiliary classes (the hierarchy shape, $\psi$), though the framework is relatively robust to this hyperparameter. Finally, while proven on image classification, extending MAXL to regression, object detection, or reinforcement learning remains an open area for future research.

Summary updated

BibTeX
@inproceedings{liu2019self,
  author = {Shikun Liu and Andrew J. Davison and Edward Johns},
  title = {{Self-Supervised Generalisation with Meta Auxiliary Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
}
Figure