[Paper Review] Chameleon: Learning Model Initializations Across Tasks With Different Schemas
Chameleon proposes a novel meta-learning framework that enables model initialization across tasks with different feature schemas by learning a task-specific reordering matrix to align diverse input representations into a shared, uniform feature space. The method achieves state-of-the-art few-shot classification performance on 23 OpenML-CC18 datasets, marking the first approach to cross-dataset few-shot learning for unstructured data with varying schemas.
Parametric models, and particularly neural networks, require weight initialization as a starting point for gradient-based optimization. Recent work shows that a specific initial parameter set can be learned from a population of supervised learning tasks. Using this initial parameter set enables a fast convergence for unseen classes even when only a handful of instances is available (model-agnostic meta-learning). Currently, methods for learning model initializations are limited to a population of tasks sharing the same schema, i.e., the same number, order, type, and semantics of predictor and target variables. In this paper, we address the problem of meta-learning parameter initialization across tasks with different schemas, i.e., if the number of predictors varies across tasks, while they still share some variables. We propose Chameleon, a model that learns to align different predictor schemas to a common representation. In experiments on 23 datasets of the OpenML-CC18 benchmark, we show that Chameleon can successfully learn parameter initializations across tasks with different schemas, presenting, to the best of our knowledge, the first cross-dataset few-shot classification approach for unstructured data.
Motivation & Objective
- Address the limitation of existing meta-learning methods that require all tasks to share the same input schema (same number, order, and type of features).
- Enable meta-learning for few-shot classification on unstructured tabular data where feature schemas vary across tasks.
- Develop a model that can align inputs from different tasks into a common representation while preserving semantic consistency of features across tasks.
- Demonstrate that a single meta-learned initialization can generalize across diverse, schema-inconsistent datasets sharing some common variables.
- Extend the applicability of optimization-based meta-learning (e.g., Reptile) to heterogeneous data distributions beyond fixed-shape inputs like images.
Proposed method
- Propose Chameleon, a set-wise feature transformation model that learns to project inputs with varying schemas into a fixed, shared input space.
- Introduce a task-specific reordering matrix that permutes input features to align them to a canonical schema, invariant to input order.
- Use a neural network to predict the reordering matrix based on the input task’s feature distribution and semantics.
- Train the model using a contrastive loss to ensure that features of the same type or distribution across tasks are mapped to the same position in the shared space.
- Apply standard meta-learning algorithms (e.g., Reptile) on the aligned representations to learn a generalizable model initialization.
- Support both tabular data and latent embeddings from different neural networks, enabling schema-invariant alignment even in vision tasks.
Experimental results
Research questions
- RQ1Can a meta-learning framework learn a robust model initialization across tasks with different feature schemas?
- RQ2Is it possible to align diverse input representations from different tasks into a common feature space while preserving semantic consistency?
- RQ3Does the proposed alignment mechanism enable state-of-the-art few-shot classification performance on heterogeneous tabular datasets?
- RQ4Can Chameleon generalize to latent representations from different models, even when the original data is not tabular?
- RQ5How does the performance of Chameleon compare to standard meta-learning baselines on datasets with varying input schemas?
Key findings
- Chameleon achieves state-of-the-art few-shot classification performance on 23 datasets from the OpenML-CC18 benchmark, outperforming standard meta-learning baselines on schema-inconsistent tasks.
- The method significantly improves few-shot accuracy on tasks like diabetes and heart disease classification when trained on a diverse set of schema-inconsistent datasets.
- On the vowel and wdbc datasets, Chameleon with learned encoding achieves 0.993 ± 0.010 and 0.937 ± 0.004 accuracy, respectively, outperforming random and frozen encoder baselines.
- The model demonstrates robustness in zero-shot transfer: when fine-tuned on a new few-shot task, it achieves 0.635 ± 0.017 accuracy on the pendigits dataset, outperforming all baselines.
- Even when applied to latent embeddings from different image networks, Chameleon successfully aligns representations, showing generalization beyond tabular data.
- The ablation study confirms that the learned reordering matrix is essential: using a frozen or random encoder leads to significantly lower performance across all datasets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.