Skip to main content
QUICK REVIEW

[Paper Review] Task-similarity Aware Meta-learning through Nonparametric Kernel Regression

Arun Venkitaraman, Anders Hansson|arXiv (Cornell University)|Jun 12, 2020
Domain Adaptation and Few-Shot LearningComputer Science32 references7 citations
TL;DR

This paper proposes Task-similarity Aware Nonparametric Meta-Learning (TANML), a novel meta-learning framework that explicitly models task similarity using nonparametric kernel regression in a reproducing kernel Hilbert space (RKHS). By learning task descriptors and leveraging kernel functions to quantify similarity, TANML outperforms MAML and Meta-SGD in few-shot regression tasks, especially under limited or outlier-ridden task sets, demonstrating that explicit task-similarity awareness improves meta-learning robustness.

ABSTRACT

This paper investigates the use of nonparametric kernel-regression to obtain a tasksimilarity aware meta-learning algorithm. Our hypothesis is that the use of tasksimilarity helps meta-learning when the available tasks are limited and may contain outlier/ dissimilar tasks. While existing meta-learning approaches implicitly assume the tasks as being similar, it is generally unclear how this task-similarity could be quantified and used in the learning. As a result, most popular metalearning approaches do not actively use the similarity/dissimilarity between the tasks, but rely on availability of huge number of tasks for their working. Our contribution is a novel framework for meta-learning that explicitly uses task-similarity in the form of kernels and an associated meta-learning algorithm. We model the task-specific parameters to belong to a reproducing kernel Hilbert space where the kernel function captures the similarity across tasks. The proposed algorithm iteratively learns a meta-parameter which is used to assign a task-specific descriptor for every task. The task descriptors are then used to quantify the task-similarity through the kernel function. We show how our approach conceptually generalizes the popular meta-learning approaches of model-agnostic meta-learning (MAML) and Meta-stochastic gradient descent (Meta-SGD) approaches. Numerical experiments with regression tasks show that our algorithm outperforms these approaches when the number of tasks is limited, even in the presence of outlier or dissimilar tasks. This supports our hypothesis that task-similarity helps improve the metalearning performance in task-limited and adverse settings.

Motivation & Objective

  • To investigate whether explicit modeling of task-similarity can improve meta-learning performance in settings with limited or dissimilar tasks.
  • To address the limitation of existing meta-learning methods that implicitly assume task similarity without quantifying it.
  • To develop a generalizable framework that integrates task-similarity into meta-learning through kernel-based nonparametric regression.
  • To demonstrate that task-similarity awareness enhances robustness and performance when the number of training tasks is small or includes outliers.
  • To establish a conceptual link between popular meta-learning algorithms (MAML, Meta-SGD) and kernel regression in a reproducing kernel Hilbert space.

Proposed method

  • The method models task-specific parameters as elements of a reproducing kernel Hilbert space (RKHS), where the kernel function encodes task similarity.
  • Each task is assigned a task-descriptor vector that is used to compute similarity via a kernel function, enabling nonparametric regression over tasks.
  • The algorithm iteratively learns a meta-parameter and uses kernel regression to adapt the meta-learner to new tasks based on their similarity to training tasks.
  • Task-specific parameters are updated layer-wise using separate adaptation functions for each network layer, preventing dominance by high-dimensional parameters.
  • The framework supports both Gaussian and cosine kernel functions, with the latter showing better performance due to lack of hyperparameters.
  • The approach generalizes MAML and Meta-SGD by viewing them through the lens of linear/kernel regression in RKHS, enabling explicit similarity-aware adaptation.

Experimental results

Research questions

  • RQ1Can explicit modeling of task-similarity improve meta-learning performance when the number of available tasks is limited?
  • RQ2How does task-similarity quantification through kernel functions affect meta-learning robustness in the presence of outlier or dissimilar tasks?
  • RQ3Can the MAML and Meta-SGD meta-learning frameworks be conceptually unified under a kernel-based nonparametric regression framework?
  • RQ4Does the choice of kernel function (e.g., Gaussian vs. cosine) impact the performance of a task-similarity aware meta-learning algorithm?
  • RQ5Can a nonparametric kernel regression approach in RKHS provide a more robust and generalizable meta-learning framework than implicit similarity assumptions?

Key findings

  • TANML significantly outperforms MAML and Meta-SGD in test prediction performance, with normalized mean squared error (NMSE) values up to 50% lower in experiments with 10–20% outlier tasks.
  • In Experiment 2a (varying amplitude), TANML with the cosine kernel achieved an NMSE of 0.37 at T_tr = 256, compared to 0.83 for MAML and 0.92 for Meta-SGD.
  • In Experiment 2b (varying frequency), TANML with the cosine kernel achieved an NMSE of 0.30 at T_tr = 256, compared to 0.89 for MAML and 1.50 for Meta-SGD.
  • The performance of TANML improved with increased task count, dropping from NMSE 0.37 to 0.35 at T_tr = 256 to 0.26 at T_tr = 512 in Experiment 2a, indicating scalability.
  • The cosine kernel outperformed the Gaussian kernel, likely due to the absence of a variance hyperparameter, reducing sensitivity to parameter choice.
  • The framework successfully generalizes MAML and Meta-SGD by embedding them within a kernel-based RKHS formulation, enabling explicit task-similarity awareness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.