Issue 11, 2025

Ultraviolet spectral transfer based on a convolutional variational autoencoder model for detecting chemical oxygen demand in rivers

Abstract

The spectral data shift generated using two different ultraviolet (UV) instruments to detect chemical oxygen demand (COD) in rivers often invalidates existing predictive models. To solve this problem, this study proposes a non-linear spectral transfer method based on a convolutional variational autoencoder (CVAE). This method extracts key features from spectral data using an encoder and reconstructs the original data using a decoder, which significantly reduces the impact of spectral shifts caused by differences in the resolution of measurement devices. Specifically, the encoder of the CVAE combines the convolutional layers with a sigmoid activation function to effectively capture the non-linear relationship between the spectra of the master and slave devices. Furthermore, in the face of the problem that traditional autoencoders lack the modeling ability for data distribution, this method adopts the idea of variational inference to learn the potential representation of COD spectral signals, thereby effectively capturing the global features of the COD spectral signals. Finally, we input the transformation spectra derived from the spectral space transformation, piecewise direct standardization, deep autoencoders, convolutional autoencoder, and the proposed method into the partial least squares multivariate calibration model. The results show that the proposed method reduces the root mean square error of the prediction by 1.0242, 0.4571, 0.4201, and 0.1965, respectively, compared to the other four methods. The above results indicate that the proposed method effectively solves the problem of model sharing between different instruments and provides new perspectives for research and applications in related fields.

Graphical abstract: Ultraviolet spectral transfer based on a convolutional variational autoencoder model for detecting chemical oxygen demand in rivers

Article information

Article type
Paper
Submitted
12 Nov 2024
Accepted
14 Feb 2025
First published
18 Feb 2025

Anal. Methods, 2025,17, 2446-2455

Ultraviolet spectral transfer based on a convolutional variational autoencoder model for detecting chemical oxygen demand in rivers

D. Zhang, H. Bai, L. Sun, Z. Han and S. Zhang, Anal. Methods, 2025, 17, 2446 DOI: 10.1039/D4AY02052A

To request permission to reproduce material from this article, please go to the Copyright Clearance Center request page.

If you are an author contributing to an RSC publication, you do not need to request permission provided correct acknowledgement is given.

If you are the author of this article, you do not need to request permission to reproduce figures and diagrams provided correct acknowledgement is given. If you want to reproduce the whole article in a third-party publication (excluding your thesis/dissertation for which permission is not required) please go to the Copyright Clearance Center request page.

Read more about how to correctly acknowledge RSC content.

Social activity

Spotlight

Advertisements