betaFeedback

WorksPhysics and Astronomy

Cryogenic Luminescence Thermometry of Upconversion Micro- and Nanoparticles via Deep Learning

Abstract

Luminescence thermometry with single or optically trapped particles is hampered by weak signals that fluctuate with alignment, collection efficiency, and excitation conditions and, for Er3+\mathrm{Er}^{3+}-based probes, by the loss of sensitivity of the luminescence intensity ratio (LIR) at cryogenic temperatures. Here we use a one-dimensional convolutional neural network (1D-CNN) to predict the temperature directly from single emission spectra of NaYF4:Yb3+,Er3+\mathrm{NaYF}_4{:}\mathrm{Yb}^{3+},\mathrm{Er}^{3+} micro- and nanoparticles between −150 ∘C-150\,^\circ\mathrm{C} and 105 ∘C105\,^\circ\mathrm{C}, and compare it with the standard LIR under adverse conditions deliberately reproduced with particle ensembles. From −150 ∘C-150\,^\circ\mathrm{C} to 30 ∘C30\,^\circ\mathrm{C}, the 1D-CNN reduces the single-spectrum mean absolute error from 5.4 ∘C5.4\,^\circ\mathrm{C} to 1.0 ∘C1.0\,^\circ\mathrm{C} and keeps its temperature uncertainty nearly constant down to the lowest temperatures, where Stark-component features remain temperature dependent while the LIR loses its sensitivity. Under deliberate optical misalignment, its error increases only from 0.58 ∘C0.58\,^\circ\mathrm{C} to 0.88 ∘C0.88\,^\circ\mathrm{C}, whereas that of the LIR rises from 1.4 ∘C1.4\,^\circ\mathrm{C} to 3.5 ∘C3.5\,^\circ\mathrm{C}. The same approach reaches sub-degree accuracy (0.21 ∘C0.21\,^\circ\mathrm{C}) over a narrow temperature window and a single calibration valid across different pump powers and wavelengths. These results establish 1D-CNNs as robust single-shot thermometers and a step toward fast thermometry of single and trapped particles.

Introduction

Luminescence thermometry exploits the temperature dependence of the emission of luminescent materials to measure temperature remotely, with high spatial resolution and in environments inaccessible to contact probes.[1, 2] Lanthanide-doped upconversion particles are among the most widely used probes.[3, 4] A standard readout is the luminescence intensity ratio (LIR) between two emission bands connected to thermally coupled excited states, whose relative populations are commonly described by a Boltzmann distribution.[5, 6] The LIR method is simple, physically grounded, and self-referenced, which has made it the method of choice in most applications. In this study, we use NaYF4_4:Yb3+^{3+},Er3+^{3+} particles and define the LIR from the green emission bands associated with the 2H11/2^{2}\mathrm{H}_{11/2} and 4S3/2^{4}\mathrm{S}_{3/2} manifolds of Er3+^{3+}.[3, 4, 7, 8, 9, 10, 11, 12]

The LIR method, however, relies on a small fraction of the emission spectrum and requires spectra with a good signal-to-noise ratio. This becomes a limitation in some of the most demanding scenarios. When single particles are used as local thermometers, or when particles are optically trapped to study their laser cooling or heating,[13, 14, 15] the collected signal is weak and fluctuates with the alignment, the collection efficiency, and the excitation power, so that long integration times or averaging over many spectra are needed to reach an acceptable temperature uncertainty.[16] In addition, at cryogenic temperatures the population of the upper 2H11/2^{2}\mathrm{H}_{11/2} level becomes negligible and the LIR loses its sensitivity, although other spectral features, such as the intensities and widths of individual Stark components, remain temperature dependent. [6, 17] Finally, the emission of individual particles can differ from that of the ensemble used for calibration, which limits the transfer of ensemble calibrations to single-particle thermometry. [18, 19]

Machine learning offers a way to exploit the full spectral information without an explicit physical model. Principal component analysis, support vector machines, and neural networks have been applied to luminescence thermometry, generally outperforming the LIR; [20, 21, 22, 23, 24, 25] among them, neural networks have often yielded the best performance. [22] These studies, however, have mainly addressed accuracy under well-controlled acquisition conditions, often with materials specifically designed for thermometry, [22] and robustness has been examined mainly against specific perturbations such as background light or tissue-induced spectral distortions. [21, 24, 26] Here we assess whether a neural network can sustain its performance under the weak and fluctuating signals relevant to single and trapped particles, and at cryogenic temperatures where the LIR loses its sensitivity. Since the LIR remains the reference method in the field, we use it as the baseline for this assessment.

In this work, we use a one-dimensional convolutional neural network (1D-CNN) to predict the temperature directly from single emission spectra of NaYF4_4:Yb3+^{3+},Er3+^{3+} micro- and nanoparticles between −150 °C and 105 °C. Using concentrated particle samples, we deliberately reproduce the adverse conditions expected for single and trapped particles (low signal, cryogenic temperatures, optical misalignment, and changes in excitation power and wavelength) and evaluate the thermometer in each case. Compared with the LIR, the 1D-CNN reduces the single-spectrum error by about a factor of five, keeps its temperature uncertainty nearly constant down to the lowest temperatures, and remains accurate under deliberate optical misalignment. It also reaches sub-degree accuracy when calibrated over a narrow temperature window and can be calibrated simultaneously for different excitation conditions. These results establish the 1D-CNN as a robust single-shot thermometer and a step toward fast thermometry of single and optically trapped particles.

Experimental Procedure

Sample Preparation and Optical Setup

