4.2. Comparative Analysis of Color Prediction Based on the GWOAD-LSTM Model
In our study, optically simulated aging experiments were conducted on six pigments: lead red, lithargite, rouge, cinnabar, azurite, and malachite. The hue (h), lightness (L), and chroma (C) were predicted for each pigment.
Table 3 presents the training accuracy of the BPNN, LSTM, GWO-LSTM, and GWOAD-LSTM models and contains the results of RMSE, MAE, and MAPE for the hue (h).
Figure 10 shows the results of the comparison between the six pigments’ predicted hues.
From the graphs, for the hue (h) of six pigments, the BPNN model achieved an average RMSE of 1.0466, MAE of 0.5586, and MAPE of 4.7455%. The LSTM model achieved an average RMSE of 0.8651, MAE of 0.4596, and MAPE of 3.8529%. The GWO-LSTM model achieved an average RMSE of 0.5761, MAE of 0.3067, and MAPE of 2.2265%. The GWOAD-LSTM model demonstrated the best performance, with an average RMSE of 0.4190, MAE of 0.2324, and MAPE of 1.5849%. Our proposed optimized GWOAD-LSTM model had a higher accuracy of the training set than the other models. The RMSE decreased by 59.97%, 51.57%, and 27.27% on average; the MAE decreased by 58.40%, 49.43%, and 20.25% on average; and the MAPE decreased by 66.60%, 58.86%, and 28.82% on average compared with those from the BPNN, LSTM, and GWO-LSTM models, respectively. Thus, the GWOAD-LSTM model was better than the BPNN, LSTM, and GWO-LSTM models in terms of the accuracy for capturing the training samples with respect to the hue (h) when multiple data were processed.
Based on the test set in the prediction of hue (h), the BPNN model achieved an average RMSE of 1.5548, MAE of 1.3269, and MAPE of 7.2633%. The LSTM model achieved an average RMSE of 0.9749, MAE of 0.7655, and MAPE of 3.9823% for the same prediction task. The GWO-LSTM model achieved an average RMSE of 0.7446, MAE of 0.5903, and MAPE of 2.3042%. Our proposed optimized GWO-LSTM model achieved an average RMSE of 0.4982, MAE of 0.3876, and MAPE of 1.7974%. Our proposed optimized GWOAD-LSTM model had a higher prediction accuracy than the other models. The values decreased by 67.96%, 48.90%, and 33.09% on average for RMSE; by 70.79% 49.37%, and 34.34% on average for MAE; and by 75.25%, 54.87%, and 21.99% on average for MAPE compared with those from the BPNN, LSTM, and GWO-LSTM models, respectively. As a result, GWOAD-LSTM’s prediction accuracy of the hue h was closer to the real value than the BPNN model, LSTM model, and GWO-LSTM model.
Based on the above, the GWOAD-LSTM model outperformed the BPNN, LSTM, and GWO-LSTM models in terms of data capture and prediction accuracy for the hue (h) prediction of the six pigments. This superiority was particularly evident in the prediction for the rouge and cinnabar pigments.
Table 4 shows the RMSE, MAE, and MAPE errors for the prediction of lightness (L) for the six pigments using the BPNN, LSTM, GWO-LSTM, and GWOAD-LSTM models;
Figure 11 shows the comparison of the predicted lightness (L) for the six pigments. From the graphs, the GWOAD-LSTM model decreased the mean values of RMSE by 69.15%, 58.89%, and 18.78%; MAE by 64.09%, 58.38%, and 19.66%; and MAPE by 69.97%, 59.37%, and 21.01%, respectively, compared with those from the BPNN, LSTM, and GWO-LSTM models. The time series training accuracy of our proposed GWOAD-LSTM model was higher than those of the BPNN, LSTM, and GWO-LSTM models in terms of brightness L.
In terms of the prediction accuracy of L, from the test set in the table, it can be seen that our proposed optimized GWOAD-LSTM model had a higher prediction accuracy than the other models. The values decreased by 67.84%, 69.34%, and 17.04% on average for RMSE; by 72.86%, 71.96%, and 15.70% on average for MAE; and by 74.79%, 72.93%, and 29.25% on average for MAPE, when compared with those from the BPNN, LSTM, and GWO-LSTM models, respectively. As a result, the prediction accuracy in the lightness L was closer to the true value than the former three models.
In summary, our proposed GWOAD-LSTM model showed greater advantages in the training and prediction of two pigments, rouge (L) and azurite (L). Overall, in terms of the training and prediction accuracy for the lightness (L) of all six pigments, our GWOAD-LSTM model outperformed the BPNN, LSTM, and GWO-LSTM models.
Table 5 shows the RMSE, MAE, and MAPE results of the six pigments for predicting chroma C.
Figure 12 shows the comparison results of the six pigments for predicting C. As a result, the average RMSE of our proposed GWOAD-LSTM model was 52.34%, 40.22%, and 8.80% lower in the training set compared with those from the BPNN, LSTM, and GWO-LSTM models, respectively; the average MAE was 52.75%, 39.17%, and 9.28% lower, respectively; and the average MAPE was 46.45%, 34.99%, and 8.82% lower, respectively. In summary, the GWOAD-LSTM model had higher accuracy in training data capture.
Furthermore, in terms of data prediction, as a result, the GWOAD-LSTM model reduced the average RMSE by 69.96%, 39.02%, and 28.23%; the average MAE by 76.49%, 48.55%, and 28.23%; and the average MAPE by 68.84%, 47.60%, and 28.23% compared with those from the BPNN, LSTM, and GWO-LSTM models, respectively. Thus, the GWOAD-LSTM model was closer to the original data in terms of time series prediction.
Overall, when predicting the time series variation in chroma (C), our GWOAD-LSTM model outperformed the three previous models in terms of both training and prediction accuracy in the time series. This was particularly evident in accurately capturing data trends for the lead red, lithargite, and rouge pigments.
In summary, as shown in
Figure 13 and
Figure 14, taking lead red as an example, the results predicted by the BPNN model and LSTM model for the six pigments’ hLC optical change deviated from the actual results, and the prediction effect was gradually worsened as the time series increased; the GWO-LSTM model was slightly worse in the prediction accuracy and had the above phenomenon of gradually increasing prediction error; however, our proposed GWOAD-LSTM model had a larger overlap with the actual values in both training data and prediction data, the prediction effect was more ideal, and no phenomenon of the prediction effect becoming worse as the time series increased was observed. These were apparent advantages.
According to the color blocks in
Table 6, rouge had the largest variation. The different models had deviations in predicting the color of the color blocks. The predicted color of the BPNN model and the LSTM model had larger differences from the actual color. The GWO-LSTM model performed slightly better in prediction, but noticeable color differences were observed. In contrast, our proposed GWOAD-LSTM model demonstrated less color difference and better color reconstruction accuracy for rouge.
Table 7 shows the average prediction results of the color gamut data for the six pigment test sets. The BPNN model and the LSTM model had lower color prediction accuracy, especially in the rouge color reconstruction with higher color differences. The GWO-LSTM model and GWOAD-LSTM model had good prediction results, among which our proposed GWOAD-LSTM model performed better in terms of color difference and has higher color reconstruction accuracy.
From the scatter plot analysis, the BPNN model had poor data capturing accuracy, the LSTM model exhibited weak data fitting amplitude, and the GWO-LSTM model showed low prediction accuracy in the peak. However, our GWOAD-LSTM model outperformed the other three models in terms of the above aspects. In particular, when applied to light-sensitive pigments, such as lead red, lithargite, and rouge, our GWOAD-LSTM model demonstrated superior prediction accuracy and generalization capability when compared to the BPNN, LSTM, and GWO-LSTM models. Additionally, the GWOAD-LSTM model slightly outperformed the other three models in the prediction accuracy for cinnabar, azurite, and malachite pigments, which had slighter hLC variations, where the color variations were relatively smaller. Therefore, our proposed GWOAD-LSTM model exhibited higher prediction accuracy and better generalization ability, particularly for pigments with larger color variations.
4.3. Fade Analysis of the Pigment Color Blocks
① Lead Red: In the simulated aging fading, from
Figure 10a,
Figure 11a, and
Figure 12a, the lightness (L) decreased from 64.5 to 57.3, the chroma (C) decreased from 75.1 to 57.8, and the hue (h) decreased during 20–250 h, increased during 250–370 h, and gradually decreased from 570 h. This analysis shows the following: As shown in
Figure 7, the experimental light source did not show a spectral response in the longer wavelength range; its spectral response was mainly located in the 290–450 nm shorter wavelength range, which had a higher spectrum amplitude energy and was more easily excited. Wavelengths primarily in the range of 610–700 nm corresponded to lead red excitation; lead read is mainly composed of Pb
3O
4. Under long-term constant temperature and humidity conditions, high-energy blue-green light was absorbed to generate PbO
2, resulting in a decrease in lightness and chroma. Additionally, an overall yellowing and darkening occurred in the gelatin due to its absorption of high-energy spectra. However, the increase in hue between 250 and 370 h could be attributed to the decomposition of gelatin resulting from the absorption of a large amount of high-energy blue-green light. After 570 h, an overall shift toward a dark red hue occurred.
② Lithargite: In the simulated aging fading, as can be observed from
Figure 11b, a nearly linear decrease in lightness (L) with a magnitude of 10 was observed. Lithargite underwent a transformation from PbO to PbO
2 with formation of a small amount of PbCO
3·Pb(OH)
2 [
7], resulting in an overall decrease in lightness. From
Figure 10b and
Figure 12b, the hue (h) increased from 71.5 to 73 during 0–220 h, while the chroma (C) sharply decreased during the same period and exhibited a relatively slow decline after 220 h. A substantial amount of short-wavelength blue light was absorbed by both lithargite and gelatin during this period, as indicated by their significant reflectance in the wavelength range of 570–670 nm. As a result, the gelatin underwent decomposition, leading to a shift toward a blue-green hue in the overall chromaticity.
③ Rouge: Rouge is a commonly used natural pigment with unstable properties that is prone to fading under prolonged exposure [
4]. As shown in
Figure 11c, a significant increase in lightness (L) with a value of 25.1 was exhibited by rouge during 400–600 h under simulated sunlight irradiation, resulting in an overall phenomenon of whitening and fading. From
Figure 10c and
Figure 12c, a downward trend followed by a slight upward trend was observed in the hue (h), with a decrease from 24.8 to 3.9 and then an increase to 17.2. The overall hue gradually shifted from deep red to bluish-red. The chroma (C) demonstrated a decreasing trend with a value of 22.3. The experimental light source used in this study had a low spectral response in the range of 600–700 nm, leading to the prolonged absorption of high-energy blue-green light. Due to this long-term absorption, the red longer wavelength spectrum absorption was low, resulting in the aging and decomposition of gelatin, fading of rouge, and an overall lighter color.
④ Cinnabar: Cinnabar is also in the red family, but it is relatively stable. Its main component is mercury sulfide, a hexagonal crystal system, and its crystals are plate-like or rhombic [
7]. When heated, a transformation of the crystal structure to a cubic (isometric) crystal system with a sphalerite-type structure occurred, resulting in dimming of the lightness. Upon cooling, the original structure was restored. From
Figure 10d and
Figure 12d, an increase in hue (h) from 29 to 34 was observed, while the chroma (C) decreased from 42.5 to 38. Some dark cinnabar was produced, and gelatin decomposition occurred; however, the overall degree of color change was not evident.
⑤ Azurite and malachite: Both pigments are derivatives of Cu ions, with the molecular formulas Cu(OH)
2(CO
3)
2 for azurite and Cu
2CO
3(OH)
2 for malachite. Azurite is a companion mineral that forms together with malachite, surrounding the inner malachite, and they have similar chemical compositions [
21]. From
Figure 10, the hue (h) of azurite insignificantly decreased with a value of 2.1, and the hue (h) of malachite increased to a value of 15.3. From
Figure 11, the overall lightness of malachite and azurite was more stable and less affected by external influences. In
Figure 12e,f, there was a slight decrease in chroma (C) for both azurite and malachite, with a decrease of 3 and 6.7, respectively. These pigments reflected more to the blue and green wavelengths. In addition, the experimental light source had low yellow and red content, resulting in lower energies of medium and long wavelengths. Thus, the overall color change in the cyan pigment was small after absorbing a large amount of low-energy radiation. However, the hue (h) of malachite tended to be closer to cyan under prolonged light irradiation. The shortwave radiation was absorbed more by the green pigment than by the cyan pigment, resulting in a relatively larger change in hue (h).
In summary, red and yellow pigments were prone to chemical reactions and physical structure changes due to prolonged light irradiation, resulting in much more complex color appearance changes and larger data fluctuations compared to the cyan pigments.
Figure 15a shows the average color difference
comparison of all models across the entire time series. In terms of overall color difference comparison, especially for light-sensitive pigments, the GWOAD-LSTM model had better fitting long-term trends and more accurate data capture compared to the BPNN, LSTM, and GWO-LSTM models. As shown in
Figure 15b, the GWOAD-LSTM model had the smallest color difference and outperformed the previous three models in terms of color gamut prediction, indicating that our proposed model could effectively handle short-term data fluctuations and had higher prediction accuracy. At the same time, there were many factors, such as noise, in the original data, which caused the GWOAD-LSTM composite model to predict the effect of pigment fading with a slight error from the real value, but the overall prediction accuracy was better. Therefore, our proposed GWOAD-LSTM model was feasible in the field of practical pigment fading simulation prediction and rare painting restoration.