Abstract
Aiming at the problems of low prediction accuracy and efficiency and poor prediction effect in the current psychological pressure prediction methods, a psychological pressure prediction method for college students based on deep neural network is proposed. The structure and algorithm of depth neural network and gray theory model are analyzed. Using the deep neural network, this paper establishes the sample set data of college students’ psychological pressure prediction and constructs the college students’ psychological pressure prediction model combined with the deep neural network algorithm of gray theory. The physical network information model is formed through the relationship between neurons. According to the dynamic changes of college students’ psychological pressure in each neuron of the physical network, the prediction of college students’ psychological pressure is completed. The experimental results show that the proposed method is effective in predicting college students’ psychological pressure and can effectively improve the accuracy and efficiency of college students’ psychological pressure prediction.
1. Introduction
Psychological pressure is a state of mental and physical tension that individuals tend to show through various psychological and physiological reactions when they perceive or recognize that they are facing the important and difficult environmental requirements [1–3]. High-efficiency life has inevitably brought people a sense of urgency and pressure, and the mental health problems of college students have become increasingly prominent [4, 5]. Due to a series of problems, such as academic, interpersonal, emotional, and job competition, college students are prone to negative emotions, such as inferiority, jealousy, depression, irritability, anxiety and fear, and even violent tendencies, which will cause serious harm to themselves and even society in the long run. College students are a special social group. They carry the expectations of society and family and have a strong desire to become talented. However, because their psychology is undergoing a transition period from juvenile immaturity to adult maturity, their mind are still immature and their adaptability is poor [6, 7]. During this period of time, various pressures are particularly easy to form psychological problems. Therefore, it is of great significance to predict the psychological stress of college students.
At present, scholars in related fields have studied the prediction of psychological pressure. Lima et al. [8] proposed a prediction method of temperament and psychological types based on twitter data. This method briefly reviews the temperament theory and analyzes social media data based on it, so as to achieve the purpose of predicting temperament and psychological types. Subsequently, a framework was proposed to predict temperament and psychological types through linguistic and behavioral analysis of Twitter data. Infer the temperament type according to David Keirsey’s model, and infer the mental type according to the MBTI model. This method can effectively predict temperament and psychological type. Alharthi [9] proposed a mobile based context aware acute stress prediction method. Predict the user’s stress state according to the user’s current context data. The ECG signal is used to identify the user’s pressure state. With the help of machine learning algorithms and cloud computing services, build an adaptive and personalized prediction model for user context generation. This method can effectively adapt to the user’s stress state and the changing characteristics of the surrounding environment. However, the above methods still have the problems of low prediction accuracy and efficiency and poor prediction effect.
Aiming at the above problems, a prediction method of College Students’ psychological stress based on deep neural network is proposed. Deep neural network has high-dimensional data processing ability and strong fault tolerance. After some neurons are damaged, it has little impact on the global training results. Therefore, this paper uses the deep neural network to establish the sample set data of College Students’ psychological stress prediction and constructs the college students’ psychological stress prediction model combined with the gray theory model. Through the interconnection between neurons, a physical network information model is formed. According to the dynamic changes of the psychological pressure of college students in each neuron of the physical network, the prediction of the psychological pressure of college students is realized. The prediction effect of this method is good, and it can effectively improve the prediction accuracy and efficiency.
2. Depth Neural Network
As the main implementation technology of deep learning, deep neural network (DNN) occupies an absolute position in deep learning. Deep neural network also includes artificial neural network, convolutional neural network, and other different network structures [10–12].
2.1. Artificial Neural Network
Artificial neural network (ANN) is to extract some basic features of the nervous system in which the biological brain reacts to things and simulate this abstract process by program. By simulating the response mechanism of the brain, the neural network is the process of processing and analyzing the received data and handing the processing results to the effector to make some command [13]. The artificial neural network is adaptive, and its most basic component is neurons. The neuron structure is shown in Figure 1.