Two samples of NaYF4_4:Yb3+^{3+},Er3+^{3+} particles were used in this study. Sample A consisted of larger, spherical particles with a diameter of approximately 1 μm. Sample B consisted of smaller nanoparticles with a disk-like morphology (approximated diameter ∼100 nm and thickness ∼55 nm). Both samples were synthesized at INQUIMAE by thermal decomposition of sodium and lanthanide trifluoroacetates dissolved in a mixture of oleic acid and 1-octadecene, [27] with nominal doping of 20 mol% Yb3+^{3+} and 2 mol% Er3+^{3+} in the β-phase host; sizes and morphology were determined by scanning electron microscopy (SEM).

For sample preparation, concentrated colloidal dispersions of these particles in hexane were deposited onto 0.6 mm thick aluminum substrates. The deposition was performed via drop-casting in 10 μL increments, allowing the solvent to fully evaporate between successive drops, until a uniform white coating covering an area of approximately 8 mm × 8 mm was achieved.

The thermal characterization spanned a range from −150 °C to 105 °C using two complementary setups: from −150 °C to 30 °C, the particles were placed inside an optical cryostat equipped with a PID-controlled resistive heater, whereas from room temperature up to 105 °C, an analogous setup was used outside the cryostat with a Peltier element as heater. Excitation was provided by a Ti:Sa laser; incident power densities were estimated from the total beam power and the estimated beam size at the focus of the lens. The resulting luminescence was directed into a commercial CCD spectrometer (Thorlabs CCS200) with a spectral resolution better than 2 nm (FWHM). Representative emission spectra at three temperatures across the cryostat range are shown in Figure 1(A).

Figure 1. Emission analysis and LIR thermometric calibration of NaYF4_4:Yb3+^{3+},Er3+^{3+} particles (Sample A). (A) Luminescence spectra in the visible region (480–720 nm) recorded at three representative sample temperatures. (B) Magnified view of the spectra in the green emission region (510–570 nm) illustrating the thermal evolution of the profiles. (C) Schematic of the integration regions used for the ratiometric method on the spectrum at the highest temperature (30 °C). Area A (515–535 nm) and Area B (536–549 nm) correspond to the numerator and denominator for the LIR calculation, respectively. (D) Deconvolution of the spectral peaks at the minimum temperature using multiple Voigt profiles. Raw data (gray dots), global fit (solid blue line), and individual components are shown, highlighting three specific Stark components in color for tracking. (E) LIR thermometric calibration curve fitted using a Boltzmann physical model with a background offset parameter. (F) Evolution of the full width at half maximum (FWHM) expressed in cm−1^{-1} as a function of temperature for the three highlighted Stark peaks. (G) Thermal dependence of the peak intensity (height) for the same Stark components, reflecting the thermal redistribution of population. For panels (E), (F), and (G), data points represent mean values, and error bars indicate their respective standard deviations. Prior to display in panels (A), (B) and (C), and to the Voigt deconvolution fitting in panel (D), the spectra were normalized using an L2L^2 (Euclidean) norm.

Data Acquisition

Acquisition conditions were varied throughout the study to encompass a wide range of experimental conditions. Temperature sweeps employed both fine and coarse steps, with between 100 and 500 spectra acquired at each setpoint depending on the specific case. Furthermore, the excitation parameters were varied across trials, using different excitation wavelengths and incident power densities, with the latter ranging from 5 W cm−2^{-2} to 300 W cm−2^{-2}. Throughout this work, the reported temperatures correspond to the substrate setpoint; at the higher excitation power densities, laser-induced heating may raise the particle temperature slightly above this value, by an amount that depends on the power density. [18] Additionally, one dataset was acquired by intentionally introducing variable optical misalignment to emulate adverse measurement scenarios, while all other spectra were recorded under optimal alignment to yield a maximum signal-to-noise ratio. Finally, all acquired spectra were normalized by their respective integration times.

To process this spectral data and evaluate the thermometric performance of the particles, two approaches were implemented and compared: the classical Luminescence Intensity Ratio (LIR) and a one-dimensional convolutional neural network (1D-CNN).

LIR Thermometry

The green emission bands of Er3+^{3+} are widely used for ratiometric thermometry. [3, 12] Specifically, the LIR is calculated as the ratio of the integrated luminescence intensities corresponding to the decays from the thermally coupled 2H11/2{}^{2}\mathrm{H}_{11/2} and 4S3/2{}^{4}\mathrm{S}_{3/2} levels to the 4I15/2{}^{4}\mathrm{I}_{15/2} ground state. Figure 1(B) shows a close-up of the green region of the emission spectrum, illustrating the relative intensity variation between these two bands as a function of temperature. As expected, emission from the higher-energy level increases at elevated temperatures as its thermal population grows, whereas emission from the lower-energy level dominates at lower temperatures due to the thermal depopulation of the upper state.

In this work, the LIR was determined by integrating the spectral intensity between 515 nm and 535 nm for the numerator, and between 536 nm and 549 nm for the denominator. This ratio was computed for each individual spectrum at a given temperature. The mean values were then used to calibrate the thermometer by fitting the data to a Boltzmann distribution model (Figure 1(E)), as shown in Eq. (1):

LIR⁡(T)=I515−535I536−549=Aexp⁡(−ΔEkBT)+B(1)\operatorname{LIR}(T)=\frac{I_{515-535}}{I_{536-549}}=A\exp\left(-\frac{\Delta E}{k_{\mathrm{B}}T}\right)+B \tag*{(1)}

where AA is a material-dependent constant governed by the degeneracy of the thermally coupled levels, the spontaneous emission rates, the photon energies of each transition, and the quantum efficiency; ΔE\Delta E is the effective energy gap between the thermally coupled levels; kBk_B is the Boltzmann constant; TT is the absolute temperature of the sample; and BB is an offset constant. The parameters were fitted independently for each dataset, and the resulting values of ΔE\Delta E are reported in the corresponding case studies for comparison with values reported for the 2H11/2{}^{2}\mathrm{H}_{11/2}–4S3/2{}^{4}\mathrm{S}_{3/2} gap in the literature.[12]

