Neural network multi-task multi-melting curve identification method based on time series data

Through the neural network multi-task multi-melting curve identification method based on time series data, the difficult problems of melting curve fitting and peak identification caused by few instrument collection points and poor data quality in traditional technology are solved, and high-accuracy Tm value identification and peak identification are achieved. Smoothing, simplifying processes and improving fault tolerance.

CN118708974APending Publication Date: 2024-09-27AUTOBIO LABTEC INSTR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410942278.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

Traditional multiplex fluorescence quantitative PCR technology cannot effectively perform melting curve fitting, smoothing and peak identification when the instrument collection points are few and the data quality is low, and it is prone to fusion peaks leading to the risk of non-specific identification.

Method used

A neural network multi-task multiple melting curve identification method based on time series data is used to convert the original data into three-dimensional time series data through first-order and second-order differences, and build a multi-task neural network model. Combined with a fully convolutional neural network and a multi-label binary classification model, use DWA balances weights to achieve smoothing of melting curves and identification of Tm values.

Benefits of technology

It improves the one-time detection rate of melting peaks, simplifies the processing flow, reduces parameter optimization, enhances fault tolerance, and achieves high-accuracy Tm value position identification and smoothed melting peak curve output.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118708974A
    Figure CN118708974A
Patent Text Reader

Abstract

The invention discloses a time sequence data neural network-based multi-task multiple melting curve identification method, which solves the problems of melting curve smoothing and Tm value and fusion peak identification in PCR fluorescent quantitative detection through a multi-task neural network model, and compared with a traditional processing method, the processing method of the multi-task neural network is simple in process and high in efficiency. A large number of parameter optimization correction is not needed, the one-time detection rate of the melting peak is improved, and the fault tolerance performance is higher.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of multiple fluorescence quantification, and in particular to a multi-task multiple melting curve recognition method based on time series data neural network. Background Art

[0002] Multiple fluorescence quantitative PCR (Multiple fluorescence quantitative PCR) technology is based on the fluorescence quantitative PCR technology, using a combination of several different fluorescent groups, combined with the instrument's ability to detect fluorescence in different channels to achieve real-time quantitative detection of multiple targets. Multiple PCR is mainly used for simultaneous detection of multiple pathogenic microorganisms or identification of certain pathogenic microorganisms, certain genetic diseases and oncogene typing identification. For example: simultaneous detection or identification of multiple pathogenic microorganisms is to add specific primers of multiple pathogenic microorganisms to the same PCR reaction tube at the same time, perform PCR amplification, and simultaneously detect multiple pathogens or identify infection by a certain or multiple types of pathogens.

[0003] For the data output by fluorescent instruments with high resolution and many sampling points, the traditional algorithm uses fitting melting curves, and calculates the first-order derivative based on the melting curve to generate a melting peak curve, and performs corresponding smoothing on the generated melting peak curve, sets a multi-peak recognition threshold, and uses basic peak height screening to complete the identification of the Tm value. The Tm value means that during the heating process of the PCR reaction, when the half-melting temperature is reached, the fluorescent dye will be free in large quantities, the melting curve will show a rapid decline, and a peak point will be formed on the melting peak curve. The temperature corresponding to the peak point is the Tm value. The Tm value represents the specificity of the corresponding target position on the corresponding channel, which can prove that the specific gene fragment at the relevant target position has been detected, and then the specific type of related disease can be identified.

[0004] However, the premise of the above processing is that the instrument needs to have high resolution and many sampling points. If the instrument has few collection points and the data quality is not high, the traditional algorithm cannot be used to complete the fitting, smoothing and peak identification of the melting curve. At the same time, multiple parameters need to be manually adjusted during the melting curve fitting, smoothing and peak identification process. When there is a fusion peak, that is, the original target position is designed to be relatively close, there is a situation where the two peaks are identified as one peak and adjacent peaks are missed, then additional recognition methods need to be designed, such as recognition based on the convex features of the peak, but this algorithm brings the risk of nonspecific recognition.

[0005] With the development of neural network multi-task recognition algorithms, the neural network multi-task recognition model has been applied to the field of PCR fluorescence quantitative detection, providing a new idea for the fully automated smoothing of PCR fluorescence quantitative detection melting curves, identification of Tm values, solving the fusion peak problem, and melting curve fitting, smoothing and peak recognition when the instrument has fewer collection points and the data quality is not high. Summary of the invention

[0006] The present invention aims to provide a multi-task multiple melting curve identification method based on time series data neural network.

[0007] To achieve the above object, the present invention adopts the following technical solutions: The multi-task multiple melting curve identification method based on time series data neural network of the present invention comprises the following steps: S1, collect a large amount of original melting curve data and smoothed melting peak curves; S2, converting the original melting curve data into three-dimensional time series data using first-order and second-order differences; S3, marking the Tm value position of the smoothed melting peak curve and eliminating non-characteristic data; S4, builds a multi-task neural network model based on FCN; S5, taking the three-dimensional time series data in step S2 as input, and the Tm value position and the smoothed melting peak curve as output, training the multi-task neural network model to obtain a multi-task multiple melting curve recognition model; S6, converting the newly collected original melting curve into three-dimensional time series data by first-order and second-order differences, inputting the data into the multi-task multiple melting curve recognition model, and obtaining the smoothed melting peak curve and Tm value position.

[0008] Furthermore, the multi-task neural network model includes a classification structure and a regression structure. The regression structure adopts a regression model to smooth the original melting curve data and output a smoothed melting peak curve; the classification structure adopts a multi-label binary classification model to identify the Tm value position.

[0009] Furthermore, the classification structure adopts an asymmetric loss to balance the situation where there are fewer Tm value positions; and the regression structure adopts a mean square error loss function.

[0010] Furthermore, in step S5, DWA is used to balance the weights of the classification structure and the regression structure when training the multi-task neural network model.

[0011] The advantage of the present invention is that it solves the smoothing of melting curves, identification of Tm values ​​and fusion peaks in PCR fluorescence quantitative detection through a multi-task neural network model. Compared with traditional processing methods, the processing method of the multi-task neural network has a simple process and does not require a large amount of parameter optimization and correction, thereby improving the one-time detection rate of the melting peak and having higher fault tolerance performance. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 It is a flow chart of the method of the present invention. DETAILED DESCRIPTION

[0013] The technical solutions in the embodiments of the present invention are described clearly and completely below. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0014] The multi-task multiple melting curve identification method based on time series data neural network of the present invention comprises the following steps: S1, collect a large amount of original melting curve data and smoothed melting peak curve. The smoothed melting peak curve is completed by manual processing.

[0015] S2, converting the original melting curve data into three-dimensional time series data by first-order and second-order differences, and filling the insufficient data length with 0.

[0016] S3, manually mark the Tm value position of the smoothed melting peak curve, eliminate non-characteristic data based on professional knowledge, and retain specific data in the data to improve the overall recognition accuracy.

[0017] S4, builds a multi-task neural network model based on the fully convolutional neural network FCN (Fully Convolutional Networks). The multi-task neural network model is based on FCN, and the first three layers of FCN are shared structures. From the fourth layer, it is divided into a classification structure and a regression structure. The regression structure uses a regression model to smooth the original melting curve data and output the smoothed melting peak curve. The classification structure uses a multi-label binary classification model to identify the Tm value position.

[0018] Considering that the regression results have a higher correlation with the data of the same order difference, the intermediate layer results of the third layer data output of FCN are extracted separately, and then two layers of convolution are superimposed on the full connection to output the regression smoothing results as the smoothed melting peak curve. The goals of the data smoothing task and the Tm value search task are mutually reinforcing, so the processing results of the fourth layer in the regression structure are stacked into the fourth layer of the classification structure, and then a convolution is superimposed on the full connection layer to output the Tm value position.

[0019] Asymmetric loss is used in the classification structure to balance the situation where there are fewer Tm value positions; the regression structure directly uses the mean square error loss function.

[0020] S5, taking the three-dimensional time series data in step S2 as input, and the Tm value position and the smoothed melting peak curve as output, training the multi-task neural network model to obtain a multi-task multiple melting curve recognition model.

[0021] In multi-task learning, each subtask should be given the same importance, but the convergence speed and training difficulty of different subtasks are different. Simple tasks should not dominate the entire training, resulting in a large performance gap between subtasks. Manually adjusting the weights of subtasks is a tedious task. It is best to automatically learn the weights, or design a network that is robust to different weights. In order to enable the curve smoothing task and the Tm value recognition task in the multi-task multiple melting curve recognition model of the present invention to obtain relatively balanced training, in order to better integrate the training of the two tasks, the DWA (Dynamic Weight Average) method is used to balance the weight values ​​of the two tasks during the training process. DWA is a weight design mechanism that adjusts the task weights by considering the rate of change of each task loss, which can well balance the weights of the classification structure and the regression structure.

[0022] S6, converting the newly collected original melting curve into three-dimensional time series data by first-order and second-order differences, inputting the data into the multi-task multiple melting curve recognition model, and obtaining the smoothed melting peak curve and Tm value position.

[0023] After the multi-task multiple melting curve recognition model of the present invention is deployed, the collected data is divided into a training set and a test set according to a ratio of 8:2, and the accuracy of the multi-task multiple melting curve recognition model is shown in the following table: Table 1 Table 1 is a description of the accuracy of the multi-task multiple melting curve recognition model of the present invention in identifying the Tm value position on the training set and the test set. Category 1 is the correct identification of the Tm value point, and category 2 is the correct identification of the non-Tm value point. It can be seen from the data in the table that the accuracy of the present invention in identifying the Tm value position can reach 99.97%.

[0024] Table 2 Table 2 shows the distribution of the goodness of fit of the smoothed melting peak curve deleted by the multi-task multiple melting curve recognition model of the present invention on the training set and the test set respectively and the original melting curve data. It can be seen from Table 2 that the minimum goodness of fit between the smoothed melting peak curve output by the multi-task multiple melting curve recognition model of the present invention and the original melting curve data is 0.921, indicating that the smoothed melting peak curve output by the multi-task multiple melting curve recognition model of the present invention is relatively smooth and meets the requirements.

[0025] The above data prove that compared with the prior art, the multi-task multiple melting curve recognition model described in the present invention is more robust, can better output the melting peak curve, and at the same time output accurate Tm value position information, calculate the corresponding Rm value based on the Tm value, and can be well compatible with the recognition of fusion peak problems.

Claims

1. A multi-task multiple melting curve identification method based on time series data neural network, characterized in that: The following steps are involved: S1, collect a large amount of original melting curve data and smoothed melting peak curves; S2, converting the original melting curve data into three-dimensional time series data using first-order and second-order differences; S3, marking the Tm value position of the smoothed melting peak curve and eliminating non-characteristic data; S4, builds a multi-task neural network model based on FCN; S5, taking the three-dimensional time series data in step S2 as input, and the Tm value position and the smoothed melting peak curve as output, training the multi-task neural network model to obtain a multi-task multiple melting curve recognition model; S6, converting the newly collected original melting curve into three-dimensional time series data by first-order and second-order differences, inputting the data into the multi-task multiple melting curve recognition model, and obtaining the smoothed melting peak curve and Tm value position.

2. According to claim 1, a multi-task multiple melting curve identification method based on time series data neural network is characterized in that: The multi-task neural network model includes a classification structure and a regression structure. The regression structure adopts a regression model to smooth the original melting curve data and output a smoothed melting peak curve; the classification structure adopts a multi-label binary classification model to identify the Tm value position.

3. The method for multi-task multiple melting curve identification based on time series data neural network according to claim 2, characterized in that: The classification structure adopts asymmetric loss to balance the situation where there are fewer Tm value positions; the regression structure adopts mean square error loss function.

4. The method for multi-task multiple melting curve identification based on time series data neural network according to claim 2, characterized in that: In step S5, DWA is used to balance the weights of the classification structure and the regression structure when training the multi-task neural network model.