Calibrating Transformers via Sparse Gaussian Processes
Not on the map. Why?
Abstract (arXiv)
Transformer models have achieved profound success in prediction tasks in a wide range of applications in natural language processing, speech recognition and computer vision. Extending Transformer's success to safety-critical domains requires calibrated uncertainty estimation which remains under-explored. To address this, we propose Sparse Gaussian Process attention (SGPA), which performs Bayesian inference directly in the output space of multi-head attention blocks (MHAs) in transformer to calibrate its uncertainty. It replaces the scaled dot-product operation with a valid symmetric kernel and uses sparse Gaussian processes (SGP) techniques to approximate the posterior processes of MHA outputs. Empirically, on a suite of prediction tasks on text, images and graphs, SGPA-based Transformers achieve competitive predictive accuracy, while noticeably improving both in-distribution calibration and out-of-distribution robustness and detection.
Key facts. Cited by 21 papers in the map (data through 7 Oct 2026). Builds on 38 of its 50 references that are in the map. First posted on arXiv 4 Mar 2023.
Builds on
38 of 50 references.
References · 38
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2015Dropout as a Bayesian Approximation: Representing Model Uncertainty in Deep Learningcited by 4,416
- 2016Simple and Scalable Predictive Uncertainty Estimation using Deep Ensemblescited by 3,888
- 2019Benchmarking Neural Network Robustness to Common Corruptions and Perturbationscited by 2,857
- 2018Deep contextualized word representationscited by 2,285
26 more
- 2018Neural Network Acceptability Judgmentscited by 952
- 2020Benchmarking Graph Neural Networkscited by 672
- 2015Weight Uncertainty in Neural Networkscited by 554
- 2015Deep Kernel Learningcited by 440
- 2022DeiT III: Revenge of the ViTcited by 417
- 2020Simple and Principled Uncertainty Estimation with Deterministic Deep Learning via Distance Awarenesscited by 389
- 2013Gaussian Processes for Big Datacited by 377
- 2020Calibrating Deep Neural Networks using Focal Losscited by 353
- 2020Being Bayesian, Even Just a Bit, Fixes Overconfidence in ReLU Networkscited by 227
- 2019Transformer Dissection: A Unified Understanding of Transformer's Attention via the Lens of Kernelcited by 211
- 2019Cyclical Stochastic Gradient MCMC for Bayesian Deep Learningcited by 203
- 2022Pure Transformers are Powerful Graph Learnerscited by 188
- 2017Doubly Stochastic Variational Inference for Deep Gaussian Processescited by 143
- 2020Efficiently Sampling Functions from Gaussian Process Posteriorscited by 125
- 2018Bayesian Layers: A Module for Neural Network Uncertaintycited by 57
- 2020Bayesian Attention Modulescited by 51
- 2017Adversarial Examples, Uncertainty, and Transfer Testing Robustness in Gaussian Process Hybrid Deep Networkscited by 48
- 2021Bayesian Transformer Language Models for Speech Recognitioncited by 22
- 2017Variational Inference for Gaussian Process Models with Linear Complexitycited by 21
- 2018Orthogonally Decoupled Variational Gaussian Processescited by 19
- 2020Sparse within Sparse Gaussian Processes using Neighbor Informationcited by 18
- 2021Sparse Uncertainty Representation in Deep Learning with Inducing Weightscited by 16
- 2021Pathologies in priors and inference for Bayesian transformerscited by 13
- 2021Scalable Variational Gaussian Processes via Harmonic Kernel Decompositioncited by 8
- 2021Wide Mean-Field Variational Bayesian Neural Networks Ignore the Datacited by 7
- 2021Input Dependent Sparse Gaussian Processescited by 5
Built on by
Citing papers per year: 2023: 2; 2024: 7; 2025: 5; 2026: 7.
21 papers.
Sort:
By area:
- 2023Bayesian Low-rank Adaptation for Large Language Modelscited by 112
- 2024BLoB: Bayesian Low-Rank Adaptation by Backpropagation for Large Language Modelscited by 48
- 2024Uncertainty quantification in fine-tuned LLMs using LoRA ensemblescited by 35
- 2023Understanding Emergent In-Context Learning from a Kernel Regression Perspectivecited by 23
- 2024Gaussian Stochastic Weight Averaging for Bayesian Low-Rank Adaptation of Large Language Modelscited by 20
- 2025Revisiting Kernel Attention with Correlated Gaussian Process Representationcited by 9
- 2024Unveiling the Hidden Structure of Self-Attention via Kernel Principal Component Analysiscited by 7
- 2024Elliptical Attentioncited by 7
- 2024Self-Attention through Kernel-Eigen Pair Sparse Variational Gaussian Processescited by 4
- 2025Bayesian Mixture of Experts For Large Language Modelscited by 4
- 2026UAT-LITE: Inference-Time Uncertainty-Aware Attention for Pretrained Transformerscited by 4
- 2024A Strategy to Combine 1stGen Transformers and Open LLMs for Automatic Text Classificationcited by 3
9 more
- 2026Barriers to Discrete Reasoning with Transformers: A Survey Across Depth, Exactness, and Bandwidthcited by 3
- 2026Variational Routing: A Scalable Bayesian Framework for Calibrated Mixture-of-Experts Transformerscited by 3
- 2025h-calibration: Rethinking Classifier Recalibration with Probabilistic Error-Bounded Objectivecited by 2
- 2025Compact Vision Transformer by Reduction of Kernel Complexitycited by 0
- 2025A decoupled alignment kernel for peptide membrane permeability predictionscited by 0
- 2026Diffusion-Inspired Reconfiguration of Transformers for Uncertainty Calibrationcited by 0
- 2026In-Context Function Learning in Large Language Modelscited by 0
- 2026Precision Tracked Transformer via Kalman Filtering, Kriging and Process Noisecited by 0
- 2026Interdomain Attention: Beyond Token-Level Key-Value Memorycited by 0
- 2026Interdomain Attention: Beyond Token-Level Key-Value Memory23 May 2026
- 2026Precision Tracked Transformer via Kalman Filtering, Kriging and Process Noise12 May 2026
- 2026Variational Routing: A Scalable Bayesian Framework for Calibrated Mixture-of-Experts Transformers10 Mar 2026
- 2026In-Context Function Learning in Large Language Models12 Feb 2026
- 2026Diffusion-Inspired Reconfiguration of Transformers for Uncertainty Calibration9 Feb 2026
- 2026UAT-LITE: Inference-Time Uncertainty-Aware Attention for Pretrained Transformers3 Feb 2026
- 2026Barriers to Discrete Reasoning with Transformers: A Survey Across Depth, Exactness, and Bandwidth19 Jan 2026
- 2025A decoupled alignment kernel for peptide membrane permeability predictions26 Nov 2025
- 2025Bayesian Mixture of Experts For Large Language Models12 Nov 2025
- 2025Compact Vision Transformer by Reduction of Kernel Complexity17 Jul 2025
- 2025h-calibration: Rethinking Classifier Recalibration with Probabilistic Error-Bounded Objective22 Jun 2025
- 2025Revisiting Kernel Attention with Correlated Gaussian Process Representation27 Feb 2025
9 more
- 2024A Strategy to Combine 1stGen Transformers and Open LLMs for Automatic Text Classification19 Aug 2024
- 2024Elliptical Attention19 Jun 2024
- 2024Unveiling the Hidden Structure of Self-Attention via Kernel Principal Component Analysis19 Jun 2024
- 2024BLoB: Bayesian Low-Rank Adaptation by Backpropagation for Large Language Models17 Jun 2024
- 2024Gaussian Stochastic Weight Averaging for Bayesian Low-Rank Adaptation of Large Language Models6 May 2024
- 2024Uncertainty quantification in fine-tuned LLMs using LoRA ensembles19 Feb 2024
- 2024Self-Attention through Kernel-Eigen Pair Sparse Variational Gaussian Processes2 Feb 2024
- 2023Bayesian Low-rank Adaptation for Large Language Models24 Aug 2023
- 2023Understanding Emergent In-Context Learning from a Kernel Regression Perspective22 May 2023
- 2023Bayesian Low-rank Adaptation for Large Language Modelscited by 112
- 2024BLoB: Bayesian Low-Rank Adaptation by Backpropagation for Large Language Modelscited by 48
- 2024Uncertainty quantification in fine-tuned LLMs using LoRA ensemblescited by 35
- 2023Understanding Emergent In-Context Learning from a Kernel Regression Perspectivecited by 23
- 2024Gaussian Stochastic Weight Averaging for Bayesian Low-Rank Adaptation of Large Language Modelscited by 20
- 2025Revisiting Kernel Attention with Correlated Gaussian Process Representationcited by 9
- 2024Unveiling the Hidden Structure of Self-Attention via Kernel Principal Component Analysiscited by 7
- 2024Elliptical Attentioncited by 7
- 2024Self-Attention through Kernel-Eigen Pair Sparse Variational Gaussian Processescited by 4
- 2026UAT-LITE: Inference-Time Uncertainty-Aware Attention for Pretrained Transformerscited by 4
- 2024A Strategy to Combine 1stGen Transformers and Open LLMs for Automatic Text Classificationcited by 3
- 2026Barriers to Discrete Reasoning with Transformers: A Survey Across Depth, Exactness, and Bandwidthcited by 3
12 most cited of 19 All 19 (JSON)
- 2026Interdomain Attention: Beyond Token-Level Key-Value Memory23 May 2026
- 2026Precision Tracked Transformer via Kalman Filtering, Kriging and Process Noise12 May 2026
- 2026In-Context Function Learning in Large Language Models12 Feb 2026
- 2026Diffusion-Inspired Reconfiguration of Transformers for Uncertainty Calibration9 Feb 2026
- 2026UAT-LITE: Inference-Time Uncertainty-Aware Attention for Pretrained Transformers3 Feb 2026
- 2026Barriers to Discrete Reasoning with Transformers: A Survey Across Depth, Exactness, and Bandwidth19 Jan 2026
- 2025A decoupled alignment kernel for peptide membrane permeability predictions26 Nov 2025
- 2025Compact Vision Transformer by Reduction of Kernel Complexity17 Jul 2025
- 2025h-calibration: Rethinking Classifier Recalibration with Probabilistic Error-Bounded Objective22 Jun 2025
- 2025Revisiting Kernel Attention with Correlated Gaussian Process Representation27 Feb 2025
- 2024A Strategy to Combine 1stGen Transformers and Open LLMs for Automatic Text Classification19 Aug 2024
- 2024Elliptical Attention19 Jun 2024
12 newest of 19 All 19 (JSON)