mlsanityData to 14 Oct 2026

Calibrating Scientific Foundation Models with Inference-Time Stochastic Attention

arXiv 2604.19530 ↗First posted 21 Apr 2026cs.LG cs.CE stat.MLcited by 1

Not on the map. Why?

Abstract (arXiv)

Transformer-based scientific foundation models are increasingly deployed in high-stakes settings, but current architectures give deterministic outputs and provide limited support for calibrated predictive uncertainty. We propose Stochastic Attention, a sample average lightweight inference-time modification that randomizes attention by replacing softmax weights with normalized multinomial samples controlled by a single concentration parameter, and produces predictive ensembles without retraining. To set this parameter, we introduce a calibration objective that matches the stochastic attention output with the target, yielding an efficient univariate post-hoc tuning problem. We evaluate this mechanism on scientific foundation models for weather and time-series forecasting, as well as several regression tasks. Across benchmarks against uncertainty-aware baselines, we find that Sample Average Stochastic Attention achieves the strongest native calibration and the sharpest prediction intervals at comparable calibration, with adaptation costs nearly three orders of magnitude lower than the next-best baseline.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 23 of its 27 references that are in the map. First posted on arXiv 21 Apr 2026.

Builds on

23 of 27 references.

References · 23

  1. 2017On Calibration of Modern Neural Networkscited by 4,960
  2. 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,448
  3. 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,926
  4. 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,169
  5. 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,423
  6. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,209
  7. 2021Revisiting Deep Learning Models for Tabular Datacited by 740
  8. 2023A decoder-only foundation model for time-series forecastingcited by 692
  9. 2019A Simple Baseline for Bayesian Uncertainty in Deep Learningcited by 560
  10. 2020Bayesian Deep Learning and a Probabilistic Perspective of Generalizationcited by 480
  11. 2018Accurate Uncertainties for Deep Learning Using Calibrated Regressioncited by 422
  12. 2023ClimaX: A foundation model for weather and climatecited by 337
11 more
  1. 2024Benchmarking LLMs via Uncertainty Quantificationcited by 126
  2. 2022Better Uncertainty Calibration via Proper Scores for Classification and Beyondcited by 65
  3. 2024Variational Learning is Effective for Large Deep Networkscited by 65
  4. 2024Position: Bayesian Deep Learning is Needed in the Age of Large-Scale AIcited by 62
  5. 2021Calibrated and Sharp Uncertainties in Deep Learning via Density Estimationcited by 33
  6. 2021Contextual Dropout: An Efficient Sample-Dependent Dropout Modulecited by 26
  7. 2018Uncertainty-Aware Attention for Reliable Interpretation and Predictioncited by 24
  8. 2021Transformer Uncertainty Estimation with Hierarchical Stochastic Attentioncited by 21
  9. 2024Gaussian Stochastic Weight Averaging for Bayesian Low-Rank Adaptation of Large Language Modelscited by 20
  10. 2024Variational Low-Rank Adaptation Using IVONcited by 5
  11. 2025Bayesian Optimization under Uncertainty for Training a Scale Parameter in Stochastic Modelscited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.