Institute of Physics & Materials Research Institute, UNAM

AzoNet — Thin-Film Thickness Prediction

January 2025 — August 2025 · Ciudad Universitaria, Mexico
Published · ACS Omega 2026, 11, 69373⁠–⁠69380 →

Role

AI Developer — Machine Learning Modeling (6-month freelance contract)

Model Type

Convolutional Autoencoder with Skip Connections (U-Net style) + FCNN

Performance

MAPE 5.3% · MAE 15.7 nm (synthetic) · MAPE 6.91% · MAE 22.7 nm (145 experimental films)

Authors

Víctor Manuel Guerrero-Sosa, Angélica Carrillo-Verduzco, Juan Carlos Alonso-Huitrón, Alan Gabriel Amaro-Colin, Miguel Esquivel-García, Xim Bokhimi

Instituto de Investigaciones en Materiales & Instituto de Física, Universidad Nacional Autónoma de México

Overview

Transparent conductive oxides (TCOs) are wide-bandgap semiconductors that combine high optical transparency with remarkable electrical conductivity, making them essential in LEDs, photovoltaics, flat-panel displays, touch screens, and photodetectors. While indium tin oxide (ITO) dominates commercial applications, its high cost and supply instability have driven the search for alternatives. Aluminum-doped zinc oxide (AZO) has emerged as a promising, cost-effective replacement with comparable optoelectronic performance.

Accurate thin-film thickness measurement is critical for device fabrication and performance optimization, yet conventional approaches — interference-fringe analysis or fitting spectra with rigorous optical models — are computationally demanding, sensitive to initial parameters, and time-consuming. AzoNet addresses this gap with a supervised deep learning model that predicts AZO thin-film thickness directly from optical transmittance spectra, providing a rapid, non-destructive, and accurate characterization tool.

The model couples a convolutional autoencoder with short skip connections (similar to U-Net) to a fully connected neural network. It was trained on 1.2 million synthetic spectra generated from a 12-parameter optical model fitted to 145 experimental AZO films (100–1500 nm), using Gaussian Mixture Models to capture parameter distributions across five thickness regions. The model reached a MAPE of 5.3% (MAE 15.7 nm) on the synthetic validation set and a MAPE of 6.91% (MAE 22.7 nm) on the 145 experimental films. The work was published in ACS Omega (2026) as open access under CC-BY 4.0.

Transmittance spectra of AZO films of different thicknesses fed into the deep learning model, which outputs a thickness between 100 and 1500 nm
Graphical abstract. Optical transmittance spectra go into the deep learning model, which predicts film thickness (100–1500 nm).

Methodology & Architecture

Data Generation

145 AZO thin films (100–1500 nm) were deposited on glass by aerosol-assisted chemical vapor deposition, and their transmittance spectra were measured over 190–1100 nm (911 data points per spectrum at 1 nm resolution). Each spectrum was fitted with the optical transmission theory of Alonso et al. — thickness, absorption coefficient, refractive index (Sellmeier-type dispersion), roughness at both film interfaces, and carrier concentration — optimizing its 12 free parameters with the Differential Evolution algorithm.

The fitted parameters were grouped into five thickness regions (100–250, 250–600, 600–950, 950–1100, and 1100–1500 nm). Within each region, Gaussian Mixture Models (GMMs) captured the distribution of every parameter. Sampling from these distributions produced 240,000 synthetic spectra per region — 1.2 million samples in total — each pairing 911 transmittance values (X) with the corresponding film thickness (Y). The shuffled dataset was split 80% training, 10% validation, and 10% testing.

Deep Learning Architecture

An initial fully connected network (Figure 1) showed poor predictive accuracy: its predictions on the test data deviate substantially from the true thicknesses (Figure 2).

Fully connected network with 911 inputs, hidden layers of 470, 340 and 330 nodes, and one output node
Figure 1. Architecture of the initial learning model developed to predict film thickness.
Scatter plot of inferred versus true thickness for the initial model, with wide scatter around the identity line
Figure 2. Predicted vs. actual film thickness for the test data, initial fully connected model.

A convolutional autoencoder with skip connections was therefore added in front of it (Figure 3) to extract richer features from the spectrum:

