mlsanityData to 14 Oct 2026

Ensembling Pruned Attention Heads For Uncertainty-Aware Efficient Transformers

arXiv 2510.18358 ↗First posted 21 Oct 2025cs.LG cs.CVcited by 5

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  6. 2017On Calibration of Modern Neural Networkscited by 4,960
  7. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  8. 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,448
  9. 2022LAION-5B: An open large-scale dataset for training next generation image-text modelscited by 4,152
  10. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
  11. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
  12. 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,877
38 more
  1. 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,546
  2. 2016A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networkscited by 2,385
  3. 2017What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision?cited by 2,352
  4. 2015Character-level Convolutional Networks for Text Classificationcited by 2,330
  5. 2021LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairscited by 1,555
  6. 2022Conditional Prompt Learning for Vision-Language Modelscited by 1,433
  7. 2019Aleatoric and Epistemic Uncertainty in Machine Learning: An Introduction to Concepts and Methodscited by 913
  8. 2018Evidential Deep Learning to Quantify Classification Uncertaintycited by 732
  9. 2021A Survey of Uncertainty in Deep Neural Networkscited by 680
  10. 2021Do Vision Transformers See Like Convolutional Neural Networks?cited by 675
  11. 2021ImageNet-21K Pretraining for the Massescited by 613
  12. 2021LiT: Zero-Shot Transfer with Locked-image text Tuningcited by 577
  13. 2019Importance Estimation for Neural Network Pruningcited by 541
  14. 2022ViM: Out-Of-Distribution with Virtual-logit Matchingcited by 405
  15. 2020BatchEnsemble: An Alternative Approach to Efficient Ensemble and Lifelong Learningcited by 371
  16. 2021Open-Set Recognition: a Good Closed-Set Classifier is All You Need?cited by 353
  17. 2014Stochastic Gradient Hamiltonian Monte Carlocited by 343
  18. 2018Why ReLU networks yield high-confidence predictions far away from the training data and how to mitigate the problemcited by 323
  19. 2013Black Box Variational Inferencecited by 319
  20. 2022OpenOOD: Benchmarking Generalized Out-of-Distribution Detectioncited by 268
  21. 2021MOS: Towards Scaling Out-of-distribution Detection for Large Semantic Spacecited by 233
  22. 2020Training independent subnetworks for robust predictioncited by 177
  23. 2022A Fast Post-Training Pruning Framework for Transformerscited by 162
  24. 2023In or Out? Fixing ImageNet Out-of-Distribution Detection Evaluationcited by 134
  25. 2022The Optimal BERT Surgeon: Scalable and Accurate Second-Order Pruning for Large Language Modelscited by 115
  26. 2020Masksembles for Uncertainty Estimationcited by 88
  27. 2023LoRA ensembles for large language model fine-tuningcited by 67
  28. 2021Lost in Pruning: The Effects of Pruning Neural Networks beyond Test Accuracycited by 62
  29. 2022Packed-Ensembles for Efficient Uncertainty Estimationcited by 49
  30. 2023ZipLM: Inference-Aware Structured Pruning of Language Modelscited by 49
  31. 2021Deep Ensembling with No Overhead for either Training or Testing: The All-Round Blessings of Dynamic Sparsitycited by 44
  32. 2024LoRA-Ensemble: Efficient Uncertainty Modelling for Self-Attention Networkscited by 20
  33. 2021From Dense to Sparse: Contrastive Pruning for Better Pre-trained Language Model Compressioncited by 19
  34. 2023How Good Are LLMs at Out-of-Distribution Detection?cited by 17
  35. 2022Prune and Tune Ensembles: Low-Cost Ensemble Learning With Sparse Independent Subnetworkscited by 13
  36. 2024Post-hoc Probabilistic Vision-Language Modelscited by 13
  37. 2023Accurate Retraining-free Pruning for Pretrained Encoder-based Language Modelscited by 11
  38. 2025ViLU: Learning Vision-Language Uncertainties for Failure Predictioncited by 9

50 most cited of 57 All 57 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 4.

5 papers.