A major weakness of classical ratiometric methods is that they use only a small fraction of the available spectral information to extract the temperature. By solely considering the ratio of the integrated emission intensities of two bands, these methods restrict the analysis to a limited spectral region and ignore individual emission peak features, such as width and height, which often exhibit a strong temperature dependence. To illustrate this, a spectral deconvolution of the peaks between 536 nm and 570 nm was performed, as shown in Figure 1(D). From these fits, three peaks were selected to track their full width at half maximum (FWHM) and peak height (intensity) as a function of temperature. The results, presented in Figure 1(F)–(G), demonstrate that both peak width and height exhibit distinct temperature dependencies that could be exploited to develop more accurate thermometers. Notably, several of these features, such as the heights of the selected Stark components (Figure 1(G)), continue to vary markedly below −100 °C, where the 2H11/2{}^{2}\mathrm{H}_{11/2} emission, and with it the sensitivity of the LIR, has essentially vanished. However, formulating a comprehensive physical model to describe the thermal evolution of all these spectral features simultaneously is highly complex, and routine spectral deconvolution can be computationally expensive. Machine learning methods offer an alternative approach to exploit the full potential of the spectral morphology for temperature prediction. Specifically, this work employs a one-dimensional convolutional neural network (1D-CNN), a deep learning algorithm well suited to sequential data such as spectra.[28]

1D-CNN Thermometry

For the training and evaluation of the model, the spectra of each dataset were randomly divided into training (90 %) and test (10 %) subsets at the level of individual spectra, stratified by temperature setpoint. Training and test spectra therefore share the same set of temperature setpoints and acquisition runs, and the reported metrics quantify single-spectrum performance at calibrated temperatures. Interpolation to temperatures absent from the training set is tested separately in § 3.2. Each spectrum was wavelength-aligned by linear interpolation onto a fixed common axis spanning 450–750 nm with 1313 uniformly spaced points. Prior to input to the network, each interpolated spectrum was scaled to unit norm using an L2L^2 (Euclidean) normalizer, which suppresses global intensity fluctuations and makes the model rely on temperature-dependent spectral morphology (relative band amplitudes and linewidths). The network was trained on temperatures in degrees Celsius, whereas the Boltzmann fit (Eq. (1)) was performed in kelvin.

A 1D-CNN regressor was implemented in Python using TensorFlow/Keras.[29, 30] The feature extractor consisted of two convolutional blocks: Conv1D (48 filters, kernel size 5, ReLU) + batch normalization[31] + max pooling (pool size 2), followed by a second Conv1D block (32 filters, kernel size 5, ReLU) + batch normalization + max pooling. The regression head consisted of a flatten layer followed by a dense layer with 192 ReLU units and a dropout layer[32] (rate 0.20), and a final linear neuron for continuous temperature output.

The network was trained for up to 200 epochs with a batch size of 64 using the Adam optimizer[33] (learning rate 1.4×10−41.4 \times10^{-4}) to minimize the mean squared error (MSE), while monitoring the root mean squared error (RMSE) as an additional metric. Training used early stopping on the loss of a validation subset held out from the training data, with a patience of 20 epochs (restoring the best weights) and a learning-rate scheduler (ReduceLROnPlateau) that reduced the learning rate by a factor of 0.5 after 5 epochs without improvement (minimum learning rate 10−710^{-7}).

To select the model hyperparameters, a separate optimization stage was performed using KerasTuner[34] (random search[35]) on the same preprocessed inputs (integration-time normalization, interpolation to the common wavelength grid, and L2L^2 normalization). The search objective was the validation MSE. A total of 30 random hyperparameter configurations were evaluated, and each configuration was trained twice to reduce stochastic variability. Each trial used up to 50 epochs (batch size 32) with early stopping on the validation loss (patience 10, restoring best weights). The explored search space comprised the number of filters in each convolutional layer (16–64 and 32–128), kernel sizes (3–7 and 3–5), layer width (64–256), dropout rate (0.2–0.5), and the Adam learning rate sampled logarithmically between 10−410^{-4} and 10−210^{-2}. The final architecture and training settings reported above correspond to the best-performing hyperparameter set identified by this procedure. The optimization was performed once, on the Sample B dataset (§ 3.2), and the resulting architecture was used unchanged for all case studies.

From a practical standpoint, the computational cost of the 1D-CNN is concentrated in the training phase. Once trained, the model occupies less than 8 MB and predicts the temperature from a single spectrum in approximately 12 ms on a standard laptop CPU (Intel Core i7-1255U, without GPU acceleration), compared with 0.02 ms for the LIR. Although three orders of magnitude slower, this latency is well within the requirements of most real-time monitoring applications and compatible with deployment on low-cost embedded hardware. Moreover, the effective acquisition time of the LIR increases with the number of spectra that must be averaged to reach a comparable uncertainty (§ 3.2).

Case Studies

This section evaluates the performance of the thermometers calibrated under the various experimental conditions investigated. In all case studies, performance is quantified on the held-out test spectra using the prediction residual Tpred−TrefT_{\mathrm{pred}}-T_{\mathrm{ref}}. The aggregate figures of merit used throughout are the mean absolute error (MAE), which captures the typical single-spectrum deviation; the root mean squared error (RMSE), which penalizes occasional large errors more strongly; and the maximum absolute error, which provides a conservative bound on worst-case performance within the sampled conditions. For the first two scenarios, both thermometric approaches are compared directly. Subsequently, having shown the advantages of the machine learning approach in these two scenarios, the 1D-CNN’s performance is explored under specific conditions. Together, these results establish the 1D-CNN as a robust and versatile alternative to conventional ratiometric thermometry in these systems.

Cryogenic Temperature Range

