Contextual Dropout: An Efficient Sample-Dependent Dropout Module
Xinjie Fan, Shujian Zhang, Korawat Tanwisuth, Xiaoning Qian, Mingyuan Zhou
Abstract
Dropout has been demonstrated as a simple and effective module to not only regularize the training process of deep neural networks, but also provide the uncertainty estimation for prediction. However, the quality of uncertainty estimation is highly dependent on the dropout probabilities. Most current models use the same dropout distributions across all data samples due to its simplicity. Despite the potential gains in the flexibility of modeling uncertainty, sample-dependent dropout, on the other hand, is less explored as it often encounters scalability issues or involves non-trivial model changes. In this paper, we propose contextual dropout with an efficient structural design as a simple and scalable sample-dependent dropout module, which can be applied to a wide range of models at the expense of only slightly increased memory and computational cost. We learn the dropout probabilities with a variational objective, compatible with both Bernoulli dropout and Gaussian dropout. We apply the contextual dropout module to various models with applications to image classification and visual question answering and demonstrate the scalability of the method with large-scale datasets, such as ImageNet and VQA 2.0. Our experimental results show that the proposed method outperforms baseline methods in terms of both accuracy and quality of uncertainty estimation.
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.
12 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- CARD: Classification and Regression Diffusion Models cites Thompson Sampling via Local Uncertainty
- Bayesian Attention Belief Networks cites Bayesian Attention Modules
- Bayesian Attention Belief Networks cites Thompson Sampling via Local Uncertainty
- Alignment Attention by Matching Key and Query Distributions cites Bayesian Attention Belief Networks
- Alignment Attention by Matching Key and Query Distributions cites Bayesian Attention Modules
- NPCL: Neural Processes for Uncertainty-Aware Continual Learning cites CARD: Classification and Regression Diffusion Models
Cited by top-tier papers12
- CARD: Classification and Regression Diffusion ModelsXizewen Han, Huangjie Zheng, Mingyuan ZhouNeurIPS 2022 · 185 citations
- Bayesian Attention Belief NetworksShujian Zhang, Xinjie Fan, Bo Chen, Mingyuan ZhouICML 2021 · 38 citations
- NPCL: Neural Processes for Uncertainty-Aware Continual LearningSaurav Jha, Dong Gong, He Zhao, Lina YaoNeurIPS 2023 · 27 citations
- Alignment Attention by Matching Key and Query DistributionsShujian Zhang, Xinjie Fan, Huangjie Zheng, Korawat Tanwisuth et al.NeurIPS 2021 · 20 citations
- Deep Multitask Learning with Progressive Parameter SharingHaosen Shi, Shen Ren, Tianwei Zhang, Sinno Jialin PanICCV 2023 · 15 citations
Builds on3
- Bayesian Attention ModulesXinjie Fan, Shujian Zhang, Bo Chen, Mingyuan ZhouNeurIPS 2020 · 78 citations
- DisARM: An Antithetic Gradient Estimator for Binary Latent VariablesZhe Dong, Andriy Mnih, George TuckerNeurIPS 2020 · 43 citations
- Thompson Sampling via Local UncertaintyZhendong Wang, Mingyuan ZhouICML 2020 · 21 citations
Related papers
- Structured Dropout Variational Inference for Bayesian Neural NetworksSon Nguyen, Duong Nguyen, Khai Nguyen, Khoat Than et al.NeurIPS 2021 · 11 citations
- Bayesian Nested Neural Networks for Uncertainty Calibration and Adaptive CompressionYufei Cui, Ziquan Liu, Qiao Li, Antoni B. Chan et al.CVPR 2021
- GFlowOut: Dropout with Generative Flow NetworksDianbo Liu, Moksh Jain, Bonaventure F. P. Dossou, Qianli Shen et al.ICML 2023 · 27 citations
- Bayesian Posterior Approximation With Stochastic EnsemblesOleksandr Balabanov, Bernhard Mehlig, Hampus LinanderCVPR 2023
- Enhancing Vision-Language Model Reliability with Uncertainty-Guided Dropout DecodingYixiong Fang, Ziran Yang, Zhaorun Chen, Zhuokai Zhao et al.NeurIPS 2025 · 21 citations
