1. Introduction
A transient is an extreme, short-lived astronomical phenomenon with durations of fractions of a second to weeks or years [
1]. Transients are generally related to the destruction of the astrophysical object. Transients have great significance for studying the origin of the universe and physical phenomena in extreme environments [
2]. In the era of multi-messenger astronomy, observation facilities have the characteristics of a wide field and high temporal sampling rate [
1]. Therefore, many transients have been found, such as gravitational wave (GW) [
3], supernova (SN) [
4], Tidal Disruption Event (TDE) [
5], etc. In particular, a counterpart of GW170817 [
6,
7] has been confirmed to be a Kilonova (KN) [
8] and has emerged as a focal point in transient science research.
Some facilities, which can detect transients, are working or being built, such as the Zwicky Transient Facility (ZTF) [
9], Large Synoptic Survey Telescope (LSST) [
10], Dark Energy Survey (DES) [
11], Panoramic Survey Telescope and Rapid Response System, (PanSTARRS) [
12], Gravitational wave high-energy Electromagnetic Counterpart All-sky Monitor (GECAM) [
13], China Space Station Telescope (CSST) [
14], Space-based multi-band astronomical Variable Objects Monitor (SVOM) [
15], etc. One of the important goals of the SVOM mission is to find Target of Opportunity (ToOs) [
15], such as KN. Optical light curves of transients exhibit a rapid decay, and there will be millions of transient alarms every night in the future sky survey [
2]. Therefore, it is necessary to use machine learning technology to study the real-time classification algorithm and determine the classes of transients at an early epoch. This real-time classification algorithm is also helpful to make a follow-up observation of objects and promote the study of their physical properties and precursor systems [
2].
Currently, optical transient classification relies on spectroscopic and photometric data. The spectroscopic classification is the most accurate. But spectroscopic observation is expensive, which has high requirements for telescopes and observation time. Therefore, spectroscopic classification can only be applied to limited objects [
16]. Compared to spectroscopic observation, the photometric method has a lower accuracy but higher efficiency. Photometric classification mainly includes the template fitting method [
17] and machine learning method [
18,
19]. The above classification algorithms in Refs [
17,
18,
19] require that transients have a complete light curve with full phase coverage, so these algorithms cannot classify transients in real time. They are also not suitable for sparse data [
2]. In order to solve the above problems, it is necessary to study the real-time light curve classification algorithms of transients, which can classify transients before obtaining the complete light curve. In the recent five years, Muthukrishna et al. proposed the RAPID algorithm based on two unidirectional gated recurrent unit (GRU) layers [
2]. Möller and de Boissière proposed the supernova framework, which is an SN classifier based on a Bayesian recurrent neural network [
20]. Godines et al. used Random Forest (RF) to classify gravitational microlensing [
21]. Ishida et al. used active learning to achieve early classification of SN [
22]. Villar et al. used a variety of feature extraction methods and data augmentation algorithms combined with the Support Vector Machine (SVM), RF, and Multilayer Perceptron (MLP) to classify SN. The experiment results proved that RF is the optimal classification algorithm. This algorithm can realize early classification in theory, but its accuracy needs to be verified [
23]. Hosseinzadeh et al. named the above algorithm Superphot [
24]. Stachie et al. improved the Rapid algorithm [
25]. The weighted formula is added to the improved algorithm, aiming at identifying KN. Takahashi et al. used the deep neural network with highway layer to classify SN [
26]. Villar et al. proposed a semi-supervised classification algorithm SuperRAENN, which is based on recurrent autoencoder neural networks (RAENNs) [
27]. Baldeschi et al. used RF to classify SN and host galaxies [
28]. Andreoni et al. used a convolutional neural network (CNN) to detect transients and identified KN through the cross-matching method of the star catalog [
29]. Burhanudin et al. used long short-term memory (LSTM) and GRU to classify transient sources, which are suitable for unbalanced data [
30]. Allam et al. used the Transformer framework to classify transients, which were provided via the Photometric LSST Astronomical Timeseries Classification Challenge (PLAsTiCC) [
31]. Later, deep compression technology was used to improve the practicability of the algorithm [
32]. Qu et al. proposed a classifier SCONE [
33] based on CNN. Burhanudin et al. used Gaussian regression to generate heat maps of SN photometric data and used CNN to classify the heat maps [
34]. Gomez et al. proposed a FLEET algorithm based on RF to identify TDE, which needs to use light curves and host galaxies of objects [
35]. Gagliano et al. improved the Rapid algorithm, which used the single-layer LSTM algorithm and added the SN host photometric information to solve the problem of sparse data [
36]. Pimentel et al. proposed a deep attention model (TimeModAttn) to classify supernovae [
37]. Kisley et al. proposed a nuclear density estimation method which only relies on the host photometric information [
38].
To sum up, the popular real-time classifiers mainly include adding host feature information [
28,
35,
36,
38] or using machine learning techniques such as recurrent neural network (RNN) [
2,
20,
25,
27,
30,
36], CNN [
29,
33,
34], Transformer [
31,
32], RF [
21,
23,
24,
28,
35], active learning [
22], etc. The above methods have different advantages: RNN is suitable for a time series data modeling task; CNN has better feature extraction capability than a cyclic neural network; Transformer is usually based on multi-head attention, which can better capture the global information; and RF has high accuracy and strong robustness. We propose a new high-accuracy and efficient classification algorithm: the Temporal Convolutional Network and Light Gradient Boosting Machine combined with Weight module (TLW) algorithm, which is not only suitable for real-time light curves but also has good feature extraction capability and can reduce generalization error. The TLW algorithm will be applied to the ground-based robotic follow-up telescope (C-GFT) in the SVOM mission in the future.
The organization of the paper is as follows: in
Section 2, we introduce a new real-time light curve classification algorithm TLW, which can obtain the type of the transient object rapidly. In
Section 3, we describe the data and the experimental process. In
Section 4, we present an analysis of the experimental results. In
Section 5, we use the TLW algorithm to classify ZTF data, aiming to verify the effectiveness of the algorithm. In
Section 6, we give the conclusions.
4. Result Analysis
All algorithms are trained on TensorFlow architecture in Windows and Python. We use data augmentation technology to obtain four groups of data sets from simulated PLAsTiCC data sets, which are all stratified on class balance. There are 362 samples in Group I, 1195 samples in Group II, 2390 samples in Group III, and 3218 samples in Group IIII. Each group is randomly divided into 80% training set and 20% testing set. After testing the parameters of four training sets, we find that the optimal parameters of the four models are similar. The four groups of models are trained via their own training sets with the same hyperparameters. We mainly adjust the parameters of the number of neurons in each layer of TCN module (Neurons number), the number of LightGBM trees (Tree number), and the parameters of
and
. The result of the parameter adjustment is shown in
Figure 4. We show the results of Group III with the highest accuracy under different parameters. When the Neurons number is too small, we extract fewer features which cannot fully learn the original features of the light curves, so the accuracy is small. When the Neurons number is too large, too many features are extracted, which is easy to over-fit. When the Tree number is too small, fewer decision trees are boosting, and the model will be under-fit. When the Tree number > 50, the difference in model accuracy is small. So, we choose the parameter Tree number = 200 when the accuracy is the highest.
,
, and other parameters (such as max depth) have little influence on the model accuracy. To sum up, the Neurons number is 100, the Tree number is 200,
is 0.1, and
is 0.1.
After completing the experiments in
Section 3.2, the classification results of object transients at each moment can be obtained, and the function of automatic real-time classification can be realized. An example of the results is shown in
Figure 5. The upper figure shows the light curve of the object after correction, and the lower figure shows the probability of the object classes predicted at each moment. The class with the highest probability is considered as the object class. In
Figure 5, the same example objects using two kinds of algorithms all achieve correct classification in a short time since the trigger, which can prove that the experiment is reasonable and effective. In order to eliminate the interference of other factors, we introduce the same data into TLW and Rapid respectively after using the same fitting light curve method and same preprocess. As shown in
Figure 5, the TLW algorithm can correctly classify the example object as SLSN-I before reaching the peak of flux, and its SNSL-I class probability score is much higher than other classes. The TLW algorithm can correctly classify the transient object earlier than the Rapid algorithm. And in the TLW algorithm, the class probability of SLSN-I is greater than 0.8, while that of the Rapid algorithm is less than 0.6. And the object is wrongly classified as SNIa when Time = 35 days. In addition, the classification probability of the correct SNSL-I in the Rapid algorithm is lower than that in the TLW algorithm, and the classification probability of the wrong SNIa is higher. As far as this example, theTLW algorithm shows better classification than the Rapid algorithm.
In order to assess the performance of the TLW algorithm, we use TLW, LSTM, Transformer, CNN, RF, Rapid, and another classification algorithm proposed by our group, the Temporary Convective Network and Extreme Gradient Boosting Combined with Weight Module Algorithm (TXW), to compare four groups of data sets with different sample ensemble sizes of transients. The same data are used to train the above seven classification models respectively. In order to reduce the influence of other factors, we adopt the same experimental process and only use different models. We count the classification results of each transient at each moment and take the ratio of the number of correctly classified results to the total number as the accuracy of the algorithm. The accuracy and implementation timings of the algorithm are shown in
Table 1 and
Table 2.
The results of four groups show that the accuracy of TLW is 11.55%, 21.05%, 25.15%, and 21.39% higher than that of LSTM, with an average increase of 19.79%, and the implementation timing of TLW is 5.17%, 86.95%, 86.55%, and 87.42% less than that of LSTM, with an average decrease of 86.52%. Compared with Transformer, the accuracy of the TLW algorithm is improved by 10.77%, 16.05%, 20.18%, and 20.85% respectively, with an average increase of 16.97%, and the implementation timing is reduced by 14.71%, 30.79%, 19.81%, and 11.99%, with an average decrease of 19.33%. Compared with CNN, the accuracy of the TLW algorithm is improved by 7.48%, 17.24%, 20.35%, and 20.36%, with an average increase of 16.36%, and the implementation timing is reduced by 91.63%, 94.21%, 93.8%, and 94.18%, with an average decrease of 93.46%. Although the efficiency of TLW is lower than that of RF and Rapid, its accuracy is higher. The accuracy of TLW is 4.25%, 11.07%, 13.02%, and 14.15% higher than that of RF, with an average increase of 10.63%. The accuracy of TLW is 4.38%, 5.74%, 7.46%, and 1.4% higher than that of Rapid, with an average increase of 4.75%. The TLW algorithm will discard some feature information. When the sample ensemble size is small, TLW is difficult to obtain a complete feature set, which will affect the accuracy. Therefore, when TLW is applied to Group I and Group II with small sample ensemble sizes, the accuracy values of results are slightly lower than those of TXW. With the increase in sample ensemble size, the classification results of Group III show that the accuracy of TLW is 1.88% higher than that of TXW, and the classification results of Group III show that the accuracy of TLW is 1.17% higher than that of TXW. It is due to the fact that the leaf-wise growth strategy can generate more complex trees, thus improving the accuracy of the algorithm. The efficiency of TLW is higher than that of TXW. Compared with TXW, the implementation timing of TLW algorithm is reduced by 2.6%, 19.89%, 15.22%, and 19.6%, with an average decrease of 14.33%. Although the sample ensemble size of Group IIII is larger, the sample data are mixed with more noise, and the data quality is worse than that of Group II and Group III, so the classification accuracies of different algorithms applied to Group IIII are mostly lower than those of Group II and Group III. However, the sample ensemble size of Group I is too small, so the influence of sample ensemble size factor on the result accuracy exceeds that of the noise factor. Therefore, in order to improve the accuracy of the model, we not only need to expand the sample ensemble size of the data set but also need to select the training data with high quality and remove the samples polluted with excessive noise.
To sum up, the average accuracy of TLW is 84.54%, which is the highest among the seven algorithms, and the average implementation timing is 123.09 s. The results can prove that the TLW algorithm has the best comprehensive performance and has the advantages of high precision and high efficiency. The TLW algorithm includes many effective techniques to mitigate over-fitting, such as residual block, dropout layer, leaf-wise tree growth strategy with depth limitation, L2 regularization in Equation (4), etc. We also use a variety of techniques to mitigate under-fitting, such as using the TCN module, which can extract a large number of features; using a boosting algorithm (LightGBM); and using a data augmentation method. The training set accuracy and testing set accuracy of the TLW model are both high, which shows that the model is low deviation and low variance. The loss vs. training epoch diagrams of TLW and Rapid is shown in
Figure 6. The loss function of Rapid and TCN module in TLW is categorical cross entropy, and the loss function of the LightGBM module and Weight module is softmax. When the epoch is 100, the Rapid and the TCN module in TLW has approximate minimum loss, and the Rapid model and TLW feature extraction model are trained to be optimal. The features extracted from the TCN module are used to train the LightGBM module and Weight module in TLW. When the number of decision trees is 200, loss is the lowest, and the TLW model is trained to the optimal. In the results of repeated training, the minimum loss values of the models are similar. We choose the minimum loss values as the minima of the training and testing loss function.
The TLW algorithm can not only classify the real-time light curves of transients but also obtain high-precision classification results in 1–2 days since trigger time (t = 0), which can be used for early classification. In order to evaluate the performance of the TLW real-time classification algorithm, this paper selects the Group III data set with the highest accuracy and uses Confusion Matrix, Precision-Recall (PR) curve and Receiver Operating Characteristic (ROC) curve as the performance indicators of the algorithm. The classification results of the TLW algorithm and Rapid algorithm were compared and analyzed at 1, 4, 8, 15, 20, 25, and 30 days since the trigger. The results show that the comprehensive performance of the TLW algorithm is better than that of Rapid algorithm.
Among them, Confusion Matrix is shown in
Figure 7,
Figure 8,
Figure 9,
Figure 10,
Figure 11,
Figure 12 and
Figure 13, and the numerical values of cells represent the proportion of each real label classified as a prediction label. The bluer the cell color, the higher the correct rate and the redder the error rate. The results show that at 1, 4, 8, 15, 20, 25, and 30 days since the trigger, the classification results of the TLW algorithm are higher than those of the Rapid algorithm. In the result of applying the TLW algorithm, the classification accuracy of SNIa, TDE, and SNSL-I is equal to or more than 0.5 at 1 day since the trigger. Because the decay rate of brightness of KN is too fast, the light curve we extracted contains fewer points with signal feature of transient than other classes, so some KNs are misjudged as pre-explosion. With the increase in time, the points with signal contained in the optical curve increase, and the accuracy of various transients is improved. At 30 days since the trigger, the accuracy of KN also reached 0.89, and the accuracy of the other three categories exceeded 0.9. However, the accuracy of various classes of the Rapid algorithm is relatively low, and KN classes are not correctly classified. It may be because the Group III data set only contains 2390 samples, while the Rapid paper uses tens of thousands of samples, which leads to the low accuracy of the Rapid model. Due to the noise mentioned in
Section 2.3, the accuracy of the results of the Rapid algorithm is the highest on the 20 days since the trigger, and the accuracy of the results decreases on the 25 and 30 days since the trigger. The TLW algorithm solves this problem. The experimental results show that the TLW algorithm has a high accuracy and is anti-noise, and high-accuracy results can be obtained in the early stage of transient.
The horizontal axis of PR curve is recall rate R(Recall), and the vertical axis is precision rate P(Precision). P represents the accuracy of predicting the correct positive samples, which is defined as
, where TP is True Positive, the classifier predicts positive samples and is actually positive samples. FP is False Positive, and the classifier predicts a positive sample, but it is actually a negative sample. R represents the coverage of positive samples with correct prediction and is defined as
, where FN is False Negative, and the classifier predicts negative samples, which are actually positive samples. A high-performance algorithm should have both high accuracy and high recall. In order to analyze PR curve, we give the average accuracy (AP) below the curve and summarize PR curve into a single value representing the average of all the accuracy.
, where n is the threshold number of PR curve. The larger the AP, the higher the accuracy and the better the performance of the algorithm. As shown in
Figure 14,
Figure 15,
Figure 16,
Figure 17,
Figure 18,
Figure 19 and
Figure 20, the micro-average AP of TLW is 0.21, 0.21, 0.19, 0.17, 0.2, 0.2, and 0.19 higher than that of Rapid at 1, 4, 8, 15, 20, 25, and 30 days since the trigger. The AP of KN is 0.21, 0.3, 0.32, 0.17, 0.19, 0.19, and 0.09 higher respectively. The AP of SLSN-I is improved by 0.25, 0.22, 0.16, 0.12, 0.2,0.2, and 0.19 respectively. The AP of SNIa is improved by 0.16, 0.22, 0.29, 0.17, 0.18, 0.21, and 0.28 respectively. The AP of TDE is improved by 0.05, 0.05, 0.01, 0.06, 0.04, 0.07, and 0.05 respectively. With the increase in the number of days since the trigger, the micro-average AP values of both algorithms increase, which also proves that the more complete the light curve, the better the classification results. Moreover, the AP of the four classes of TLW is higher than Rapid at each moment.
The horizontal axis of ROC curve is False Positive Rate (FPR), and the vertical axis is True Positive Rate (TPR). TPR represents the proportion of samples that are actually positive, and it is defined as
, and TPR and R are the same. FPR represents the proportion of samples that are actually negative and are wrongly predicted to be positive, and it is defined as
, TN is True Negative, and the classifier predicts negative samples, which are actually negative samples. The higher the TPR and the lower the FPR, the better the performance of the algorithm. In order to analyze ROC curve, we give the area under the ROC curve (AUC) below the curve, and the larger the AUC value the better. Macro-average value is the average of all ROC-like curves. Micro-average value is the weighted average of ROC curve considering the number of each class. As shown in
Figure 21,
Figure 22,
Figure 23,
Figure 24,
Figure 25,
Figure 26 and
Figure 27, compared with Rapid, ROC curve shows that the micro-average AUC of TLW is improved by 0.12, 0.11, 0.09, 0.06, 0.07, 0.08, and 0.07 respectively, and the macro-average AUC is improved by 0.12, 0.1, 0.08, 0.06, 0.07, and 0.06 respectively at 1, 4, 8, 15, 20, 25, and 30 days since the trigger. The AUC of KN improved by 0.21, 0.21, 0.13, 0.07, 0.08, 0.09, and 0.01; the AUC of SLSN-I improved by 0.16, 0.12, 0.09, 0.06, 0.09, 0.08, and 0.08; the AUC of SNIa improved by 0.1, 0.11, 0.12, 0.1, 0.08, 0.09, and 0.11; and the AUC of TDE improved by 0.08, 0.07, 0.04, 0.06, 0.06, 0.07, and 0.05. To sum up, the AUC of four classes in TLW is higher than Rapid at every moment.
We also compare the time–AUC curves of TLW and Rapid. As shown in
Figure 28, with the increase in time, each AUC of TLW and Rapid has an upward trend. After t > 40 days, the AUC value of the Rapid algorithm decreases due to the influence of noise, and the TXW algorithm weakens the influence of noise. The maximum AUC of the Rapid algorithm is greater than 0.85, while that of the TLW algorithm is approximately 1.
To sum up, the performance of TLW is better than that of Rapid on all days since the trigger, with higher accuracy and better anti-noise ability, which can realize real-time classification of transients.
6. Conclusions
We propose a real-time light curve classification algorithm TLW for transients. The TLW algorithm is based on machine learning. Firstly, the TCN module is used to extract the features of transient photometric data. Secondly, the LightGBM module is used to calculate the probability scores of each candidate class of transients. Finally, the Weight module is used to reduce the noise influence and obtain the real-time classification results of transients. Compared with the classical algorithms, the TLW algorithm has stronger feature extraction ability than GRU, which can effectively extract the time series features of light curves belonging to small sample transients. The TLW algorithm also overcomes the shortcomings that RF and XGBOOST ignore some correlations between attributes in data sets. It solves the problem that CNN is easy to over-fit. The TLW algorithm has good feature extraction ability. It can quickly extract related features when the sample ensemble size is small and the time series data are sparse. Moreover, it has the advantages of high classification accuracy, strong robustness, and effectively reducing the noise influence. Moreover, the TLW algorithm is fast, efficient, and requires little memory.
We use TLW to classify the open-source photometric simulation transient data in g, r, and i bands provided via PLAsTiCC, typing TDE, KN, SNIa, and SNSL-I. In order to verify whether TLW is suitable for data sets with any sample ensemble sizes, comparative experiments are designed to use four groups of data with different sample ensemble sizes to build a classifier. There are 362 samples in Group I, 1195 samples in Group II, 2390 samples in Group III, and 3218 samples in Group IIII. After preprocessing progresses with four sets, such as correcting time, de-reddening, fitting light curve, and data augmentation, we established four different data sets suitable for the model, and each data set is divided into 80% training set and 20% testing set respectively. We use training sets to train seven classifiers, including TLW, LSTM, Transformer, CNN, RF, Rapid, and another classification algorithm proposed via our research team, namely TXW. Then we use these classifiers to classify four groups of testing sets respectively. We compare the accuracy and implementation timings to prove the superiority of TLW algorithm. The results of four groups show that the accuracy of TLW is 11.55%, 21.05%, 25.15%, and 21.39% higher than that of LSTM, with an average increase of 19.79%, and the implementation timing of TLW is 5.17%, 86.95%, 86.55%, and 87.42% less than that of LSTM, with an average decrease of 86.52%. Compared with Transformer, the accuracy of the TLW algorithm is improved by 10.77%, 16.05%, 20.18%, and 20.85% respectively, with an average increase of 16.97%, and the implementation timing is reduced by 14.71%, 30.79%, 19.81%, and 11.99%, with an average decrease of 19.33%. Compared with CNN, the accuracy of the TLW algorithm is improved by 7.48%, 17.24%, 20.35%, and 20.36%, with an average increase of 16.36%, and the implementation timing is reduced by 91.63%, 94.21%, 93.8%, and 94.18%, with an average decrease of 93.46%. Although the efficiency of TLW is lower than that of RF and Rapid, its accuracy is higher. The accuracy of TLW is 4.25%, 11.07%, 13.02%, and 14.15% higher than that of RF, with an average increase of 10.63%. The accuracy of TLW is 4.38%, 5.74%, 7.46%, and 1.4% higher than that of Rapid, with an average increase of 4.75%. Although the accuracy of TLW is less than that of TXW, the implementation timing is 2.6%, 19.89%, 15.22%, and 19.6% less than that of TXW. The average accuracy of TLW is 84.54%, which is the highest among the seven algorithms. In order to verify the real-time classification performance of the TLW algorithm, we select the experimental results of Group III for in-depth analysis and assess the performance of the algorithm by using Confusion Matrix, PR curve and ROC curve of transient at 1, 4, 8, 15, 20, 25, and 30 days since the trigger. Confusion Matrix shows the accuracy of the classification results. We found that the accuracy of TLW is higher than that of Rapid. Compared with Rapid, PR curve shows that the micro-average AP of TLW is improved by 0.21, 0.21, 0.19, 0.17, 0.2, 0.2, and 0.19 at 1, 4, 8, 15, 20, 25, and 30 days since the trigger. Compared with Rapid, ROC curve shows that the micro-average AUC of TLW is improved by 0.12, 0.11, 0.09, 0.06, 0.07, 0.08, and 0.07 respectively, and the macro-average AUC is improved by 0.12, 0.1, 0.08, 0.06, 0.07, and 0.06 respectively at 1, 4, 8, 15, 20, 25, and 30 days since the trigger. To sum up, the performance of the TLW algorithm is better than that of the Rapid algorithm at all days since the trigger, with higher accuracy and better anti-noise ability. The TLW algorithm can realize real-time classification of transients.
We also apply the TLW algorithm to classify the ZTF real transient. The results show that the TLW algorithm has the highest accuracy, which is 9.91% higher than LSTM, 13.6% higher than Transformer, 16.16% higher than CNN, 6.43% higher than RF, 8.85% higher than Rapid, and 1.87% higher than TXW. Furthermore, the implementation timing of TLW is 93.58% less than LSTM, 41.17% less than Transformer, 91.73% less than CNN, and 22.72% less than TXW. Although the implementation timing of TLW is longer than that of RF and Rapid, the accuracy of TLW is high. To sum up, the TLW algorithm has the best comprehensive performance indexes and has the advantages of high precision and high efficiency.
TLW is a real-time classification algorithm, which can provide transient classes at an early stage. In the future, the TLW algorithm will be applied to the SVOM mission to identify ToOs. Due to its wide field camera mounted on the primary focus, C-GFT excels in searching candidate of ToOs, particularly when dealing with significant localization errors. The real-time light curve classification method is well-suited for identifying true transients within the light curves of objects in the localized region. This study is also helpful to make follow-up observation of transients and promote the study of their physical properties and precursor systems.
The TLW algorithm can classify transients preliminarily and rapidly using the shapes of light curves, aiming to obtain the classes of transients such as TDE and SN. However, many types of transients have special subclasses. For example, the TDE could be expected to be a repeating periodic event. The TLW algorithm can confirm that the type of the object is TDE within an outbreak period of the repeating periodic TDE. In future work, we will consider combining the astrophysical properties of the target to propose an improved TLW algorithm, aiming at real-time identification of the subclass of the transient object, such as repeating periodic TDE, SNIb, SNIc, etc.