Lune

NeurIPS2023Top-tier venue

Secure Out-of-Distribution Task Generalization with Energy-Based Models

Shengzhuang Chen, Long-Kai Huang, Jonathan Richard Schwarz, Yilun Du, Ying Wei

Abstract

The success of meta-learning on out-of-distribution (OOD) tasks in the wild has proved to be hit-and-miss. To safeguard the generalization capability of the meta-learned prior knowledge to OOD tasks, in particularly safety-critical applications, necessitates detection of an OOD task followed by adaptation of the task towards the prior. Nonetheless, the reliability of estimated uncertainty on OOD tasks by existing Bayesian meta-learning methods is restricted by incomplete coverage of the feature distribution shift and insufficient expressiveness of the meta-learned prior. Besides, they struggle to adapt an OOD task, running parallel to the line of cross-domain task adaptation solutions which are vulnerable to overfitting. To this end, we build a single coherent framework that supports both detection and adaptation of OOD tasks, while remaining compatible with off-the-shelf meta-learning backbones. The proposed Energy-Based Meta-Learning (EBML) framework learns to characterize any arbitrary meta-training task distribution with the composition of two expressive neural-network-based energy functions. We deploy the sum of the two energy functions, being proportional to the joint distribution of a task, as a reliable score for detecting OOD tasks; during meta-testing, we adapt the OOD task to in-distribution tasks by energy minimization. Experiments on four regression and classification datasets demonstrate the effectiveness of our proposal.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • FOOGD: Federated Collaboration for Both Out-of-distribution Generalization and Detection cites Energy-based Out-of-distribution Detection
  • Unleashing the Power of Meta-tuning for Few-shot Generalization Through Sparse Interpolated Experts cites Meta-Dataset: A Dataset of Datasets for Learning to Learn from Few Examples
  • HEDP: A Hybrid Energy-Distance Prompt-based Framework for Domain Incremental Learning cites Energy-based Out-of-distribution Detection
  • From Subtle to Significant: Prompt-Driven Self-Improving Optimization in Test-Time Graph OOD Detection cites Energy-based Out-of-distribution Detection
  • WILDS: A Benchmark of in-the-Wild Distribution Shifts cites Scaling Out-of-Distribution Detection for Real-World Settings
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. FOOGD: Federated Collaboration for Both Out-of-distribution Generalization and DetectionXinting Liao, Weiming Liu, Pengyang Zhou, Fengyuan Yu et al.NeurIPS 2024 · 24 citations
  2. Unleashing the Power of Meta-tuning for Few-shot Generalization Through Sparse Interpolated ExpertsShengzhuang Chen, Jihoon Tack, Yunqiao Yang, Yee Whye Teh et al.ICML 2024 · 4 citations
  3. HEDP: A Hybrid Energy-Distance Prompt-based Framework for Domain Incremental LearningYu Feng, Zhen Tian, Haoran Luo, Xie Yu et al.ICML 2026
  4. From Subtle to Significant: Prompt-Driven Self-Improving Optimization in Test-Time Graph OOD DetectionLuzhi Wang, Xuanshuo Fu, He Zhang, Chuang Liu et al.AAAI 2026

Builds on25

  1. Energy-based Out-of-distribution DetectionWeitang Liu, Xiaoyun Wang, John D. Owens, Yixuan LiNeurIPS 2020 · 2,213 citations
  2. Multitask Prompted Training Enables Zero-Shot Task GeneralizationVictor Sanh, Albert Webson, Colin Raffel, Stephen H. Bach et al.ICLR 2022 · 1,976 citations
  3. WILDS: A Benchmark of in-the-Wild Distribution ShiftsPang Wei Koh, Shiori Sagawa, Henrik Marklund, Sang Michael Xie et al.ICML 2021 · 1,773 citations
  4. 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
  5. Scaling Out-of-Distribution Detection for Real-World SettingsDan Hendrycks, Steven Basart, Mantas Mazeika, Andy Zou et al.ICML 2022 · 653 citations

Related papers

  1. MetaOOD: Automatic Selection of OOD Detection ModelsYuehan Qin, Yichi Zhang, Yi Nian, Xueying Ding et al.ICLR 2025
  2. Meta OOD Learning For Continuously Adaptive OOD DetectionXinheng Wu, Jie Lu, Zhen Fang, Guangquan ZhangICCV 2023 · 15 citations
  3. Hierarchical Gaussian Mixture based Task Generative Model for Robust Meta-LearningYizhou Zhang, Jingchao Ni, Wei Cheng, Zhengzhang Chen et al.NeurIPS 2023 · 2 citations
  4. Are Uncertainty Quantification Capabilities of Evidential Deep Learning a Mirage?Maohao Shen, Jongha Jon Ryu, Soumya Ghosh, Yuheng Bu et al.NeurIPS 2024 · 29 citations
  5. Few-Shot Fast-Adaptive Anomaly DetectionZe Wang, Yipin Zhou, Rui Wang, Tsung-Yu Lin et al.NeurIPS 2022 · 42 citations
Dusk over the sea between two cliffs drawn in fine vertical lines