The first case study evaluated the emission spectra of Sample A over a broad thermal range, spanning from cryogenic conditions (−150 ∘C-150\,^{\circ}\mathrm{C}) to room temperature (30 ∘C30\,^{\circ}\mathrm{C}) in 5 ∘C5\,^{\circ}\mathrm{C} increments. Particle excitation was performed using a constant power density of approximately 70 W cm−270\ \mathrm{W\,cm^{-2}} at a wavelength of 976 nm976\ \mathrm{nm}. Approximately 250 spectra were acquired at each temperature setpoint to calibrate two distinct thermometers: one relying on the LIR fitted to a Boltzmann distribution, and another employing a 1D-CNN to predict the temperature directly from the full emission spectrum. For both methods, the same 90:10 split described above was used, with the LIR calibrated on the training subset.

The LIR was calibrated on setpoint-averaged ratios as described in § 2.3, yielding ΔE=661±6 cm−1\Delta E=661\pm6\ \mathrm{cm^{-1}}, whereas both thermometers were evaluated on individual test spectra.

Once the LIR thermometer was calibrated, it was employed to predict the temperature across the dedicated test set. Overall, the classical method yielded an MAE of 5.40 ∘C5.40\,^{\circ}\mathrm{C}, an RMSE of 7.47 ∘C7.47\,^{\circ}\mathrm{C}, and a maximum prediction error exceeding 33 ∘C33\,^{\circ}\mathrm{C}.

The same evaluation was performed on the neural network-based thermometer, yielding an MAE of 1.00 ∘C1.00\,^{\circ}\mathrm{C}, an RMSE of 1.27 ∘C1.27\,^{\circ}\mathrm{C}, and a maximum error of 4.66 ∘C4.66\,^{\circ}\mathrm{C}. The 1D-CNN thus reduces the single-spectrum errors by a factor of about five.

Beyond this overall improvement, Figure 2 displays the residuals of both thermometers as a function of temperature. While the performance of both methods deteriorates at the lowest studied temperatures, this degradation is significantly less severe for the 1D-CNN. This is primarily because, at cryogenic temperatures, the intensity of the emission band corresponding to the LIR numerator approaches the noise level of the detector, causing the ratiometric calculation to lose significant thermal sensitivity. Although the loss of a highly temperature-sensitive spectral feature is also detrimental to the neural network, it is not as severely impacted as the classical thermometer, which relies entirely on this single parameter, because the 1D-CNN employs multiple spectral features simultaneously to make its predictions. This is reflected in the temperature uncertainty δT\delta T, taken as the standard deviation of single-spectrum predictions at each setpoint (error bars in Figure 2): for the LIR it grows from 55 to 20 ∘C20\,^{\circ}\mathrm{C} towards the lowest temperatures, as its relative sensitivity drops, whereas for the 1D-CNN it remains approximately constant at ≲2 ∘C\lesssim2\,^{\circ}\mathrm{C}. The effective sensitivity of the 1D-CNN is thus sustained at low temperature by spectral features, such as the Stark-component heights in Figure 1(G), that remain temperature dependent where the LIR does not.

Comparison of temperature-dependent residuals for the LIR and 1D-CNN thermometers

Figure 2. Comparison of temperature-dependent residuals for (A) the LIR and (B) the 1D-CNN thermometers. Data points represent the mean residual of the test set predictions at each temperature setpoint, with error bars indicating the standard deviation of the residuals at that setpoint.

A closer inspection of the 1D-CNN predictions in Figure 2, however, reveals a slight periodic structure in the residuals near the lowest temperatures of the sweep. We attribute this minor artifact to insufficient training data in this challenging thermal regime. This is sup-

ported by the results of § 3.2: in a comparable measurement on a different sample (Sample B), with twice as many spectra per setpoint and a higher signal-to-noise ratio, no such structure is observed (Figure 3(B)). Nevertheless, the deep learning-based thermometer not only outperforms the classical method in overall metrics, but also serves as a more reliable tool for temperature predictions in these systems at cryogenic temperatures, thereby mitigating a fundamental physical limitation of the LIR method.

Temperature-dependent residuals for the LIR and 1D-CNN thermometric methods

Figure 3. Temperature-dependent residuals for (A) the LIR and (B) the 1D-CNN thermometric methods under optimal alignment and deliberate optical misalignment. For each temperature setpoint, the data points denote the average residual computed from the test set, while the error bars represent the standard deviation of the residuals at that setpoint.

Impact of Optical Misalignment

Another case study evaluated the impact of optical misalignment during spectral acquisition on the performance of the thermometric methods. To address the minor artifacts observed at cryogenic temperatures in the previous section and to facilitate a more intensive training phase for the neural network, the experimental conditions were intentionally modified. In this case, Sample B was used, and excitation was provided at a substantially higher constant power density of approximately 300 W cm−2^{-2} with a wavelength of 976 nm. This higher power density was chosen to substantially improve the signal-to-noise ratio of each individual spectrum. The thermal sweep spanned from −145 °C to 30 °C in 5 °C increments and was conducted twice under distinct optical alignment conditions. The first sweep was performed under optimal alignment to achieve the highest possible signal-to-noise ratio. Subsequently, the procedure was repeated while intentionally introducing random manual misalignments to the optical elements during spectral acquisition. Additionally, the cryostat was mechanically translated to acquire spectra from different regions of the sample. In both scenarios, approximately 500 individual spectra were recorded at each temperature setpoint (roughly double the amount acquired in the previous case), providing a much larger dataset to train the model more thoroughly. The LIR was calibrated on the setpoint-averaged ratios of the aligned training spectra only, whereas the 1D-CNN was trained on both aligned and misaligned training spectra; both thermometers were tested on the same held-out spectra from both conditions.