In Figure 1, is the input of the neuron, is the connection weight of the input element and the unit, is the threshold of the neuron, is the activation function, and is the output of the generated neuron, expressed as
In formula (1), is the bias term of the neuron [14].(1)There is a group of connections, and the weight of each connection is represented by the weight. When the weight is greater than zero, the connection is opened, and when it is less than zero, the connection is closed.(2)It has summation function to calculate the weighted sum of input signals.(3)Nonlinear activation function is as follows: common activation functions include Sigmoid function, piecewise linear function, and threshold function. There is also a threshold (or bias ).
In addition to the characteristics of neural nodes, artificial neural networks also have the characteristics of topology. There are two main connection modes:(1)Feedforward network: each neuron in the network layer only accepts the input data of the previous layer and then outputs it to the nodes of the next layer. There is no feedback in the middle.(2)Feedback network: all nodes in the network are computing units and can also receive data input and output data to the outside world. Each connecting arc can flow in both directions.
Feedforward network is mainly used for function approximation and pattern recognition. There are two kinds of feedback networks according to the utilization of the minimum points of the energy function. The first kind is that all the minimum points of the energy function have their functions, and this kind is mainly used as various memories. The second kind only uses the global minimum, which is mainly used to solve the optimization problem.
Artificial neural network also has three characteristics:(1)Automatic learning: it is expected that the future artificial neural network computer will provide economic prediction, market prediction, and benefit prediction for mankind, and its application prospect is very broad.(2)Associative storage: the feedback network has the ability of associative storage.(3)It can find the optimal solution at high speed: the optimal solution of complex problems needs a lot of computation. The feedback neural network model can use the powerful computing power of the computer to find the optimal solution.
2.2. Convolutional Neural Network
Convolutional neural network (CNN) is a differentiated depth model. It is the first successfully trained depth neural network algorithm in multilayer network structure. CNN is a deep neural network framework based on minimizing the requirements of preprocessing data. Affected by the early delayed neural network, it uses weight sharing in time dimension to reduce the complexity of training [15–17]. The structure of convolutional neural network is shown in Figure 2.

Due to the unique convolution structure of the network, it can compress the input data to the greatest extent without losing the original data features. The structure and training method of convolutional neural network is described to provide a theoretical basis for the subsequent prediction model. Convolutional neural network is mainly divided into the following three parts.(1)Convolution layer: it is the core structure of convolution neural network, and most calculations are concentrated in convolution layer [18, 19]. It is assumed that the position of the moving real object at time is . The smaller the time interval between the real object and a certain position, the higher the correlation between the measurement results, and there is a proportional relationship between them. This relationship is expressed by the weighting function , and represents the time interval. Then, the expression of the continuous estimation function of the position of the moving object can be obtained as follows: In general, a specific symbol is used to represent the convolution operation, and the function expression after using the specific symbol is In formula (3), is the feature relationship mapping, is the input, and is the kernel function. When the time variable in formula (3) is taken as an integer, the cumulative addition expression for discrete volumes is written as follows:(2)Excitation layer: in general, the excitation function used in the excitation layer uses a nonlinear function, and its main purpose is to solve the linear problem of the neural network, so as to overcome the problem that the general neural network cannot solve the nonlinear problem [20]. The activation function of the convolutional neural network has two forms: the Sigmoid function and the tanh function of its deformable body. The definition of the Sigmoid function is as follows: The Sigmoid activation function curve is shown in Figure 3. According to formula (5), it can be seen that the function of the Sigmoid function is to transform a real number input to an output between 0 and 1. However, in actual use, due to the division operation in the Sigmoid function, the speed of its derivation becomes very slow. When the Sigmoid function is close to the two endpoints of 1 and 0, its gradient is almost close to 0, making the model unable to update the parameters. There is a phenomenon of disappearance of the gradient [21]. In order to overcome the shortcomings of the above-mentioned Sigmoid function, the Sigmoid function is modified and improved, and the tanh activation function is obtained. The mathematical definition of the tanh activation function is The tanh function solves the slow convergence problem of the Sigmoid function to a certain extent, but the problem of its gradient disappearance is still inevitable, but overall, the performance of the tanh function has been better than the Sigmoid function [22]. The tanh activation function curve is shown in Figure 4.(3)Pooling layer: it is a particularly important layer structure in the convolutional neural network. Its main function is to gradually reduce the size of the data volume, thereby reducing the amount of parameters in the network and reducing the waste of computing resources. At the same time, the effect of compressing the size of the data can also reduce the occurrence of overfitting to a certain extent and improve the robustness of features [23]. The processing process of the maximum pooling layer is shown in Figure 5.



At present, there are two types of pooling layers commonly used: average pooling (AP) and maximum pooling (MP). The average pooling layer outputs the average result and the maximum pooling outputs the maximum result.
Common convolution neural network forms mainly put some convolution layers and activation function layers together, add some standardization layers in front of the activation function layer, and then follow the pool layer. After that, repeat until the input data is compressed to a small enough size, then expand the feature map, connect the full connection layer, and finally output the results [24–26].
2.3. Gray Theory Model
Gray theory mainly studies small behavior samples with some known information and takes uncertain systems as the research object. Through the formation, development, and extraction of known information, the correct understanding and effective control of the system can be realized [27, 28]. The basic principle is to form a series of exponential functions classified by the accumulation of positive data, then generate the function through the sequence, and finally generate the final sequence through the solution of the differential equation.
The modeling of gray theory is divided into five stages: language model, network model, quantitative model, dynamic model, and optimization model [29]. The gray system model is a system with incomplete information. Generally, the gray system can use variables and order differential equation models , , and to represent different meanings. In gray theory, the most commonly used model is the standard gray model. The modeling process is as follows. First, add the original data to calculate
Among them, is the initial value and is the sequence variable. Perform the second modeling sequence based on the original data results:
Then, the whitening differential equation is established:
In formula (9), is the development coefficient and is the gray-scale effect. Then, calculate the parameter vector . Estimate the parameters and using the least square method. The estimated value of that reaches the minimum value is
By solving the previous equation,
Finally, the previous predicted value is and the model recovery value is . is the gray model obtained.
3. Prediction Methods of College Students’ Psychological Pressure
This paper applies deep neural network to college students’ psychological pressure prediction, establishes the sample set data of college students’ psychological pressure prediction, and realizes the establishment of college students’ psychological pressure prediction model. The physical network information model is formed through the relationship between neurons. According to the dynamic changes of college students’ psychological pressure in each neuron of the physical network, the prediction of college students’ psychological pressure is completed.
3.1. Establishing the Sample Set Data of College Students’ Psychological Pressure Prediction
In order to better predict college students’ psychological pressure, firstly, the deep neural network [30] is used to establish the sample set data of college students’ psychological pressure prediction. The specific operation steps are as follows.
Assuming that the psychological stressors and psychological pressure response of college students are and , respectively, in the two time periods of and , the relationship between and is calculated as , and the set of college students' psychological pressure behavior is ; then the physical network information model is expressed as follows:
In formula (12), is the weight of the effective psychological pressure behavior of college students.
Assuming that the random variable of the psychological pressure behavior of college students is , the deep neural network prediction node of the behavior set is , and represents the function set of deep neural network prediction nodes; then, the deep neural network predicts the psychological pressure behavior of college students as
In formula (13), is the distribution feature of each deep neural network node , and is the probability distribution of the set of predictive variables of psychological pressure for college students.
Assuming that the weight of the relationship between the psychological pressure and the psychological pressure response of college students is , and the probability of the psychological pressure behavior of college students is , the establishment of the psychological pressure prediction sample set data of college students is expressed as
In formula (14), is the probability distribution of the deep neural network predicting the psychological pressure behavior of college students over time, is the transfer function of the deep neural network predicting the psychological pressure of college students, and is the weight of the deep neural network predicting the psychological pressure of college students.
It can be seen from the above description that the deep neural network is used to predict college students’ psychological pressure behavior and establish the sample set data of college students’ psychological pressure prediction.
3.2. Constructing the Prediction Model of College Students’ Psychological Pressure
In order to construct the prediction model of college students’ psychological pressure, the depth neural network algorithm of gray theory is adopted, and the gray depth neural network is set as [31, 32]
In formula (15), is the input layer of the gray deep neural network.
Assuming is the psychological pressure prediction weight of the input layer of the deep neural network, the following formula is obtained:
Suppose psychological pressure of the gray deep neural network is and is the psychological pressure weight of the hidden layer; then, there is
Using the iterative calculation of formulas (15)–(18), the established prediction model of college students’ psychological pressure based on deep neural network is simulated and trained.
Considering the dynamic changes of students’ psychological pressure, the ECG waveforms of a subject under low pressure and high pressure are collected, as shown in Figure 6.

(a)

(b)
Based on the above analysis, in the deep neural network structure, a single neuron basically does not affect the judgment ability of the deep neural network. The prediction of college students’ psychological pressure is the result of the cooperation of the deep neural network [33, 34]. When a small part of neurons fails in the deep neural network, it will not have a great impact on the prediction results of college students’ psychological pressure. Scattered information is gathered into a whole through neurons.
The deep neural network is used to model the psychological pressure prediction of college students, and the adaptive feature and deep neural network theory [35] are used to construct the psychological pressure prediction model of college students. In the input layer of the deep neural network, neurons can constitute the self-adaptive characteristics of the psychological pressure of college students, and for the output layer, neurons constitute the predictive value characteristics of the psychological pressure of college students. If the weight between the input layer node and the output layer node in the deep neural network is , where , , the specific algorithm is as follows.
First, initialize the weight information of the psychological pressure of college students and obtain the weight training set as , .
Then, set the time to and obtain the vector from the training set of the deep neural network. Then, calculate the Euclidean distance between each node in the deep neural network:
Finally, by selecting the neurons in the deep neural network, combining the Euclidean distance obtained previously, the required neuron information is obtained, and the weight information is obtained by adjusting the two adjacent deep neural network nodes :
In formula (20), represents the number of iterations of college students’ psychological pressure prediction, and represents the efficiency of training. Through Sigmoid, the psychological pressure prediction model of college students is activated by function [36], and the logarithm of Sigmoid is
In formula (21), represents the maximum coefficient in the deep neural network’s psychological pressure prediction model for college students, and represents the number of all neuron nodes in the deep neural network, which can transform the prediction of college students’ psychological pressure into an output signal . When the numerical value of the psychological pressure prediction of college students is smaller, it means that the coefficient obtained is larger, so as to distinguish the input signal and input signal of the psychological pressure prediction model of college students and realize the prediction of the psychological pressure of college students.
4. Experimental Analysis
4.1. Experimental Environment and Dataset
In order to verify the effectiveness of the method for predicting college students’ psychological pressure based on deep neural networks, a predictive model of college students’ psychological pressure was established through the MATLAB platform, and the data was applied and analyzed. Using the Nntraintool generated by the MATLAB program deep neural network toolbox, call the dividevec() function in MATLAB to break the original order of the data, randomly divide the data into two categories, and randomly extract part of the data for network simulation.
Taking the psychological stress data of college students as the sample, this paper divides the effective data of college students’ psychological stress prediction through formula (14) and uses 10% of them as the test sample for the simulation test of the prediction model and the remaining 90% for training the deep neural network model. Before training, set the network training parameters. After many experiments, finally set the network training set sample to 1000; the training target is set to 1e − 6, and the learning rate is 0.01. There are 100 test samples of the simulation prediction model. Use the load function to read the sample data, that is, load the data that has been entered and stored, and normalize the input data. Select the function mapminmax function. After the data are normalized, they are all in the interval [1, −1] to realize the psychological pressure prediction of college students.
In order to further verify the effectiveness of college students’ psychological stress prediction method based on deep neural network, [8] temperament and psychological type prediction method based on twitter data and [9] mobile context aware acute stress prediction method are selected as comparison methods, and comparative experiments are designed from three aspects of prediction effect, prediction accuracy, and prediction efficiency.
4.2. Comparison of Predictive Effects of Psychological Pressure among College Students
In order to verify the prediction effect of the proposed method, the methods of [8] and the methods of [9] are compared with the proposed method respectively, and the comparison results of psychological pressure prediction effects of college students with different methods are obtained, as shown in Figure 7.

It can be seen from Figure 7 that under the sample data of different training sets, the prediction results of college students’ psychological pressure in the method of [8] are large, which has a certain deviation from the actual prediction value, while the prediction results of college students’ psychological pressure in the method of [9] are small, which has the largest deviation from the actual value. The prediction results of college students’ psychological pressure by the proposed method are basically consistent with the actual prediction results of college students’ psychological pressure. In the process of college students’ psychological stress prediction, due to the influence of data personality, the fault tolerance of the prediction results of the two comparison methods is low, which reduces the prediction effect, while the deep neural network can reduce the influence of data to the minimum, improve the global training ability, and further optimize the prediction effect. Therefore, compared with the methods in [8] and [9], the proposed method has better prediction effect on college students’ psychological stress.
4.3. Comparison of Prediction Accuracy of Psychological Pressure among College Students
On this basis, the prediction accuracy of the proposed method is further verified, and the ROC curve is used as the evaluation index of the prediction accuracy of the psychological pressure of college students. Among them, the AUC value is defined as the area under the ROC curve and the coordinate axis. Obviously, the value of this area will not be greater than 1. The closer the AUC value is to 1, the higher the authenticity of the prediction method of college students’ psychological pressure, and the higher the prediction accuracy. By comparing the methods of [8], the methods of [9] and the proposed methods, we get the comparison results of the prediction accuracy of college students’ psychological pressure by different methods, as shown in Figure 8.

It can be seen from Figure 8 that the AUC value of the method in [8] is 0.652, the AUC value of the method in [9] is 0.732, and the AUC value of the proposed method is 0.856. Therefore, compared with the method of [8] and the method of [9], the AUC value of the proposed method is larger and closer to 1, which shows that the college students’ psychological stress prediction method based on deep neural network has higher authenticity and higher prediction accuracy. The main reason is that this method constructs the college students’ psychological stress prediction model combined with the deep neural network method of gray theory, which improves the prediction accuracy.
4.4. Comparison of the Efficiency of Predicting Psychological Pressure among College Students
In order to further verify the prediction efficiency of the proposed method, the prediction time is taken as the evaluation index of the prediction efficiency of college students’ psychological pressure. Among them, the shorter the prediction time, the higher the prediction efficiency of college students’ psychological pressure. By comparing the methods of [8], the methods of [9], and the proposed methods, the comparison results of college students’ psychological pressure prediction time of different methods are obtained, as shown in Figure 9.

It can be seen from Figure 9 that with the increase of sample data in the test set, the prediction time of college students’ psychological pressure with different methods increases. When the test set data is 100, the prediction time of college students’ psychological pressure by the method of [8] is 36 s and the prediction time of college students’ psychological pressure by the method of [9] is 49 s, while the prediction time of college students’ psychological pressure by the proposed method is only 22 s. It can be seen that, compared with the method of [8] and the method of [9], the proposed method has a short prediction time of college students’ psychological stress, which can effectively improve the prediction efficiency of college students’ psychological stress. The reason is that this method forms a physical network information model through the relationship between neurons, predicts the dynamic changes of college sudents’ psychological stress, and improves the prediction efficiency of college students’ psychological stress.
5. Conclusion
The prediction method of college students’ psychological pressure based on deep neural network proposed in this paper gives full play to the advantages of deep neural network model and constructs the prediction model of college students’ psychological pressure combined with gray theory model. The prediction accuracy and efficiency of college students’ psychological pressure are high, and it has a good effect on psychological pressure prediction. However, in the process of college students’ psychological pressure prediction, this method does not consider the influence of main influencing factors, such as different research groups and different research periods on college students’ psychological pressure prediction results. Therefore, in the next research, it needs to fully consider the influence of groups in other periods, expand the number of tested samples, and make predictions in combination with their current situation, so as to further improve the reliability of prediction results.
Data Availability
The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.
Conflicts of Interest
The authors declare that they have no conflicts of interest regarding this work.