# Personalized Book Recommendation Algorithm for University Library Based on Deep Learning Models

Authors: Dongjin Hou
Journal: Journal of Sensors
 (2022)

---

## Abstract

Personalized recommendation is one of the important contents of personalized service in university libraries. Accurate and in-depth understanding of users is the premise of personalized recommendation. This paper proposes a personalized book recommendation algorithm based on deep learning models according to the characteristics and laws of user savings in university libraries. The method first uses the long short-term memory network (LSTM) to improve the deep autoencoder (DAE) so that the model can extract the temporal features of the data. Then, the Softmax function is used to obtain the book recommendation result of the current user. The proposed method is verified based on actual library lending data. The experimental results show that the proposed method has performance advantages compared with several existing recommendation methods.


---

## Body

## 1. Introduction

The application of “Internet +,” social network, and other technologies in the library provides multisource data for user analysis, intelligent, and personalized digital library resource recommendation services, which will greatly improve users’ learning efficiency and experience. It is a meaningful work to help the scholars focus on how to mine users’ preferences and interests so as to satisfy them through recommendation services. Therefore, personalized digital library resource recommendation technology has gradually become a hot research point in the field of education and intelligence [1–4].Early recommendation systems mainly used collaborative filtering (CF) algorithms. The main types of CF algorithms can be divided into user-based and item-based ones. Both types of algorithms need to be based on the constructed binary co-occurrence matrix of users and items and cooperate with the entire matrix data to predict the user’s response to the item. User-based CF needs to calculate the similarity between users and find users similar to the target user. Then, the weighting process is performed to sum up the scores of similar users as the target user’s predicted score for the item. The scores are sorted to generate a list of recommended items. Reference [5] proposed a recommendation method based on CF, which mainly recommended products based on preferences with other users who like the item. Based on the recommendation accuracy evaluation indicators, CF recommendation has been greatly improved and gradually accepted by academia and business circles. However, this recommendation method only utilizes shallow model dependencies, which cannot learn deep feature representations for users and items, and lacks interpretability compared with many content-based algorithms. Based on the above problems, many researchers have improved the CF recommendation algorithm from different aspects. Literature [6] further combined the latent factor model (LFM) with CF, which made the CF algorithm a step forward. Literature [7] proposed a CF method based on matrix factorization (MF) and its variant algorithm, and experimental results showed that this method was more effective in rating prediction. However, the “latent factors” in latent models were not intuitively explanatory, making it difficult to understand why an item predicts a higher rating and is recommended. Although the traditional content-based recommendation methods can improve the interpretability of the recommendation, it extracts user-item features based on a shallow model for recommendation. This feature extraction method relies heavily on artificially designed features, which seriously restricts the effectiveness and scalability of recommendation.With the development of computer technology, artificial intelligence technology, and other fields, deep learning technology has been widely used in speech recognition, image processing, etc. This technology can not only accurately obtain the relationship between users and items in diverse data, but also can convert abstract codes into high-level data information. Therefore, deep learning technology is widely used in recommender systems. In [8], the deep learning model was fused with CF and applied in movie recommendation. Inspired by the good performance, more and more researchers have carried out research on deep learning network models applied to recommender systems. Literature [9] proposed a recommendation model based on long short-term memory network (LSTM) for course association classification. First, the generalized sequential pattern mining algorithm and spectral clustering algorithm were used to group courses, and then LSTM was used to model the time series of courses. Finally, the courses are classified using the Softmax function. The experimental results showed that the proposed algorithm has higher recommendation accuracy than other algorithms such as CF. Reference [10] proposed a recommendation model based on gated recurrent unit (GRU) and the relationship between courses. Combined with the relationship between courses, GRU and Softmax function were used to recommend courses. The experimental results showed that compared with the recommendation algorithm using CF, the recommendation accuracy rate was much higher. Reference [11] employed an autoencoder to map data into a nonlinear latent space, and experimental results showed that it had a lower mean square error than CF. Reference [12] combined the evaluation information and auxiliary information such as user attributes and item descriptions and used autoencoders to decompose the matrix. It also verified the effectiveness of the method through experiments.Due to the powerful nonlinear mapping ability of deep learning when processing high-dimensional data, it can be effectively mapped to low-dimensional space to extract high-level features. The recommendation has also been widely used [13–16]. Due to the powerful latent feature learning ability of deep autoencoder (DAE), it can effectively deal with the problem of data sparsity [17]. In addition, because users often consider the previous book when borrowing new books, the user’s borrowing sequence has obvious time series characteristics. LSTM has a strong time series modeling ability, which can effectively process time series data. According to the above characteristics, this paper uses LSTM to improve the DAE and applies it to personalized book recommendation in university libraries. The proposed method recommends future borrowed books according to the user’s borrowing history [18–20]. The experiment is carried out based on the real loan data of the library, and the proposed method is compared with several existing prediction models. The experimental results show that the recommended results of the proposed method are closer to the actual results, reflecting its higher effectiveness.


