IEEE Trans Pattern Anal Mach Intell. 2023 Aug;45(8):9426-9438. doi: 10.1109/TPAMI.2023.3250323. Epub 2023 Jun 30.
To enable effective learning of new tasks with only a few examples, meta-learning acquires common knowledge from the existing tasks with a globally shared meta-learner. To further address the problem of task heterogeneity, recent developments balance between customization and generalization by incorporating task clustering to generate task-aware modulation to be applied to the global meta-learner. However, these methods learn task representation mostly from the features ofinput data, while the task-specific optimization process with respect to the base-learner is often neglected. In this work, we propose a Clustered Task-Aware Meta-Learning (CTML) framework with task representation learned from both features and learning paths. We first conduct rehearsed task learning from the common initialization, and collect a set of geometric quantities that adequately describes this learning path. By inputting this set of values into a meta path learner, we automatically abstract path representation optimized for downstream clustering and modulation. Aggregating the path and feature representations results in an improved task representation. To further improve inference efficiency, we devise a shortcut tunnel to bypass the rehearsed learning process at a meta-testing time. Extensive experiments on two real-world application domains: few-shot image classification and cold-start recommendation demonstrate the superiority of CTML compared to state-of-the-art methods. We provide our code at https://github.com/didiya0825.
为了仅通过少量示例实现新任务的有效学习,元学习通过全局共享的元学习器从现有任务中获取通用知识。为了进一步解决任务异构性问题,最近的发展在定制化和泛化之间取得平衡,通过纳入任务聚类来生成适用于全局元学习器的任务感知调制。然而,这些方法主要从输入数据的特征中学习任务表示,而往往忽略了针对基础学习器的特定任务优化过程。在这项工作中,我们提出了一种基于聚类任务感知元学习(CTML)的框架,其任务表示既来自特征又来自学习路径。我们首先从公共初始化开始进行排练任务学习,并收集一组充分描述此学习路径的几何量。通过将这组值输入到元路径学习器中,我们可以自动为下游聚类和调制优化路径表示。聚合路径和特征表示可得到改进的任务表示。为了进一步提高推理效率,我们在元测试时设计了一个快捷通道来绕过排练学习过程。在两个真实应用领域(少样本图像分类和冷启动推荐)上的广泛实验表明,CTML 优于最先进的方法。我们的代码可在 https://github.com/didiya0825 获得。