Ensembling Pruned Attention Heads For Uncertainty-Aware Efficient Transformers
Not on the map. Why?
Abstract (arXiv)
Uncertainty quantification (UQ) is essential for deploying deep neural networks in safety-critical settings. Although methods like Deep Ensembles achieve strong UQ performance, their high computational and memory costs hinder scalability to large models. We introduce Hydra Ensembles, an efficient transformer-based ensemble that prunes attention heads to create diverse members and merges them via a new multi-head attention with grouped fully-connected layers. This yields a compact model with inference speed close to a single network, matching or surpassing Deep Ensembles in UQ performance without retraining from scratch. We also provide an in-depth analysis of pruning, showing that naive approaches can harm calibration, whereas Hydra Ensembles preserves robust uncertainty. Experiments on image and text classification tasks, with various architectures, show consistent gains over Deep Ensembles. Remarkably, in zero-shot classification on ImageNet-1k, our approach surpasses state of the art methods, even without requiring additional training.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 57 of its 83 references that are in the map. First posted on arXiv 21 Oct 2025.
Builds on
57 of 83 references.
References · 57
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2017On Calibration of Modern Neural Networkscited by 4,960
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,448
- 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
38 more
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,546
- 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
- 2017What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision?cited by 2,352
- 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
- 2021LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairscited by 1,555
- 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,433
- 2019Aleatoric and Epistemic Uncertainty in Machine Learning: An Introduction to Concepts and Methodscited by 913
- 2018Evidential Deep Learning to Quantify Classification Uncertaintycited by 732
- 2021A Survey of Uncertainty in Deep Neural Networkscited by 680
- 2021Do Vision Transformers See Like Convolutional Neural Networks?cited by 675
- 2021ImageNet-21K Pretraining for the Massescited by 613
- 2021LiT: Zero-Shot Transfer with Locked-image text Tuningcited by 577
- 2019Importance Estimation for Neural Network Pruningcited by 541
- 2022ViM: Out-Of-Distribution with Virtual-logit Matchingcited by 405
- 2020BatchEnsemble: An Alternative Approach to Efficient Ensemble and Lifelong Learningcited by 371
- 2021Open-Set Recognition: a Good Closed-Set Classifier is All You Need?cited by 353
- 2014Stochastic Gradient Hamiltonian Monte Carlocited by 343
- 2018Why ReLU networks yield high-confidence predictions far away from the training data and how to mitigate the problemcited by 323
- 2013Black Box Variational Inferencecited by 319
- 2022OpenOOD: Benchmarking Generalized Out-of-Distribution Detectioncited by 268
- 2021MOS: Towards Scaling Out-of-distribution Detection for Large Semantic Spacecited by 233
- 2020Training independent subnetworks for robust predictioncited by 177
- 2022A Fast Post-Training Pruning Framework for Transformerscited by 162
- 2023In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluationcited by 134
- 2022The Optimal BERT Surgeon: Scalable and Accurate Second-Order Pruning for Large Language Modelscited by 115
- 2020Masksembles for Uncertainty Estimationcited by 88
- 2023LoRA ensembles for large language model fine-tuningcited by 67
- 2021Lost in Pruning: The Effects of Pruning Neural Networks beyond Test Accuracycited by 62
- 2022Packed-Ensembles for Efficient Uncertainty Estimationcited by 49
- 2023ZipLM: Inference-Aware Structured Pruning of Language Modelscited by 49
- 2021Deep Ensembling with No Overhead for either Training or Testing: The All-Round Blessings of Dynamic Sparsitycited by 44
- 2024LoRA-Ensemble: Efficient Uncertainty Modelling for Self-Attention Networkscited by 20
- 2021From Dense to Sparse: Contrastive Pruning for Better Pre-trained Language Model Compressioncited by 19
- 2023How Good Are LLMs at Out-of-Distribution Detection?cited by 17
- 2022Prune and Tune Ensembles: Low-Cost Ensemble Learning With Sparse Independent Subnetworkscited by 13
- 2024Post-hoc Probabilistic Vision-Language Modelscited by 13
- 2023Accurate Retraining-free Pruning for Pretrained Encoder-based Language Modelscited by 11
- 2025ViLU: Learning Vision-Language Uncertainties for Failure Predictioncited by 9
50 most cited of 57 All 57 (JSON)
Built on by
Citing papers per year: 2025: 1; 2026: 4.
5 papers.
- 2026UAT-LITE: Inference-Time Uncertainty-Aware Attention for Pretrained Transformerscited by 4
- 2025Improving Semantic Uncertainty Quantification in LVLMs with Semantic Gaussian Processescited by 3
- 2026Regularized Meta-Learning for Improved Generalizationcited by 0
- 2026Leveraging Visual Signals for Robust Token-Level Uncertainty in Vision-Language Generationcited by 0
- 2026Controllable Diversity in Normalization-Based Implicit Ensembles via Softmax-Temperature Modulationcited by 0
- 2026Controllable Diversity in Normalization-Based Implicit Ensembles via Softmax-Temperature Modulation26 Jul 2026
- 2026Leveraging Visual Signals for Robust Token-Level Uncertainty in Vision-Language Generation26 May 2026
- 2026Regularized Meta-Learning for Improved Generalization12 Feb 2026
- 2026UAT-LITE: Inference-Time Uncertainty-Aware Attention for Pretrained Transformers3 Feb 2026
- 2025Improving Semantic Uncertainty Quantification in LVLMs with Semantic Gaussian Processes16 Dec 2025