## 2. Method Description

### 2.1. LSTM

The borrowed data of readers has a certain time sequence. According to the characteristics of the neural network, this paper chooses the LSTM as the basic model to perform deep learning on the borrowed time series data set, which can maximize the data between time series and nonlinearity relationship [17–20]. LSTM makes the information selectively affect the state of each moment in the model by adding a gate structure, which is mainly composed of input gate, output gate, and forgetting gate. The basic structure of the LSTM unit is shown in Figure 1.Figure 1
Basic structure of LSTM.Assuming that the input sequence isx1,x2,⋯,xt, and the hidden layer state is h1,h2,⋯,ht, then there is the following mathematical expression at time t.


#### 2.1.1. Forgetting Gate Operation

In LSTM, a certain probability is used to control whether to forget the hidden cell state passed to the previous layer, and the sigmoid function is used to control the output range between [0, 1]. Equation (1) displays the details:
(1)ftl=σWfl·htl−1,xtl−1+btl,whereσ is the activation function; · represents the vector inner product; t represents the time; lrepresents the number of layers of the LSTM; f represents the forget gate; w represents the weight; b represents the bias; and h represents the cell output.


#### 2.1.2. Input Gate Operation

The input gate consists of two parts. The sigmoid and tanh activation functions are used to control the range of the output value, and the product of the two parts is used to participate in the update of the cell state. Equations (2) and (3) show the details:
(2)gtl=σWgl·ht−1l,xtl−1+bgl,(3)c~tl=tanhWcl·ht−1l,xtl−1+bcl.In the above equations, tanh() represents the activation function;g represents the input gate; c represents the cell state; and c~ represents the current input cell state.


#### 2.1.3. Cell State Update

The cell state is updated by calculating the product of the cell state at the previous moment, the output of the forget gate, and the product of the two parts of the input gate. The products of the two parts are added to update the cell state:(4)ctl=ftl∗ht−1l+gtl∗c~tl,where∗ represents the multiplication of elements of the corresponding dimension of the two vectors.


#### 2.1.4. Output Gate Operation

The output gate consists of two parts. The first part also uses the hidden state at the previous moment and the input variable at this moment as input, and the output range is controlled by the sigmoid function. The second part uses the hidden state to control the output through the tanh activation function, which is multiplied with the output result of the first part to update the hidden state:(5)otl=σWol·ht−1l,xtl−1+bol,(6)htl=htl·tanhctl,whereo represents the output gate.


### 2.2. DAE

