atlas

Research map / Probabilistic and scientific modeling / Uncertainty and Gaussian processes

Self-Attention through Kernel-Eigen Pair Sparse Variational Gaussian Processes

ICML 2024 · Probabilistic and scientific modeling › Uncertainty and Gaussian processes · approach: PAC-Bayes and decoupled GP learning · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes KEP-SVGP, which places a pair of sparse variational GPs, induced by the left and right singular vectors of the asymmetric attention kernel (via Kernel SVD), on self-attention outputs to get calibrated uncertainty with linear-in-N-times-s² complexity.

Problem

Self-attention in Transformers gives overconfident predictions, and existing GP-based uncertainty methods assume symmetric kernels and have high complexity on large-scale sequence data.

Approach

Model the asymmetric attention kernel with a pair of SVGPs whose inducing features are the adjoint kernel-eigen features from Kernel SVD; the posterior then needs inversion of only a diagonal singular-value matrix, reducing the inversion cost from O(s^3) to O(s).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace the last self-attention layer with KEP-SVGPTransformer · CIFAR-10ACC: 83.50$\pm$0.43 -> 84.70$\pm$0.61Helped
Replace the last self-attention layer with KEP-SVGPTransformer · CIFAR-100ACC: 52.82$\pm$0.53 -> 55.02$\pm$0.83Helped
Replace the last self-attention layer with KEP-SVGPTransformer · IMDBACC: 88.17$\pm$0.52 -> 89.01$\pm$0.14Helped
Replace the last self-attention layer with KEP-SVGPTransformer · CoLAMCC: 26.93$\pm$1.38 -> 30.54$\pm$1.61Helped
Replace the last self-attention layer with KEP-SVGPTransformer · CIFAR-100-CACC: 39.19 -> 39.69Mixed
Ensemble five KEP-SVGP models instead of using Deep EnsemblesTransformer ensemble · CIFAR-10ACC: 86.43 -> 87.62Helped
Ensemble five KEP-SVGP models instead of using Deep EnsemblesTransformer ensemble · CIFAR-100ACC: 59.65 -> 62.45Helped
Ensemble five KEP-SVGP models instead of using Deep EnsemblesTransformer ensemble · IMDBACC: 89.57 -> 89.68Helped
Ensemble five KEP-SVGP models instead of using Deep EnsemblesTransformer ensemble · CIFAR-10-CACC: 73.93 -> 73.67Hurt
Use the asymmetric e+r SVGP pair rather than a single-branch pairing (ablation)2-layer KEP-SVGP Transformer · CoLAMCC: 28.71 -> 29.31; 28.10 -> 29.31Helped
Replace the asymmetric e+r pair with e+e branches (ablation)2-layer KEP-SVGP Transformer · CoLAAURC: 199.48 -> 189.08Hurt
Replace the asymmetric e+r pair with r+r branches (ablation)2-layer KEP-SVGP Transformer · CoLANLL: 10.76 -> 9.02Hurt

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 CIFAR-100 IMDB CoLA

Benchmarks: CIFAR-10 CIFAR-100 IMDB CoLA CIFAR-10-C CIFAR-100-C SVHN LSUN

Metrics: ACC MCC AURC AUROC FPR95 ECE NLL Brier AUPR

Baselines: MSP Temperature Scaling MC Dropout KFLLLA SV-DKL SGPA Deep Ensembles

Builds on: sparse variational gaussian process SGPA Primal-Attention deep kernel learning

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy