Method and device for predicting user declaration

By combining a self-searching sparse autoencoder and a BiLSTM-Attention neural network, the problem of low accuracy in predicting user complaints in traditional methods is solved, and efficient prediction of the impact of access layer device anomalies on user perception is achieved.

CN114492931BActive Publication Date: 2024-11-05CHINA TELECOM CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111598078.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-24
Publication Date
2024-11-05
Estimated Expiration
2041-12-24

AI Technical Summary

Technical Problem

In traditional network operation scenarios, it is difficult to accurately predict user complaints caused by access layer device anomalies. Existing methods rely on the experience of hardware manufacturers and cannot effectively distinguish the impact of device alarms on user perception, resulting in low prediction accuracy.

Method used

A sparse autoencoder is trained using a sparse parameter self-search process to extract feature vectors under various sparse parameters. These feature vectors are then concatenated into a target vector, which is then input into a pre-trained BiLSTM-Attention neural network for prediction, thereby improving prediction accuracy.

Benefits of technology

By combining a self-searching sparse autoencoder and a BiLSTM-Attention neural network, the impact of access layer device anomalies on user network perception can be predicted more accurately, improving the prediction accuracy of the number of complaints in the next day.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114492931B_ABST
    Figure CN114492931B_ABST
Patent Text Reader

Abstract

The method and device for predicting user declarations of the disclosed embodiment utilizes the self-search process of sparse parameters to train, search, and fuse the feature vectors extracted by the autoencoder under multiple sparse parameters, and then splices the feature vectors into a target vector. Afterwards, the target vector is input into a pre-trained prediction neural network to obtain a prediction result of the number of declarations of users connected to the network device in the future (for example, the next day). Increase the selection of effective sparse parameters within the search range to extract richer data features, thereby improving the prediction accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of prediction technology, and in particular to a method and device for predicting user declarations. Background Art

[0002] In traditional network operation scenarios, users will file a complaint when they have a poor user experience. However, in actual applications, the cause of the poor user experience may be an abnormality in the access layer device itself, or it may be caused by the user powering off the access layer device. Device alarms caused by user behavior will not affect the user's network perception, but alarms caused by device problems will directly affect the network usage perception of all downstream users. How to mine features from massive multi-dimensional data and identify and predict the impact of different device alarms on user perception is a difficult problem faced by telecom operators. Summary of the invention

[0003] The method and device for predicting user declarations provided by the embodiments of the present disclosure can increase the efficiency of sparse parameter selection within the search range and improve the prediction accuracy.

[0004] The method for predicting user declaration provided by the embodiment of the present disclosure includes:

[0005] Obtain access layer alarm information of the device to be predicted;

[0006] Inputting the access layer alarm information into a pre-trained data preprocessing model to obtain a feature vector corresponding to each of the sparse autoencoders; wherein the data preprocessing model includes a plurality of sparse autoencoders;

[0007] Concatenate the feature vectors corresponding to the sparse autoencoders into a target vector;

[0008] The target vector is input into a pre-trained prediction neural network to obtain a prediction result of the amount of declarations made by users of the device to be predicted in a future period of time.

[0009] In some examples, the training method of the data preprocessing model includes:

[0010] Determine training sample data; wherein the training sample data includes access layer alarm information for training;

[0011] Configuring relevant parameters of the data preprocessing model, and setting the current sparse parameters of each of the sparse autoencoders as the initialization sparse parameters;

[0012] Inputting the training sample data into the plurality of sparse autoencoders in sequence for training iteration;

[0013] Determining whether the data preprocessing model converges within a maximum iteration number threshold;

[0014] If yes, it is determined that the data preprocessing model training is completed;

[0015] If not, determine the total number of sparse autoencoders that have been trained in the data preprocessing model; when the total number is equal to the total number of sparse autoencoders in the data preprocessing model, determine that the data preprocessing model training is completed; when the total number is less than the total number of sparse autoencoders in the data preprocessing model, add the incremental value to the current sparse parameter as the new sparse parameter, and perform training iterations on the remaining sparse autoencoders that have not been trained until the total number is equal to the total number of sparse autoencoders in the data preprocessing model.

[0016] In some examples, the training sample data is sequentially input into the plurality of sparse autoencoders for training iterations, including:

[0017] Input the training sample data into the current sparse autoencoder for current training;

[0018] Determining the divergence of the current sparse autoencoder according to the sparse parameters of the current sparse autoencoder;

[0019] Substituting the divergence into a loss function to determine a loss value of the loss function;

[0020] Determining whether the loss value is not greater than a convergence threshold of the loss function;

[0021] If yes, it is determined that the current sparse autoencoder training is completed;

[0022] If not, the next iteration is performed on the current sparse autoencoder until the loss value is no greater than the convergence threshold of the loss function.

[0023] In some examples, the Adam optimizer is used to reversely learn the error during the current training in the current sparse autoencoder.

[0024] In some examples, concatenating the feature vectors corresponding to the sparse autoencoders into a target vector includes:

[0025] The feature vectors corresponding to the sparse autoencoders are concatenated into a target vector according to the arrangement order of the sparse autoencoders.

[0026] In some examples, the prediction result is a predicted value.

[0027] In some examples, the prediction neural network includes a BiLSTM-Attention neural network.

[0028] The predicted user declaration device provided by the embodiment of the present disclosure includes:

[0029] An acquisition unit, configured to acquire access layer alarm information corresponding to the device to be predicted;

[0030] A feature vector determination unit is configured to input the access layer alarm information into a pre-trained data preprocessing model to obtain a feature vector corresponding to each of the sparse autoencoders; wherein the data preprocessing model includes a plurality of sparse autoencoders;

[0031] A target vector determination unit is configured to concatenate the feature vectors corresponding to the sparse autoencoders into a target vector according to the arrangement order of the plurality of sparse autoencoders;

[0032] The prediction result determination unit is configured to input the target vector into a pre-trained prediction neural network to obtain a prediction result of the amount of declarations made by users of the device to be predicted in a future period of time.

[0033] The computer device provided by the embodiment of the present disclosure includes: a memory for storing a computer program; and a processor for implementing the steps of the above-mentioned method for predicting user declarations when executing the computer program.

[0034] The computer-readable storage medium provided by the embodiment of the present disclosure stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned method for predicting user declaration are implemented.

[0035] The beneficial effects of the embodiments of the present disclosure are as follows:

[0036] The method and device for predicting user declarations in the disclosed embodiment utilizes the self-search process of sparse parameters to train, search, and fuse the feature vectors extracted by the autoencoder under multiple sparse parameters, and then splices the feature vectors into a target vector. Afterwards, the target vector is input into a pre-trained prediction neural network to obtain the prediction result of the number of declarations of users connected to the network device in the future (for example, the next day), increase the selection of effective sparse parameters within the search range, extract more abundant data features, and thus improve the prediction accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] Figure 1 is a flow chart of a method for predicting user declaration in an embodiment of the present disclosure;

[0038] Figure 2 is a structural schematic diagram of a data preprocessing model in an embodiment of the present disclosure;

[0039] Figure 3 is a flowchart of a training method for a data preprocessing model in an embodiment of the present disclosure;

[0040] Figure 4 Schematic diagram of the structure of the BiLSTM-Attention neural network in the embodiment of the present disclosure;

[0041] Figure 5 4 is a structural block diagram of the BiLSTM-Attention neural network in the embodiment of the present disclosure. DETAILED DESCRIPTION

[0042] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings of the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. And in the absence of conflict, the embodiments in the present disclosure and the features in the embodiments can be combined with each other. Based on the described embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present disclosure.

[0043] Unless otherwise defined, the technical terms or scientific terms used in the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. "First", "second" and similar words used in the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect.

[0044] It should be noted that the sizes and shapes of the figures in the accompanying drawings do not reflect the actual proportions, and are only intended to illustrate the present disclosure. The same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions.

[0045] In traditional network operation scenarios, users will file a complaint when they have a poor user experience. However, in actual applications, the cause of the poor user experience may be an abnormality in the access layer device itself, or it may be caused by the user powering off the access layer device. How to predict whether users will file a complaint based on an abnormality in the access layer device itself is a topic of concern to those skilled in the art. Usually, when an abnormality occurs in the access layer device itself, the access layer device will issue an alarm message to issue an alarm.

[0046] At present, the access layer device alarm and network perception management can set the device alarm threshold based on the expert experience and the development experience of the hardware developer, and combine the user perception to make a report after being affected to reversely analyze the correlation between the device alarm and the user report, summarize the relationship between the device and the user, and define the business indicators. The traditional method relies on hardware developers and manual experience. In the future, in a more open market environment, there may be more hardware manufacturers, and the equipment performance indicators and alarm thresholds of each manufacturer will also vary greatly. Therefore, the traditional network quality management method is no longer suitable for today's massive and high-dimensional network alarm information and user perception analysis scenarios.

[0047] At present, the long short-term memory (LSTM) network is widely used in time series prediction methods. LSTM neural networks are suitable for processing and predicting events with long intervals or time delays based on time series. Compared with traditional RNN neural networks, LSTM neural networks have several more gate controllers and states that need to be transmitted in sequence windows. However, since a single network device triggers a large number of alarm information types every day and the number is not fixed, the number of neurons in the input layer of the LSTM neural network may be very large and the number cannot be fixed, which may affect the training convergence efficiency of the neural network.

[0048] For data sets with large feature dimensions, autoencoders are currently used to compress these data sets and preprocess key and effective feature extraction. Sparse autoencoders are a type of autoencoder, which can be simply explained as follows: if a neuron is considered to be activated when its output is close to 1, and is considered to be inhibited when its output is close to 0, then the restriction that makes the neuron inhibited most of the time is called sparsity restriction. At the same time, the fewer neurons are in an activated state after inputting a feature data encoding, the weaker the coupling of the encoding process. In addition, it is generally believed that the encoding process of the features extracted under decoupling conditions after encoding is a relatively "good" encoding process. However, there are two main problems in using sparse autoencoders to extract information features: 1. The calculation of the sparse regularization term of the sparse autoencoder depends on a single sparse parameter, which makes it difficult to measure the pros and cons of the selected sparse parameter. 2. A single sparse parameter can only extract the feature vector obtained by compressing the hidden layer of the autoencoder under the constraint of the sparse parameter, lacking compressed feature fusion in multiple dimensions.

[0049] Characteristics of network access layer device alarms: There are many manufacturers of device hardware, and the types of device alarms are complex. In addition, the access layer is mostly passive equipment (for example, the Passive Optical Network (PON) system, the PON system may include the Optical Line Terminal (OLT), Optical Network Unit (ONU), and optical cables). When an abnormality occurs in the access layer device itself, an alarm will be issued. However, since the access layer devices are mostly installed on the user side, certain user behaviors may also cause access layer device alarms, but the alarms caused by these user behaviors do not really affect the user's service use. The alarms that really affect the user's service use and the user experience mainly come from alarms caused by abnormalities in the access layer devices themselves.

[0050] At present, faced with the alarm information of access layer equipment, it is difficult for operators to manually judge the impact of various alarm information on users based on expert experience. Many invalid alarm information has little impact on the user experience, and the user's usage perception is highly correlated with the time period when the alarm occurs.

[0051] In order to solve the problem that the alarm information of traditional network equipment is redundant and it is impossible to accurately extract effective alarm features that affect user perception, a method for predicting user declarations is proposed. The self-search process of sparse parameters is used to search and fuse the feature vectors extracted by the autoencoder under multiple sparse parameters, and then the feature vectors are spliced ​​into a target vector. After that, the target vector is input into the pre-trained prediction neural network to obtain the prediction result of the number of declarations of users connected to the network device in the future (for example, the next day), increase the selection of effective sparse parameters within the search range, extract more abundant data features, and thus improve the prediction accuracy.

[0052] The method for predicting user declaration provided by the embodiment of the present disclosure is as follows: Figure 1 As shown, the following steps may be included:

[0053] S110: Obtain access layer alarm information corresponding to the device to be predicted.

[0054] Exemplarily, the access layer alarm information may include: alarm type, number of alarm occurrences, time periods for each type of alarm, total number of alarms in each time period, alarm device model, number of users connected to the device, and service volume connected to the device (for example, the service volume connected to the device can be the number of users × 2).

[0055] Exemplarily, the alarm types may include abnormal PON port received optical power, ONU power failure, ONU offline, etc.

[0056] Exemplarily, the number of alarm occurrences may include the number of occurrences corresponding to abnormal PON port received optical power, the number of occurrences corresponding to ONU power failure, the number of occurrences corresponding to ONU offline, and the like.

[0057] Exemplarily, the time periods for occurrence of various alarms include: a time period corresponding to abnormal PON port received optical power, a time period corresponding to ONU power failure, a time period corresponding to ONU offline, and the like.

[0058] S120: Input the access layer alarm information into a pre-trained data preprocessing model to obtain a feature vector corresponding to each of the sparse autoencoders. The data preprocessing model may include a plurality of sparse autoencoders. Moreover, the plurality of sparse autoencoders have at least two different sparse coefficients.

[0059] In the disclosed embodiment, the key alarms of the network access layer equipment are feature extracted to predict the impact of the alarms on the user's network perception. A sparse autoencoder based on a self-search process is proposed based on the traditional sparse autoencoder to solve the problem that the traditional sparse autoencoder relies on the sparse coefficient initialization value to constrain the feature extraction process of the autoencoder. The sparse coefficients that can converge within the set range are automatically searched for to train the autoencoder, and the feature information extracted from the hidden layer under multiple sparse coefficients is spliced. The data preprocessing model is as follows: Figure 2 shown.

[0060] In the embodiments of the present disclosure, Figure 3 As shown, the training method of the data preprocessing model may include the following steps:

[0061] S310. Determine training sample data; wherein the training sample data includes access layer alarm information for training. For example, the access layer alarm information for training may be access layer alarm information selected from a training sample set, which is known whether a user will make a declaration. For example, the access layer alarm information for training may include: access layer alarm information that a user will not make a declaration, and access layer alarm information that a user will make a declaration.

[0062] S320, configuring the relevant parameters of the data preprocessing model, and setting the current sparse parameters of each of the sparse autoencoders as the initialization sparse parameters. The data preprocessing model includes a plurality of sparse autoencoders.

[0063] Exemplarily, the relevant parameters of the data preprocessing model may include:

[0064] EnCoder_Input: represents the original input feature dimension;

[0065] EnCoder_MaxEPOCH: represents the maximum iteration number threshold of the data preprocessing model;

[0066] EnCoder_ThresHold: represents the convergence threshold of the loss function of the data preprocessing model:

[0067] EnCoder_Hide: represents the number of neurons in the hidden layer of the data preprocessing model:

[0068] EnCoder_seq: represents the number of autoencoders that the data preprocessing model wants to search for:

[0069] EnCoder_sparseBiosBegin: represents the starting value of the sparse parameters of the autoencoder when starting the automatic search;

[0070] EnCoder_sparseBiosGap: represents the incremental value of the sparse parameter during automatic search;

[0071] EnCoder_HideOutput: EnCoder_Hide*EnCoder_seq equals the number of features that are finally input to the input layer of the BiLSTM-Attention neural network after passing through the Dense layer;

[0072] EnCoder_ReduceRatio: represents EnCoder_Input / EnCoder_HideOutput.

[0073] In the disclosed embodiment, the above parameters can be set according to the needs of the actual application. By adjusting the above parameters, the effect of feature compression and expansion can be achieved. By calculating EnCoder_ReduceRatio (encoder reduction ratio), the degree of compression of the original dimension after the sparse autoencoder dynamically adjusted by self-search can be obtained. Among them, when the compression degree is greater than 1, it means that the self-search sparse autoencoder has expanded the original feature. When the compression degree is less than 1, it means that the original feature dimension has been compressed.

[0074] In addition, when the original input feature dimension is particularly large, it is recommended to use the self-search process with EnCoder_ReduceRatio less than 1 to compress the original features to avoid the situation where the BiLSTM-Attention neural network has too many neurons and cannot converge. In addition, when the original input feature dimension is relatively small, the dimension can be appropriately expanded to increase the features extracted under multiple sparse parameters and increase the robustness of the model.

[0075] In the disclosed embodiment, EnCoder_sparseBiosBegin is used to initialize the sparse parameters of each sparse autoencoder: ρ_τ=EnCoder_sparseBiosBegin, where ρ_τ represents the sparse parameters of each sparse autoencoder.

[0076] S330: Input the training sample data into the plurality of sparse autoencoders in sequence for training iteration.

[0077] Exemplarily, step S330: sequentially inputting the training sample data into the plurality of sparse autoencoders for training iterations may include the following steps:

[0078] (1) Inputting the training sample data into the current sparse autoencoder for current training.

[0079] (2) Determine the divergence of the current sparse autoencoder according to the sparse parameters of the current sparse autoencoder.

[0080] In the embodiment of the present disclosure, a τ The divergence KL(ρ τ ||ρ′ j ) measures the overall activation of the autoencoder hidden layer:

[0081]

[0082] It should be noted that the divergence KL(ρ τ ||ρ′ j The meanings of the various variables in the formula are basically the same as those in the prior art and will not be elaborated here.

[0083] (3) Substitute the divergence into the loss function to determine the loss value of the loss function.

[0084] The divergence KL(ρ τ ||ρ′ j ) is introduced as a regular term into the loss function J of the autoencoder sparse In (W,b):

[0085]

[0086] It should be noted that the loss function J sparse The meanings of the variables in the formula (W, b) are basically the same as those in the prior art and will not be elaborated here.

[0087] (4) Determine whether the loss value is not greater than the convergence threshold of the loss function. If so, execute step (5); if not, execute step (6).

[0088] (5) Determine that the training of the current sparse autoencoder is completed. For example, during the training process, if J_sparse(W, b) ≤ EnCoder_ThresHold, the iteration is stopped in advance, indicating that the training of the data preprocessing model has successfully converged.

[0089] (6) Perform the next iteration on the current sparse autoencoder until the loss value is not greater than the convergence threshold of the loss function. For example, during the training process, if J_sparse(W, b) > EnCoder_ThresHold, it indicates that the data preprocessing model has not successfully converged, so the next iteration is required until the loss value is not greater than the convergence threshold of the loss function, at which point the training is completed.

[0090] Moreover, when performing the current training in the current sparse autoencoder, the Adam optimizer is used to backpropagate the learning error. For example, the Adam optimizer can use a mini - batch training set to backpropagate the learning error to improve the accuracy of the data preprocessing model.

[0091] S340. Determine whether the data preprocessing model converges within the maximum iteration number threshold. Among them, if so, execute step S350; if not, execute step S360.

[0092] S350. Determine that the training of the data preprocessing model is completed.

[0093] S360. Determine the total number of sparse autoencoders that have been trained in the data preprocessing model; when the total number is equal to the total number of sparse autoencoders in the data preprocessing model, determine that the training of the data preprocessing model is completed; when the total number is less than the total number of sparse autoencoders in the data preprocessing model, add the increment value to the current sparse parameter as the new sparse parameter, and perform training iterations on the remaining sparse autoencoders that have not been trained until the total number is equal to the total number of sparse autoencoders in the data preprocessing model.

[0094] For example, after the autoencoder training converges, determine whether the total number of autoencoders found to be trained currently is < EnCoder_seq. If so, increment the sparse parameter to ρ τ ′;

[0095] ρ τ ′ = ρ τ + EnCoder_sparseBiosGap.

[0096] Then continue to train the next unconverged autoencoder until the total number of autoencoders that have completed training convergence == EnCoder_seq, then stop the search process for sparse autoencoders. Store EnCoder_seq sparse autoencoders as data preprocessing models in the disk.

[0097] S130, concatenating the feature vectors corresponding to the sparse autoencoders into a target vector.

[0098] Exemplarily, the step of concatenating the feature vectors corresponding to each of the sparse autoencoders into a target vector may include: concatenating the feature vectors corresponding to each of the sparse autoencoders into a target vector according to the arrangement order of the plurality of sparse autoencoders.

[0099] For example, use the data preprocessing model composed of trained EnCoder_seq sparse autoencoders to process each n-dimensional access layer alarm information data X:

[0100] X={x 1 ,x 2 ,x 3 ,...,x n}

[0101] Perform the autoencoding process to obtain the compressed features extracted by the hidden layer of the autoencoder:

[0102]

[0103] Among them, r represents the rth autoencoder, h represents the hth dimension data in the compressed feature vector, Represents the compressed features extracted by the hidden layer of the rth autoencoder.

[0104] The data X is extracted through the features of r autoencoders, and finally r feature vectors are obtained. For these r feature vectors, we concatenate them in the order of the first autoencoder, the second autoencoder, the third autoencoder, and so on, and get the target vector X s :

[0105]

[0106] S140. Input the target vector into a pre-trained prediction neural network to obtain a prediction result of the amount of declarations by users of the device to be predicted in a future period of time.

[0107] For example, the prediction neural network can be a neural network that has been trained in the prior art. For example, the prediction neural network can be set as a BiLSTM-Attention neural network. In this way, the target vector can be used as the input of the BiLSTM-Attention neural network, and the soft-Attention mechanism is introduced in the output layer of the BiLSTM to make the BiLSTM pay attention to more important alarm features and improve the prediction accuracy. The BiLSTM-Attention neural network is Figure 4 Specifically, Figure 5 As shown in the figure, the target vector passes through the BiLSTM sequence input layer, BiLSTM hidden layer, Dropout layer, Attention mechanism layer, Linear fully connected layer, and Sigmoid output layer in sequence, and then outputs the prediction result.

[0108] For example, the target vector X_s is used as the input vector of the BiLSTM-Attention neural network, because the impact of device alarms on customer perception may be continuous. The unidirectional LSTM neural network only retains past information. During training, each time series window can only see the alarm information that occurred in the "past" from the perspective of the day and summarize the number of user declarations that may occur the next day. This experience summary angle is slightly single. Using a bidirectional LSTM neural network allows each time series window to stand from the perspective of the day and predict future declarations from two different perspectives, one from the past to the future, and the other from the future to the past. In the backward running LSTM neural network, the network retains future and past information and combines two hidden states to save key information from the past and future at any time point. After the last time series window comprehensively learns the experience of the impact of device alarms on user perception over a period of time, the number of user declarations in the short term in the future is predicted.

[0109] For example, the bidirectional LSTM neural network uses the access layer alarm feature encoding of the day compressed and refined by the self-searching sparse autoencoder mentioned above as input, and uses the dropout layer + Soft-Attention soft attention mechanism to generate the attention allocation coefficient before outputting the final prediction value, focusing the attention of the model training on the features that are more sensitive to user perception. Finally, the user network perception of the device for the next day is output. In the embodiment of the present disclosure, the prediction result is a predicted value. The predicted value can be used as the result of the amount of declarations by users of the device to be predicted in the future.

[0110] In the method for predicting user declarations provided in the embodiment of the present disclosure, access layer alarm information corresponding to the device to be predicted is obtained, and the access layer alarm information is used as feature input, which is then input into the sparse autoencoder of the data preprocessing model after normalization or standardization.

[0111] When using traditional sparse autoencoders to extract information features, there are problems: the calculation of the sparse regularization term of the sparse autoencoder depends on a single sparse parameter, but it is difficult to measure the quality of the selected sparse parameter. In addition, a single sparse parameter can only extract information features obtained by compressing the hidden layer of the autoencoder under the constraint of the parameter, and lacks the fusion of compressed features in multiple dimensions.

[0112] In order to solve the above problems, in the embodiment of the present disclosure, a self-searching sparse autoencoder is proposed to automatically search for sparse coefficients that can converge within a set range for autoencoder training, and the feature information extracted from the hidden layer under multiple sparse coefficients is spliced. The spliced ​​feature information is used as the input of the BiLSTM neural network, and the soft-Attention mechanism is introduced in the output layer of the BiLSTM-neural network, so that the BiLSTM prediction process focuses on more important warning features and improves the accuracy of the model.

[0113] In order to verify the disclosed self-searching sparse autoencoder combined with the BiLSTM-Attention neural network model to predict the impact of access layer alarms on user usage perception, the following verification was performed.

[0114] (1) Algorithm accuracy comparison and verification experiment.

[0115] Using the traditional BP neural network algorithm, BP neural network + sparse autoencoder, LSTM neural network algorithm, BiLSTM neural network + sparse autoencoder (specific single sparse parameter 1), BiLSTM neural network + sparse autoencoder (specific single sparse parameter 2), BiLSTM neural network + self-search multi-sparse autoencoder (in this disclosure), these six algorithms were used for control variable comparison experiments.

[0116] Three independent experiments: The neural network was trained using the access layer alarms and user reports from the 17th to the 21st. The test sets of experiments 1, 2, and 3 used the alarm and report data pairs from the 20th to the 24th, 24th to the 28th, and 28th to the 1st, respectively. The trained model needs to be verified and judged for accuracy. The accuracy here is defined as: in the input layer of the neural network with a BiLSTM time series of 3, after inputting 3 days of alarms, if the absolute value of the difference between the predicted report amount and the actual report amount output by the final output layer is greater than the predetermined deviation threshold _beta, the prediction is considered inaccurate. If the absolute value is less than _beta, the prediction is considered accurate. _beta is set to 1 for all experiments. After 6000 iterations of training, the self-searching SAE+BiLSTM-Attention neural network can converge faster than the SAE+BiLSTM-Attention neural network with fixed sparse parameter values ​​(ρ=0.02 and ρ=0.03), and the final prediction accuracy is the highest among traditional BP, LSTM and BiLSTM. It also converges faster than the SAE+BiLSTM-Attention neural network with a fixed single sparse parameter, with an accuracy of about 77%.

[0117] (2) Verification experiment on the extraction and fusion of multiple sparse autoencoder features.

[0118] In order to verify the fusion of multiple autoencoder hidden layer feature vectors obtained by self-search, the concatenated features are input into the SAE+BiLSTM-Attention neural network for training, which can extract the most valuable information from the fused several single autoencoder hidden layer features. The improved self-search SAE+BiLSTM-Attention neural network algorithm that integrates multiple sparse parameters is designed and tested separately with several fixed sparse coefficient SAE+BiLSTM-Attention neural networks to compare the prediction accuracy.

[0119] Comparative experiment 1: Self-search SAE fused two sparse coefficients of 0.02 and 0.1 to extract hidden features and input them into SAE+BiLSTM-Attention neural network for training. Use two sparse coefficients of 0.02 and 0.1 to train SAE+BiLSTM-Attention neural network model separately. After 6000 iterations of the model, the accuracy of the sparse coefficient 0.1 training model was about 40%, the accuracy of the sparse coefficient 0.02 training model was about 74%, and the accuracy of the self-search SAE fused model of three sparse coefficients was about 75%.

[0120] Comparative experiment 2: The hidden features extracted by self-searching SAE with three sparse coefficients of 0.02, 0.1, and 0.2 were input into the SAE+BiLSTM-Attention neural network for training, and then the SAE+BiLSTM-Attention neural network model was trained separately with three sparse coefficients of 0.02, 0.1, and 0.2. After 6000 iterations of training, the accuracy of the training model with sparse coefficient 0.1 was about 40%, the accuracy of the training model with sparse coefficient 0.2 was about 60%, the accuracy of the training model with sparse coefficient 0.02 was about 75%, and the accuracy of the training model with self-searching SAE with three sparse coefficients was about 76%.

[0121] The experimental results show that self-search SAE can learn the best hidden features among the fused multiple sparse coefficients, and obtain better prediction results compared with the single sparse coefficient prediction model with the best features.

[0122] The following is a specific example for illustration. It should be noted that the example is for better explanation of the present disclosure and does not limit the present disclosure.

[0123] In some examples, the grid search method is used to initialize the data of the 8 most frequent alarms in the access layer, and the parameters such as alarm type, alarm occurrence number, alarm occurrence time period, total alarm occurrence in each time period, alarm device model, number of users connected to the device, and service volume connected to the device (the default is the number of users x2) are searched in turn to perform grid search and initialize the prediction data set. The following table shows the predicted values ​​of the users' reports on the second day when various alarms occur in various time periods under the scenario that the number of users connected to a certain OLT device model C300 is 1000 and the service volume is 2000. In the scenario where various alarms have occurred 5 times in the past 3 days, the alarm "Final splitter alarm_fiber break" occurs in the 18-24 time period and has the greatest impact on the user's perception of the second day, indicating that the triggering of this alarm will have a greater impact on the user's network perception, such as long-term network disconnection or freeze. The "ONU offline" alarm has a smaller impact on the user's perception of use, indicating that the alarm is very likely caused by user behavior, such as shutting down the device by itself.

[0124] Within 0-6 hours, the predicted value corresponding to the abnormal received optical power of the OLT PON port is: 0.5207991; the predicted value corresponding to the abnormal received optical power of the ONU PON port is: 0.805995047; the predicted value corresponding to the ONU power failure is: 0.720711648; the predicted value corresponding to the ONU offline is: 0.732155979; the predicted value corresponding to the final splitter alarm_fiber break is: 1.287757039; the predicted value corresponding to the OLT PON port receiving no light is: 0.837530851; the predicted value corresponding to the ONU network management disconnection is: 0.819615483; the predicted value corresponding to the final splitter alarm_power failure is: 1.083734512.

[0125] Within 6-12 hours, the predicted value corresponding to the abnormal received optical power of the OLT PON port is: 0.76116538; the predicted value corresponding to the abnormal received optical power of the ONUPON port is: 0.516046226; the predicted value corresponding to the power failure of the ONU is: 0.626279294; the predicted value corresponding to the ONU offline is: 0.49232161; the predicted value corresponding to the final splitter alarm_fiber breakage is: 1.299856782; the predicted value corresponding to the OLT PON port receiving no light is: 0.572321355; the predicted value corresponding to the ONU network management disconnection is: 1.047374487; the predicted value corresponding to the final splitter alarm_power failure is: 1.170866966.

[0126] Within 12-18 hours, the predicted value corresponding to the abnormal received optical power of the OLT PON port is: 0.518627703; the predicted value corresponding to the abnormal received optical power of the ONUPON port is: 0.591238678; the predicted value corresponding to the ONU power failure is: 0.721433461; the predicted value corresponding to the ONU offline is: 0.428137094; the predicted value corresponding to the final splitter alarm_fiber break is: 1.300557971; the predicted value corresponding to the OLT PON port receiving no light is: 0.677098751; the predicted value corresponding to the ONU network management disconnection is: 0.982592463; the predicted value corresponding to the final splitter alarm_power outage is: 0.581627131.

[0127] Within 18-24 hours, the predicted value corresponding to the abnormal received optical power of the OLT PON port is: 0.618727863; the predicted value corresponding to the abnormal received optical power of the ONUPON port is: 0.852184892; the predicted value corresponding to the ONU power failure is: 0.748900414; the predicted value corresponding to the ONU offline is: 0.583356857; the predicted value corresponding to the final splitter alarm_fiber breakage is: 1.574069977; the predicted value corresponding to the OLT PON port receiving no light is: 1.085433006; the predicted value corresponding to the ONU network management disconnection is: 0.876838624; the predicted value corresponding to the final splitter alarm_power outage is: 1.035582423.

[0128] In other examples, different algorithms were used to predict the accuracy of user declarations. 100 devices were sampled in several samples and the algorithm predictions were compared with the actual values. Although there were still prediction errors, the self-search SAE+BiLSTM-Attention neural network was closer to the actual declaration amount than the traditional algorithm.

[0129] The present disclosure also provides a device for predicting user declaration, which may include:

[0130] An acquisition unit, configured to acquire access layer alarm information corresponding to the device to be predicted;

[0131] A feature vector determination unit is configured to input the access layer alarm information into a data preprocessing model to obtain a feature vector corresponding to each of the sparse autoencoders; wherein the data preprocessing model is obtained by using the training method of the above-mentioned data preprocessing model;

[0132] A target vector determination unit is configured to concatenate the feature vectors corresponding to the sparse autoencoders into a target vector according to the arrangement order of the plurality of sparse autoencoders;

[0133] The prediction result determination unit is configured to input the target vector into a pre-trained prediction neural network to obtain a prediction result of the amount of declarations made by users of the device to be predicted in a future period of time.

[0134] It should be noted that the working principle and specific implementation of the predicted user declaration device are the same as the principle and implementation of the predicted user declaration method in the above-mentioned embodiment. Therefore, the working method of the predicted user declaration device can be implemented with reference to the specific implementation of the predicted user declaration method in the above-mentioned embodiment, which will not be repeated here.

[0135] It should be noted that those skilled in the art should understand that the acquisition unit, feature vector determination unit, target vector determination unit and prediction result determination unit in the embodiments of the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects.

[0136] The embodiment of the present disclosure also provides a computer device, including: a memory for storing a computer program; and a processor for implementing the steps of the above-mentioned method for predicting user declarations when executing the computer program.

[0137] The embodiment of the present disclosure also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned method for predicting user declarations are implemented.

[0138] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0139] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0140] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0141] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0142] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A method for predicting user declaration, characterized in that: include: Acquire access layer alarm information of the device to be predicted, wherein the access layer alarm information includes: alarm type, number of alarm occurrences, time periods for each type of alarm occurrence, total number of alarms occurring in each time period, alarm device model, number of users connected to the device, and service volume connected to the device; The access layer alarm information is input into a pre-trained data preprocessing model to obtain the feature vectors corresponding to each sparse autoencoder; wherein the data preprocessing model includes a plurality of sparse autoencoders, and the training method of the data preprocessing model includes: determining training sample data; wherein the training sample data includes access layer alarm information for training; configuring relevant parameters of the data preprocessing model, and setting the current sparse parameters of each sparse autoencoder as the initialization sparse parameters; inputting the training sample data into the plurality of sparse autoencoders in turn for training iteration; judging whether the data preprocessing model is Converge within the maximum iteration number threshold; if so, it is determined that the data preprocessing model training is completed; if not, the total number of sparse autoencoders that have been trained in the data preprocessing model is determined; when the total number is equal to the total number of sparse autoencoders in the data preprocessing model, it is determined that the data preprocessing model training is completed; when the total number is less than the total number of sparse autoencoders in the data preprocessing model, the current sparse parameter plus the incremental value is used as the new sparse parameter, and the remaining untrained sparse autoencoders are trained iteratively until the total number is equal to the total number of sparse autoencoders in the data preprocessing model; Concatenate the feature vectors corresponding to the sparse autoencoders into a target vector; The target vector is input into a pre-trained prediction neural network to obtain a prediction result of the amount of declarations made by users of the device to be predicted in a future period of time, wherein the prediction neural network includes a BiLSTM-Attention neural network.

2. The method for predicting user declaration according to claim 1, characterized in that: The training sample data is sequentially input into the plurality of sparse autoencoders for training iterations, including: Input the training sample data into the current sparse autoencoder for current training; Determining the divergence of the current sparse autoencoder according to the sparse parameters of the current sparse autoencoder; Substituting the divergence into a loss function to determine a loss value of the loss function; Determining whether the loss value is not greater than a convergence threshold of the loss function; If yes, it is determined that the current sparse autoencoder training is completed; If not, the next iteration is performed on the current sparse autoencoder until the loss value is no greater than the convergence threshold of the loss function.

3. The method for predicting user declaration according to claim 2, characterized in that: When performing the current training in the current sparse autoencoder, the Adam optimizer is used to reversely learn the error.

4. The method for predicting user declaration according to any one of claims 1 to 3, characterized in that: The step of concatenating the feature vectors corresponding to the sparse autoencoders into a target vector includes: The feature vectors corresponding to the sparse autoencoders are concatenated into a target vector according to the arrangement order of the sparse autoencoders.

5. The method for predicting user declaration according to any one of claims 1 to 3, characterized in that: The prediction result is a predicted value.

6. A device for predicting user declaration, characterized in that: include: An acquisition unit is configured to acquire access layer alarm information corresponding to the device to be predicted, wherein the access layer alarm information includes: alarm type, alarm occurrence times, various alarm occurrence time periods, total number of alarms in each time period, alarm device model, number of users connected to the device, and service volume connected to the device; The feature vector determination unit is configured to input the access layer alarm information into a pre-trained data preprocessing model to obtain the feature vectors corresponding to each sparse autoencoder; wherein the data preprocessing model includes a plurality of sparse autoencoders, and the training method of the data preprocessing model includes: determining training sample data; wherein the training sample data includes access layer alarm information for training; configuring relevant parameters of the data preprocessing model, and setting the current sparse parameters of each sparse autoencoder as the initialization sparse parameter; inputting the training sample data into the plurality of sparse autoencoders in turn for training iteration; judging the Whether the training model converges within the maximum iteration number threshold; if so, it is determined that the training of the data preprocessing model is completed; if not, the total number of sparse autoencoders that have been trained in the data preprocessing model is determined; when the total number is equal to the total number of sparse autoencoders in the data preprocessing model, it is determined that the training of the data preprocessing model is completed; when the total number is less than the total number of sparse autoencoders in the data preprocessing model, the current sparse parameter plus the incremental value is used as a new sparse parameter, and the remaining untrained sparse autoencoders are trained iteratively until the total number is equal to the total number of sparse autoencoders in the data preprocessing model; A target vector determination unit is configured to concatenate the feature vectors corresponding to the sparse autoencoders into a target vector according to the arrangement order of the plurality of sparse autoencoders; The prediction result determination unit is configured to input the target vector into a pre-trained prediction neural network to obtain a prediction result of the amount of declarations made by users of the device to be predicted in a future period of time, wherein the prediction neural network includes a BiLSTM-Attention neural network.

7. A computer device, characterized in that: include: Memory for storing computer programs; A processor, used to implement the steps of the method for predicting user declaration as described in any one of claims 1 to 5 when executing the computer program.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for predicting user declarations according to any one of claims 1 to 5 are implemented.