DAE is composed of a stack of multiple sparse autoencoders. The sparse autoencoder draws on the neuron excitability mechanism of the brain. After encoding, the original data can be decoded to the maximum extent, and it also has the advantages of fast convergence speed and avoiding falling into local minima and other advantages [14–16]. The basic structure of DAE is shown in Figure 2.Figure 2
Basic structure of DAE.The stacked autoencoder adopts a layer-by-layer greedy learning method, taking the hidden layer of the trained first sparse autoencoder as the input of the second sparse autoencoder. The hidden layer of the second sparse autoencoder is also used as the input. The input of the next sparse autoencoder is to train the sparse autoencoder in turn, and the hidden layer data of the last sparse autoencoder is used as the output of the entire stack autoencoder network. In general, the hidden layer data of each sparse autoencoder can be regarded as a potential feature of the original training data. Through this feature, the feature information contained in the original data can be decoded to the greatest extent. Therefore, multiple sparse autoencoders can be regarded as a process of extracting high-dimensional latent features of the original data.The sparse autoencoder controls the complexity of the model by optimizing the weights and the average activation of neurons in the hidden layer to reduce network overfitting. It can be realized by adding L2 regularization term and sparse term to its cost function:(7)C=1N∑n=1N∑k=1Kxkn−x∧kn2+λ·Ωweight+β·Ωsparsity,wherexkn is the input sample data; x^kn is the actual output value; Ωweight and Ωsparsity are the L2 regularization term and the sparse term, respectively; λ and β are the coefficients of the L2 regularization term and the sparse term, respectively; N is the total number of samples; and K is the length of the input signal.The essence of L2 regularization is the penalty on the weight vector, which can suppress the larger value in the weight and make the network tend to learn the smaller weight:(8)Ωweight=12∑lL∑jn∑ikwjil2.The function of the sparse term is to control the activation number of hidden neurons. Generally, if the output of a neuron is close to 1, the neuron is considered to be activated. Otherwise, if the output is 0, it is considered to be inhibited. The purpose of sparse autoencoders is to keep these neurons inactive most of the time. Assuming thatzixj is the ith activation unit of the hidden layer during the forward propagation process, the activation unit of the hidden layer can be expressed as hwiT+bi, in which w is the weight matrix connecting the input layer and the hidden layer, and bis the offset between the two layers. Then, the hidden layer average activation of the ith unit is as follows:
(9)ρ^i=1n∑j=1nzixj=1n∑j=1nhwiT+bi.Since sparsity requires most neurons to be suppressed, it is hoped that the average activationρ^i is close to a constant ρ approximately 0, which is the sparsity parameter. In order to achieve such a sparsity effect, an additional penalty term is added to the cost function to make the average activation ρ^i not deviate from the sparsity parameter ρ. Accordingly, the Kullback-Leibler (KL) divergence is chosen to achieve the purpose of punishment. The sparse regularization term can be expressed as follows:
(10)Ωsparsity=∑i=1DKLρρ^i=∑i=1Dρlogρρi+1−ρlog1−ρ1−ρi.In Equation (10), D is the number of hidden layer units. If ρ^i=ρ, then KLρρ^i=0.To sum up, the cost function of sparse autoencoder can be expressed as follows:(11)C=1N∑n=1N∑k=1Kxkn−x∧kn2+λ2∑lL∑jn∑ikwjil2+β∑i=1DKLρρ^i.Finally, the entire network obtains the optimized weightsw and bias b through the back-propagation algorithm.


### 2.3. Book Recommendation Model

In order to model the temporal sequence of the user’s book borrowing data, LSTM is used to replace the feedforward neural network in DAE, and the two are combined. The basic process of the proposed method is shown in Figure3. The time series feature extraction method proposed in this paper includes five parts: input layer, encoding layer, LSTM layer, decoding layer, and output layer. First, the input data is preprocessed, including data enhancement and sequence division by window. And then each sequence is sent to the encoder to obtain a feature vector, which is then used as the input of the LSTM network. Finally, the output of the LSTM is sent to the decoder to obtain a reconstruction of the next window of the original data window. The training process is performed by minimizing the reconstruction error. And after the training is completed, the LSTM network output is extracted as the extracted time series features. After the time series features of the data are extracted in the previous step, the output of the LSTM is used as the input, and the final recommendation result of the model is obtained through the Softmax function.Figure 3
Basic procedure of book recommendation model.


## 2.1. LSTM

The borrowed data of readers has a certain time sequence. According to the characteristics of the neural network, this paper chooses the LSTM as the basic model to perform deep learning on the borrowed time series data set, which can maximize the data between time series and nonlinearity relationship [17–20]. LSTM makes the information selectively affect the state of each moment in the model by adding a gate structure, which is mainly composed of input gate, output gate, and forgetting gate. The basic structure of the LSTM unit is shown in Figure 1.Figure 1
Basic structure of LSTM.Assuming that the input sequence isx1,x2,⋯,xt, and the hidden layer state is h1,h2,⋯,ht, then there is the following mathematical expression at time t.


### 2.1.1. Forgetting Gate Operation

In LSTM, a certain probability is used to control whether to forget the hidden cell state passed to the previous layer, and the sigmoid function is used to control the output range between [0, 1]. Equation (1) displays the details:
(1)ftl=σWfl·htl−1,xtl−1+btl,whereσ is the activation function; · represents the vector inner product; t represents the time; lrepresents the number of layers of the LSTM; f represents the forget gate; w represents the weight; b represents the bias; and h represents the cell output.


### 2.1.2. Input Gate Operation

The input gate consists of two parts. The sigmoid and tanh activation functions are used to control the range of the output value, and the product of the two parts is used to participate in the update of the cell state. Equations (2) and (3) show the details:
(2)gtl=σWgl·ht−1l,xtl−1+bgl,(3)c~tl=tanhWcl·ht−1l,xtl−1+bcl.In the above equations, tanh() represents the activation function;g represents the input gate; c represents the cell state; and c~ represents the current input cell state.


