Performance of attention-based deep-learning models in Shack-Hartmann wavefront sensor measurements
arXiv:2611.29991 · doi:10.1117/12.3101171
Abstract
A systematic performance evaluation of attention-based deep-learning models for wavefront reconstruction in Shack-Hartmann wavefront sensor (SHWFS) systems is presented. While deep learning has been extensively applied to pyramid and focal-plane wavefront sensing, its application to standard SHWFS configurations remains relatively underexplored. A simulation dataset consisting of 3.5 million open-loop uncorrelated turbulent phase and image pairs modeled after the Subaru Telescope pupil was generated. The dataset spans four pupil-sampling cases (88, 1616, 2020, and 3232 subapertures) under realistic conditions. A custom Vision Transformer (ViT) which incorporates features such as rotary positional embeddings, register tokens, and a cross-attention decoder, is benchmarked against a fully convolutional U-Net and a classical Maximum A Posteriori (MAP) linear reconstructor. The results show that the ViT architecture yields the lowest overall residual phase variance across all tested subaperture configurations, demonstrating a robust capability to model global spatial correlations and spot-to-spot cross-coupling across the pupil. While the U-Net performs competitively by capturing localized features, it exhibits times more residual variance per mode than the ViT, which is relatively significant in high-order modes. This study represents a key step toward implementing attention-based models for high-order wavefront sensing and telemetry-assisted data reduction in next-generation instrument suites like ULTIMATE-Subaru.
arXiv comment13 pages, 5 figures, 1 table
References in corpus (13)
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- PyTorch: An Imperative Style, High-Performance Deep Learning Library
- Decoupled Weight Decay Regularization
- Road Extraction by Deep Residual U-Net
- Gaussian Error Linear Units (GELUs)
- U-Net: Convolutional Networks for Biomedical Image Segmentation
- Vision Transformers Need Registers
- Efficient Streaming Language Models with Attention Sinks
- Focal Plane Wavefront Sensing using Machine Learning: Performance of Convolutional Neural Networks compared to Fundamental Limits
- Transformer neural networks for closed-loop adaptive optics using non-modulated pyramid wavefront sensors
- Muon is Scalable for LLM Training
- ViT-5: Vision Transformers for The Mid-2020s
- Focal plane wavefront control with model-based reinforcement learning