Machine-Learning Optimization of Multiple Measurement Parameters Nonlinearly Affecting the Signal Quality

ACS Meas Sci Au. 2021 Jul 1;1(1):20-26. doi: 10.1021/acsmeasuresciau.1c00009. eCollection 2021 Aug 18.

Abstract

Determination of optimal measurement parameters is essential for measurement experiments. They can be manually optimized if the linear correlation between them and the corresponding signal quality is known or easily determinable. However, in practice, this correlation is often nonlinear and not known a priori; hence, complicated trial and error procedures are employed for finding optimal parameters while avoiding local optima. In this work, we propose a novel approach based on machine learning for optimizing multiple measurement parameters, which nonlinearly influence the signal quality. Optically detected magnetic resonance measurements of nitrogen-vacancy centers in fluorescent nanodiamonds were used as a proof-of-concept system. We constructed a suitable dataset of optically detected magnetic resonance spectra for predicting the optimal laser and microwave powers that deliver the highest contrast and signal-to-noise ratio values by means of linear regression, neural networks, and random forests. The model developed by the considered neural network turned out to have a coefficient of determination significantly higher than that of the other methods. The proposed method thus provided a novel approach for the rapid setting of measurement parameters that influence the signal quality in a nonlinear way, opening a gate for fields like nuclear magnetic resonance, electron paramagnetic resonance, and fluorescence microscopy to benefit from it.