### 2.1.3. Cell State Update

The cell state is updated by calculating the product of the cell state at the previous moment, the output of the forget gate, and the product of the two parts of the input gate. The products of the two parts are added to update the cell state:(4)ctl=ftl∗ht−1l+gtl∗c~tl,where∗ represents the multiplication of elements of the corresponding dimension of the two vectors.


### 2.1.4. Output Gate Operation

The output gate consists of two parts. The first part also uses the hidden state at the previous moment and the input variable at this moment as input, and the output range is controlled by the sigmoid function. The second part uses the hidden state to control the output through the tanh activation function, which is multiplied with the output result of the first part to update the hidden state:(5)otl=σWol·ht−1l,xtl−1+bol,(6)htl=htl·tanhctl,whereo represents the output gate.


## 2.1.1. Forgetting Gate Operation

In LSTM, a certain probability is used to control whether to forget the hidden cell state passed to the previous layer, and the sigmoid function is used to control the output range between [0, 1]. Equation (1) displays the details:
(1)ftl=σWfl·htl−1,xtl−1+btl,whereσ is the activation function; · represents the vector inner product; t represents the time; lrepresents the number of layers of the LSTM; f represents the forget gate; w represents the weight; b represents the bias; and h represents the cell output.


## 2.1.2. Input Gate Operation

The input gate consists of two parts. The sigmoid and tanh activation functions are used to control the range of the output value, and the product of the two parts is used to participate in the update of the cell state. Equations (2) and (3) show the details:
(2)gtl=σWgl·ht−1l,xtl−1+bgl,(3)c~tl=tanhWcl·ht−1l,xtl−1+bcl.In the above equations, tanh() represents the activation function;g represents the input gate; c represents the cell state; and c~ represents the current input cell state.


## 2.1.3. Cell State Update

The cell state is updated by calculating the product of the cell state at the previous moment, the output of the forget gate, and the product of the two parts of the input gate. The products of the two parts are added to update the cell state:(4)ctl=ftl∗ht−1l+gtl∗c~tl,where∗ represents the multiplication of elements of the corresponding dimension of the two vectors.


## 2.1.4. Output Gate Operation

The output gate consists of two parts. The first part also uses the hidden state at the previous moment and the input variable at this moment as input, and the output range is controlled by the sigmoid function. The second part uses the hidden state to control the output through the tanh activation function, which is multiplied with the output result of the first part to update the hidden state:(5)otl=σWol·ht−1l,xtl−1+bol,(6)htl=htl·tanhctl,whereo represents the output gate.


## 2.2. DAE

DAE is composed of a stack of multiple sparse autoencoders. The sparse autoencoder draws on the neuron excitability mechanism of the brain. After encoding, the original data can be decoded to the maximum extent, and it also has the advantages of fast convergence speed and avoiding falling into local minima and other advantages [14–16]. The basic structure of DAE is shown in Figure 2.Figure 2
Basic structure of DAE.The stacked autoencoder adopts a layer-by-layer greedy learning method, taking the hidden layer of the trained first sparse autoencoder as the input of the second sparse autoencoder. The hidden layer of the second sparse autoencoder is also used as the input. The input of the next sparse autoencoder is to train the sparse autoencoder in turn, and the hidden layer data of the last sparse autoencoder is used as the output of the entire stack autoencoder network. In general, the hidden layer data of each sparse autoencoder can be regarded as a potential feature of the original training data. Through this feature, the feature information contained in the original data can be decoded to the greatest extent. Therefore, multiple sparse autoencoders can be regarded as a process of extracting high-dimensional latent features of the original data.The sparse autoencoder controls the complexity of the model by optimizing the weights and the average activation of neurons in the hidden layer to reduce network overfitting. It can be realized by adding L2 regularization term and sparse term to its cost function:(7)C=1N∑n=1N∑k=1Kxkn−x∧kn2+λ·Ωweight+β·Ωsparsity,wherexkn is the input sample data; x^kn is the actual output value; Ωweight and Ωsparsity are the L2 regularization term and the sparse term, respectively; λ and β are the coefficients of the L2 regularization term and the sparse term, respectively; N is the total number of samples; and K is the length of the input signal.The essence of L2 regularization is the penalty on the weight vector, which can suppress the larger value in the weight and make the network tend to learn the smaller weight:(8)Ωweight=12∑lL∑jn∑ikwjil2.The function of the sparse term is to control the activation number of hidden neurons. Generally, if the output of a neuron is close to 1, the neuron is considered to be activated. Otherwise, if the output is 0, it is considered to be inhibited. The purpose of sparse autoencoders is to keep these neurons inactive most of the time. Assuming thatzixj is the ith activation unit of the hidden layer during the forward propagation process, the activation unit of the hidden layer can be expressed as hwiT+bi, in which w is the weight matrix connecting the input layer and the hidden layer, and bis the offset between the two layers. Then, the hidden layer average activation of the ith unit is as follows:
(9)ρ^i=1n∑j=1nzixj=1n∑j=1nhwiT+bi.Since sparsity requires most neurons to be suppressed, it is hoped that the average activationρ^i is close to a constant ρ approximately 0, which is the sparsity parameter. In order to achieve such a sparsity effect, an additional penalty term is added to the cost function to make the average activation ρ^i not deviate from the sparsity parameter ρ. Accordingly, the Kullback-Leibler (KL) divergence is chosen to achieve the purpose of punishment. The sparse regularization term can be expressed as follows:
(10)Ωsparsity=∑i=1DKLρρ^i=∑i=1Dρlogρρi+1−ρlog1−ρ1−ρi.In Equation (10), D is the number of hidden layer units. If ρ^i=ρ, then KLρρ^i=0.To sum up, the cost function of sparse autoencoder can be expressed as follows:(11)C=1N∑n=1N∑k=1Kxkn−x∧kn2+λ2∑lL∑jn∑ikwjil2+β∑i=1DKLρρ^i.Finally, the entire network obtains the optimized weightsw and bias b through the back-propagation algorithm.


