Labeled-Data-Free Meta-Learning: Efficient Task Generation Using Pre-trained Models and Unlabeled Data

Lei Sun, Yusuke Tanaka, Tomoharu IwataarXiv 2026

TL;DR

This paper introduces a novel data-free meta-learning framework that eliminates the need for computationally expensive model inversion. By leveraging a pool of pre-trained models to assign soft labels to an unlabeled dataset, the method efficiently generates high-quality meta-training tasks. Combined with an entropy-based task-weighting mechanism, it achieves up to a 104× training speedup and boosts few-shot classification accuracy by 8.4%–36.4% over state-of-the-art methods.

What Problem Does This Paper Address?

Meta-learning ("learning to learn") is fantastic for few-shot learning, but it traditionally requires massive amounts of labeled training data. In the real world, data privacy, security, and high labeling costs make this impractical. While repositories like Hugging Face are full of task-specific pre-trained models, their original training data is rarely shared.

Data-Free Meta-Learning (DFML) attempts to solve this by extracting knowledge directly from these pre-trained models. However, existing DFML methods rely on model inversion—a process that synthesizes training data by iteratively optimizing a generator to match the model's original distribution. Model inversion is incredibly slow, computationally heavy, and often yields low-quality, mismatched data that degrades meta-learning performance.

Methods

Instead of synthesizing data from scratch, the authors propose a new setting that combines pre-trained models with readily available unlabeled data from a related domain.

Figure 1: Illustration of the proposed setting. During the meta-training phase, only pre-trained models and unlabeled data related to the target tasks are available, while the original training datasets of the pre-trained models remain inaccessible. In the meta-testing phase, the model is adapted to target tasks using a few labeled instances.
  1. Task Generation via Soft Labeling: The framework passes unlabeled data through the pre-trained models to generate "soft labels" (probability distributions over classes), creating synthetic meta-training tasks without any model inversion.
  2. Task-Weighting Mechanism: Because pre-trained models vary in quality and relevance, the generated tasks can be noisy. The authors introduce a task-weighting strategy based on two entropy components:
  3. Task Confidence: Measures predictive certainty (average negative entropy over samples). Models relevant to the target domain yield clearer, more confident signals.
  4. Class Distribution Balance: Measures how evenly samples are distributed across classes (entropy of the mean soft label). This prevents the meta-learner from developing class biases.
  5. Bi-level Optimization: The framework uses a standard meta-learning bi-level optimization (compatible with algorithms like MAML and Prototypical Networks) but optimizes the outer loop using Kullback-Leibler (KL) divergence to match the soft labels.
Figure 2: Illustration of the proposed method. At the meta-training phase, we generate meta-training datasets by assigning soft labels to the unlabeled dataset using pre-trained models. Task weights are then computed based on these soft labels, and the model is trained by minimizing the weighted meta-training loss. At the meta-testing phase, the trained model predicts the label of an input instance using a few labeled data.

Datasets

The method was evaluated on several standard few-shot learning benchmarks:

  • Omniglot: A dataset of handwritten characters.
  • miniImageNet and tieredImageNet: Standard subsets of ImageNet for few-shot classification.
  • CUB (Caltech-UCSD Birds-200-2011) and CIFAR-FS: Used to evaluate the model under a more challenging multi-domain scenario where pre-trained models originate from different domains (e.g., mixing miniImageNet models with CUB models).

Key Insights and Ideas

  • Bypassing Inversion with Unlabeled Data: The core "aha" moment is realizing that we don't need to perfectly reconstruct the original training distribution via model inversion. Related unlabeled data, when structured by the soft-label predictions of pre-trained models, provides a sufficient proxy for meta-training.
  • The Power of Soft Labels: Soft labels contain richer information than hard pseudo-labels. Using them in the inner-loop optimization helps the model capture nuanced relationships between classes, leading to better generalization.
  • Confidence + Balance = Quality: Simply looking at how confident a model is isn't enough; a model that predicts the same class for every image is highly confident but useless. Balancing confidence with class distribution diversity is essential for filtering out bad tasks.

Key Results

  • Massive Speedups: The proposed method achieves up to a 104× speedup in training time compared to FREE (a state-of-the-art model-inversion DFML method), dropping training time on miniImageNet from 10.4 hours to just 0.1 hours.
  • Accuracy Boosts: Across all benchmarks, the method significantly outperforms existing baselines. For instance, on Omniglot (5-way, 1-shot), accuracy improved from 41.3% (FREE) and 58.8% (KD-MAML) to 72.5%.
  • Cross-Architecture & Multi-Domain Robustness: The framework successfully transferred knowledge even when the pre-trained models used heterogeneous architectures (Conv4, ResNet-10, ResNet-18) or came from entirely different domains.
Table 3: Average accuracies (%) on the miniImageNet and tieredImageNet dataset. Results are averaged over five independent runs with different unlabeled datasets, with standard errors reported. Methods without unlabeled data report only average accuracies. Bold indicates the best and statistically comparable results according to the paired t-test (p = 0.05).

Limitations and Future Work

  • Domain Relatedness: The method assumes that the unlabeled data shares the same input modality and is somewhat related to the target tasks. If the unlabeled data is completely out-of-distribution, performance might degrade.
  • Extension to Other Paradigms: The current work focuses strictly on few-shot classification. The authors note that extending this framework to broader tasks like regression and reinforcement learning remains an open direction for future research.

Summary updated

BibTeX
@misc{sun2026labeled,
  author = {Lei Sun and Yusuke Tanaka and Tomoharu Iwata},
  title = {{Labeled-Data-Free Meta-Learning: Efficient Task Generation Using Pre-trained Models and Unlabeled Data}},
  year = {2026},
  eprint = {2607.02850},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.02850},
}
Figure