cs.LGAug 19, 2026

Lévy Attention: Single-Pass Predictive Uncertainty for Continuous-Time Attention

Authors: Sotirios P. Chatzis, Loukas Papadoulas

Organizations: GenML Laboratory, Department of Electrical Engineering and Computer Science and Engineering, Cyprus University of Technology, Limassol, Cyprus · Ethical AI Novelties, Cyprus

Abstract

Deep models for irregularly-sampled time series answer queries at arbitrary continuous timestamps, yet report nothing about how far each answer should be trusted. We show the attention layer itself can close that gap: with the right stochastic formulation, the pass that makes each prediction also reports, in closed form and at no extra cost, how far it should be trusted. We introduce Lévy Attention, a cross-attention operator whose output is a stochastic integral against an inhomogeneous Poisson random measure: query-key compatibilities assemble an intensity over a continuous (time x channel) index space, the measure scatters atoms under it, and the output averages an interpolated value field at those atoms. In expectation it reduces to a mollified cosine-kernel attention, so it replaces a softmax layer and trains with exact gradients. What softmax discards, the Poisson construction preserves in closed form: the evidence ΛqΛ_q (total compatibility mass) and the disagreement tr ΣV(q)\mathrm{tr}\,Σ_V(q) (value spread). An exact variance identity makes their combination σ^(q)=tr ΣV(q) φ(Λq)\hatσ(q)=\sqrt{\mathrm{tr}\,Σ_V(q)\,\varphi(Λ_q)} the root-mean-square deviation of the sampled operator, emitted by the deterministic pass with no trained head. Empirically, disagreement carries the signal, while the evidence factor swings from uninformative on dense data to strongly informative on sparse. On t-PatchGNN the operator swap costs at most 5.6% accuracy against a matched control and nothing on the sparsest dataset. The free disagreement signal improves on 20-pass MC dropout across matched five-seed suites, and σ^\hatσ scales a calibrated Gaussian whose zero-sample CRPS beats a fifty-draw sampler; a split-conformal wrapper reaches nominal coverage at every level, and one pass ranks 3,383 unseen patients by trust in 1.4 seconds.

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Continuum Attention

    Oct 14, 2026Afshin KhadangiCausal AttentionTransformer Attention

  2. Random Feature Gaussian Process Attention: Linear-Time Probabilistic Attention with Calibrated Uncertainty

    Oct 6, 2026Amir Mohammad Mahfoozi, Zi Yang, Ying Li +1Transformer AttentionAttention Mechanisms