## 2.3. Book Recommendation Model

In order to model the temporal sequence of the user’s book borrowing data, LSTM is used to replace the feedforward neural network in DAE, and the two are combined. The basic process of the proposed method is shown in Figure3. The time series feature extraction method proposed in this paper includes five parts: input layer, encoding layer, LSTM layer, decoding layer, and output layer. First, the input data is preprocessed, including data enhancement and sequence division by window. And then each sequence is sent to the encoder to obtain a feature vector, which is then used as the input of the LSTM network. Finally, the output of the LSTM is sent to the decoder to obtain a reconstruction of the next window of the original data window. The training process is performed by minimizing the reconstruction error. And after the training is completed, the LSTM network output is extracted as the extracted time series features. After the time series features of the data are extracted in the previous step, the output of the LSTM is used as the input, and the final recommendation result of the model is obtained through the Softmax function.Figure 3
Basic procedure of book recommendation model.


## 3. Experiment and Analysis

### 3.1. Sample Set and Preprocessing

A real data set of a library is used, which contains 342,451 book loan records, including 4,652 users and 6,783 books. Each record contains attributes such as user id, borrowing time, book id, book name, and book category.Step 1: The original data is simplified into triples (user id, course selection time, and course id)Step 2: From the 4652 users, the users who have borrowed less than 5 books are removed, leaving 184201 pieces of data and 3347 usersStep 3: According to the user grouping, it is divided into 2675 groups. In each group, the books are sorted in ascending order according to the time of borrowing booksStep 4: The data in the group is merged according to (user id, book id time series) to get the final data set, which contains a total of 3789 pieces of data


### 3.2. Evaluation Index

In this paper, three evaluation indexes commonly used in Top-N recommender systems, i.e., precision (P), recall (R), and F1 score (F1), are used to measure the recommendation performance of the proposed method, which are calculated as follows:
(12)P=∑u∈URu∩Tu∑u∈URu,P=∑u∈URu∩Tu∑u∈UTu,F1=2×P×RP+R.whereRu represents the book recommendation list made to the user based on the book borrowing data on the training data set and Tu represents the user’s book borrowing list on the test data set.


### 3.3. Result and Analysis

