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

Sharing Knowledge for Meta-learning with Feature Descriptions

Tomoharu Iwata, Atsutoshi Kumagai

Introduction

Most meta-learning models struggle when a new task has a completely different set of input features. To address this, researchers propose a novel approach that uses natural language descriptions of features (e.g., "Production value of soft wheat") to bridge the gap between diverse tasks. By leveraging pretrained language models like BERT, this method transfers human knowledge into the learning process.

The Challenge of Heterogeneous Data

Meta-learning, or "learning to learn," aims to train models that can adapt to new tasks with very little data. However, traditional meta-learning assumes a "homogeneous" setup: every task must share the same feature space, such as the fixed pixel dimensions of an image.

In the real world—especially in fields like economics or social science—data is "heterogeneous." One dataset might predict crop yields based on "soil type" and "rainfall," while another predicts economic growth based on "tax rates" and "import volume." Standard models see these as entirely unrelated. Humans, on the other hand, do not have this limitation; we use the meaning of the feature names to understand how knowledge from a familiar task might apply to a new one. This paper seeks to give machine learning models that same semantic intuition.

Proposed Methodology

The authors propose a neural network-based meta-learning framework that processes feature descriptions alongside their values. The architecture consists of three main stages:

Instance encoding architecture
  1. Feature Description Encoding: Using a pretrained sentence encoder (BERT), the model transforms natural language descriptions of features into high-dimensional vectors (sentence embeddings).
  2. Feature Translation: Because BERT embeddings are optimized for language tasks rather than regression or classification, the model uses a trainable Feature Encoder to "translate" these embeddings into a space suitable for supervised learning.
  3. Instance Embedding & Prediction: The model aggregates these translated embeddings into an "instance embedding." To handle the small amount of data available in few-shot scenarios, they adapt a Gaussian Process (GP). The GP acts as a flexible, task-specific prediction head that can be updated in closed-form, allowing for efficient "bilevel optimization" (training the model to be good at adapting).

Datasets

The researchers moved away from standard "toy" meta-learning benchmarks (like Omniglot) to focus on real-world statistical data:

  • e-Stat: A portal for official Japanese government statistics.
  • Eurostat: The statistical office of the European Union.

These datasets are ideal because they contain thousands of tables (tasks) with diverse, human-readable feature descriptions and varying numbers of features per task.

Key Insights

  • Language as a Bridge: The core insight is that language provides a universal coordinate system. Even if two tasks have no overlapping features, their descriptions (e.g., "Wheat" vs. "Barley") are semantically close in a BERT embedding space, allowing for knowledge transfer.
  • The Necessity of Translation: Simply plugging in BERT embeddings isn't enough. The "Feature Encoder" network is essential to transform general linguistic knowledge into task-specific predictive power.
  • Permutation Invariance: By averaging feature embeddings to create an instance embedding, the model naturally handles tasks with different numbers of features and is indifferent to the order in which features are listed.
  • Handling Missing Info: The framework is flexible enough to incorporate features even when descriptions are missing, using a hybrid approach of embeddings and standard one-hot vectors.

Key Results

The proposed method significantly outperformed standard baselines and existing meta-learning techniques across multiple few-shot settings.

Mean Squared Error results on e-Stat and Eurostat datasets
  • Superior Generalization: On the e-Stat dataset with only 5 labeled examples (support instances), the proposed method achieved a Mean Squared Error (MSE) of 0.448, compared to 0.921 for a standard Gaussian Process and 0.860 for existing heterogeneous meta-learning (HML).
  • Semantic Clustering: Visualizations showed that the model successfully clusters instances with similar labels in the embedding space, whereas raw BERT embeddings or one-hot encodings resulted in fragmented or overlapping clusters.
  • Efficiency: Despite the complexity of using BERT, the meta-training time was significantly lower than some existing heterogeneous methods, making it more practical for large-scale applications.

Limitations and Future Work

While highly effective, the approach has a few limitations. The Gaussian Process involves an $O(N^3)$ matrix inversion, which could become a computational bottleneck if the number of support instances grows large. Additionally, the current model uses simple feed-forward networks for instance encoding; using more sophisticated architectures, like Transformers with attention mechanisms, could further improve performance. Finally, the experiments focused primarily on regression with categorical features, leaving room for future work to evaluate the method on complex classification tasks and purely numerical feature sets.

Summary updated

BibTeX
@inproceedings{iwata2022sharing,
  author = {Tomoharu Iwata and Atsutoshi Kumagai},
  title = {{Sharing Knowledge for Meta-learning with Feature Descriptions}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
}
Figure