Retrieval of grating line width and slit width from diffraction using a CNN–transformer hybrid network

Retrieving structural parameters from diffraction intensity patterns is a fundamental inverse problem in optical measurement. To address this challenging problem, this work proposes a CNN–transformer hybrid architecture, termed CTA, for direct retrieval of grating line width and slit width from a single near-Talbot diffraction intensity image. The CNN modules extract local fringe features, while the self-attention module captures long-range spatial correlations, converting iterative inversion into rapid forward inference after training. An SLM-based platform was developed to construct a dataset of 3721 diffraction images. Over three random seeds, CTA achieved a mean MAE of 6.79±1.51µm, a mean RMSE of 8.21±1.54µm, and a mean R 2 of 0.9964±0.0012 on the fixed test set of 372 images. The joint accuracies at the 2%, 5%, and 10% relative-error thresholds were 24.10±14.79%, 75.90±2.17%, and 93.82±0.71%, respectively. The average inference time is 2.257 ms per sample. These results indicate that the proposed method provides a fast, accurate, and non-contact approach for grating parameter retrieval from near-Talbot diffraction intensity patterns, demonstrating the potential of CNN–transformer hybrid architectures for solving diffraction-based optical inverse problems.

Authors

Publication Details

Journal
Applied Optics
Published
2026-12-03
DOI
https://doi.org/10.1364/ao.612676
Primary Topic
Optical measurement and interference techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Retrieval of grating line width and slit width from diffraction using a CNN–transformer hybrid network

Changhe Zhou, Yuanming Tian, Shanwen Zhang, Shuang Zhang et al.
1 links
Applied Optics
Optical measurement and interference techniques
article

Retrieval of grating line width and slit width from diffraction using a CNN–transformer hybrid network

Changhe Zhou, Yuanming Tian, Shanwen Zhang, Shuang Zhang, Wei Jia, jin wang
article en

Abstract

Retrieving structural parameters from diffraction intensity patterns is a fundamental inverse problem in optical measurement. To address this challenging problem, this work proposes a CNN–transformer hybrid architecture, termed CTA, for direct retrieval of grating line width and slit width from a single near-Talbot diffraction intensity image. The CNN modules extract local fringe features, while the self-attention module captures long-range spatial correlations, converting iterative inversion into rapid forward inference after training. An SLM-based platform was developed to construct a dataset of 3721 diffraction images. Over three random seeds, CTA achieved a mean MAE of 6.79±1.51µm, a mean RMSE of 8.21±1.54µm, and a mean R 2 of 0.9964±0.0012 on the fixed test set of 372 images. The joint accuracies at the 2%, 5%, and 10% relative-error thresholds were 24.10±14.79%, 75.90±2.17%, and 93.82±0.71%, respectively. The average inference time is 2.257 ms per sample. These results indicate that the proposed method provides a fast, accurate, and non-contact approach for grating parameter retrieval from near-Talbot diffraction intensity patterns, demonstrating the potential of CNN–transformer hybrid architectures for solving diffraction-based optical inverse problems.

Applied OpticsVol. 65(35)
Optical measurement and interference techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon