Example-based Hypernetworks for Out-of-Distribution Generalization
Not on the map. Why?
Abstract (arXiv)
As Natural Language Processing (NLP) algorithms continually achieve new milestones, out-of-distribution generalization remains a significant challenge. This paper addresses the issue of multi-source adaptation for unfamiliar domains: We leverage labeled data from multiple source domains to generalize to unknown target domains at training. Our innovative framework employs example-based Hypernetwork adaptation: a T5 encoder-decoder initially generates a unique signature from an input example, embedding it within the source domains' semantic space. This signature is subsequently utilized by a Hypernetwork to generate the task classifier's weights. We evaluated our method across two tasks - sentiment classification and natural language inference - in 29 adaptation scenarios, where it outpaced established algorithms. In an advanced version, the signature also enriches the input example's representation. We also compare our finetuned architecture to few-shot GPT-3, demonstrating its effectiveness in essential use cases. To our knowledge, this marks the first application of Hypernetworks to the adaptation for unknown domains.
Key facts. Cited by 16 papers in the map (data through 14 Oct 2026). Builds on 38 of its 71 references that are in the map. First posted on arXiv 27 Mar 2022.
Builds on
38 of 71 references.
References · 38
- 2017Attention Is All You Needcited by 60,361
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
- 2014Unsupervised Domain Adaptation by Backpropagationcited by 1,917
- 2019Invariant Risk Minimizationcited by 1,854
- 2020mT5: A massively multilingual pre-trained text-to-text transformercited by 1,818
- 2019Cross-lingual Language Model Pretrainingcited by 1,090
- 2016HyperNetworkscited by 1,027
- 2016Diverse Beam Search: Decoding Diverse Solutions from Neural Sequence Modelscited by 301
26 more
- 2021Parameter-efficient Multi-task Fine-tuning for Transformers via Shared Hypernetworkscited by 284
- 2019Continual learning with hypernetworkscited by 273
- 2019MetaPruning: Meta Learning for Automatic Neural Network Channel Pruningcited by 227
- 2021Personalized Federated Learning using Hypernetworkscited by 212
- 2020Neural Unsupervised Domain Adaptation in NLP---A Surveycited by 144
- 2019Distributionally Robust Language Modelingcited by 143
- 2021On Calibration and Out-of-domain Generalizationcited by 134
- 2020UDapter: Language Adaptation for Truly Universal Dependency Parsingcited by 77
- 2019Multi-source Distilling Domain Adaptationcited by 73
- 2017Bayesian Hypernetworkscited by 66
- 2019Hypernetwork functional image representationcited by 65
- 2018Multi-Source Domain Adaptation with Mixture of Expertscited by 62
- 2021PADA: Example-based Prompt Learning for on-the-fly Adaptation to Unseen Domainscited by 61
- 2019Learning to Few-Shot Learn Across Diverse Natural Language Classification Taskscited by 57
- 2019Hyper-Graph-Network Decoders for Block Codescited by 42
- 2018Contextual Parameter Generation for Universal Neural Machine Translationcited by 40
- 2022DoCoGen: Domain Counterfactual Generation for Low Resource Domain Adaptationcited by 37
- 2020PERL: Pivot-based Domain Adaptation for Pre-trained Deep Contextualized Embedding Modelscited by 33
- 2017Implicit Weight Uncertainty in Neural Networkscited by 30
- 2019Blow: a single-scale hyperconditioned flow for non-parallel raw-audio voice conversioncited by 29
- 2019Deep Contextualized Self-training for Low Resource Dependency Parsingcited by 24
- 2020Transformer Based Multi-Source Domain Adaptationcited by 23
- 2016Neural Structural Correspondence Learning for Domain Adaptationcited by 19
- 2019Modular Universal Reparameterization: Deep Multi-task Learning Across Diverse Domainscited by 13
- 2019A Generative Model for Sampling High-Performance and Diverse Weights for Neural Networkscited by 12
- 2021DILBERT: Customized Pre-Training for Domain Adaptation withCategory Shift, with an Application to Aspect Extractioncited by 11
Built on by
Citing papers per year: 2022: 4; 2023: 6; 2024: 3; 2025: 3.
16 papers.
Sort:
By area:
- 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 359
- 2023A Brief Review of Hypernetworks in Deep Learningcited by 102
- 2022HINT: Hypernetwork Instruction Tuning for Efficient Zero- & Few-Shot Generalisationcited by 28
- 2024HyperMoE: Towards Better Mixture of Experts via Transferring Among Expertscited by 26
- 2023Zero-shot Transfer of Article-aware Legal Outcome Classification for European Court of Human Rights Casescited by 14
- 2023Domain Generalization in Machine Learning Models for Wireless Communications: Concepts, State-of-the-Art, and Open Issuescited by 12
- 2023Measuring the Robustness of NLP Models to Domain Shiftscited by 11
- 2022HMOE: Hypernetwork-based Mixture of Experts for Domain Generalizationcited by 8
- 2025In-context Learning of Evolving Data Streams with Tabular Foundational Modelscited by 8
- 2022IDANI: Inference-time Domain Adaptation via Neuron-level Interventionscited by 4
- 2024Hyper-Compression: Model Compression via Hyperfunctioncited by 3
- 2024Learning to Forget using Hypernetworkscited by 3
4 more
- 2025Exploiting Task Relationships in Continual Learning via Transferability-Aware Task Embeddingscited by 2
- 2022Text2Model: Text-based Model Induction for Zero-shot Image Classificationcited by 1
- 2023Domain Generalization Deep Graph Transformationcited by 1
- 2025Channel-Wise MLPs Improve the Generalization of Recurrent Convolutional Networkscited by 0
- 2025Channel-Wise MLPs Improve the Generalization of Recurrent Convolutional Networks6 Aug 2025
- 2025In-context Learning of Evolving Data Streams with Tabular Foundational Models24 Feb 2025
- 2025Exploiting Task Relationships in Continual Learning via Transferability-Aware Task Embeddings17 Feb 2025
- 2024Learning to Forget using Hypernetworks1 Dec 2024
- 2024Hyper-Compression: Model Compression via Hyperfunction1 Sep 2024
- 2024HyperMoE: Towards Better Mixture of Experts via Transferring Among Experts20 Feb 2024
- 2023A Brief Review of Hypernetworks in Deep Learning12 Jun 2023
- 2023Measuring the Robustness of NLP Models to Domain Shifts31 May 2023
- 2023Domain Generalization Deep Graph Transformation19 May 2023
- 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shifts27 Mar 2023
- 2023Domain Generalization in Machine Learning Models for Wireless Communications: Concepts, State-of-the-Art, and Open Issues13 Mar 2023
- 2023Zero-shot Transfer of Article-aware Legal Outcome Classification for European Court of Human Rights Cases1 Feb 2023
4 more
- 2022HINT: Hypernetwork Instruction Tuning for Efficient Zero- & Few-Shot Generalisation20 Dec 2022
- 2022HMOE: Hypernetwork-based Mixture of Experts for Domain Generalization15 Nov 2022
- 2022Text2Model: Text-based Model Induction for Zero-shot Image Classification27 Oct 2022
- 2022IDANI: Inference-time Domain Adaptation via Neuron-level Interventions1 Jun 2022
- 2024Learning to Forget using Hypernetworkscited by 3
- 2024Learning to Forget using Hypernetworks1 Dec 2024
- 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shiftscited by 359
- 2023A Brief Review of Hypernetworks in Deep Learningcited by 102
- 2022HINT: Hypernetwork Instruction Tuning for Efficient Zero- & Few-Shot Generalisationcited by 28
- 2023Zero-shot Transfer of Article-aware Legal Outcome Classification for European Court of Human Rights Casescited by 14
- 2023Domain Generalization in Machine Learning Models for Wireless Communications: Concepts, State-of-the-Art, and Open Issuescited by 12
- 2023Measuring the Robustness of NLP Models to Domain Shiftscited by 11
- 2025In-context Learning of Evolving Data Streams with Tabular Foundational Modelscited by 8
- 2022IDANI: Inference-time Domain Adaptation via Neuron-level Interventionscited by 4
- 2024Hyper-Compression: Model Compression via Hyperfunctioncited by 3
- 2025Exploiting Task Relationships in Continual Learning via Transferability-Aware Task Embeddingscited by 2
- 2022Text2Model: Text-based Model Induction for Zero-shot Image Classificationcited by 1
- 2023Domain Generalization Deep Graph Transformationcited by 1
12 most cited of 13 All 13 (JSON)
- 2025Channel-Wise MLPs Improve the Generalization of Recurrent Convolutional Networks6 Aug 2025
- 2025In-context Learning of Evolving Data Streams with Tabular Foundational Models24 Feb 2025
- 2025Exploiting Task Relationships in Continual Learning via Transferability-Aware Task Embeddings17 Feb 2025
- 2024Hyper-Compression: Model Compression via Hyperfunction1 Sep 2024
- 2023A Brief Review of Hypernetworks in Deep Learning12 Jun 2023
- 2023Measuring the Robustness of NLP Models to Domain Shifts31 May 2023
- 2023Domain Generalization Deep Graph Transformation19 May 2023
- 2023A Comprehensive Survey on Test-Time Adaptation under Distribution Shifts27 Mar 2023
- 2023Domain Generalization in Machine Learning Models for Wireless Communications: Concepts, State-of-the-Art, and Open Issues13 Mar 2023
- 2023Zero-shot Transfer of Article-aware Legal Outcome Classification for European Court of Human Rights Cases1 Feb 2023
- 2022HINT: Hypernetwork Instruction Tuning for Efficient Zero- & Few-Shot Generalisation20 Dec 2022
- 2022Text2Model: Text-based Model Induction for Zero-shot Image Classification27 Oct 2022
12 newest of 13 All 13 (JSON)