Continual HyperTransformer: A Meta-Learner for Continual Few-Shot Learning

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Vladymyrov, Max, Zhmoginov, Andrey, Sandler, Mark
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914914308718592
author Vladymyrov, Max
Zhmoginov, Andrey
Sandler, Mark
author_facet Vladymyrov, Max
Zhmoginov, Andrey
Sandler, Mark
contents We focus on the problem of learning without forgetting from multiple tasks arriving sequentially, where each task is defined using a few-shot episode of novel or already seen classes. We approach this problem using the recently published HyperTransformer (HT), a Transformer-based hypernetwork that generates specialized task-specific CNN weights directly from the support set. In order to learn from a continual sequence of tasks, we propose to recursively re-use the generated weights as input to the HT for the next task. This way, the generated CNN weights themselves act as a representation of previously learned tasks, and the HT is trained to update these weights so that the new task can be learned without forgetting past tasks. This approach is different from most continual learning algorithms that typically rely on using replay buffers, weight regularization or task-dependent architectural changes. We demonstrate that our proposed Continual HyperTransformer method equipped with a prototypical loss is capable of learning and retaining knowledge about past tasks for a variety of scenarios, including learning from mini-batches, and task-incremental and class-incremental learning scenarios.
format Preprint
id arxiv_https___arxiv_org_abs_2301_04584
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Continual HyperTransformer: A Meta-Learner for Continual Few-Shot Learning
Vladymyrov, Max
Zhmoginov, Andrey
Sandler, Mark
Machine Learning
Computer Vision and Pattern Recognition
We focus on the problem of learning without forgetting from multiple tasks arriving sequentially, where each task is defined using a few-shot episode of novel or already seen classes. We approach this problem using the recently published HyperTransformer (HT), a Transformer-based hypernetwork that generates specialized task-specific CNN weights directly from the support set. In order to learn from a continual sequence of tasks, we propose to recursively re-use the generated weights as input to the HT for the next task. This way, the generated CNN weights themselves act as a representation of previously learned tasks, and the HT is trained to update these weights so that the new task can be learned without forgetting past tasks. This approach is different from most continual learning algorithms that typically rely on using replay buffers, weight regularization or task-dependent architectural changes. We demonstrate that our proposed Continual HyperTransformer method equipped with a prototypical loss is capable of learning and retaining knowledge about past tasks for a variety of scenarios, including learning from mini-batches, and task-incremental and class-incremental learning scenarios.
title Continual HyperTransformer: A Meta-Learner for Continual Few-Shot Learning
topic Machine Learning
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2301.04584