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

TAGLETS: A System for Automatic Semi-Supervised Learning with Auxiliary Data

Wasu Piriyakulkij, Cristina Menghini, Ross Briden, Nihal V. Nayak, Jeffrey Zhu, Elaheh Raisi, Stephen H. Bach

TL;DR

This paper introduces TAGLETS, a novel system that automatically leverages limited labeled data, abundant unlabeled data, and a wealth of related-task (auxiliary) data to build high-quality image classifiers. By intelligently organizing auxiliary data via a knowledge graph and ensembling various learning modules, TAGLETS significantly outperforms existing methods, especially in low-data scenarios.

What Problem Does This Paper Address?

In machine learning, obtaining large amounts of labeled data for a specific task is often a major bottleneck. Fortunately, practitioners usually have access to a spectrum of data: a small set of labeled examples for the target task, a larger pool of unlabeled data from the same domain, and a vast collection of labeled datasets for other, potentially related, tasks (auxiliary data). The challenge lies in effectively and automatically combining these diverse data sources to create robust and accurate classifiers. Existing approaches often focus on only one or two of these data types, or require significant manual effort to select relevant auxiliary data. This paper aims to bridge this gap by proposing a system that can seamlessly integrate all three data types to build high-performance, deployable models.

Methods

TAGLETS is a modular, end-to-end system with three core components:

  1. Structured Collection of Annotated Datasets (SCADS): This component organizes auxiliary data using a knowledge graph (specifically, ConceptNet). This allows TAGLETS to automatically identify and retrieve semantically relevant auxiliary data for a given target task, avoiding the need for manual selection or computationally expensive pairwise similarity calculations.
  2. Ensemble of Learning Modules: TAGLETS incorporates several specialized modules designed to exploit auxiliary and unlabeled data. These include:
  3. Transfer Module: Fine-tunes a pre-trained model on selected auxiliary data and then on the target labeled data.
  4. Multi-task Module: Jointly trains on the target task and auxiliary tasks, leveraging semantic similarity between classes.
  5. FixMatch Module: An adaptation of a semi-supervised learning algorithm that uses a pre-trained model (fine-tuned on auxiliary data) to improve robustness against confirmation bias.
  6. ZSL-KG Module: A zero-shot learning module that uses the knowledge graph to make predictions without any target task labels. The diversity of these modules is key to the system's robustness.

  7. Distillation Stage: The predictions from all the individual modules (called "taglets") are ensembled to create "pseudo-labels" for the unlabeled data. These pseudo-labeled examples, along with the original labeled data, are then used to train a single, final, servable model. This distillation process ensures that the knowledge from all modules is consolidated into a compact and efficient model suitable for production.

Datasets

The paper evaluates TAGLETS on four specific image classification datasets:

  • Flickr Material Database: For material recognition.
  • Office-Home dataset: Consists of object categories found in office and home settings, with variations in domains (e.g., Clipart, Product).
  • Grocery Store dataset: Natural images of grocery items.
  • ImageNet-21k: Used to construct the SCADS knowledge graph, providing a broad semantic foundation.

The authors deliberately chose datasets not typically used for standard semi-supervised learning benchmarks to focus on specific applications and the challenges of real-world data scenarios.

Key Insights and Ideas

  • Knowledge Graphs for Auxiliary Data Selection: Using a knowledge graph like ConceptNet to organize and query auxiliary data is significantly more efficient and scalable than traditional visual similarity-based methods, especially when dealing with massive auxiliary datasets.
  • Ensembling Diverse Learning Paradigms is Crucial: Combining transfer learning, semi-supervised learning, and zero-shot learning modules within a single system leads to robust performance across various settings, even when auxiliary data is only loosely related to the target task.
  • Auxiliary Data Benefits Even with Pruning: TAGLETS shows significant gains from auxiliary data even when it's progressively "pruned" (i.e., made less relevant), demonstrating its ability to extract value from diverse sources.
  • Distillation for Servable Models: The distillation stage is essential for producing a single, efficient model that can be deployed in low-latency applications, consolidating the knowledge from multiple complex modules.

Key Results

TAGLETS consistently achieved state-of-the-art performance across the evaluated datasets and settings:

  • Few-Shot Learning: TAGLETS significantly outperformed baselines by an average of 11.9% in the 1-shot setting and 2.7% in the 5-shot setting when using the BiT backbone.
  • Robustness to Auxiliary Data Relatedness: Even when auxiliary data was made less relevant through pruning, TAGLETS often performed as well as or better than baselines using a standard ResNet-50 backbone.
  • Module Diversity: Ablation studies showed that removing any single module reduced accuracy in at least half of the considered cases, highlighting the importance of each module's contribution to the ensemble's robustness.
  • Ensemble Gains: The ensemble of modules consistently boosted accuracy by at least 7% on average compared to individual modules.

Limitations and Future Work

  • Domain Agnosticism: While TAGLETS is designed to be domain-agnostic, the current SCADS component might face challenges when dealing with highly specialized domains or when auxiliary data is not well-represented in common sense knowledge graphs. Future work could address this by developing more sophisticated methods for domain adaptation within SCADS.
  • Data Discovery: The paper assumes auxiliary data is already organized in a knowledge graph. Future work could integrate data discovery methods to automatically build and populate SCADS from raw data lakes.

Summary updated

BibTeX
@inproceedings{piriyakulkij2022taglets,
  author = {Wasu Piriyakulkij and Cristina Menghini and Ross Briden and Nihal V. Nayak and Jeffrey Zhu and Elaheh Raisi and Stephen H. Bach},
  title = {{TAGLETS: A System for Automatic Semi-Supervised Learning with Auxiliary Data}},
  booktitle = {MLSys},
  year = {2022},
  url = {https://openreview.net/forum?id=sNFhchgSO6},
}
Figure