cs.LGNov 20, 2026

SONATI: Spatio-temporal ocean neighbourhood asymmetric transformer for imputation of sparse, tabular data with uncertainty

Authors: Yvonne Jenniges, Boris Peter Koch, Maike Sonnewald, Sebastian Maneth

Organizations: Databases, University of Bremen, Bibliothekstraße 1, Bremen 28359, Bremen, Germany. · Ecological Chemistry, Alfred-Wegener-Institut, Helmholtz-Zentrum für Polar- und Meeresforschung, Am Handelshafen 12, Bremerhaven 27570, Bremen, Germany. · University of Applied Sciences, An der Karlstadt 8, Bremerhaven 27568, Bremen, Germany. · Department of Computer Science, University of California, 1 Shields Avenue, Davis 95616, CA, USA. · 

Abstract

Missing value imputation is often a prerequisite for downstream analyses. In oceanography, observational data are frequently structured in a tabular manner, highly sparse and exhibit spatio-temporal structures that classical imputers such as k-nearest neighbours or MissForest are not suited to exploit. We present the Spatio-temporal Ocean Neighbourhood Asymmetric Transformer for Imputation (SONATI), a masked, factorised time-space transformer operating on pre-computed, local time and space neighbourhoods, which reduces computational complexity compared to global attention. SONATI is designed to work with tabular data and is thus in principle able to work on both gridded and unstructured data, though evaluation here was performed on gridded North Atlantic data only. It provides aleatoric and epistemic uncertainties through a negative log-likelihood loss and multiple forward passes with Monte Carlo dropout. Systematic ablations on attention type and masking strategies guided the final architecture design. The results showed that SONATI outperformed classical and transformer-based methods by at least 12.5% in terms of root mean squared error (RMSE) on a large observational oceanographic dataset with key biogeochemical and physical parameters in the North Atlantic (potential temperature, salinity, oxygen, nitrate, silicate and phosphate). Attention type and masking strategy strongly affected imputation accuracy and smoothness of the produced oceanographic fields. Best results were achieved by factorised time-space attention and combined geographic and per-sample masking. The combined masking strategy reduced the imputation error by 14.3% compared to per-sample masking only. Uncertainties were moderately well calibrated (miscalibration area at observed locations 0.074±0.0120.074\pm0.012) and moderately correlated with the imputation error.

Figures & tables

Appendix figures & tables17 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. FADTI: Fourier and Attention Driven Diffusion for Multivariate Time Series Imputation

    Dec 17, 2025Runze Li, Hanchen Wang, Wenjie Zhang +4Frequency-Domain Time Series ModelingTime Series Imputation

  2. TSGuard: A Real-Time Framework for Detecting and Imputing Missing Data in Streaming Time Series

    Oct 2, 2026Imane Hocine, Asma Abboura, Soror Sahri +3Time Series Imputation

  3. TabSODA: Tabular Diffusion based Imputation with Skip Pattern Detection and Ordinal Awareness

    Jun 3, 2026Yuyu Chen, Taehyo Kim, Hai Shu +1Incomplete Data ImputationLearning with Missing Data