For the Top-N recommendation problem, this paper takes 3 groups of comparative experiments at N∈1,5,10. In each group of comparative experiments, the CF, autoencoder (AE), and LSTM methods in the existing methods are selected for comparison. Among them, the LSTM method only uses LSTM for recommendation, and no other deep learning models are introduced.Tables1, 2, and 3 show the performance comparison of various methods under different recommendation numbers. Under the same conditions, the proposed method outperforms the three comparison algorithms in terms of P, R, and F1. In particular, compared with LSTM, this paper further improves the recommendation performance by incorporating DAE, demonstrating the effectiveness of the model. The experimental results show that the performance of the recommendation algorithm based on the deep learning is better than that of the traditional algorithms, because the deep learning algorithm can extract deeper data features. The method proposed in this paper uses DAE for deep feature extraction and applies LSTM to model the time series features of the data, so the final overall performance is further improved.Table 1
Comparison of different methods atN=1.
MethodPRF1Proposed0.1720.1580.164CF0.1470.1410.145AE0.1560.1520.154LSTM0.1630.1580.160Table 2
Comparison of different methods atN=5.
MethodPRF1Proposed0.3980.3820.387CF0.3560.3480.361AE0.3690.3540.363LSTM0.3780.3650.371Table 3
Comparison of different methods atN=10.
MethodPRF1Proposed0.5430.5280.532CF0.4970.4820.488AE0.5180.5030.508LSTM0.5240.5160.519Comparing the results under different recommended numbers, it can be seen that with the increase ofN, the three performance evaluation indexes of various methods are also getting higher and higher. The probability is also increasing. Compared with various methods, the improvement of the method in this paper is more significant, which further reflects its effectiveness.


## 3.1. Sample Set and Preprocessing

A real data set of a library is used, which contains 342,451 book loan records, including 4,652 users and 6,783 books. Each record contains attributes such as user id, borrowing time, book id, book name, and book category.Step 1: The original data is simplified into triples (user id, course selection time, and course id)Step 2: From the 4652 users, the users who have borrowed less than 5 books are removed, leaving 184201 pieces of data and 3347 usersStep 3: According to the user grouping, it is divided into 2675 groups. In each group, the books are sorted in ascending order according to the time of borrowing booksStep 4: The data in the group is merged according to (user id, book id time series) to get the final data set, which contains a total of 3789 pieces of data


## 3.2. Evaluation Index

In this paper, three evaluation indexes commonly used in Top-N recommender systems, i.e., precision (P), recall (R), and F1 score (F1), are used to measure the recommendation performance of the proposed method, which are calculated as follows:
(12)P=∑u∈URu∩Tu∑u∈URu,P=∑u∈URu∩Tu∑u∈UTu,F1=2×P×RP+R.whereRu represents the book recommendation list made to the user based on the book borrowing data on the training data set and Tu represents the user’s book borrowing list on the test data set.


## 3.3. Result and Analysis

For the Top-N recommendation problem, this paper takes 3 groups of comparative experiments at N∈1,5,10. In each group of comparative experiments, the CF, autoencoder (AE), and LSTM methods in the existing methods are selected for comparison. Among them, the LSTM method only uses LSTM for recommendation, and no other deep learning models are introduced.Tables1, 2, and 3 show the performance comparison of various methods under different recommendation numbers. Under the same conditions, the proposed method outperforms the three comparison algorithms in terms of P, R, and F1. In particular, compared with LSTM, this paper further improves the recommendation performance by incorporating DAE, demonstrating the effectiveness of the model. The experimental results show that the performance of the recommendation algorithm based on the deep learning is better than that of the traditional algorithms, because the deep learning algorithm can extract deeper data features. The method proposed in this paper uses DAE for deep feature extraction and applies LSTM to model the time series features of the data, so the final overall performance is further improved.Table 1
Comparison of different methods atN=1.
MethodPRF1Proposed0.1720.1580.164CF0.1470.1410.145AE0.1560.1520.154LSTM0.1630.1580.160Table 2
Comparison of different methods atN=5.
MethodPRF1Proposed0.3980.3820.387CF0.3560.3480.361AE0.3690.3540.363LSTM0.3780.3650.371Table 3
Comparison of different methods atN=10.
MethodPRF1Proposed0.5430.5280.532CF0.4970.4820.488AE0.5180.5030.508LSTM0.5240.5160.519Comparing the results under different recommended numbers, it can be seen that with the increase ofN, the three performance evaluation indexes of various methods are also getting higher and higher. The probability is also increasing. Compared with various methods, the improvement of the method in this paper is more significant, which further reflects its effectiveness.


## 4. Conclusion

This paper proposes a recommendation model based on DAE and LSTM for the personalized book recommendation problem in university libraries. First, LSTM is used to improve the DAE so that the model can extract the temporal characteristics of the data. The Softmax is used for the direct recommendation of books for the users. Finally, the experimental verification is carried out on the real library lending data set. The experimental results show that the proposed method has higher accuracy compared with several existing recommendation algorithms. Therefore, the method in this paper can be applied in subsequent library lending systems to enhance overall work efficiency.



---

*Source: 3087623-2022-06-22.xml*