The Boltzmann fit of the aligned calibration data yielded ΔE=754±3\Delta E = 754 \pm3 cm−1^{-1}. To evaluate the robustness against these adverse conditions, the performance metrics of both thermometers were analyzed separately across the aligned and misaligned datasets, with the temperature-dependent residuals for both scenarios presented in Figure 3. As observed in Figure 3(A), the classical LIR method exhibited severe degradation under suboptimal alignment, with its MAE deteriorating from 1.36 °C to 3.54 °C (a 160% increase) and its RMSE worsening from 2.71 °C to 6.05 °C. It is worth noting, however, that under optimal alignment and within a restricted, non-cryogenic temperature range, the classical LIR method performs remarkably well, achieving an accuracy comparable to that of the neural network.

Yet, this performance is confined to well-controlled experimental conditions and a limited thermal window. As previously noted, the thermal depopulation of the upper energy level at cryogenic temperatures inherently increases prediction uncertainty. While this physical loss of sensitivity broadens the residual spread for both thermometers at the lower end of the thermal sweep, the LIR approach is disproportionately impaired, causing its maximum prediction error to exceed 56 °C.

In contrast, the 1D-CNN residuals depicted in Figure 3(B) demonstrate stable performance across both alignment scenarios. The network’s MAE experienced only a slight increase from 0.58 °C to 0.88 °C, while its RMSE rose moderately from 0.90 °C to 1.18 °C, with a maximum prediction error restricted to 7.89 °C. The benefits of the intensified training and improved signal-to-noise ratio are reflected in these overall metrics, which improved substantially for both methods compared to the previous case study. Notably, the model trained on this larger dataset, which includes both aligned and misaligned spectra, outperformed the model of the previous section even on its misaligned test subset (MAE of 0.88 °C vs. 1.00 °C), consistent with the benefit of a larger training set discussed in § 3.1. Furthermore, no clear periodic structure is observed in the cryogenic residuals, even in the misaligned data. These results confirm that a larger, higher-quality training dataset removes such artifacts. More importantly, the 1D-CNN reaches this accuracy from single spectra, whereas LIR thermometry usually relies on averaging many spectra to improve the signal-to-noise ratio. Given the larger spread of the single-spectrum LIR residuals (Figure 3(A)), the LIR would require averaging of the order of tens of spectra to reach a comparable uncertainty, at the cost of time resolution. A single 1D-CNN calibration covering both alignment conditions therefore provides reliable single-shot readout under suboptimal optical collection.

To verify that the trained 1D-CNN acts as a genuine thermometer (continuous regressor) rather than a discrete temperature classifier, an additional interpolation test was performed using the aligned Sample B dataset.1 Specifically, the network was trained on 90 % of the spectra acquired every 10 °C and then evaluated on a test set comprising all spectra at the intermediate temperatures (offset by 5 °C), which were never seen during training, together with the remaining 10 % of held-out spectra at the trained setpoints. On this combined test set, the model maintains good accuracy, yielding an MAE of 0.80 °C, an RMSE of 1.22 °C, and a maximum absolute error of 7.13 °C. This confirms that the 1D-CNN learns a continuous mapping between spectral morphology and temperature, rather than assigning spectra to a finite set of trained temperature labels.

Extended Temperature Range

Having established the 1D-CNN as a robust tool for developing thermometers from luminescence spectra, subsequent studies focused on specific cases of interest to evaluate the machine learning model’s performance under various experimental conditions.

The first test aimed to extend the operational range of the thermometer beyond room temperature. For this purpose, the luminescence spectra of Sample A were measured as a function of temperature from ambient conditions up to 105 °C in 5 °C increments. These measurements were conducted using an experimental setup analogous to the cryostat configuration, but operating outside the cryostat with a Peltier element as heater. Approximately 150 spectra were acquired at each temperature setpoint under a constant excitation power density of roughly 300 W cm−2^{-2} at a wavelength of 976 nm. The training and testing protocols for the model were the same as in the previous cases. However, the overall dataset employed for this evaluation was constructed by merging the existing cryogenic-to-room-temperature data for these specific particles with the newly recorded

measurements above room temperature. The performance of the 1D-CNN in this scenario can be evaluated through its temperature-dependent residuals, presented in Figure 4(A). The neural network successfully predicts the temperature with relatively uniform accuracy across the entire investigated thermal range. Specifically, this extended calibration yielded an MAE of 1.12 °C, an RMSE of 1.43 °C, and a maximum error of 4.85 °C. These metrics represent marginal increases of only 12 %, 13 %, and 4 %, respectively, when compared to the results obtained from the narrower cryogenic dataset. This slight increase in prediction error is reasonable, considering that it enabled an extension of the thermometer’s upper operational limit by more than 70 °C, ultimately yielding an effective thermometric tool capable of operating over a total span exceeding 250 °C. This demonstrates the neural network’s capability to predict the temperature of these particles over a broad thermal range. Consequently, it emerges as a promising tool for temperature monitoring in scenarios spanning from cryogenic to above-ambient temperatures, achieved at the cost of only a minor reduction in accuracy relative to models trained on narrower temperature windows.

Figure 4. Temperature-dependent residuals of the 1D-CNN predictions across various experimental case studies. (A) Extended operational temperature range. (B) Narrow temperature window evaluated with finer thermal intervals. (C) Evaluation under different excitation pump power densities. (D) Performance across varying excitation wavelengths. In all sub-panels, the data points denote the average residual computed from the test set for each temperature setpoint, while the error bars represent the standard deviation of the residuals at that setpoint.

Narrow Temperature Range

Having observed that extending the operational range of the neural network-based thermometer is possible, albeit at the expense of a slight reduction in prediction accuracy, the question arises as to whether substantially higher accuracy can be achieved by training the model over a narrower temperature range with finer acquisition steps. To address this, luminescence spectra of Sample A were acquired at intervals of approximately 0.5 °C from 25 °C to 30 °C. This experiment used the cryostat setup, maintaining a constant excitation power density of roughly 70 W cm−2^{-2} at a wavelength of 976 nm. Approximately 250 spectra were recorded at each temperature setpoint.

