Hierarchical Variational Memory for Few-shot Learning Across Domains
Ying-Jun Du, Xiantong Zhen, Ling Shao, Cees G. M. Snoek
Abstract
Neural memory enables fast adaptation to new tasks with just a few training samples. Existing memory models store features only from the single last layer, which does not generalize well in presence of a domain shift between training and test distributions. Rather than relying on a flat memory, we propose a hierarchical alternative that stores features at different semantic levels. We introduce a hierarchical prototype model, where each level of the prototype fetches corresponding information from the hierarchical memory. The model is endowed with the ability to flexibly rely on features at different semantic levels if the domain shift circumstances so demand. We meta-learn the model by a newly derived hierarchical variational inference framework, where hierarchical memory and prototypes are jointly optimized. To explore and exploit the importance of different semantic levels, we further propose to learn the weights associated with the prototype at each level in a data-driven way, which enables the model to adaptively choose the most generalizable features. We conduct thorough ablation studies to demonstrate the effectiveness of each component in our model. The new state-of-the-art performance on cross-domain and competitive performance on traditional few-shot classification further substantiates the benefit of hierarchical variational memory.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext bb35d100-8ff0-4fb7-be9f-cff88afb5f9dCited by top-tier papers7
- ProtoDiff: Learning to Learn Prototypical Networks by Task-Guided DiffusionYingjun Du, Zehao Xiao, Shengcai Liao, Cees SnoekNeurIPS 2023 · 33 citations
- Prototype-oriented unsupervised anomaly detection for multivariate time seriesYuxin Li, Wenchao Chen, Bo Chen, Dongsheng Wang et al.ICML 2023 · 31 citations
- MANNER: A Variational Memory-Augmented Model for Cross Domain Few-Shot Named Entity RecognitionJinyuan Fang, Xiaobin Wang, Zaiqiao Meng, Pengjun Xie et al.ACL 2023 · 13 citations
- Association Graph Learning for Multi-Task Classification with Category ShiftsJiayi Shen, Zehao Xiao, Xiantong Zhen, Cees Snoek et al.NeurIPS 2022 · 11 citations
- Hierarchical Variational Test-Time Prompt Generation for Zero-Shot GeneralizationZhaoyang Wu, Fang Liu, Licheng Jiao, Shuo Li et al.ICCV 2025 · 2 citations
Builds on10
- Meta-Dataset: A Dataset of Datasets for Learning to Learn from Few ExamplesEleni Triantafillou, Tyler Zhu, Vincent Dumoulin, Pascal Lamblin et al.ICLR 2020 · 692 citations
- Cross-Domain Few-Shot Classification via Learned Feature-Wise TransformationHung-Yu Tseng, Hsin-Ying Lee, Jia-Bin Huang, Ming-Hsuan YangICLR 2020 · 467 citations
- Variational Few-Shot LearningJian Zhang, Chenglong Zhao, Bingbing Ni, Minghao Xu et al.ICCV 2019 · 167 citations
- Self-training For Few-shot Transfer Across Extreme Task DifferencesCheng Perng Phoo, Bharath HariharanICLR 2021 · 131 citations
- A Bit More Bayesian: Domain-Invariant Learning with UncertaintyZehao Xiao, Jiayi Shen, Xiantong Zhen, Ling Shao et al.ICML 2021 · 47 citations
Related papers
- Learning to Learn Variational Semantic MemoryXiantong Zhen, Ying-Jun Du, Huan Xiong, Qiang Qiu et al.NeurIPS 2020 · 40 citations
- Meta-Learning via Learning with Distributed MemorySudarshan Babu, Pedro Savarese, Michael MaireNeurIPS 2021
- Meta-Learning with Variational Semantic Memory for Word Sense DisambiguationYing-Jun Du, Nithin Holla, Xiantong Zhen, Cees Snoek et al.ACL 2021
- SCHA-VAE: Hierarchical Context Aggregation for Few-Shot GenerationGiorgio Giannone, Ole WintherICML 2022 · 11 citations
- MetaModulation: Learning Variational Feature Hierarchies for Few-Shot Learning with Fewer TasksWenfang Sun, Yingjun Du, Xiantong Zhen, Fan Wang et al.ICML 2023 · 10 citations
