Fermenter parameter deep learning prediction method based on normalization processing and multi-modal extraction
By normalizing and refining the fermenter data and combining it with a deep learning model, the problem of low fermentation prediction accuracy was solved, and high-precision fermentation yield prediction was achieved.
Patent Information
- Application Number
- CN202611474104.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-21
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies struggle to effectively process fermenter data and improve the accuracy of predictive models. Traditional fermentation control relies on human experience and cannot accurately predict the fermentation process.
We employ a deep learning prediction method based on normalization and multimodal extraction. By acquiring multimodal data, performing time alignment and standardization cleaning, and carrying out differential normalization processing, we use convolutional neural networks and long short-term memory networks to extract features and train a deep learning prediction model.
It significantly improves the accuracy of fermentation yield prediction to over 95%, eliminates interference from different physical dimensions, and the model is able to capture instantaneous fluctuation trends and long-term patterns in the fermentation process.
Smart Images

Figure CN123178797A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the interdisciplinary field of bio-fermentation engineering and artificial intelligence, and in particular to a deep learning prediction method based on fermenter parameter standardization, normalization and multimodal extraction. Background Technology
[0002] Industrial fermentation is a highly complex dynamic system involving numerous time-varying biochemical reactions and physical mass transfer processes. During fermentation, fermenters generate massive amounts of monitoring data, including but not limited to static experimental design parameters, initial condition parameters, and frequently sampled dynamic process parameters. Traditional fermentation control relies heavily on human experience, making it difficult to accurately predict fermentation trends. With the development of artificial intelligence, deep learning models have been introduced into fermentation engineering. However, due to the wide variety of fermentation data sources and their diverse dimensions, directly using raw data for model training often results in low prediction accuracy. Currently, there is an urgent need for a method that can effectively process fermenter data and improve the accuracy of prediction models. Summary of the Invention
[0003] The technical problem to be solved by the present invention is to provide a deep learning prediction method for fermenter parameters based on normalization processing and multimodal refining, which addresses the shortcomings of the prior art.
[0004] To solve the above-mentioned technical problems, the technical solution adopted by the present invention is as follows: In a first aspect, the present invention provides a deep learning prediction method for fermenter parameters based on normalization processing and multimodal refining, the method comprising the following steps: Step S1: Obtain multimodal data of the fermenter, wherein the multimodal data includes static parameters of the fermenter and dynamic parameters obtained by online acquisition by sensors and offline biochemical determination during the operation of the fermenter; Step S2: Perform time alignment and standardization cleaning on the extracted multimodal data to obtain preprocessed parameters; Step S3: Perform differential normalization processing on the preprocessed parameters. The differential normalization processing adopts a matching mathematical transformation algorithm for parameters with different physical characteristics. Step S4: Use a multimodal extraction algorithm that integrates convolutional neural networks and long short-term memory networks to extract features from the data processed in step S3 to obtain a comprehensive feature vector; Step S5: Train a deep learning prediction model using the extracted comprehensive feature vectors, and obtain a fermenter index prediction model after training is completed. Step S6: Use the fermenter index prediction model to predict the concentration of fermentation products and the consumption index of culture medium.
[0005] Preferably, the static parameters include experimental design parameters, initial condition parameters, and equipment parameters; The experimental design parameters include the type of feeding strategy, which includes exponential feeding strategy, linear feeding strategy, gradient feeding strategy, and constant residual sugar feeding strategy.
[0006] Preferably, the dynamic parameters include controllable process parameters, process response parameters, gas composition parameters, offline measurement parameters, and near-infrared spectral data.
[0007] Preferably, the controllable process parameters include stirring speed, aeration rate, feed rate, acid flow rate, alkali flow rate, defoamer flow rate, temperature setpoint, dissolved oxygen setpoint, and pH setpoint.
[0008] Preferably, the process response parameters include measured values of pH, dissolved oxygen, and temperature.
[0009] Preferably, in step S3, the values of pH and dissolved oxygen in the dynamic parameters are linearly mapped to the range of 0 to 1 using a deviation normalization algorithm.
[0010] Preferably, in step S3, the values of feed flow rate, acid flow rate, and alkali flow rate are first subjected to logarithmic transformation to compress the numerical range, and then mean-variance standardization is performed.
[0011] Preferably, step S4 includes using a convolutional neural network to perform feature dimensionality reduction on the near-infrared spectral data and using a long short-term memory network to extract the temporal correlation features of dynamic parameters evolving with fermentation time.
[0012] A second aspect of the present invention provides an electronic device including a memory and a processor, wherein the memory stores a computer program, and the processor executes the program to implement the method described above.
[0013] A third aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method described above.
[0014] The beneficial effects of this invention are: This invention provides a method for unifying the temporal dimension and preprocessing multimodal data from fermenters. By introducing a normalization preprocessing procedure, this invention effectively eliminates the adverse interference of different physical dimensions on model training. Combined with multimodal extraction technology, the model can simultaneously capture the instantaneous fluctuation trends and long-term static patterns during the fermentation process. Experimental data shows that the method provided by this invention can improve the prediction accuracy of fermentation yield to over 95%. Attached Figure Description
[0015] Figure 1 This is a schematic diagram of the data governance and multimodal model prediction process framework provided by the present invention; Figure 2 A comparison diagram of the dynamic evolution of the core dynamic parameters of fermentation before and after the normalization treatment described in this invention; Figure 3 This is a comparison of the validation set loss function decline curves of the experimental group and the control group during model training. Figure 4 This is a scatter plot comparing the model-predicted yield and the actual measured yield for the experimental and control groups.
[0016] Explanation of reference numerals in the attached figures: 10. Fermentation tank body; 11. Static parameter and equipment control input terminal; 12. Offline sampling and biochemical determination terminal; 13. Dynamic parameter online acquisition node group; 20. Multimodal data preprocessing and refining server; 21. Deep learning hybrid neural network hardware processing unit; 30. Comprehensive feature and prediction index data stream; 40. Fermentation status and key index prediction monitoring terminal. Detailed Implementation
[0017] The present invention will be further described in detail below with reference to embodiments, so that those skilled in the art can implement it based on the description.
[0018] It should be understood that terms such as “having,” “comprising,” and “including” as used herein do not exclude the presence or addition of one or more other elements or combinations thereof.
[0019] Example 1: Time Alignment and Standardization Management of Multi-Source Heterogeneous Data from Fermentation Tanks This embodiment provides a method for unifying and preprocessing the time dimension of multimodal data from fermenters.
[0020] Because the fermentation process involves sampling sources of varying frequencies, the system needs to extract complete batch data from the execution database and perform rigorous classification. The system extracted full-cycle data from 100 batches of fermentation data. The extracted parameters were scientifically categorized into four main types: static, initial, equipment, and dynamic. The specific parameter modal classifications, representative parameter names, and physical meanings are shown in Table 1.
[0021] Table 1. Fermentation Tank Parameter Modal Classification Table Modal categories Parameter subclass Parameter name Physical meaning static parameters Experimental design parameters batch_id Batch number Static parameters Experimental design parameters tank_id Fermentation tank number static parameters Experimental design parameters feed_strategy Feeding strategy types: 1 = Exponential, 2 = Linear, 3 = Gradient, 4 = Constant residual sugar static parameters Experimental design parameters strain_type strains static parameters Experimental design parameters medium_type Culture medium type Static parameters Initial condition parameters initial_volume Initial liquid volume (L) static parameters Initial condition parameters initial_OD Initial cell concentration static parameters Initial condition parameters initial_glucose Initial glucose concentration (g / kg) static parameters Initial condition parameters inoculum_volume Inoculation volume (mL) static parameters Initial condition parameters inoculum_OD OD value of inoculated bacterial solution static parameters Initial condition parameters feed_medium_composition Composition of the feed solution (glucose concentration %) static parameters Equipment parameters tank_model Fermentation tank model static parameters Equipment parameters working_volume Working volume (L) static parameters Equipment parameters air_valve_id Air valve number Dynamic parameters Controllable process parameters Agit Stirring speed (rpm) Dynamic parameters Controllable process parameters AirFlow Ventilation rate (L / min) Dynamic parameters Controllable process parameters Base-Flow Alkali solution flow rate (L / min) Dynamic parameters Controllable process parameters Acid-Flow Acid flow rate (L / min) Dynamic parameters Controllable process parameters Feed-Flow Feed flow rate (L / min) Dynamic parameters Controllable process parameters AF-Flow Defoamer flow rate (L / min) Dynamic parameters Controllable process parameters Temp_setpoint Temperature setpoint (°C) Dynamic parameters Controllable process parameters DO_setpoint DO setting (%) Dynamic parameters Controllable process parameters pH_setpoint pH setting value Dynamic parameters Process response parameters pH pH Dynamic parameters Process response parameters DO Dissolved oxygen (%) Dynamic parameters Process response parameters Temp Temperature (°C) Dynamic parameters Process response parameters Press Can pressure (bar) Dynamic parameters Process response parameters Weight Total weight (kg) Dynamic parameters Process response parameters FeedContainWeight1 / 2 Weight of the feed tank (g) Dynamic parameters Process response parameters loss Moisture loss (g) Dynamic parameters Gas composition parameters <![CDATA[IN_O2 / CO2 / N2]]> Intake air composition (%) Dynamic parameters Gas composition parameters <![CDATA[OUT_O2 / CO2 / N2]]> Exhaust gas composition (%) Dynamic parameters Gas composition parameters OUR Oxygen consumption rate (mmol / L·h) Dynamic parameters Gas composition parameters CER CO2 production rate (mmol / L·h) Dynamic parameters Gas composition parameters RQ Respiratory Quotient (CER / OUR) Dynamic parameters Offline measurement parameters OD Bacterial concentration Dynamic parameters Offline measurement parameters glucose Residual sugar concentration (g / kg) Dynamic parameters Offline measurement parameters Tyrosine Product concentration (g / kg) Dynamic parameters Offline measurement parameters OD (Online) Soft measurement of bacterial cell concentration Dynamic parameters Offline measurement parameters Glucose (online) Soft measurement of residual sugar Dynamic parameters Offline measurement parameters Tyrosine (online) Soft measurement products Dynamic parameters Specific rate parameter Rx, rx, qx Characteristics of bacterial growth rate Dynamic parameters Specific rate parameter Rp, rp, qp Product formation rate characteristics Dynamic parameters Specific rate parameter <![CDATA[RCO2, qCO2]]> <![CDATA[CO2 generation characteristics]]> Dynamic parameters Specific rate parameter <![CDATA[RO2, qO2]]> <![CDATA[O2 consumption characteristics]]> Dynamic parameters Spectral data NIR_spectrum Near-infrared spectroscopy After extracting the above parameters, the system performs time alignment processing on the multi-source heterogeneous data. Online process response parameters have high-frequency characteristics, and the sampling frequency is set to once per minute. Offline biochemical assay parameters are low-frequency sparse data, and the sampling frequency is approximately once every 2 hours. Near-infrared spectral data have mid-frequency characteristics, and the sampling frequency is once every 3 to 5 minutes.
[0022] The near-infrared spectral data is acquired online by a near-infrared spectral probe installed on the fermenter. The measurement object is the entire mixed system of fermentation broth inside the fermenter, rather than a single substance separated from the fermentation broth. At each sampling time, a near-infrared spectral vector composed of multiple wavelength channels is obtained. This spectral vector comprehensively reflects the spectral response of cells, substrates, products, and other components in the fermentation broth. To achieve feature-level synchronization, the system resamples all data streams to a unified 1-minute time grid. For offline biochemical assay data, the system uses linear interpolation to fill sparse data points, thus smoothly reconstructing the metabolic trends during fermentation. For near-infrared spectral data, the system uses nearest-neighbor interpolation or linear interpolation methods based on the time window for feature alignment. Subsequently, the system uses physical boundary checking logic to verify the cleaned structured tensor and remove abnormal noise points. The logical architecture of this process is shown in the attached figure. Figure 1 .
[0023] Example 2: Construction of a Deep Learning Prediction Model Based on Normalization and Multimodal Extraction This embodiment implements differentiated normalization governance for parameters with different physical characteristics based on data alignment.
[0024] The system divides the dataset into experimental and control groups. Instead of using a single scaling method, the experimental group selects the optimal mathematical transformation algorithm based on the parameter distribution characteristics. For the pH parameter, the system sets its physical fluctuation range to 6 to 8 and maps it to a dimensionless interval of 0 to 1 using a deviation standardization formula. For the dissolved oxygen (DO) parameter, the system sets its saturation range to 0 to 100 and performs the same linear mapping. For the temperature parameter, the system uses a mean-variance standardization algorithm, subtracting the mean and dividing by the standard deviation to highlight small perturbations near the set value.
[0025] For flow-related parameters (such as alkali flow rate and feed flow rate), due to their large numerical range and skewed distribution, the system first performs a logarithmic transformation to compress the numerical range, and then combines this with mean-variance standardization. This combined strategy effectively solves the impact of large flow fluctuations on model gradient updates. For near-infrared spectral data with up to 909 dimensions, the system directly inputs the normalized data into a dedicated convolutional neural network module for dimensionality reduction and refinement. The specific alignment and normalization schemes are shown in Table 2.
[0026] Table 2. Fermentation Parameter Time Alignment and Differential Normalization Strategies Data Classification Representative parameter name Sampling and Alignment Strategies Normalization and standardization algorithms Technical Function Description Online process response pH value, dissolved oxygen (DO) 1-minute time grid resampling The deviation is standardized and mapped to the interval [0, 1]. Eliminate dimensional differences and stretch subtle fluctuation details Online process response Temperature 1-minute time grid resampling StandardScaler Mean and Variance Standardization Highlighting the minute, unusual fluctuations in temperature around the set value Controllable traffic Feed-flow 1-minute time grid resampling Logarithmic transformation combined with mean and variance standardization Reduce the oscillations caused by large and drastic fluctuations in model gradient updates Offline biochemical assay Glucose, bacterial cell concentration (OD) Linear interpolation aligned to 1-minute grid The deviation is standardized and mapped to the interval [0, 1]. Solving the problem of sparsity in offline data and mismatch in time resolution of online data High-dimensional spectral data Near-infrared spectroscopy (NIR) Nearest neighbor or linear interpolation alignment Convolutional Neural Network Feature Dimensionality Reduction and Extraction Achieving cross-modal feature alignment of high-dimensional spectral vectors with other time-series data Through the above-described refined processing, the system effectively eliminates the deviations between different physical dimensions. (Refer to the attached diagram.) Figure 2 It can be observed that the normalized multimodal features achieve complete uniformity on the numerical scale. Figure 2 The left-middle graph shows the curves of the original monitoring values changing with fermentation time. Due to the extremely large magnitude of the stirring speed, the vertical axis of the graph is excessively stretched, and the fluctuation characteristics of dissolved oxygen and pH are severely compressed and obscured. The bottom graph shows the characteristic evolution curves after differential normalization. Stirring speed, dissolved oxygen, and pH are all uniformly mapped to the dimensionless range of 0 to 1, clearly showing the instantaneous synergistic relationship of these three core dynamic parameters during the fermentation cycle.
[0027] Subsequently, the system concatenates the extracted temporal features with the semantic encoding of static parameters and performs parallel training using a deep learning framework. (Refer to the attached diagram.) Figure 3 This differentiated governance approach enables the loss function of the experimental group model to converge more quickly and smoothly. Figure 3 The dashed line represents the experimental group model using the differentiated normalization processing described in this invention. This curve shows that the model achieves smooth and rapid convergence and reaches a very low loss threshold within a very small number of training epochs. The solid line in the figure represents the control group model with the original input values. This curve exhibits violent oscillations throughout the training cycle and fails to achieve ideal convergence accuracy. This fully demonstrates that the data preprocessing method of this invention can significantly eliminate the interference of dimensional differences on gradient updates and greatly reduce training computational power consumption.
[0028] Evaluation of the impact of normalization on model prediction performance in Test Example 1 This test case aims to quantitatively evaluate the actual predictive effect of the present invention. The performance of the experimental group and the control group in predicting L-tryptophan production is shown in Table 3 and... Figure 4 As shown.
[0029] Table 3. Comparison of multidimensional predictive performance between the experimental group and the control group Evaluation Indicator Classification Specific assessment items Experimental group (normalized plus multimodal) Control group (raw numerical input) Performance optimization results Product synthesis prediction Final product yield prediction accuracy 95.20% 71.80% Accuracy improved by 23.4% Product synthesis prediction Product generation rate specific (rp) fit 0.92 0.61 Rate tracking accuracy significantly improved Culture medium consumption prediction Root mean square error of offline residual sugar concentration 0.05 0.28 Error decreased by 82.1% Gas metabolism prediction Accuracy of oxygen consumption rate (OUR) feature extraction 96.50% 78.20% Enhanced ability to discriminate metabolic activity Model training performance Validation set loss function (Loss) convergence limit 0.012 0.145 Convergence accuracy improved by an order of magnitude Model training performance Number of training epochs required to achieve stable convergence 180 rounds Fluctuations continue even after more than 1,000 rounds. Training computational power consumption significantly reduced The experimental data in Table 3 clearly show that the experimental group model achieved a yield prediction accuracy of 95.2%. In contrast, the control group, lacking normalization, suffered from severe interference from the large numerical parameter of stirring speed during model weight updates, resulting in a prediction accuracy of only 71.8%. Furthermore, the experimental group model's validation set loss function convergence accuracy was significantly better than the control group. These test results fully demonstrate that normalization combined with multimodal feature extraction can significantly eliminate modal differences and dimensional noise in fermentation data, exhibiting extremely high potential for industrial application.
[0030] Figure 4This is a scatter plot comparing the predicted yields and actual measured yields of the experimental and control groups. The solid line running along the diagonal represents the ideal prediction baseline for y=x. The experimental group's predicted data, using the method of this invention, is represented by square scatter plots, closely fitting the baseline and exhibiting extremely high fitting accuracy and minimal error. The unprocessed control group's predicted data is represented by circular scatter plots, showing significant dispersion and prediction deviation in the plot. This intuitive visual comparison strongly demonstrates that the data processing framework described in this invention can significantly improve the predictive ability of deep learning models for fermentation end products.
[0031] Example 1: Feature Extraction of Fermentation Time Series Data Based on Variable Reversal Mechanism This embodiment combines Figure 1 The data processing flow of this invention is described in detail. The system first collects environmental and control parameters in real time using various sensors at the top of the fermenter. The raw data stream is then cleaned and standardized by a data preprocessing module. For example... Figure 1 As shown, the preprocessed data stream enters the sliding window segmentation module.
[0032] This module breaks away from the traditional model's approach of sampling and concatenating all variables at specific time points. The system performs a variable inversion operation, reconstructing all time-series values of a single variable within a historical window (e.g., the past 24 hours) into an independent feature token. This variable-dimensional serialization approach allows the model to directly capture the evolutionary patterns of specific parameters at the input layer. The processed multidimensional feature tensor serves as the input to the subsequent iTransformer model, laying the foundation for accurate analysis of the coupling relationships between variables.
[0033] Example 2: Implementation of a Prediction Architecture Based on iTransformer and Hybrid Expert Model This embodiment combines Figure 2 The internal mechanism of the core prediction model of this invention is explained. For example... Figure 2 As shown, the model presents a hierarchical processing architecture from bottom to top. The bottom layer receives the input temporal feature data generated in Example 1 and feeds it into a temporal convolutional layer using an inverted Transformer structure.
[0034] This layer uses a self-attention mechanism to explicitly calculate the interaction weights between different fermentation variables. Subsequently, the processed feature vectors are fed into the Hybrid Expert Model (MoE) module. This module contains a shared feature extraction layer and multiple parallel species-specific expert networks. The gated routing module calculates the matching degree between the input features and different expert networks (such as E. coli experts, yeast experts, etc.) in real time. Figure 2The system dynamically activates corresponding expert branches and performs weighted summation on the routing distribution path, ultimately generating accurate prediction values through the output layer. This architecture not only improves the prediction accuracy for single bacterial species but also achieves modular knowledge storage through the decoupling of expert modules.
[0035] Example 3: Validation and Comparative Analysis of Cross-Species Transfer Learning Performance This embodiment verifies the superiority of the present invention in practical industrial applications through comparative experiments. Technicians conducted performance tests on the MoE prediction model described in this invention and a traditional monolithic deep learning retrained model.
[0036] The experiment aims to predict a novel fermentation process for recombinant proteins. For example... Figure 3 As shown in the figure, the horizontal axis represents the number of iterations of model training on the new process dataset, and the vertical axis represents the mean absolute percentage error of the prediction results. From Figure 3 The curve comparison reveals that, due to its hybrid expert architecture and reuse of common fermentation features in the shared layers, the prediction error of this invention rapidly converges to a low level within a very small number of training epochs. In contrast, traditional models require several times the sample size and training time to achieve the same accuracy. This result intuitively demonstrates that this invention possesses significant cross-scenario generalization ability and transfer learning efficiency when handling new strains and new process tasks.
[0037] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a computer program instructing related hardware. The related program can be stored in a computer-readable storage medium, such as a read-only memory, disk, or optical disk in the electronic device of the present invention. When the program is executed, the processor of the electronic device will call the instructions stored in the memory to execute the various steps of the above-described fermentation process prediction method.
[0038] Although the embodiments of the present invention have been disclosed above, they are not limited to the applications listed in the specification and embodiments. They can be applied to various fields suitable for the present invention. For those skilled in the art, other modifications can be easily made. Therefore, without departing from the general concept defined by the claims and their equivalents, the present invention is not limited to the specific details.
Claims
1. A deep learning prediction method for fermenter parameters based on normalization processing and multimodal refining, characterized in that, The method includes the following steps: Step S1: Obtain multimodal data of the fermenter, wherein the multimodal data includes static parameters of the fermenter and dynamic parameters obtained by online acquisition by sensors and offline biochemical determination during the operation of the fermenter; Step S2: Perform time alignment and standardization cleaning on the extracted multimodal data to obtain preprocessed parameters; Step S3: Perform differential normalization processing on the preprocessed parameters. The differential normalization processing adopts a matching mathematical transformation algorithm for parameters with different physical characteristics. Step S4: Use a multimodal extraction algorithm that integrates convolutional neural networks and long short-term memory networks to extract features from the data processed in step S3 to obtain a comprehensive feature vector; Step S5: Train a deep learning prediction model using the extracted comprehensive feature vectors, and obtain a fermenter index prediction model after training is completed. Step S6: Use the fermenter index prediction model to predict the concentration of fermentation products and the consumption index of culture medium.
2. The method according to claim 1, characterized in that, The static parameters include experimental design parameters, initial condition parameters, and equipment parameters; The experimental design parameters include the type of feeding strategy, which includes exponential feeding strategy, linear feeding strategy, gradient feeding strategy, and constant residual sugar feeding strategy.
3. The method according to claim 1, characterized in that, The dynamic parameters include controllable process parameters, process response parameters, gas composition parameters, offline measurement parameters, and near-infrared spectral data.
4. The method according to claim 3, characterized in that, The controllable process parameters include stirring speed, aeration rate, feed flow rate, acid flow rate, alkali flow rate, defoamer flow rate, temperature setpoint, dissolved oxygen setpoint, and pH setpoint.
5. The method according to claim 4, characterized in that, The process response parameters include measured values of pH, dissolved oxygen, and temperature.
6. The method according to claim 5, characterized in that, In step S3, the values of pH and dissolved oxygen in the dynamic parameters are linearly mapped to the range of 0 to 1 using a deviation normalization algorithm.
7. The method according to claim 6, characterized in that, In step S3, the values of feed flow rate, acid flow rate, and alkali flow rate are first subjected to logarithmic transformation to compress the range of values, and then mean-variance standardization is performed.
8. The method according to claim 1, characterized in that, Step S4 includes using a convolutional neural network to perform feature dimensionality reduction on near-infrared spectral data and using a long short-term memory network to extract the temporal correlation features of dynamic parameters evolving with fermentation time.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the program, it implements the method of any one of claims 1-8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method of any one of claims 1-8.