The model was trained and tested as in the previous cases, yielding the temperature-dependent residuals presented in Figure 4(B). The 1D-CNN exhibits excellent and uniform performance across this restricted range, reflected by an MAE of 0.21 °C, an RMSE of 0.26 °C, and a maximum error of 0.82 °C. These values represent an approximate 80 % reduction across all three error metrics when compared to the broader cryogenic case studied in § 3.1. This demonstrates that the machine learning approach is capable of sub-degree accuracy when calibrated over a narrow thermal window with adequately fine intervals. Such high-resolution capabilities are particularly valuable for biological applications, which typically require this level of thermometric precision in environments near room or physiological temperatures.

Different Pump Power Densities

Another relevant question for practical applications is how the 1D-CNN responds to spectra acquired under varying excitation laser power densities. It has been experimentally observed that the spectral morphology can change as a function of excitation power density. [13, 36] Developing a thermometer independent of excitation intensity is highly desirable for several reasons. For instance, excitation lasers may exhibit power drifts over time, or in dynamic systems, particles might move across the spatial profile of the laser beam, thereby experiencing fluctuations in the effective excitation intensity. To evaluate the thermometer’s performance under such circumstances, three power densities were considered: 5 W cm−25\ \mathrm{W\,cm^{-2}}, 40 W cm−240\ \mathrm{W\,cm^{-2}}, and 70 W cm−270\ \mathrm{W\,cm^{-2}}. The

70 W cm−270\ \mathrm{W\,cm^{-2}} spectra are exactly the same dataset previously introduced in § 3.1, and were merged with spectra from two analogous thermal sweeps acquired at 40 W cm−240\ \mathrm{W\,cm^{-2}} and 5 W cm−25\ \mathrm{W\,cm^{-2}}. For these newly introduced measurements, approximately 250 spectra were acquired at each temperature setpoint.

The temperature-dependent residuals for the model’s predictions in this scenario, trained and tested as in the previous cases, are presented in Figure 4(C). The observed performance closely mirrors that of previous evaluations with analogous thermal sweep ranges, demonstrating consistent and uniform accuracy across the investigated temperatures. Specifically, this calibration yielded an MAE of 1.09 °C, an RMSE of 1.45 °C, and a maximum prediction error of 7.93 °C. The maximum error was the only metric to exhibit a considerable increase, rising by 70 % compared to the baseline cryogenic case detailed in Section 3.1. Nevertheless, the remaining metrics increased only marginally, showing that a single model trained on spectra from several power densities provides an accurate calibration across that range. This requires the relevant power densities to be represented in the training set: when applied to spectra at a power density not included in training, the model’s predictions still vary monotonically with temperature but show a systematic calibration offset (data not shown).

Different Pump Wavelengths

A practical thermometer may also need to operate at different pump wavelengths, which can arise from laser retuning, mode hopping, or differences between experimental platforms. In lanthanide-doped upconversion systems, variations in pump wavelength can modify absorption efficiency, the relative population pathways, and the resulting spectral shape. While the L2L^2 normalization used here removes global intensity changes, wavelength-dependent changes in spectral morphology can still challenge model generalization. As a final, exploratory case study, luminescence spectra of Sample A were acquired at five temperature setpoints ranging from −140 ∘C-140\,^\circ\mathrm{C} to 20 ∘C20\,^\circ\mathrm{C} in 40 ∘C40\,^\circ\mathrm{C} increments. At each setpoint, approximately 100 spectra were recorded under three distinct excitation wavelengths: 971 nm, 976 nm, and 981 nm.

The model was trained and tested following the same methodology as in previous cases, albeit with a much sparser temperature dataset. The resulting temperature-dependent residuals for this scenario are presented in Figure 4(D). Although the thermometer’s performance is noticeably lower than in previous evaluations, the adverse nature of this dataset must be considered. The model was trained and tested using spectra acquired at only five widely spaced temperature setpoints, so these metrics should be read with this coarse sampling in mind. Furthermore, the majority of these spectra were recorded at excitation wavelengths detuned from the particles’ primary absorption peak, which resulted in a substantially weaker emission signal and a lower signal-to-noise ratio.

Under these conditions, the model yielded an MAE of 2.08 ∘C2.08\,^\circ\mathrm{C}, an RMSE of 2.63 ∘C2.63\,^\circ\mathrm{C}, and a maximum error of 7.94 ∘C7.94\,^\circ\mathrm{C}. These results show that a single 1D-CNN can be calibrated simultaneously for several excitation wavelengths, provided that spectra at each wavelength are included in the training set and a measurable luminescence signal is maintained.

Conclusion

We have shown that a one-dimensional convolutional neural network trained on normalized emission spectra provides an accurate and robust thermometer for NaYF4:Yb3+,Er3+\mathrm{NaYF}_4:\mathrm{Yb}^{3+},\mathrm{Er}^{3+} upconversion micro- and nanoparticles from −150 ∘C-150\,^\circ\mathrm{C} to 105 ∘C105\,^\circ\mathrm{C}. In the two scenarios where both methods were compared directly, the 1D-CNN outperformed the conventional LIR, particularly at cryogenic temperatures, where the emission from the 2H11/2{}^2\mathrm{H}_{11/2} level approaches the detector noise floor, and under deliberate optical misalignment. By exploiting the full spectral morphology, including Stark-component features that remain temperature dependent where the LIR loses its sensitivity, the network keeps its temperature uncertainty nearly constant over the whole range and reaches this accuracy from single spectra, whereas the LIR would require averaging of many spectra. We further showed that the thermometer can be extended to a span exceeding 250 ∘C250\,^\circ\mathrm{C} at a modest cost in accuracy, reaches sub-degree accuracy over a narrow window, and that a single model can be calibrated across different excitation conditions (pump power and wavelength).

