cs.LGMar 2, 2026

Latent attention on masked patches for flow reconstruction

Authors: Ben Eze, Luca Magri, Andrea Nóvoa

Organizations: Aeronautics Dept., Imperial College London, Exhibition Rd, London SW7 2BX, UK · DIMEAS, Politecnico di Torino, Corso Duca degli Abruzzi, 24, Torino, 10129, Italy · I-X, Imperial College London, 84 Wood Lane, London W12 0BZ, UK

Abstract

Vision transformers have shown outstanding performance in image generation, yet their adoption in fluid dynamics remains limited. We introduce the Latent Attention on Masked Patches (LAMP) model, an interpretable regression-based modified vision transformer designed for masked flow reconstruction. LAMP follows a three-fold strategy: (i) partition of each flow snapshot into patches, (ii) patch-wise dimensionality reduction via proper orthogonal decomposition, and (iii) reconstruction of the full field from a masked input using a single-layer transformer trained via closed-form linear regression. We test the method on two canonical 2D unsteady wakes: a laminar wake past a bluff body, and a chaotic wake past two cylinders. On the laminar case, LAMP accurately reconstructs the full flow field from a 90%-masked and noisy input, across signal-to-noise ratios between 10 and 30dB. Further, the learned attention matrix yields interpretable multi-fidelity optimal sensor-placement maps. LAMP's performance on the chaotic wake is limited, but outperforms other regression methods such as gappy POD. The modularity of the framework, however, naturally accommodates nonlinear compression and deep attention blocks, thereby providing an efficient baseline for nonlinear, high-dimensional masked flow reconstruction.

Figures & tables

Explore similar work

CardsList
  1. A Physics-Informed Fourier-Wavelet Transformer for Multiscale Computational Fluid Dynamics Surrogate Modeling

    Jun 23, 2026Somyajit Chakraborty, Ming Pan, Xizhong ChenSurrogate ModelingPDE Surrogate Modeling

  2. Operator Learning for Reconstructing Flow Fields from Sparse Measurements: a Language Model Approach

    May 22, 2026Qian Zhang, George Em KarniadakisPDE Operator LearningOperator Learning

  3. Distance-Aware Attention and Wall-Distance Expert Routing for Transformer-Based 3D Flow Prediction

    Sep 7, 2026Sanghyeon Kim, Sunwoong Yang, Namwoo KangCross-AttentionMixture of Experts