Method for predicting amount of chemical substances released in cigarette smoke based on chemical composition
By simulating and superimposing cigarette chemical composition data and iteratively training the prediction sub-model, the problem of overfitting in machine learning prediction models is solved, achieving high-precision prediction of cigarette smoke components and supporting cigarette formula optimization and production control.
Patent Information
- Application Number
- CN202611413195.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-11
- Publication Date
- 2026-11-27
AI Technical Summary
Existing machine learning-based methods for predicting cigarette smoke suffer from severe overfitting and poor generalization ability, making them unsuitable for effective application in actual production and novel formulation design.
By acquiring chemical composition data from real cigarette samples and chemical composition data from single-material cigarette samples and simulating and overlaying them, simulated formula data is generated. Iterative training is then performed using a prediction sub-model and pseudo-labels to screen high-confidence samples and improve the model's prediction accuracy.
It significantly improves the generalization ability and accuracy of cigarette smoke prediction, and enhances its effectiveness in actual production and new formulation design.
Smart Images

Figure CN123182803A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of cigarette smoke composition prediction technology, specifically to a method for predicting the release of chemical substances in cigarette smoke based on chemical composition. Background Technology
[0002] Against the backdrop of standardized production, iterative development of harm reduction and tar reduction technologies, and risk prevention and control of tobacco products in the tobacco industry, accurately and efficiently obtaining the release levels of chemical substances such as tar, nicotine, and carbon monoxide in cigarette smoke plays an important supporting role in optimizing cigarette formulas, controlling production processes, managing product quality stability, and developing smoke harm reduction technologies.
[0003] Traditional instrumental analysis methods require cumbersome smoking experiments and pretreatment, which are time-consuming and costly, making it difficult to meet the needs of rapid adjustment of cigarette formulas. Existing machine learning-based prediction methods often suffer from severe overfitting and poor generalization ability due to the difficulty in obtaining real cigarette sample data and the extremely small sample size, making them unsuitable for effective application in actual production and new formula design. Summary of the Invention
[0004] To address the technical problem that machine learning-based prediction methods often suffer from severe overfitting and poor generalization ability, making them unsuitable for effective application in actual production and novel formulation design, this application provides a method for predicting the release of chemical substances in cigarette smoke based on chemical composition.
[0005] The specific technical solution adopted is as follows: The first chemical component data of real cigarette samples and the second chemical component data of single-material cigarette samples are obtained. The second chemical component data is simulated and superimposed to obtain simulated formula data, which includes multiple simulated formula samples. Multiple prediction sub-models are generated by training the first chemical composition data, and target nearest neighbor samples with a distance of less than a preset distance threshold are searched in the dataset corresponding to the first chemical composition data. The average flue gas emission of the target nearest neighbor samples is used as the first pseudo-label, and the average prediction of multiple prediction sub-models for the simulated formula samples is used as the second pseudo-label. Based on the relative error between the first pseudo-label and the second pseudo-label, high-confidence samples and target pseudo-labels are determined. The prediction sub-model is iteratively trained using high-confidence samples and their target pseudo-labels until the model's prediction accuracy reaches a preset accuracy threshold, at which point the release amount prediction result is output.
[0006] In one possible embodiment of this application, the second chemical component data is subjected to simulated superposition processing to obtain simulated formulation data, including: The auxiliary material parameters of the first cigarette in a single-material cigarette sample were extracted by random sampling. The second chemical composition data of multiple single-material tobacco samples are superimposed according to a preset ratio, and combined with the auxiliary material parameters of the first tobacco stick. This process is repeated multiple times to obtain multiple simulated formula data.
[0007] In one possible implementation of this application, multiple prediction sub-models are generated by training on first chemical composition data, including: Obtain the labeled dataset. The independent variables in the labeled dataset include the first chemical composition data of real cigarette samples and the second cigarette auxiliary material parameters of real cigarette samples. The dependent variable is the smoke release data of real cigarette samples. Multiple data subsets are generated by sampling the labeled dataset multiple times using random sampling. Multiple different machine learning algorithms are used as base learners for building the model; Multiple data subsets are input into each base learner for training, establishing a mapping relationship between independent and dependent variables, and generating multiple predictive sub-models.
[0008] In one possible implementation of this application, searching for target nearest neighbor samples in the first chemical composition data corresponding dataset that are less than a preset distance threshold from the simulated formula sample includes: Determine the distance metric function to measure the similarity between samples; the distance metric function can be the Euclidean distance function or the Mahalanobis distance function. Based on the distance metric function, calculate the first distance between the feature vectors of the current unlabeled simulated formula sample and each real cigarette sample in the labeled dataset; Sort the first distances in ascending order, and select a preset number of real cigarette samples with the smallest first distance as the initial nearest neighbor samples; Select target nearest neighbor samples from the initial nearest neighbor samples.
[0009] In one possible implementation of this application, selecting target nearest neighbor samples from initial nearest neighbor samples includes: Determine whether the first distance between the initial nearest neighbor sample and the current simulated formula sample is less than a preset distance threshold; If all distances are less than the preset distance threshold, then each initial nearest neighbor sample is determined as the target nearest neighbor sample; If there is an initial nearest neighbor sample that is greater than or equal to a preset distance threshold, the current simulated recipe sample is determined to be outlier data, the current simulated recipe sample is removed, and the nearest neighbor search operation for the current simulated recipe sample is terminated.
[0010] In one possible implementation of this application, determining high-confidence samples and target pseudo-labels based on the relative error between the first pseudo-label and the second pseudo-label includes: Determine the relative error between the first pseudo-marker and the second pseudo-marker; Simulated formula samples with relative errors less than a preset error threshold are selected as high-confidence samples, and the mean of the first pseudo-label and the second pseudo-label is used as the target pseudo-label.
[0011] In one possible implementation of this application, the prediction sub-model is iteratively trained using high-confidence samples and their target pseudo-labels until the model's prediction accuracy reaches a preset accuracy threshold, and the release amount prediction result is output, including: Add high-confidence samples and their target pseudo-labels to the training set of the corresponding prediction sub-model, and retrain to obtain the updated prediction sub-model; The updated prediction sub-model is used to predict the target nearest neighbor samples corresponding to high confidence samples. After multiple iterations of training, the prediction sub-model is obtained. The sample data to be tested is input into the iteratively completed prediction sub-model, and the average value of the output results of all prediction sub-models is used as the final release amount prediction result.
[0012] In one possible implementation of this application, the updated prediction sub-model is used to predict the target nearest neighbor samples corresponding to high-confidence samples. After multiple iterative training iterations, a fully iterated prediction sub-model is obtained, including: The updated prediction sub-model is used to predict the target nearest neighbor samples corresponding to the high confidence samples, and the sum of the mean square errors of the prediction sub-models before and after the update are compared. If the sum of mean squared errors decreases, high-confidence samples and their target pseudo-labels are retained; if the sum of mean squared errors remains unchanged or increases, high-confidence samples and their target pseudo-labels are removed from the training set. Repeat the above steps to iteratively update all prediction sub-models until the coefficient of determination of all prediction sub-models on the validation set is greater than the preset coefficient of determination threshold, or until all samples in the simulated formula data have been traversed, and the iteratively completed prediction sub-models are obtained.
[0013] In one possible embodiment of this application, the release prediction results include at least one of tar release, nicotine release, and carbon monoxide release.
[0014] In one possible embodiment of this application, the method for obtaining the first chemical composition data includes: Obtain the first near-infrared spectrum of a real cigarette sample at the actual moisture content; Based on the actual moisture content, the corresponding correction parameters are extracted, and the first near-infrared spectrum is converted into the second near-infrared spectrum under the standard moisture content using the correction parameters. The second near-infrared spectrum is input into the preset near-infrared prediction model, and the first chemical composition data is output.
[0015] This application has, but is not limited to, the following technical effects: In this application, by acquiring the first chemical component data of real cigarette samples and the second chemical component data of single-material tobacco samples, and performing simulated superposition processing on the second chemical component data, massive amounts of virtual formula data can be generated, solving the problem of data scarcity caused by the difficulty in obtaining real cigarette samples. Target nearest neighbor samples with a distance less than a preset distance threshold from the simulated formula sample are searched in the first chemical component data, eliminating invalid virtual formulas that deviate from the real space and ensuring the reliability of spatial feature transfer. High-confidence samples and target pseudo-labels are determined through the relative error between the first and second pseudo-labels. The model is then iteratively trained based on the high-confidence samples and target pseudo-labels, significantly improving the generalization ability and accuracy of cigarette formula smoke prediction, thereby enhancing its effectiveness in actual production and new formula design. Attached Figure Description
[0016] Figure 1 This is a flowchart illustrating the first embodiment of the method for predicting the release of chemical substances in cigarette smoke based on chemical composition according to this application. Figure 2 This is a schematic diagram of the overall implementation process of the method for predicting the release of chemical substances in cigarette smoke based on chemical composition, as described in this application. Detailed Implementation
[0017] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.
[0018] This application provides a method for predicting the release of chemical substances in cigarette smoke based on chemical composition. In the first embodiment of this method, referring to... Figure 1 The methods include: Step S10: Obtain the first chemical component data of a real cigarette sample and the second chemical component data of a single-material cigarette sample. Perform simulation overlay processing on the second chemical component data to obtain simulated formula data. The simulated formula data includes multiple simulated formula samples.
[0019] As an example, existing cigarette samples were used as real cigarette samples. Near-infrared spectroscopy was used to obtain the first chemical composition data. Seven parameters of the corresponding cigarette auxiliary materials were collected, including filter length, filter rod pressure drop, cigarette paper basis weight, cigarette paper air permeability, tipping paper length, combustion aid dosage, and potassium-sodium ratio. The chemical composition and cigarette auxiliary material parameters together constituted the independent variables. According to national standard testing methods, the tar, nicotine, and carbon monoxide release data in the cigarette smoke of the real cigarette samples were obtained as dependent variables, resulting in a labeled dataset.
[0020] As an example, the simulated formula data includes the tobacco auxiliary material parameters of the single-material tobacco sample, as well as the second chemical composition data of the combined single-material tobacco sample. The simulated formula data is obtained by arbitrarily combining the second chemical composition data of the single-material tobacco sample. The simulated formula data includes multiple simulated formula samples, and any simulated formula sample corresponds to a simulated formula.
[0021] The methods for obtaining the first chemical component data include: Obtain the first near-infrared spectrum of a real cigarette sample at its actual moisture content.
[0022] Based on the actual moisture content, the corresponding correction parameters are extracted, and the first near-infrared spectrum is converted into a second near-infrared spectrum under the standard moisture content using the correction parameters.
[0023] The second near-infrared spectrum is input into the preset near-infrared prediction model, and the first chemical composition data is output.
[0024] As an example, the method for obtaining the first chemical composition data is as follows: The steps for obtaining 70 macro- and semi-micro chemical component data for each tobacco leaf sample include: controlling the moisture content of all tobacco leaf samples to 6-8%, pulverizing and grinding the dried samples using a pulverizer with a 0.250 mm (60 mesh) sieve, mixing them thoroughly, and then performing near-infrared analysis. Then, a method and apparatus for predicting tobacco chemical components based on spectral conversion, as provided in 202210751386.4, is used to obtain the macro- and semi-micro chemical component data for each tobacco leaf sample; thereby obtaining the first chemical component data, and the second chemical component data is obtained in the same manner.
[0025] It should be noted that the chemical composition of tobacco is an intrinsic factor determining its quality. These chemical components are typically tested using chemical analysis methods, such as continuous flow chromatography, ion chromatography, ICP-MS, amino acid analysis, liquid chromatography-tandem mass spectrometry, gravimetric analysis, high-performance liquid chromatography, and gas chromatography. However, these methods are time-consuming, have limited capacity to detect a wide range of chemical components, and cannot achieve non-destructive testing. Near-infrared spectroscopy, as a rapid and non-destructive testing technique for multiple chemical components, primarily utilizes the vibrations of chemical bonds such as CH, NH, OH, and CC in organic matter to detect various tobacco chemical components, including total alkaloids, water-soluble reducing sugars, total sugars, total nitrogen, potassium, chlorine, some polyphenols, and some organic acids.
[0026] In practice, the tobacco leaf samples were dried according to industry standard methods. After drying, the samples were pulverized and ground using a pulverizer with a 0.250 mm (60 mesh) sieve. After mixing, near-infrared analysis was performed to predict 70 chemical components of the tobacco leaf samples, as shown in Table 1.
[0027] Table 1: 70 major and semi-micro chemical components of tobacco leaves; Note: ① In the table, PRO, VAL, SER, 4-GABA, TYR, GLY, LEU, FRU, GLU, GLN, ALA, CYS, HIS, LYS, ASN, TRP, ASP, PHE, THR, ARG, ILE, and MET represent proline, valine, serine, 4-aminobutyric acid, tyrosine, glycine, leucine, fructose, glutamic acid, glutamine, alanine, cystine, histidine, lysine, asparagine, tryptophan, aspartic acid, phenylalanine, threonine, arginine, isoleucine, and methionine, respectively. FRU-PRO is the Amadori compound of fructose-proline, and so on. Fru-Amb is the Amadori compound of fructose-4-aminobutyric acid.
[0028] These 70 chemical components encompass the macro- and semi-trace components of tobacco leaves, excluding cell wall substances. During cigarette combustion, these components undergo thermal migration, thermal decomposition, and thermal transformation into smoke components, accounting for 90% of the smoke composition by weight. They are precursors to a large number of aroma components in tobacco. Furthermore, these 70 chemical components exhibit certain correlations with trace aroma components in tobacco leaves. Using these components, information about trace aroma components can be indirectly expressed; for example, the content of vanillin in tobacco leaves is positively correlated with the content of linoleic acid, solanesol, and dichloromethane extract. Therefore, these 70 chemical components form an important material basis for tobacco leaf quality.
[0029] It is understandable that other methods can be used to obtain the 70 chemical components in actual implementation, which will not be elaborated here.
[0030] In step S10, the second chemical component data is simulated and superimposed to obtain simulated formula data, including: The auxiliary material parameters of the first cigarette in a single-material cigarette sample were extracted by random sampling.
[0031] The second chemical composition data of multiple single-material tobacco samples are superimposed according to a preset ratio, and combined with the auxiliary material parameters of the first tobacco stick. This process is repeated multiple times to obtain multiple simulated formula data.
[0032] As an example, a simulated formula is constructed using random sampling with replacement or random sampling combined with expert experience. The formula must use Yunnan tobacco leaves, with 2.5% or 4% as the base, i.e., 40 or 25 single-origin tobaccos are used to form the simulated formula. Tobacco leaves are randomly selected, and the chemical components of the tobacco leaves are added proportionally to obtain the chemical component data of the simulated formula. The combination of tobacco parameters is randomly selected and combined with the chemical components to form a complete set of simulated formula data. This operation is repeated 2000 times to obtain the dataset corresponding to the simulated formula data.
[0033] Step S20: Multiple prediction sub-models are generated by training the first chemical composition data, and target nearest neighbor samples with a distance of less than a preset distance threshold are searched in the dataset corresponding to the first chemical composition data.
[0034] As an example, the first chemical component data is used to construct a training dataset. Multiple prediction sub-models are then generated from this training dataset. Subsequently, target nearest neighbor samples with a distance less than a preset distance threshold are searched from the dataset corresponding to the first chemical component data. The preset distance threshold can be: Calculate the average Mahalanobis distance between all pairs of real cigarette samples, and use 1.2 to 2.0 times this average as a preset distance threshold; or take the maximum inter-sample distance within the real cigarette sample set as the preset distance threshold.
[0035] The step S20, which predicts the release of chemical substances in cigarette smoke based on chemical composition, further includes steps S21 to S24, including: Step S21: Obtain the labeled dataset. The independent variables in the labeled dataset include the first chemical composition data of the real cigarette samples and the second cigarette auxiliary material parameters of the real cigarette samples. The dependent variable is the smoke release data of the real cigarette samples.
[0036] Step S22: The labeled dataset is sampled multiple times using random sampling to generate multiple data subsets.
[0037] As an example, the first chemical composition data and the second tobacco auxiliary material parameters of real cigarette samples are used as independent variables, and the smoke release data of real cigarette samples are used as dependent variables to construct a labeled dataset. Then, multiple data subsets are generated by randomly sampling the labeled dataset.
[0038] Step S23: Use various different machine learning algorithms as base learners to build the model.
[0039] Step S24: Input multiple data subsets into each base learner for training, establish the mapping relationship between independent variables and dependent variables, and generate multiple prediction sub-models.
[0040] As an example, several different algorithms are used as base learners. Base learners can be derived from sampling, modeling methods, or both. These include backpropagation neural networks, kernel-based support vector machines, and partial least squares (PLS) methods. Hyperparameters such as the number of network layers, kernel type, and number of principal components are set for the base learners. The number of principal components in the PLS method is set to be strictly less than the total number of samples in the current data subset. Multiple data subsets generated from sampling are input into their respective base learners. Chemical composition data and cigarette accessory parameters are extracted from the data subsets as independent variables. Tar, nicotine, and carbon monoxide emissions are extracted as dependent variables. The base learners perform fitting calculations on the data subsets. The algorithm establishes a mapping relationship between independent and dependent variables by minimizing the error between the predicted values and the actual emissions. After training, multiple predictive sub-models are generated.
[0041] Step S20 further includes: Determine the distance metric function to measure the similarity between samples. The distance metric function can be the Euclidean distance function or the Mahalanobis distance function.
[0042] Based on the distance metric function, the first distance between the feature vectors of the current unlabeled simulated formula sample and each real cigarette sample in the labeled dataset is calculated.
[0043] Sort the first distances in ascending order, and select a preset number of real cigarette samples with the smallest first distance as the initial nearest neighbor samples.
[0044] As an example, a first distance is calculated between the feature vectors of the currently unlabeled simulated formula sample and each real cigarette sample in the labeled dataset using a distance metric function. Then, the absolute values of these first distances are sorted in ascending order. A predetermined number of real cigarette samples (e.g., the top k real cigarette samples, where k can be 5 or 6; if less than 5, only those meeting the requirements are selected) are chosen as the initial nearest neighbors. The first distance can be Euclidean distance or Mahalanobis distance. When the distance metric function is Euclidean distance, the data is first normalized before calculating the first distance between the two samples.
[0045] The process of selecting target nearest neighbor samples from the initial nearest neighbor samples includes: Determine whether the first distance between the initial nearest neighbor sample and the current simulated formula sample is less than a preset distance threshold.
[0046] If all distances are less than the preset distance threshold, then each initial nearest neighbor sample is determined as the target nearest neighbor sample.
[0047] If there is an initial nearest neighbor sample that is greater than or equal to a preset distance threshold, the current simulated recipe sample is determined to be outlier data, the current simulated recipe sample is removed, and the nearest neighbor search operation for the current simulated recipe sample is terminated.
[0048] As an example, if the first distance between multiple selected initial nearest neighbor samples and the current simulated recipe sample is all less than a preset distance threshold, then each initial nearest neighbor sample is determined as a target nearest neighbor sample. Conversely, if there is an initial nearest neighbor sample greater than or equal to the preset distance threshold, then the current simulated recipe sample is determined to be outlier data, and this simulated recipe sample cannot enter the current iteration of training. The current simulated recipe sample is then removed, and the nearest neighbor search operation for the current simulated recipe sample is terminated. Before calculating the first distance, the feature data is normalized. The preset distance threshold is set to 0.1 to 0.3, or the preset distance threshold is set to the average of the pairwise distances between all real samples in the labeled dataset.
[0049] Step S30: The average flue gas emission of the target nearest neighbor samples is used as the first pseudo-label, and the average prediction of multiple prediction sub-models for the simulated formula samples is used as the second pseudo-label.
[0050] As an example, the first pseudo-label is obtained by calculating the average release amount of nearby real samples, representing a physical empirical inference based on the similarity of sample chemical characteristics. The second pseudo-label is obtained by averaging the predictions of the virtual samples by the current sub-model, representing the algorithmic prediction inference learned by the current model based on existing data. The purpose of determining these two pseudo-labels is to perform cross-validation.
[0051] By comparing the relative errors of the first and second pseudo-labels, virtual samples that are highly consistent with physical experience and model predictions are selected. Model predictions with a deviation exceeding a preset error threshold are excluded from this round of selection and training. The difference between these two inferences is used to filter out outrageous virtual recipe data, extract high-confidence samples, and take the average as the final pseudo-label. This safely and effectively expands the training set, thereby driving model iteration and improving prediction accuracy.
[0052] Step S40: Based on the relative error between the first pseudo-label and the second pseudo-label, determine the high-confidence sample and the target pseudo-label.
[0053] Step S40 includes: Determine the relative error between the first pseudo-marker and the second pseudo-marker.
[0054] Simulated formula samples with relative errors less than a preset error threshold are selected as high-confidence samples, and the mean of the first pseudo-label and the second pseudo-label is used as the target pseudo-label.
[0055] As an example, the values of tar release, nicotine release, and carbon monoxide release were extracted from the first and second pseudo-labels of the simulated formula sample, respectively. For tar, nicotine, and carbon monoxide, the absolute value of the difference between the first pseudo-label and the second pseudo-label is calculated. The absolute value of the difference is divided by the corresponding value of the first pseudo-label to obtain the relative error of each indicator. Preset error thresholds are set for tar, nicotine, and carbon monoxide (e.g., 0.25 for tar, 0.05 for nicotine, and 0.25 for carbon monoxide). The relative error of each indicator is compared with the corresponding preset error threshold. Simulated formula samples with a relative error greater than the preset error threshold are removed. Simulated formula samples with relative errors less than the preset error threshold are sorted. The samples are sorted from smallest to largest by the sum of relative errors. A preset number of samples (e.g., 3, 5, etc.) at the top of the ranking are selected as high-confidence samples. The arithmetic mean of each indicator of the first pseudo-label and the second pseudo-label of the high-confidence samples is calculated, and the arithmetic mean is used as the target pseudo-label.
[0056] Step S50: Iteratively train the prediction sub-model using high-confidence samples and their target pseudo-labels until the model prediction accuracy reaches a preset accuracy threshold, and output the release amount prediction result.
[0057] As an example, the prediction sub-model is iteratively trained using high-confidence samples and their target pseudo-labels. When the prediction accuracy of the prediction sub-model reaches a preset accuracy threshold, the sample data to be tested is input into the trained model to output the release prediction result.
[0058] Step S50 includes steps S51 to S53: Step S51: Add the high-confidence samples and their target pseudo-labels to the training set of the corresponding prediction sub-model, and retrain to obtain the updated prediction sub-model.
[0059] As an example, high-confidence samples and their target pseudo-labels are used as the training set of the preset sub-model. The prediction sub-model is then retrained using this training set to obtain the updated prediction sub-model.
[0060] Step S52: The updated prediction sub-model is used to predict the target nearest neighbor samples corresponding to the high confidence samples. After multiple iterations of training, the prediction sub-model is obtained.
[0061] Step S52 specifically includes: The updated prediction sub-model is used to predict the target nearest neighbor samples corresponding to the high-confidence samples, and the sum of the mean square errors of the prediction sub-models before and after the update are compared.
[0062] If the sum of mean squared errors decreases, high-confidence samples and their target pseudo-labels are retained; if the sum of mean squared errors remains unchanged or increases, high-confidence samples and their target pseudo-labels are removed from the training set.
[0063] Repeat the above steps to iteratively update all prediction sub-models until the coefficient of determination of all prediction sub-models on the validation set is greater than the preset coefficient of determination threshold, or until all samples in the simulated formula data have been traversed, and the iteratively completed prediction sub-models are obtained.
[0064] As an example, the target nearest neighbor samples corresponding to the high-confidence sample when searching for the first pseudo-label are extracted to obtain the actual release data of the target nearest neighbor samples. Using the prediction sub-model before and after the update, predictions are made for the target nearest neighbor samples, resulting in two sets of predicted release amounts. The sum of the normalized mean square errors between the two sets of predicted release amounts and the actual release amounts is calculated. The normalization operation involves dividing the mean square errors of tar, nicotine, and carbon monoxide by the variance of the corresponding index, and then summing the results.
[0065] Compare the sum of normalized mean squared errors. If the updated sum of normalized mean squared errors is less than the original sum of normalized mean squared errors, retain the high-confidence sample and its target pseudo-label in the training set.
[0066] If the updated sum of normalized mean squared errors is greater than or equal to the sum of normalized mean squared errors before the update, remove the high-confidence sample and its target pseudo-label from the training set, and retrain the prediction sub-model using the removed training set. Repeat the steps of pseudo-label generation, high-confidence sample selection, addition to the training set, and error verification to iteratively update all prediction sub-models.
[0067] After each iteration, calculate the coefficient of determination for all predictive sub-models on the validation set. Determine if the coefficient of determination is greater than a preset threshold (which can be set to 0.8, or between 0.8 and 0.9 depending on the prediction metric), or determine if all samples in the simulated formulation data have been evaluated. If either condition is met, stop the iteration and output the set of predictive sub-models after the iteration is complete.
[0068] Step S53: Input the sample data to be tested into the iteratively completed prediction sub-model, and use the average value of the output results of all prediction sub-models as the final emission prediction result. The emission prediction result includes at least one of tar emission, nicotine emission, and carbon monoxide emission.
[0069] As an example, the sample data to be tested is input into the iteratively completed prediction sub-models. Each prediction sub-model outputs its corresponding initial predicted values for tar release, nicotine release, and carbon monoxide release. The average of the initial predicted values output by each prediction sub-model is calculated to obtain the final release prediction result. Specifically, the overall implementation flowchart of this application is as follows: Figure 2 As shown.
[0070] This application provides a method for predicting the release of chemical substances in cigarette smoke based on chemical composition. In this method, by acquiring first chemical composition data from real cigarette samples and second chemical composition data from single-material cigarette samples, and performing simulated overlay processing on the second chemical composition data, a massive amount of virtual formula data can be generated, solving the problem of data scarcity caused by the difficulty in obtaining real cigarette samples. Target nearest neighbor samples with a distance less than a preset distance threshold from the simulated formula sample are searched in the first chemical composition data, eliminating invalid virtual formulas that deviate from the real space and ensuring the reliability of spatial feature transfer. High-confidence samples and target pseudo-labels are determined through the relative error between the first and second pseudo-labels. The model is then iteratively trained based on the high-confidence samples and target pseudo-labels, significantly improving the generalization ability and accuracy of cigarette formula smoke prediction, thereby enhancing its effectiveness in actual production and new formula design.
[0071] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0072] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0073] The above are merely preferred embodiments of this application and do not limit the scope of this application. Any equivalent structural or procedural transformations made based on the description and drawings of this application, or direct or indirect applications in other related technical fields, are similarly included within the scope of protection of this application.
Claims
1. A method for predicting the release of chemical substances in cigarette smoke based on chemical composition, characterized in that, The method includes: The first chemical component data of a real cigarette sample and the second chemical component data of a single-material cigarette sample are obtained. The second chemical component data is then simulated and superimposed to obtain simulated formula data, which includes multiple simulated formula samples. Multiple prediction sub-models are generated by training the first chemical component data, and target nearest neighbor samples with a distance of less than a preset distance threshold are searched in the dataset corresponding to the first chemical component data. The average flue gas emission of the target nearest neighbor samples is used as the first pseudo-label, and the average prediction of the simulated formula sample by multiple prediction sub-models is used as the second pseudo-label. Based on the relative error between the first pseudo-label and the second pseudo-label, high-confidence samples and target pseudo-labels are determined. The prediction sub-model is iteratively trained using the high-confidence samples and their target pseudo-labels until the model's prediction accuracy reaches a preset accuracy threshold, at which point the release amount prediction result is output.
2. The method for predicting the release of chemical substances in cigarette smoke based on chemical composition as described in claim 1, characterized in that, The step of performing simulated superposition processing on the second chemical component data to obtain simulated formula data includes: The first cigarette auxiliary material parameters of the single-material cigarette sample were extracted by random sampling. The second chemical composition data of multiple single-material tobacco samples are superimposed according to a preset ratio, and combined with the auxiliary material parameters of the first tobacco stick. This process is repeated multiple times to obtain multiple simulated formula data.
3. The method for predicting the release of chemical substances in cigarette smoke based on chemical composition as described in claim 1, characterized in that, The process of training and generating multiple prediction sub-models using the first chemical composition data includes: Obtain a labeled dataset, wherein the independent variables in the labeled dataset include the first chemical composition data of real cigarette samples and the second cigarette auxiliary material parameters of real cigarette samples, and the dependent variable is the smoke release data of real cigarette samples; Multiple data subsets are generated by randomly sampling the labeled dataset multiple times. Multiple different machine learning algorithms are used as base learners for building the model; The multiple data subsets are respectively input into each of the base learners for training, establishing the mapping relationship between the independent variables and the dependent variables, and generating multiple prediction sub-models.
4. The method for predicting the release of chemical substances in cigarette smoke based on chemical composition as described in claim 3, characterized in that, The step of searching for target nearest neighbor samples in the dataset corresponding to the first chemical component data that are less than a preset distance threshold from the simulated formula sample includes: Determine a distance metric function to measure the similarity between samples, wherein the distance metric function is an Euclidean distance function or a Mahalanobis distance function; Based on the distance metric function, calculate the first distance between the feature vectors of the current unlabeled simulated formula sample and each real cigarette sample in the labeled dataset; The first distances are sorted in ascending order, and a preset number of real cigarette samples with the smallest first distance are selected as the initial nearest neighbor samples. Target nearest neighbor samples are selected from the initial nearest neighbor samples.
5. The method for predicting the release of chemical substances in cigarette smoke based on chemical composition as described in claim 4, characterized in that, The step of selecting target nearest neighbor samples from the initial nearest neighbor samples includes: Determine whether the first distance between the initial nearest neighbor sample and the current simulated formula sample is less than a preset distance threshold; If all of them are less than the preset distance threshold, then each of the initial nearest neighbor samples is determined as the target nearest neighbor sample; If there is an initial nearest neighbor sample that is greater than or equal to the preset distance threshold, the current simulated recipe sample is determined to be outlier data, the current simulated recipe sample is removed, and the nearest neighbor search operation of the current simulated recipe sample is terminated.
6. The method for predicting the release of chemical substances in cigarette smoke based on chemical composition as described in claim 1, characterized in that, The step of determining high-confidence samples and target pseudo-labels based on the relative error between the first pseudo-label and the second pseudo-label includes: Determine the relative error between the first pseudo-marker and the second pseudo-marker; Simulated formula samples with relative errors less than a preset error threshold are selected as high-confidence samples, and the mean of the first pseudo-label and the second pseudo-label is used as the target pseudo-label.
7. The method for predicting the release of chemical substances in cigarette smoke based on chemical composition as described in claim 1, characterized in that, The step of iteratively training the prediction sub-model using the high-confidence samples and their target pseudo-labels until the model's prediction accuracy reaches a preset accuracy threshold, and then outputting the release amount prediction result, includes: The high-confidence samples and their target pseudo-labels are added to the training set of the corresponding prediction sub-model, and the updated prediction sub-model is obtained by retraining. The updated prediction sub-model is used to predict the target nearest neighbor samples corresponding to the high confidence samples. After multiple iterations of training, the prediction sub-model is obtained. The sample data to be tested is input into the iteratively completed prediction sub-model, and the average value of the output results of all prediction sub-models is used as the final release amount prediction result.
8. The method for predicting the release of chemical substances in cigarette smoke based on chemical composition as described in claim 7, characterized in that, The step involves predicting the target nearest neighbor samples corresponding to the high-confidence samples using the updated prediction sub-model. After multiple iterations of training, a fully iterated prediction sub-model is obtained, including: The updated prediction sub-model is used to predict the target nearest neighbor samples corresponding to the high confidence samples, and the sum of the mean square errors of the prediction sub-models before and after the update is compared with those of the target nearest neighbor samples. If the sum of the mean squared errors decreases, the high-confidence samples and their target pseudo-labels are retained; if the sum of the mean squared errors remains unchanged or increases, the high-confidence samples and their target pseudo-labels are removed from the training set. Repeat the above steps to iteratively update all prediction sub-models until the coefficient of determination of all prediction sub-models on the validation set is greater than the preset coefficient of determination threshold, or until all samples in the simulated formula data have been traversed, and the iteratively completed prediction sub-models are obtained.
9. The method for predicting the release of chemical substances in cigarette smoke based on chemical composition as described in claim 1, characterized in that, The predicted release amount includes at least one of tar release, nicotine release, and carbon monoxide release.
10. The method for predicting the release of chemical substances in cigarette smoke based on chemical composition as described in claim 1, characterized in that, The methods for obtaining the first chemical component data include: Obtain the first near-infrared spectrum of a real cigarette sample at the actual moisture content; Based on the actual moisture content, the corresponding correction parameters are extracted, and the first near-infrared spectrum is converted into a second near-infrared spectrum under the standard moisture content using the correction parameters. The second near-infrared spectrum is input into a preset near-infrared prediction model, and the first chemical composition data is output.
Citation Information
Patent Citations
Method and device for predicting tobacco chemical components based on spectrum conversion
CN115165795A