These conditions were reproduced here with particle ensembles to mimic the weak and fluctuating signals encountered with single particles and optically trapped particles. The natural next step is to apply this approach to single particles, both on substrates and in optical traps, where it could substantially shorten the integration times currently required for single-particle thermometry and help account for particle-to-particle variations of the emission spectra.

Acknowledgement

Acknowledgement This work was supported by the Office of Naval Research Global (ONR Global) under Award No. N62909-25-1-2030 and by Universidad de Buenos Aires under Grants No. UBACyT 2023 (20020220200119BA) and No. UBACyT 2026 (20020250300102BA). We thank David Sartor Maurino and Marco García Novarini for upgrades of the cryostat, and Carlos Acha for providing the cryostat.

References

  1. [1]Brites, C. D. S.; Lima, P. P.; Silva, N. J. O.; Millán, A.; Amaral, V. S.; Palacio, F.; Carlos, L. D. Thermometry at the nanoscale. Nanoscale 2012, 4, 4799–4829.
  2. [2]Jaque, D.; Vetrone, F. Luminescence nanothermometry. Nanoscale 2012, 4, 4301–4326.DOI
  3. [3]Vetrone, F.; Naccache, R.; Zamarrón, A.; Juarranz de la Fuente, A.; Sanz-Rodríguez, F.; Martínez Maestre, L.; Martín Rodríguez, E.; Jaque, D.; García Solé, J.; Capobianco, J. A. Temperature Sensing Using Fluorescent Nanothermometers. ACS Nano 2010, 4, 3254–3258.DOI
  4. [4]Brites, C. D. S.; Balabhadra, S.; Carlos, L. D. Lanthanide-Based Thermometers: At the Cutting-Edge of Luminescence Thermometry. Advanced Optical Materials 2019, 7, 1801239.
  5. [5]Wade, S. A.; Collins, S. F.; Baxter, G. W. Fluorescence intensity ratio technique for optical fiber point temperature sensing. Journal of Applied Physics 2003, 94, 4743–4756.DOI
  6. [6]Suta, M.; Meijerink, A. A Theoretical Framework for Ratiometric Single Ion Luminescent Thermometers—Thermodynamic and Kinetic Guidelines for Optimized Performance. Advanced Theory and Simulations 2020, 3, 2000176.DOI
  7. [7]Jandar, C. N.; Fernández, G. R.; Aguilar, A. M.; Prado, A.; Grosz, D. F.; Martínez, E. D. Improved Temperature Sensing in Upconversion Fiber-Optic Probes via Spectral Modulation by Cladding Removal. ACS Applied Optical Materials 2025, 3, 91–101.DOI
  8. [8]Debasu, M. L.; Ananias, D.; Pastoriza-Santos, I.; Liz-Marzán, L. M.; Rocha, J.; Carlos, L. D. All-In-One Optical Heater-Thermometer Nanoplatform Operative From 300 to 2000 K Based on Er³⁺ Emission and Blackbody Radiation. Advanced Materials 2013, 25, 4868–4874.DOI
  9. [9]Brites, C. D. S.; Martínez, E. D.; Urbano, R. R.; Rettori, C.; Carlos, L. D. Self-Calibrated Double Luminescent Thermometers Through Upconverting Nanoparticles. Frontiers in Chemistry 2019, 7, 267.DOI
  10. [10]Kilbane, J. D.; Chan, E. M.; Monachon, C.; Borys, N. J.; Levy, E. S.; Pickel, A. D.; Urban, J. J.; Schuck, P. J.; Dames, C. Far-field optical nanothermometry using individual sub-50 nm upconverting nanoparticles. Nanoscale 2016, 8, 11611–11616.DOI
  11. [11]Hyppänen, I.; Perälä, N.; Arppe, R.; Schäferling, M.; Soukka, T. Environmental and Excitation Power Effects on the Ratiometric Upconversion Luminescence Based Temperature Sensing Using Nanocrystalline NaYF₄:Yb³⁺,Er³⁺. ChemPhysChem 2017, 18, 692–701.DOI
  12. [12]Geitenbeek, R. G.; Prins, P. T.; Albrecht, W.; van Blaaderen, A.; Weckhuysen, B. M.; Meijerink, A. NaYF₄:Er³⁺,Yb³⁺/SiO₂ Core/Shell Upconverting Nanocrystals for Luminescence Thermometry up to 900 K. The Journal of Physical Chemistry C 2017, 121, 3503–3510.DOI
  13. [13]Martinez Maestro, L.; Antón, M. A.; Cabrera-Granado, E.; Weigand, R.; Hernandez-Rueda, J. Intrinsic Optical Response of Levitating Upconverting Single Particles. ACS Photonics 2025, 12, 1783–1792.DOI
  14. [14]Rahman, A. T. M. A.; Barker, P. F. Laser refrigeration, alignment and rotation of levitated Yb³⁺:YLF nanocrystals. Nature Photonics 2017, 11, 634–638.DOI
  15. [15]Luntz-Martin, D. R.; Felsted, R. G.; Dadras, S.; Pauzauskie, P. J.; Vamivakas, A. N. Laser refrigeration of optically levitated sodium yttrium fluoride nanocrystals. Optics Letters 2021, 46, 3797.
  16. [16]Rodríguez-Sevilla, P.; Arita, Y.; Liu, X.; Jaque, D.; Dholakia, K. The Temperature of an Optically Trapped, Rotating Microparticle. ACS Photonics 2018, 5, 3772–3778.
  17. [17]Possmayer, T.; Pessoa, A. R.; Galindo, J. A. O.; dos Santos, L. F.; Gonçalves, R. R.; Amaral, A. M.; Menezes, L. d. S. Boltzmann Thermometry at Cryogenic Temperatures Exploiting Stark Sublevels in Er³⁺/Yb³⁺-Codoped Yttrium Oxide Nanoparticles. ACS Applied Materials & Interfaces 2026, 18, 7249–7257.DOI
  18. [18]Pickel, A. D.; Teitelboim, A.; Chan, E. M.; Borys, N. J.; Schuck, P. J.; Dames, C. Apparent self-heating of individual upconverting nanoparticle thermometers. Nature Communications 2018, 9, 4907.DOI
  19. [19]Zharkov, D. K.; Leontyev, A. V.; Shmelev, A. G.; Nurtdinova, L. A.; Chuklanov, A. P.; Nurgazizov, N. I.; Nikiforov, V. G. Upconversion Luminescence Response of a Single YVO₄:Yb, Er Particle. Micromachines 2023, 14, 1075.DOI
  20. [20]Gavrilović, T.; Đorđević, V.; Periša, J.; Medić, M.; Ristić, Z.; Ćirić, A.; Antić, Ž.; Dramićanin, M. D. Luminescence Thermometry with Eu³⁺-Doped Y₂Mo₃O₁₂: Comparison of Performance of Intensity Ratio and Machine Learning Temperature Read-Outs. Materials 2024, 17, 5354.DOI
  21. [21]Xu, W.; Xu, C.; Cui, J.; Hu, C.; Wen, G.; Zheng, L.; Zhang, Z.; Sun, Z.; Zhang, Y. Luminescence thermometry driven by a support vector machine: a strategy toward precise thermal sensing. Optics Letters 2024, 49, 606–609.DOI
  22. [22]Polikovskiy, T. A.; Gontcharenko, V. E.; Korshunov, V. M.; Metlin, M. T.; Metlina, D. A.; Samsonov, S. V.; Belousov, Y. A.; Brites, C. D. S.; Carlos, L. D.; Taydkov, I. V. Combining materials design and deep learning: AI-enhanced luminescence thermometry with a novel Eu³⁺/Tb³⁺ polymeric coordination compound. Materials Chemistry Frontiers 2025, 9, 3443–3459.DOI
  23. [23]Cui, J.; Xu, W.; Yao, M.; Zheng, L.; Hu, C.; Zhang, Z.; Sun, Z. Convolutional neural networks open up horizons for luminescence thermometry. Journal of Luminescence 2023, 256, 119637.DOI
  24. [24]Xu, W.; Cui, J.; Bai, F.; Zheng, L.; Hu, C.; Zhang, Z.; Sun, Z.; Zhang, Y. Convolutional neural networks driving thermally enhanced upconversion luminescence for temperature sensing: achieving high accuracy and robustness across a wide temperature range. Journal of Materials Chemistry C 2023, 11, 15233–15245.DOI
  25. [25]Ćirić, A.; Ristić, Z.; Gavrilović, T.; Rajičić, A.; Đurković, S.; Antić, Ž.; Dramicanin, M. D. SpectraSensML Software: Mastering Complete Spectral Information for Luminescence Thermometry 2.0. Machine Learning and Knowledge Extraction 2026, 8, 238.DOI
  26. [26]Xu, W.; Li, W.; Cui, J.; Hu, C.; Zheng, L.; Zhang, Z.; Sun, Z. Ultrarobust and Precise Luminescence Thermometry Enabled by the Combination of Re-assembled Emission Spectra With Denoising Neural Network. Laser & Photonics Reviews 2025, 19, 2401956.
  27. [27]Ye, X.; Collins, J. E.; Kang, Y.; Chen, J.; Chen, D. T. N.; Yodh, A. G.; Murray, C. B. Morphologically controlled synthesis of colloidal upconversion nanophosphors and their shape-directed self-assembly. Proceedings of the National Academy of Sciences 2010, 107, 22430–22435.DOI
  28. [28]Kiranyaz, S.; Avci, O.; Abdeljaber, O.; Ince, T.; Gabbouj, M.; Inman, D. J. 1D convolutional neural networks and applications: A survey. Mechanical Systems and Signal Processing 2021, 151, 107398.arxiv.org/abs/1905.03554
  29. [29]Abadi, M.; Agarwal, A.; Barham, P.; Brevdo, E.; others TensorFlow: Large-Scale Machine Learning on Heterogeneous Distributed Systems. 2016.arxiv.org/abs/1603.04467
  30. [30]Chollet, F.; others Keras. https://keras.io, 2015.
  31. [31]Ioffe, S.; Szegedy, C. Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift. Proceedings of the 32nd International Conference on Machine Learning. 2015; pp 448–456.
  32. [32]Srivastava, N.; Hinton, G.; Krizhevsky, A.; Sutskever, I.; Salakhutdinov, R. Dropout: A Simple Way to Prevent Neural Networks from Overfitting. Journal of Machine Learning Research 2014, 15, 1929–1958.
  33. [33]Kingma, D. P.; Ba, J. Adam: A Method for Stochastic Optimization. 2014.arxiv.org/abs/1412.6980
  34. [34]O’Malley, T.; Burszstein, E.; Long, J.; Chollet, F.; Jin, H.; Invernizzi, L.; others KerasTuner. https://github.com/keras-team/keras-tuner, 2019.
  35. [35]Bergstra, J.; Bengio, Y. Random Search for Hyper-Parameter Optimization. Journal of Machine Learning Research 2012, 13, 281–305.
  36. [36]Bujjamer, J. M.; Marchi, M. C.; Barja, B. C.; Grecco, H. E. Luminescent materials as spectral converters: Power dependent profiling of solid NaYF₄: Yb³⁺, Er³⁺ UCNP reveals highly efficient UVA-Blue emission. Energy Reports 2020, 6, 63–69.

Paper details

vlnc:W_f2k6waxh
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 4

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents