A water body molecular parameter estimation method based on absorption spectrum and hydroclimate state constraint
By combining ultraviolet-visible absorption spectroscopy and hydro-climatic information into a hierarchical multi-output estimation model, the problem of bias in DOM molecular composition estimation under different hydro-climatic conditions in Northeast China was solved. This enabled high-frequency, low-cost monitoring of DOM molecular composition parameters and improved the model's applicability and output consistency.
Patent Information
- Application Number
- CN202611320425.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-28
- Publication Date
- 2026-11-24
AI Technical Summary
Existing technologies are insufficient to effectively estimate the molecular composition of dissolved organic matter (DOM) in water bodies under different hydrological and climatic stages in Northeast China, and lack a process for determining the applicable domain of the model, resulting in problems such as estimation bias and high costs.
By acquiring ultraviolet-visible absorption spectral data and hydro-climate state information, and combining a hierarchical multi-output estimation model, algorithms such as partial least squares regression, random forest, gradient boosting tree, support vector regression, and neural networks are used to estimate the molecular composition parameters of the DOM. Furthermore, hydro-climate stage discrimination and applicable domain discrimination processes are introduced to ensure the consistency and reliability of the model output.
It improves the accuracy of DOM molecular composition parameter estimation under different hydrological and climatic conditions, reduces the detection frequency of FT-ICR MS, supports high-frequency surface water monitoring, outputs estimation results with uncertainty, and avoids unreasonable results and spatial information leakage from model output.
Smart Images