Block diagram: transmittance spectrum into an autoencoder with skip connections, then a fully connected multilayer network, outputting film thickness
Figure 3. Deep learning model developed for the prediction of film thickness.
  • Encoder: Four blocks — convolutional layers with kernel sizes of 150 and 50, Leaky ReLU activation and batch normalization, interleaved with average pooling (pool size and stride 4) for downsampling: 911 → 227 → 56 features.
  • Latent Space: Two convolutional layers (kernel size 5) producing 84 feature maps with 56 features each.
  • Decoder: Four blocks with nearest-neighbor upsampling (scale factor 4), restoring resolution (56 → 227 → 911 features). Skip connections concatenate encoder feature maps into the corresponding decoder blocks to recover high-resolution detail; a final 1×1 convolution outputs a single 911-feature map.
  • FCNN: The 911-element decoder output feeds a fully connected network with three hidden layers (470, 340, and 330 nodes), each followed by dropout (0.35) and batch normalization. A single ReLU output node predicts thickness.
Encoder blocks: two convolutional layers of 21 maps at 911 features, pooling to 227, two layers of 42 maps, pooling to 56
Figure 4. Encoder blocks showing the details of their layer composition.
Latent space: two convolutional layers of 84 feature maps with 56 features each
Figure 5. Generating the latent space.
Decoder blocks: upsampling from 56 to 227 and 911 features, with encoder feature maps concatenated in, ending in a single 911-feature map
Figure 6. Decoder blocks showing details of their layer composition.

Training

The model was implemented in Keras 3 with a TensorFlow backend and trained for 1000 epochs with the Adam optimizer, MAE loss, a cosine-decaying learning rate starting at 0.0001, and a batch size of 512, on NVIDIA A100 (80 GB) GPUs. Layer sizes, filter counts, and dropout rates come from hyperparameter tuning. Final training and validation MAE were 15.8 nm and 15.7 nm, with a MAPE of 5.3% on both.

Training and validation MAE over 1000 epochs, converging to about 16 nm
Figure 7. Loss function value over training epochs.

Results

On the 120,000-sample test set, predictions lie tightly along the identity line (Figure 8), a marked improvement over the fully connected baseline (Figure 2). Applied to the 145 experimental films, the model predicted thickness with a MAPE of 6.91% and an MAE of 22.7 nm relative to the thicknesses obtained by fitting their spectra (Figure 9).

Scatter plot of inferred versus true thickness for the deep learning model on test data, tightly along the identity line
Figure 8. Predicted vs. actual film thickness for the test data, deep learning model.
Scatter plot of predicted versus experimental thickness for the 145 real AZO films
Figure 9. Predicted vs. experimental film thicknesses for the 145 AZO films.

Figures reproduced from Guerrero-Sosa et al., ACS Omega 2026, 11, 69373–69380, doi:10.1021/acsomega.6c10558, under CC-BY 4.0.

Key Achievements

  • Generated 1.2 million synthetic samples from Gaussian Mixture Model distributions across five thickness regions, capturing realistic parameter variability from 145 experimental AZO films.
  • Applied global optimization (Differential Evolution) to fit a 12-parameter optical model to experimental transmittance spectra, extracting physically meaningful parameters for data synthesis.
  • Substantially outperformed a baseline fully connected network by adding a convolutional autoencoder with skip connections for feature extraction.
  • Achieved MAPE of 5.3% on synthetic data and MAPE of 6.91% (MAE 22.7 nm) on 145 experimental films.
  • Developed a standalone executable with a user-friendly GUI (TTK Bootstrap) for deploying and visualizing predictions, making the tool accessible to laboratory staff.
  • Disseminated findings at the Congreso Nacional de Física 2025 in Mexico.
  • Published as "A Deep Learning Approach for Thickness Determination of AZO Thin Films" in ACS Omega 2026, 11, 69373–69380.
U-NET TensorFlow Keras 3 Synthetic Data (1.2M samples) Gaussian Mixture Models Differential Evolution Autoencoder Skip Connections Leaky ReLU Batch Normalization TTKBootstrap Tkinter GUI Non-linear Curve Fitting ACS Omega Scientific Computing

Resources

Gallery