Figure CN123155462A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of water environment monitoring, environmental spectral analysis and high-resolution mass spectrometry data modeling, specifically a method for estimating water body molecular parameters based on absorption spectroscopy and hydro-climate state constraints. Background Technology
[0002] Dissolved organic matter (DOM) in water bodies is composed of a large number of organic molecules with different structures and reactivity, directly affecting the carbon cycle, light environment, pollutant migration and transformation, and the occurrence state of precursors for disinfection byproducts. Fourier transform ion cyclotron resonance mass spectrometry (FT-ICR MS) can perform molecular formula identification of thousands of precise mass peaks. Based on the identification results, the elemental ratios, double bond equivalents, corrected aromaticity index, average carbon oxidation state, and proportion parameters of various molecular categories of DOM can be calculated. However, this detection method requires solid-phase extraction pretreatment, ultra-high resolution mass spectrometry instruments, and complex data processing procedures, resulting in high detection costs and long sample turnaround times, making it unsuitable for high-frequency, large-scale routine surface water monitoring.
[0003] Ultraviolet-visible absorption spectroscopy can quickly obtain the absorption coefficient and spectral characteristics of DOM samples. Existing studies have confirmed the correlation between the optical properties of DOM and the molecular composition parameters obtained from FT-ICR MS, indicating that it is feasible to estimate some DOM molecular composition indicators based on optical information. Northeast China experiences concentrated rainfall and prolonged cold periods. Snowmelt, ice melt, pre-concentration soil moisture, and the initial scouring effect of heavy rainfall all alter the input flux of terrestrial organic matter and the transformation process of organic matter within water bodies. The same absorption coefficient value corresponds to different DOM molecular compositions under different hydrological and climatic conditions. Constructing only the correlation between static optical parameters and mass spectrometry parameters or a general regression model will introduce systematic estimation biases during rainfall events and freeze-thaw transitions.
[0004] Existing publicly available technical solutions rarely take into account the constraints of multiple hydrological and climatic stages in Northeast China and the technical problem of consistent output control of multiple output parameters in compositional models. There is a lack of a complete method to estimate the molecular composition parameters of DOM under the joint constraints of spectral characteristics and hydrological and climatic environmental factors. At the same time, there is a lack of a discrimination process for whether the sample to be tested falls within the applicable domain of the model, and it is impossible to give a retest prompt for samples that are outside the applicable range of the model. Summary of the Invention
[0005] The purpose of this invention is to provide a method for estimating water molecular parameters based on absorption spectroscopy and hydro-climate constraints, in order to solve the problems existing in the prior art.
[0006] To achieve the above objectives, the present invention provides the following technical solution: a method for estimating molecular parameters of water bodies based on absorption spectroscopy and hydro-climate state constraints, comprising the following steps:
[0007] (1) Obtain the ultraviolet-visible absorption spectrum data of the water sample in the 200nm-800nm band, and obtain the rainfall data, temperature data and freeze-thaw status data corresponding to the sampling time and sampling location of the water sample; the water body is surface water in Northeast China, which includes Heilongjiang Province, Jilin Province, Liaoning Province and eastern Inner Mongolia Autonomous Region; the surface water includes at least one of rivers, lakes and reservoirs;
[0008] (2) Blank subtraction, 700nm neighborhood baseline correction, and anomalous scattering identification were performed on the absorption spectral data. The wavelength was calculated using the following formula. Position absorption coefficient :
[0009]
[0010] In the formula, wavelength Measured absorbance at the specified location; Absorbance at 700nm; For spectral detection of optical path length;
[0011] Spectral data with negative absorption, abnormal scattering slope, and exceeding the linear range of the instrument are removed to generate an optical feature vector; the optical feature vector includes at least two of a254, a280, a350, and a440, at least one of S275–295, S300–400, SR, E2 / E3, and E4 / E6, as well as a first-order difference spectral shape feature normalized by the total absorption area or the absorption coefficient of the selected wavelength;
[0012] (3) Select at least two pre-sampling time windows of different durations to perform cumulative calculations on the rainfall data. The time windows are selected from days 1-3, 4-7, and 8-30. Calculate the rainfall pulse index (API) according to the following formula:
[0013]
[0014] In the formula, The day before the sampling date Daily rainfall; The decay time constant determined for the training samples; The maximum number of days corresponding to the time window;
[0015] The hydroclimatic stage is determined by obtaining the previous humidity index, relying on temperature data, freeze-thaw status data, positive accumulated temperature, negative accumulated temperature, rainfall pulse index, and snow cover and ice condition data. The hydroclimatic stage includes the stable ice-covered period, snowmelt or ice-melt period, baseflow period, initial scouring period of rainfall, and post-rainfall recovery period. The hydroclimatic state vector is obtained by integrating the rainfall pulse index, previous humidity index, and hydroclimatic stage labels.
[0016] (4) Input the optical feature vector and hydro-climate state vector into the hierarchical multi-output estimation model; the hierarchical multi-output estimation model is trained from paired surface water samples in Northeast China; the paired samples include the absorption spectrum data, hydro-climate data, and FT-ICR MS detection data of the same sample; when acquiring FT-ICR MS detection data, the solid phase extraction material, sample acidification conditions, ionization mode, quality calibration rules, molecular formula screening rules, and relative peak intensity normalization rules are uniform; the hierarchical multi-output estimation model includes a hydro-climate stage discrimination layer and a molecular composition parameter estimation layer; the model selects one or more of partial least squares regression, random forest, gradient boosting tree, support vector regression, and neural network; the model training adopts cross-validation grouped by water body or sampling station, and the same water body sample will not enter the training fold and validation fold at the same time; the model training loss function is:
[0017]
[0018] In the formula, For continuous parameter loss terms; This is the spatial loss term for the logarithmic ratio transformation. To output a consistency penalty loss term; , The loss weight coefficients determined for training and parameter tuning;
[0019] (5) Before model training, the relative proportions of molecular categories are preprocessed by adding small positive numbers, and then the equidistant logarithmic ratio transformation is performed; after the model outputs the prediction results, the equidistant logarithmic ratio inverse transformation is performed, and the closure constraint is implemented so that the relative proportions of each molecular category are between 0 and 1, and the sum of the relative proportions of all molecular categories is equal to 1.
[0020] The hierarchical multi-output estimation model outputs at least one element intensity-weighted average parameter, at least one aromaticity or unsaturation parameter, and the relative proportions of at least three molecular categories;
[0021] The element intensity weighted average parameter is calculated using the following formula:
[0022]
[0023] In the formula, For the first Normalized peak intensity of each molecular formula; For the first Molecular parameters corresponding to each molecular formula;
[0024] The element intensity weighted average parameters include , , molecular weight At least one of the following; the aromaticity or unsaturation parameter includes , , At least one of the following; the relative proportions of molecular categories are selected from the following molecular categories: lipid-like, protein-like, amino sugar-like, carbohydrate-like, unsaturated hydrocarbon-like, lignin-like, tannin-like, condensed aromatic structure-like molecular categories, or CHO, CHON, CHOS, CHONS molecular formula categories, and at least three of these categories are selected;
[0025] During the model training phase, output consistency constraints are set. These constraints include that the sum of the relative proportions of molecular categories equals 1, the proportion of each molecular category is between 0 and 1, and the deviation between the derived parameters calculated based on the predicted element ratios and the corresponding parameters obtained by direct prediction does not exceed a preset threshold.
[0026] (6) Calculate the applicable domain distance of the test sample relative to the feature space of the training samples. The applicable domain distance is selected from robust Mahalanobis distance, nearest neighbor distance, and distance based on the dispersion of the ensemble model. Set the applicable domain threshold based on the quantiles of the training sample data. Calculate the uncertainty of the estimated parameters using any one of order-preserving calibration, quantile regression, or conformal prediction. When the applicable domain distance is greater than the preset threshold, output the out-of-applicable-domain indicator and FT-ICR MS retest prompt, and simultaneously output the estimated molecular composition parameters and their uncertainty. When the applicable domain distance is not greater than the preset threshold, output the estimated molecular composition parameters and their uncertainty.
[0027] Furthermore, in step (3), the early humidity index is obtained by using measured soil moisture data or by approximating it based on rainfall data and evapotranspiration data.
[0028] Furthermore, in step (2), the criteria for removing spectral data include the absorption coefficient of the corrected spectral band being less than 0, the scattering slope deviating from the normal DOM spectral trend, and the absorbance exceeding the instrument calibration linear range.
[0029] Furthermore, the small positive number added in step (5) is 0.1 times the smallest non-zero value of the proportion of molecular categories within the training set.
[0030] Furthermore, in step (6), after outputting the FT-ICR MS retest prompt, the retest samples are selected according to the principle of maximizing feature coverage, and the paired samples obtained from the retest are added to the training sample library to complete the hierarchical multi-output estimation model update.
[0031] Furthermore, the paired sample distribution covers different water body types, different land uses, and different degrees of DOM humification. The samples cover all hydroclimatic stages, including the stable ice-covered period, snowmelt or ice-melt period, baseflow period, initial scouring period after rainfall, and post-rainfall recovery period.
[0032] Further, in step (4) FT-ICR MS detection, negative ion ESI ionization mode is used. Before sample detection, the pH is adjusted to pH 2. Solid phase extraction is performed using PPL solid phase extraction material and methanol is used as the elution solvent.
[0033] Furthermore, after the water sample collection in step (1) is completed, it is transported in the dark and at low temperature, filtered, and then separated to obtain spectral detection subsamples and FT-ICR MS pretreatment subsamples; 0.45μm filter membrane is selected for filtration, or 0.22μm filter membrane is selected uniformly.
[0034] Furthermore, in step (4) group cross-validation, all samples collected from the same sampling site are uniformly divided into the same data fold, and samples from the same sampling site will not exist in the training set and validation set at the same time.
[0035] Furthermore, the relative proportion of molecular categories output in step (5) is the result after inverse logarithmic ratio transformation and closure constraint, and the sum of the proportions of all categories is strictly equal to 1.
[0036] Compared with the prior art, the beneficial effects of the present invention are:
[0037] The invention explicitly incorporates the rainfall pulse index, the preceding wet index, and the hydro-climatic stages corresponding to freeze-thaw cycles into the mapping process from optical features to DOM molecular composition parameters. This eliminates estimation confusion caused by the same set of spectral signals under different hydrological process conditions and solves the technical defect of systematic bias in DOM molecular composition estimation during freeze-thaw transitions and rainfall events.
[0038] This invention addresses compositional data such as molecular category proportions by introducing equidistant logarithmic ratio transformation and closed-loop constraint processes. This prevents unreasonable output results, such as negative molecular proportions or summation of molecular proportions deviating from 1, from being directly output by the model, thus ensuring that the output results have physical interpretability.
[0039] This invention employs a cross-validation method grouped by water body and sampling site to avoid spatial information leakage. It also introduces a model applicability domain discrimination process, providing FT-ICR MS retest prompts for test samples that exceed the model training feature space, thereby improving the reliability of estimation applications across sampling locations. This allows limited FT-ICR MS testing resources to be concentrated on the detection of representative and anomalous samples.
[0040] This invention relies on conventional ultraviolet-visible absorption spectroscopy and readily available meteorological and hydrological environmental data to estimate the molecular composition parameters of DOM, reducing the detection frequency of high-cost FT-ICR MS instruments, supporting high-frequency monitoring of surface water DOM, and outputting FT-ICR MS derived indices with uncertainty ranges, rather than outputting molecular isomer structures that cannot be uniquely determined by absorption spectroscopy.
[0041] This invention adds multiple output consistency penalty constraints inside the model loss function, embedding physical rules of molecular proportion closure and parameter mutual verification into the model training. Instead of relying solely on post-processing to complete the result correction, it further improves the intrinsic consistency among multiple output parameters and enhances the stability of the overall estimation results under rainfall pulse and freeze-thaw alternation conditions. Attached Figure Description
[0042] Figure 1 This is a flowchart illustrating the overall technical process of the method of the present invention.
[0043] Figure 2 A scatter plot of estimated values and FT-ICR MS measurements for 100 samples. Detailed Implementation
[0044] The technical solutions of the present invention will be clearly and completely described below with reference to the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.
[0045] Example 1:
[0046] Please see Figure 1-2 A method for estimating the molecular composition parameters of dissolved organic matter in water bodies based on absorption spectroscopy and hydro-climatic conditions, comprising the following steps:
[0047] (1) Sampling site layout and water sample collection.
[0048] A stratified sampling method was adopted to deploy sampling points, covering the eastern regions of Heilongjiang, Jilin, Liaoning, and Inner Mongolia. Fixed sampling points were set up, including rivers, lakes, and reservoirs. River points covered forest source areas, wetland source areas, river sections affected by agriculture, river sections affected by urban areas, and tributary inlets. Lake and reservoir points included inlet points, near-shore points, lake center points, and outlet points. The sampling process took into account multiple underlying surface types, including forests, wetlands, farmland, and urban areas, to ensure that the samples could represent the diverse source characteristics of the DOM (Difference Tolerance) in Northeast China.
[0049] Multiple sampling batches were conducted at each sampling point, corresponding to the stable ice-covered period, the spring snow and ice melting period, the baseflow period without significant rainfall, the initial scouring period of summer rainfall, and the post-rainfall recovery period. For rainfall event samples, priority was given to rainfall processes with a continuous period of no rain in the preceding period. Initial scouring samples were collected within 0-24 hours after the start of rainfall and runoff rise. Samples from the post-rainfall recovery period were collected 2-5 days after the end of rainfall. When the ice surface could not reach the sampling location in winter, supplementary sampling was conducted before freezing and at the initial thawing period, while simultaneously recording ice conditions and water temperature information.
[0050] During the on-site sampling phase, the sampling point number, latitude and longitude coordinates, sampling date and time, water body type, surrounding land use type, weather conditions, and ice conditions are recorded. Simultaneously, water temperature, pH, conductivity, dissolved oxygen, and turbidity are measured on-site. River water samples are collected at a depth of 0.3-0.5m below the surface of the main water area. Surface and mixed layer water samples are collected from lakes and reservoirs. The volume of a single water sample is no less than 2L. For each batch, on-site parallel samples, transport blank samples, and laboratory blank samples are prepared. After collection, samples are transported under light-proof and low-temperature conditions and filtered and separated within the specified storage period.
[0051] (2) Water sample filtration and separation, spectral detection, and FT-ICR MS pretreatment.
[0052] The collected water samples were filtered using a filter membrane. All samples used the same filter membrane specification, with a 0.45μm membrane selected. For scenarios requiring further reduction of particle interference, a 0.22μm membrane was used instead. After filtration, the same water sample was split into three subsamples. The first subsample was used for UV-Vis absorption spectroscopy, the second subsample was used for routine water quality testing, and the third subsample was used for FT-ICR MS pretreatment.
[0053] Spectral detection: Set the spectrometer wavelength to 200nm-800nm; perform blank subtraction and 700nm baseline correction; use the formula... Calculate the absorption coefficients at each wavelength; remove samples with negative absorption, abnormal scattering, or exceeding the linear range of the instrument after correction; extract the absorption coefficients of a254, a280, a350, and a440, the slope ratios of S275-295, S300-400, and SR, and the absorption ratios of E2 / E3 and E4 / E6 from the qualified spectra; simultaneously extract the normalized first-order difference spectral shape features and combine them to obtain the optical feature vector.
[0054] The pH of FT-ICR MS subsamples was uniformly adjusted to approximately 2. All samples were enriched using PPL solid-phase extraction material, and the elution solvent and elution process were standardized. A uniform negative ion ESI ionization mode was used, and uniform quality error threshold, signal-to-noise ratio screening threshold, molecular formula constraint screening rules, and peak intensity normalization rules were set.
[0055] (3) Construction of hydrological and climatic state vectors.
[0056] Based on the coordinates of the sampling points and the sampling time, daily rainfall and temperature data are extracted from nearby meteorological stations or validated gridded meteorological datasets. Cumulative rainfall for 1-3 days, 4-7 days, and 8-30 days prior to sampling is calculated, and the rainfall pulse index is calculated using the following formula: The values are determined by parameter tuning from the training set; at the same time, the previous moisture index is obtained, which can be calculated by means of measured soil moisture data or by means of rainfall and evapotranspiration data.
[0057] Positive and negative accumulated temperatures are calculated based on daily air temperatures, and the number of times the temperature crosses zero is counted. Combined with recorded snow cover, ice conditions, and water level information, each sample is labeled with a hydroclimatic stage tag. The tags are divided into stable ice-covered period, snowmelt or ice-melt period, baseflow period, initial scouring period after rainfall, and post-rainfall recovery period. The multi-time window rainfall pulse index, previous humidity index, and hydroclimatic stage tags are integrated to generate a hydroclimatic state vector.
[0058] (4) Paired label calculation, hierarchical multi-output estimation model training.
[0059] Quality screening was performed on the FT-ICR MS output data, using mass error, element number range, isotope mode, and homologue rules to screen valid molecular formulas. Based on normalized peak intensity and parameters of each molecular formula, a formula was used to... Calculate intensity weighting , , molecular weight , , , The proportions of various molecular formulas such as CHO, CHON, CHOS, and CHONS were statistically analyzed, as well as the relative abundances of lipid-like, protein-like, amino sugar-like, carbohydrate-like, unsaturated hydrocarbon-like, lignin-like, tannin-like, and condensed aromatic structure-like molecules. All of the above parameters were used as supervision labels for model training.
[0060] Using optical feature vectors and hydro-climate state vectors as model inputs, and the FT-ICR MS derived parameters obtained above as output labels, a hierarchical multi-output estimation model is constructed. The first layer of the model is the hydro-climate stage discrimination layer, and the second layer is the molecular composition parameter estimation layer. Training loss function: Before training, small positive numbers are added to the molecular category proportion labels. These small positive numbers are taken as 0.1 times the smallest non-zero value of the molecular category proportion in the training set, and an equal-log ratio transformation is performed. Continuous class parameters are standardized using the mean and standard deviation of the training set. The training loss takes into account continuous parameter errors, equal-log ratio transformation spatial errors, and output consistency penalty terms. Consistency constraints include the sum of molecular category proportions equal to 1, proportions falling within the 0-1 range, and the deviation between derived parameters and directly predicted parameters being controlled within a preset threshold.
[0061] Model training employs 5-fold cross-validation grouped by sampling site; all samples from the same sampling site are grouped into the same data fold, ensuring that samples from the same site do not exist simultaneously in both training and validation folds, thus avoiding space leakage. Alternative algorithms for the model can include random forests and gradient boosting trees, performing hyperparameter search, saving the out-of-fold prediction results for each sample, and using the model generated without using that sample in the training process to provide the predicted value for that sample.
[0062] (5) Model prediction, application domain determination and uncertainty output.
[0063] For the sample to be tested, after obtaining the optical feature vector and hydro-climate state vector according to the aforementioned process, it is input into the trained hierarchical multi-output estimation model. The model performs prediction in the equidistant logarithmic ratio transformation space, performs inverse transformation on the prediction output, and then applies closure constraints to ensure that the relative proportions of all molecular categories are in the range of 0-1, and the sum of the proportions of all categories equals 1.
[0064] The applicable domain distance of the sample to be tested is calculated. The robust Mahalanobis distance is selected as the applicable domain distance. The preset threshold is determined based on the quantiles of the robust Mahalanobis distance of all training samples. The conformal prediction method is used to calculate the prediction interval corresponding to each output parameter, that is, to estimate the uncertainty of the result.
[0065] When the distance to the applicable domain of the sample to be tested is greater than a preset threshold, an out-of-applicability domain indicator is output, and an FT-ICR MS retest prompt is given. At the same time, all molecular composition parameters estimated in this test and their corresponding uncertainties are output. The selection of retest samples follows the principle of maximizing feature coverage. After obtaining new paired samples from the retest, they are added to the training sample library to update the hierarchical multi-output estimation model. When the distance to the applicable domain of the sample to be tested is not greater than a preset threshold, the estimated molecular composition parameters are directly output, and the uncertainties corresponding to the parameters are output simultaneously.
[0066] (6) Full-process quality control.
[0067] During the sample testing phase, at least one set of on-site parallel samples and one set of laboratory repeat samples are provided for every 20 samples. DOM reference samples are introduced periodically to check the stability of spectral and mass spectrometry responses. If there are abnormal spectral baselines, abnormal solid-phase extraction recovery rates, or excessive mass spectrometry quality errors, the estimated results for that sample will not be output, triggering the retesting process.
[0068] Effect verification:
[0069] To verify the estimation capability of the method of this invention for DOM molecular composition parameters, a 5-fold cross-validation was performed using 100 paired samples of absorption spectroscopy-hydrological and climatic information-FT-ICR MS. The out-of-fold estimated values obtained when each sample did not participate in the corresponding model training were compared with the FT-ICR MS measurements. Evaluation metrics included the coefficient of determination R0. 2 The root mean square error (RMSE) and the closeness of the scatter plot to the 1:1 reference line are used to characterize the consistency between the estimated and measured results.
[0070] like Figure 2 As shown, in the constructed rationality verification data, the intensity weighting... ( The R² of the intensity weighted average is 0.84, and the RMSE is 0.035. ( R 2 The R value was 0.71, and the RMSE was 0.024; the intensity-weighted modified aromaticity index (AI-modwa) had an R value of 0.71. 2 The R value was 0.65, and the RMSE was 0.017; the R value of the lignin sample molecular proportion was... 2 The estimated values were 0.77 and the RMSE was 4.04 percentage points. The estimated values of all four parameters changed synchronously with the FT-ICR MS measurements, and the scatter plots were generally distributed along the 1:1 reference line, with no obvious overall reverse deviation.
[0071] The above results demonstrate that the method of this invention has a certain estimation capability for elemental composition characteristics, aromaticity characteristics, and the proportion of major molecular categories. Among these, The highest fitting consistency indicates that this method can effectively identify the relative saturation of DOM and changes in aliphatic-aromatic composition; lignin-like molecular ratio and It also exhibits a good response and can be used to characterize terrestrial humic input and changes in oxygen-containing functional groups; although AI-modwa is greatly affected by molecular formula boundaries and sample heterogeneity, it can still reflect the overall changes in aromaticity levels. Therefore, this invention can provide rapid screening results of FT-ICR MS-derived molecular composition parameters based on conventional spectral monitoring, providing a basis for high-frequency, low-cost identification of DOM composition changes and screening of anomalous samples requiring mass spectrometry retesting.
[0072] Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for estimating molecular parameters of water bodies based on absorption spectroscopy and hydro-climatic state constraints, characterized in that, Includes the following steps: (1) Obtain the ultraviolet-visible absorption spectrum data of the water sample in the 200nm-800nm band, and obtain the rainfall data, temperature data and freeze-thaw status data corresponding to the sampling time and sampling location of the water sample; the water body is surface water in Northeast China, which includes Heilongjiang Province, Jilin Province, Liaoning Province and eastern Inner Mongolia Autonomous Region; the surface water includes at least one of rivers, lakes and reservoirs; (2) Blank subtraction, 700nm neighborhood baseline correction, and anomalous scattering identification were performed on the absorption spectral data. The wavelength was calculated using the following formula. Position absorption coefficient : , In the formula, wavelength Measured absorbance at the specified location; Absorbance at 700nm; For spectral detection of optical path length; Spectral data with negative absorption, abnormal scattering slope, and exceeding the linear range of the instrument are removed to generate an optical feature vector; the optical feature vector includes at least two of a254, a280, a350, and a440, at least one of S275–295, S300–400, SR, E2 / E3, and E4 / E6, as well as a first-order difference spectral shape feature normalized by the total absorption area or the absorption coefficient of the selected wavelength; (3) Select at least two pre-sampling time windows of different durations to perform cumulative calculations on the rainfall data. The time windows are selected from days 1-3, 4-7, and 8-30. Calculate the rainfall pulse index (API) according to the following formula: , In the formula, The day before the sampling date Daily rainfall; The decay time constant determined for the training samples; The maximum number of days corresponding to the time window; The hydroclimatic stage is determined by obtaining the previous humidity index, relying on temperature data, freeze-thaw status data, positive accumulated temperature, negative accumulated temperature, rainfall pulse index, and snow cover and ice condition data. The hydroclimatic stage includes the stable ice-covered period, snowmelt or ice-melt period, baseflow period, initial scouring period of rainfall, and post-rainfall recovery period. The hydroclimatic state vector is obtained by integrating the rainfall pulse index, previous humidity index, and hydroclimatic stage labels. (4) Input the optical feature vector and hydro-climate state vector into the hierarchical multi-output estimation model; the hierarchical multi-output estimation model is trained from paired surface water samples in Northeast China; the paired samples include the absorption spectrum data, hydro-climate data, and FT-ICR MS detection data of the same sample; when acquiring FT-ICR MS detection data, the solid phase extraction material, sample acidification conditions, ionization mode, quality calibration rules, molecular formula screening rules, and relative peak intensity normalization rules are uniform; the hierarchical multi-output estimation model includes a hydro-climate stage discrimination layer and a molecular composition parameter estimation layer; the model selects one or more of partial least squares regression, random forest, gradient boosting tree, support vector regression, and neural network; the model training adopts cross-validation grouped by water body or sampling station, and the same water body sample will not enter the training fold and validation fold at the same time; the model training loss function is: , In the formula, For continuous parameter loss terms; This is the spatial loss term for the logarithmic ratio transformation. To output a consistency penalty loss term; , The loss weight coefficients determined for training and parameter tuning; (5) Before model training, the relative proportions of molecular categories are preprocessed by adding small positive numbers, and then the equidistant logarithmic ratio transformation is performed; after the model outputs the prediction results, the equidistant logarithmic ratio inverse transformation is performed, and the closure constraint is implemented so that the relative proportions of each molecular category are between 0 and 1, and the sum of the relative proportions of all molecular categories is equal to 1. The hierarchical multi-output estimation model outputs at least one element intensity-weighted average parameter, at least one aromaticity or unsaturation parameter, and the relative proportions of at least three molecular categories; The element intensity weighted average parameter is calculated using the following formula: , In the formula, For the first Normalized peak intensity of each molecular formula; For the first Molecular parameters corresponding to each molecular formula; The element intensity weighted average parameters include , , molecular weight At least one of the following; the aromaticity or unsaturation parameter includes , , At least one of the following; the relative proportions of molecular categories are selected from the following molecular categories: lipid-like, protein-like, amino sugar-like, carbohydrate-like, unsaturated hydrocarbon-like, lignin-like, tannin-like, condensed aromatic structure-like molecular categories, or CHO, CHON, CHOS, CHONS molecular formula categories, and at least three of these categories are selected; During the model training phase, output consistency constraints are set. These constraints include that the sum of the relative proportions of molecular categories equals 1, the proportion of each molecular category is between 0 and 1, and the deviation between the derived parameters calculated based on the predicted element ratios and the corresponding parameters obtained by direct prediction does not exceed a preset threshold. (6) Calculate the applicable domain distance of the test sample relative to the feature space of the training samples. The applicable domain distance is selected from robust Mahalanobis distance, nearest neighbor distance, and distance based on the dispersion of the ensemble model. Set the applicable domain threshold based on the quantiles of the training sample data. Calculate the uncertainty of the estimated parameters using any one of order-preserving calibration, quantile regression, or conformal prediction. When the applicable domain distance is greater than the preset threshold, output the out-of-applicable-domain indicator and FT-ICR MS retest prompt, and simultaneously output the estimated molecular composition parameters and their uncertainty. When the applicable domain distance is not greater than the preset threshold, output the estimated molecular composition parameters and their uncertainty.
2. The method for estimating water body molecular parameters based on absorption spectroscopy and hydro-climate state constraints according to claim 1, characterized in that: In step (3), the early humidity index is obtained by using measured soil moisture data or by approximating it based on rainfall data and evapotranspiration data.
3. The method for estimating water body molecular parameters based on absorption spectroscopy and hydro-climate state constraints according to claim 1, characterized in that: In step (2), the criteria for removing spectral data include the absorption coefficient of the corrected spectral band being less than 0, the scattering slope deviating from the normal DOM spectral trend, and the absorbance exceeding the instrument calibration linear range.
4. The method for estimating water body molecular parameters based on absorption spectroscopy and hydro-climate state constraints according to claim 1, characterized in that: The small positive number added in step (5) is 0.1 times the smallest non-zero value of the proportion of molecular categories within the training set.
5. The method for estimating water body molecular parameters based on absorption spectroscopy and hydro-climate state constraints according to claim 1, characterized in that: In step (6), after outputting the FT-ICR MS retest prompt, the retest samples are selected according to the principle of maximizing feature coverage. The paired samples obtained from the retest are added to the training sample library to complete the hierarchical multi-output estimation model update.
6. The method for estimating water body molecular parameters based on absorption spectroscopy and hydro-climate state constraints according to claim 1, characterized in that: The paired sample distribution covers different water body types, different land uses, and different degrees of DOM humification. The samples cover all hydroclimatic stages, including the stable ice-covered period, the snowmelt or ice-melt period, the baseflow period, the initial scouring period after rainfall, and the recovery period after rainfall.
7. The method for estimating water body molecular parameters based on absorption spectroscopy and hydro-climate state constraints according to claim 1, characterized in that: Step (4) FT-ICR MS detection, using negative ion ESI ionization mode, pH adjustment to pH 2 before sample detection, solid phase extraction using PPL solid phase extraction material, and methanol as elution solvent.
8. The method for estimating water body molecular parameters based on absorption spectroscopy and hydro-climate state constraints according to claim 1, characterized in that: Step (1) After the water sample collection is completed, it is transported in the dark and at low temperature. After filtration, it is separated to obtain the spectral detection subsample and the FT-ICR MS pretreatment subsample. A 0.45μm filter membrane is used for filtration, or a 0.22μm filter membrane is used uniformly.
9. The method for estimating molecular parameters of water bodies based on absorption spectroscopy and hydro-climate state constraints according to claim 1, characterized in that: Step (4) Group cross-validation: All samples collected from the same sampling site are uniformly divided into the same data fold, and samples from the same sampling site will not exist in the training set and validation set at the same time.
10. The method for estimating water body molecular parameters based on absorption spectroscopy and hydro-climate state constraints according to claim 1, characterized in that: The relative proportion of molecular categories output in step (5) is the result after inverse logarithmic ratio transformation and closure constraint. The sum of the proportions of all categories is strictly equal to 1.
