# The Application of Personalized Recommendation System in the Cross-Regional Promotion of Provincial Intangible Cultural Heritage

Authors: Qin Wang
Journal: Advances in Multimedia
 (2022)

---

## Abstract

With the accelerated trend of globalization and modernization, many provincial intangible cultural heritages (PICH) are in danger of being lost. In the context of Internet technology, the use of digital multimedia for personalized recommendation is an effective way to promote the transmission of intangible cultural heritage. However, traditional recommendation systems tend to treat different members as homogeneous objects, ignoring the relationship between members’ professional backgrounds and the inherent properties of items, and cannot truly solve the problem of conflicting preferences in the integration process. In view of this, this paper proposes a group recommendation system based on nonnegative matrix decomposition. First, the group rating information is decomposed into a user matrix and item matrix by nonnegative matrix decomposition. Then, the item affiliation matrix and member expertise matrix are calculated by using the affiliation and expertise weights for the two matrices, respectively, and the contribution degree of each member to different item ratings is obtained from them. Finally, the group preference model is constructed by weighted fusion of members’ preferences based on their contribution degrees, and different recommendation lists are generated for different user preferences. The experimental results prove that this system has high recommendation accuracy in cross-regional promotion of PICH.


---

## Body

## 1. Introduction

Intangible cultural heritage is a precious treasure developed in the long process of human civilization, known as the DNA of regional culture, with historical geography and cultural inheritance [1].The contents of China’s intangible cultural heritage can be divided into six categories: (1) oral tradition, including language as a cultural carrier; (2) traditional performing arts; (3) folk activities, rituals, and festivals; (4) traditional folk knowledge and practices related to nature and the universe; (5) traditional handicraft skills; and (6) cultural space related to the above forms of expression.Communication media for promoting intangible cultural heritage contents can be divided into oral media, printing media, electronic media, and media infiltration and integration. Early across areas of nonmaterial cultural heritage rely mainly on oral media and print media, such as the nonmaterial cultural heritage offline activities and nonmaterial cultural heritage related books published. In recent years, electronic media has also been widely used. Contents recorded by electronic media include text, pictures, video, and audio, which are more timely and vivid and spread in a wider range. Media penetration and integration are the fusion and complementarity of the first three modes, which are suitable for emerging we-media platforms. For example, an online broadcast of PICH is carried out on Tiktok and Weibo platforms, and audio recordings of oral intangible cultural heritage are recorded and released on listening software.The protection and promotion of PICH is a requirement for carrying forward national culture and enhancing cultural confidence, as well as for carrying out international cultural exchanges [2]. The existing provincial intangible cultural heritage recommendation system mainly adopts a stand-alone platform. However, as the amount of intangible cultural heritage information increases every day, the processing speed of the single-machine platform has reached its limit, making the provincial intangible cultural heritage recommendation efficiency extremely low.How to promote provincial intangible cultural heritage diversity protection, scientific development, utilization, and promotion has become an urgent matter. Therefore, the use of digital multimedia for personalized recommendation, that is, mining users’ preferences and then recommending different digital multimedia of intangible cultural heritage for different users, provides a new path for the promotion of PICH.Personalized services have begun to be applied in daily life, such as online shopping and movie recommendation, showing vigorous vitality. However, due to the data “overload” caused by the explosive growth of data volume, users cannot obtain a better personalized service experience. At the same time, the data can often bring huge economic benefits. Recommendation systems emerge as the times require. It can not only alleviate the problem of data “overload” but also provide better personalized recommendation and bring considerable economic benefits to merchants. With the increase of data, the sparsity of data will become larger and larger, which makes it difficult to obtain user preference information. The core idea of matrix decomposition is to map users and items to the same space according to a certain relationship that can be established between users and items and then use algorithms to learn the low-dimensional representation of users and items. Finally, the dot product is used as the matching function to calculate the matching score. On this basis, He et al. [3] proposed the eALS algorithm, which takes the interaction data that has not been observed as negative sampling and assigns values to them by using item popularity. The disadvantage of this kind of algorithm is that it does not fully excavate the user’s preference information for the item and cannot obtain a good recommendation effect. Dahdouh et al. [4] adopted the Hadoop platform to manage and recommend resources and completed massive resource management and push with the help of Hadoop. El Handri and Idrissi [5] used the Spark platform to recommend a large number of resources to improve the efficiency of resource recommendation. Both are recommendation studies based on massive resources, focusing more on the construction of a cloud computing data push platform, without in-depth development of microresource details and methods. Wu [6] adopted the collaborative filtering algorithm and multiclassification support vector machine algorithm to construct an intelligent recommendation system and carried out specific empirical analysis. Recommendation accuracy was improved, but microresource details still could not be effectively reflected.Recently, deep learning technology has been prominent. Due to the representation of deep learning having a strong ability to learn, many experts and scholars put forward various recommendation algorithms based on the depth of the neural network [7]. For example, Huang et al. [8] proposed the Wide & Deep algorithm and successfully applied it to APP recommendation. Its core idea is to use the Wide model to learn memory information in data. They analysed the data and found “memory information” in the data; that is, if a user likes to shop on Taobao, he is also likely to shop in Jingdong mall. Batmaz et al. [9] believed that the Wide & Deep algorithm could not share input and parameter optimization. However, these algorithms simply make use of the deep neural network without obtaining the weight values of each user and item; that is, they do not fully use the relational information obtained from interactive data.On this basis, this paper proposes a group recommendation algorithm based on nonnegative matrix factorization (GRBNMF). The group was found byK-means clustering; user matrix and project matrix were obtained by nonnegative matrix decomposition for the user score matrix in the group. The membership degree of each item in the project matrix under different implicit categories and the professional degree of each member in the user matrix under different implicit categories are calculated, and the contribution degree of each member to different projects is obtained by combining the membership degree and professional degree. The group preference is weighted and fused according to the member’s contribution degree to generate the group recommendation list. Compared with the traditional provincial interregional recommendation system for intangible cultural heritage, this system can recommend different digital multimedia information on intangible cultural heritage for different users according to their preferences.The main contributions of this paper are as follows:(1)
A group preference modelling method is proposed. The method starts from the expertise of group members on the implied item categories, and obtains the contribution degree of group members on each item through nonnegative matrix decomposition, and constructs a group preference model based on it(2)
A group recommendation algorithm based on nonnegative matrix decomposition is proposed. It can avoid the interference of nonexpert members on the fusion results and solve the general group recommendation problem(3)
Excavate and analyse the relationship between members’ professional backgrounds and the inherent attributes of the project and solve the problem of preference conflict in the process of integrationThis paper consists of five main parts: the first part is the introduction, the second part is state of the art, the third part is the methodology, the fourth part is result analysis and discussion, and the fifth part is the conclusion.


## 2. State of the Art

Many scholars have carried out in-depth research on group recommendation systems, which basically focus on the preference fusion of group members.Preference fusion can be divided into two fusions (model fusion and recommendation fusion) according to the different times of group modelling, as shown in Figures1 and 2.Figure 1
Model fusion.Figure 2
Recommendation fusion.In model fusion, firstly, member preferences are fused to build a group preference model, and a recommendation list can be generated according to the group model. Recommendation fusion is to make a personalized recommendation to group members first and then fuse the recommendation results of individual members to get group recommendation results. The advantages and disadvantages of the two fusion methods cannot be generalized, but their shortcomings are obvious, and the model fusion is susceptible to the impact of the sparsity of score. Recommendation fusion ignores the interaction between groups because individual behaviour is susceptible to group influence.The following are specific studies on recommendation systems by different scholars (see Table1).Table 1
Literature review details on recommendation system.
LiteratureAuthorYearMethodological characteristics[10]Dara et al.2020A satisfaction balance strategy for tourism group recommendation. This strategy combined mean value strategy and minimum pain strategy in the process of fusion to improve the recommendation satisfaction of group members.[11]Schedl et al.2018A hybrid integration strategy, differences in both sides of the threshold, respectively, adopt the strategy of the most respected person and mean complete preference fusion strategy. However, the selection of threshold value often depends on the situation.[12]Jiang et al.2019A preference prediction algorithm based on the theory of unknown preferences of users in the same group would be affected by other members in the group. However, the algorithm had a high time complexity.[13]Camacho et al.2018A method for combining trust in social networks to modify group members’ preferences, but it is usually difficult to obtain trust, so this method is not easy to implement.[14]Khelloufi et al.2020The method added the relationship between group members to the joint probability matrix decomposition; it improves the accuracy of cluster recommendation.[15]Deldjoo et al.2020The method added weight to candidate projects by calculating the number and consistency of project scores of group members and then made group recommendation by integrating project weights.[16]Yi et al.2019A matrix decomposition model. It is combined with the timing function to improve the search completeness and accuracy of the group recommendation system.[17]Luo et al.2019A nonnegative matrix decomposition model. It is widely used in computer vision and data mining due to its simplicity of implementation, interpretability of decomposition form, and decomposition result.[18]Jiang et al.2018A group preference model by weighted fusion of member scores based on the contribution degree of members. However, it lacks consideration of the relationship between the user’s knowledge background and the inherent properties of the item in the preference fusion process.Based on the above research inspiration, this paper considers starting from the implied item category and analysing the members’ professionalism by nonnegative matrix decomposition, in an attempt to mitigate the influence of nonprofessional members on the fusion results, in order to establish a group preference model with higher accuracy and achieve efficient group recommendation.


## 3. Methodology

### 3.1. Proposed Algorithm

Matrix decomposition decomposed the high-dimensional user project score matrixRw×t into two low-dimensional user matrices Pw×z and project matrix Qz×t. The user matrix represents the user’s preference degree for z implicit item categories. The item matrix represents the degree of membership of the item in z implied item categories. Two characteristic matrix multiplication fitting of the original score matrix and the process of fitting the characteristic matrix are constantly updated. Matrix decomposition can be expressed as
(1)Rw×t≈Pw×zQz×t,where Rw×trepresents the original user project scoring matrix. Pw×z represents the user characteristic matrix. Qz×t represents the item eigenmatrix. w and t represent the number of users and projects, respectively. z is the implied item category.NMF (nonnegative matrix factorization) adds nonnegative constraint conditions to the eigenmatrix on the basis of matrix factorization; that is, the elements inP and Q are not less than 0.This nonnegative constraint will lead to the sparsity of corresponding descriptions to a certain extent. But the sparse sexual expression has proven to be between the fully distributed and a description of a single active component of an effective form of data description, and this description of the sparse sex can make the interpretation of the data become convenient and reasonable.In order to maximize the approximation of Formula (1) to the original scoring matrix, the established objective function is shown in
(2)mintheelementsinPandQarenotlessthan0JP,Q=12∑x,yrx,y−PQx,y2+βP22+Q22,where rx,y represent the element values in the original scoring matrix. β is the coefficient of the regular term.The objective function was solved according to the multiplicative iteration rule proposed by a scholar, and the finally obtained iteration formula is shown in(3)Px,z⟵Px,z·RQNx,zPQQNx,z,Qz,y⟵Qz,y·PNRz,yPNPQz,y.At present, there is no unified formal definition of a group recommendation system, so this paper simply explains it from the general steps of group recommendation.Definition 1.
GroupG is a collection of users with preferences. A=px0<x≤w, px indicates the group members, and w indicates the group size.Definition 2.
Group preferenceprofileA,x=∑pp∈Aωp,xprofileep,x, where profileA,x profile represents group A’s preference for item xx, usually expressed as a score. profileep,x profile represents member P’s preference for item xx. ωp,x is the weight of member pp on item xx in group A. Different weights can represent different preference fusion strategies. If ωp,x≡1/A, the above equation can represent the mean value strategy. When the weight of the member with the lowest score is 1 and the weight of other members is 0, the formula above can represent the strategy of least pain.Definition 3 (topT group recommendation).
The group recommendation system generally recommends the topT items with the highest preference score to the group. A candidate item set is typically a collection of items not consumed by all members. For a given group A, it can be obtained from the candidate item sets X a XA group recommended list, as shown in
(4)XA=T,∀xx,xy∈X,s.n.profileA,x≥profileA,y,xx∈XA,xy∉XA.
And the items inXA are arranged in descending order according to group preference.In group recommendation systems, the recommendation results not only depend on the design of preference fusion strategy but also are greatly affected by intragroup similarity. In general, the higher the intragroup similarity, the smaller the preference conflict of the group and the higher the overall satisfaction of the recommendation results, on the other hand, the lower the intragroup similarity, the different interests of the members of the group. In this case, the group’s satisfaction with the recommendation results is often low. Therefore, the discovery of internally more similar groups is crucial to improve the satisfaction of recommendation results.TheK-means clustering algorithm has become one of the most commonly used clustering algorithms because of its advantages of simple implementation and fast convergence. In this paper, the Pearson correlation coefficient between the user rating vectors is used as the measurement, and k-means is used to perform multiple clustering of users in the rating data set to generate multiple groups of different sizes.Generally, the number of users in the scoring data set is much smaller than the number of items, so the average scoring data set tends to be very sparse. At the same time, the calculation of the Pearson correlation coefficient depends very much on common scoring items. To alleviate the impact of the sparse score on user clustering results, items are clustered before users, so that similar items are located in the same cluster. After that, the average score of each project cluster was calculated as the scoring vector of users, which reduced the blank score of users and made the calculation of the Pearson correlation coefficient more accurate. Finally, cluster users to generate groups (see Table2). Among them, X1,X2,⋯,X10 represents the project and P1,P2,⋯,P8 represents the user. The score ranges from 0 to 5, with the lowest being 0 and the highest being 5.Table 2
Scoring table.
X1X2X3X4X5X6X7X8X9X10P14551210322P20455431130P33145332411P44515112332P51211154152P62132213544P70314151552P80413043413Firstly, cluster the items in Table2. Then, the mean of the score of each project cluster can achieve dimensionality reduction of the user’s score vector, for example, the score vector of user P1 after dimensionality reduction is 3.2,1.4. On this basis, user clustering is performed, assuming that Table 2 produces two groups.In real life, a project usually has multiple attributes, such as a movie, which can belong to a certain era or several genres. In the process of group decision-making, according to different project attributes, members often have different discourse rights. In general, members with more professional background knowledge about the attributes involved in the project have a higher right of speech and contribute more to the decision-making process, and the decision-making results tend to be this way. In general, the user’s degree of expertise is directly proportional to his degree of interest, which is often expressed by the preference value in the user’s feature matrix.By analysing the group members’ expertise in the implied item category, the algorithm makes the result of preference fusion tend to the more professional members. The filling score matrix is obtained by filling the null value of the original score matrix with the prediction score matrix. According to the influence of members’ professional background knowledge on group preference, the membership degree of items under each implied item category is calculated by the item matrix. Combined with the professional degree of each member in the implicit category calculated by the user matrix, the contribution degree of each member’s preference fusion is formed, and the group preference is weighted by the preference fusion according to the contribution degree of each member.The groupA1=p1,p2,p3,p4 obtained in Table 2 is used as an example for demonstration. The steps of establishing the group preference model by using NMF are shown as follows.For a given groupA, its scoring matrix is set as RA∈RA×t, as shown in
(5)PA=r1,1r1,2⋯r1,tr2,1r2,1⋯r2,t⋮⋮⋮rA,1rA,2⋯rA,t.Among them,A indicates the group size and t indicates the number of projects. rx,y represents member px’s rating of item xy.User matrixPA∈RA×Z and project matrix QA∈RZ×T are obtained by nonnegative matrix decomposition of RA, as shown in Formulas (6) and (7), respectively,
(6)PA=p1,1p1,2⋯p1,zp2,1p2,1⋯p2,z⋮⋮⋮pA,1pA,2⋯pA,z,(7)QA=x1,1x1,2⋯x1,tx2,1x2,1⋯x2,t⋮⋮⋮xz,1xz,2⋯xz,t,where z is the number of implied project categories and Z≤A≤t. pxi represents the preference value of the member px for the implied item category i. xi,y represents the attribute value of item xy on the implied category i.Then, for groupG1,
(8)RA1=5440301213035452002140354233005404003223.Letz=2, the factorization of RA1 can be obtained (round to keep 2 decimal places):
(9)PA1=1.840.950.172.661.241.792.550,QA1N=2.280.161.380.510.311.890.961.370.222.0000.801.100.130.990.260.490.371.150.04.The dot product of the characteristic matrix can be predicted rating matrixR^A∈RA×T, as shown in
(10)R^A=r^1,1r^1,2⋯r^1,tr^2,1r^2,2⋯r^2,t⋮⋮⋮r^A,1r^A,2⋯r^A,t,where r^x,y represents the predicted score of project xy by member px.When obtaining the preferences of members in the group, the prediction scoring matrixR^A is used to fill the null values in the original scoring matrix RA, and the filling scoring matrix RFA∈RA×T,rfx,y∈RFA can be obtained:
(11)rfx,y=rx,y,rx,y≠0,r^x,y,rx,y=0.After the above steps, the filling score matrixRFA1 of A1 can be obtained, as shown in
(12)RFA1N=50.8245432.6244533.074543540.550.7622010.533320.8632121.262311.493.The membership degreexweighty,i of project xy under the implied project category i can be calculated by item matrix, as shown in
(13)xweighty,i=xi,y∑c=1zxc,y.In the above matrixQA1, the value of x1 under the two implied item categories is 2.28 and 0.16, respectively, and the calculated total attribute value is 2.44. After that, xweight1,1=2.28/2.44=0.93, xweight1,2=0.07 are obtained.Different from the attribute weight of the item oriented to the implicit item category, the weight calculation of member professionalism is oriented to the group. Therefore, the specializationpweightx,i of member px for implied item category i in group A can be obtained through the user matrix, as shown in
(14)pweightx,i=px,i∑a=1Apa,i.For example, in matrixPA1, the total preference value of the four members on implied item category 1 is 1.84+0.17+1.24+2.55=5.8, which can be calculated as pweight1,1=1.84/5.8=0.32.After the group modelling is completed through the above method, the topN items with the highest scores can be selected from the group preferences for recommendation. The frame of the proposed algorithm is shown in Figure 3.Figure 3
GRBNMF algorithm framework.In the first stage, thek-means algorithm is used to find potential groups by clustering users. In the second stage, the NMF model is used to decompose the group scoring matrix. Based on the relationship between members’ knowledge background and project inherent attributes, the contribution degree of group members to different projects is obtained, and the group preference model is constructed according to the contribution degree of group members. In the third stage, a top N recommendation list is generated through the group model.


### 3.2. System Design

The design of the PICH recommendation system using the Hadoop platform can improve the scalability of the recommendation system on the basis of solving the problems of massive intangible cultural heritage information analysis and processing. Figure4 shows the structural framework of the PICH recommendation system based on the Hadoop platform. In Figure 4, the system as a whole is divided into three components. They are the PICH information collection module, information pretreatment module, and Hadoop platform. The main function of the PICH information collection module is to use professional information collection software: locomotive collector to obtain PICH information on the Internet, including intangible cultural heritage information and visitors to the intangible cultural heritage information query and evaluation information. This module obtains intangible cultural heritage information through formal and legal network resources, guarantees the authenticity of PICH information to the maximum extent, and improves the accuracy of PICH information recommendation. After the intangible cultural heritage information is collected successfully, it is transmitted to the information pretreatment module. This module implements coding and format conversion processing on the initial intangible cultural heritage information to improve the convenience of information identification in the process of PICH recommendation. The preprocessed PICH information is transferred to the Hadoop platform and stored in the HDFS distributed file system. Based on the preprocessed information, the parallel Map Reduce programming model describes the optimized collaborative filtering recommendation algorithm, and the background program builds the recommendation model to obtain the recommendation list and complete PICH recommendation.Figure 4
PICH recommendation system structure.In the Hadoop platform, the Map Reduce programming model is used to present the above recommendation algorithm. The intangible cultural heritage information in the HDFS distributed file system is divided into several Map tasks, and these tasks are mapped to Data nodes in the cluster for parallel computing. An intermediate key/value pair<key,value> is constructed through the Map function, and a list <k2,v2> is generated based on the key value. Job Tracker is scheduled and input into a single Reduce function for operation, and the recommendation result is output. </k2,v2></key,value> The specific process is shown in Figure 5. The recommendation algorithm is divided into four processing processes in the Hadoop platform: Map Reduce processing of attention matrix, Map Reduce processing of consistency calculation, Map Reduce processing generated by neighbor set, and Map Reduce processing generated by recommendation set. Each processing process is divided into the Map processing stage and Reduce processing stage. Through the parallelization of the processing process and processing stage of different information fragments, the recommended set of PICH can be obtained efficiently.Figure 5
Map Reduce execution process.


## 3.1. Proposed Algorithm

Matrix decomposition decomposed the high-dimensional user project score matrixRw×t into two low-dimensional user matrices Pw×z and project matrix Qz×t. The user matrix represents the user’s preference degree for z implicit item categories. The item matrix represents the degree of membership of the item in z implied item categories. Two characteristic matrix multiplication fitting of the original score matrix and the process of fitting the characteristic matrix are constantly updated. Matrix decomposition can be expressed as
(1)Rw×t≈Pw×zQz×t,where Rw×trepresents the original user project scoring matrix. Pw×z represents the user characteristic matrix. Qz×t represents the item eigenmatrix. w and t represent the number of users and projects, respectively. z is the implied item category.NMF (nonnegative matrix factorization) adds nonnegative constraint conditions to the eigenmatrix on the basis of matrix factorization; that is, the elements inP and Q are not less than 0.This nonnegative constraint will lead to the sparsity of corresponding descriptions to a certain extent. But the sparse sexual expression has proven to be between the fully distributed and a description of a single active component of an effective form of data description, and this description of the sparse sex can make the interpretation of the data become convenient and reasonable.In order to maximize the approximation of Formula (1) to the original scoring matrix, the established objective function is shown in
(2)mintheelementsinPandQarenotlessthan0JP,Q=12∑x,yrx,y−PQx,y2+βP22+Q22,where rx,y represent the element values in the original scoring matrix. β is the coefficient of the regular term.The objective function was solved according to the multiplicative iteration rule proposed by a scholar, and the finally obtained iteration formula is shown in(3)Px,z⟵Px,z·RQNx,zPQQNx,z,Qz,y⟵Qz,y·PNRz,yPNPQz,y.At present, there is no unified formal definition of a group recommendation system, so this paper simply explains it from the general steps of group recommendation.Definition 1.
GroupG is a collection of users with preferences. A=px0<x≤w, px indicates the group members, and w indicates the group size.Definition 2.
Group preferenceprofileA,x=∑pp∈Aωp,xprofileep,x, where profileA,x profile represents group A’s preference for item xx, usually expressed as a score. profileep,x profile represents member P’s preference for item xx. ωp,x is the weight of member pp on item xx in group A. Different weights can represent different preference fusion strategies. If ωp,x≡1/A, the above equation can represent the mean value strategy. When the weight of the member with the lowest score is 1 and the weight of other members is 0, the formula above can represent the strategy of least pain.Definition 3 (topT group recommendation).
The group recommendation system generally recommends the topT items with the highest preference score to the group. A candidate item set is typically a collection of items not consumed by all members. For a given group A, it can be obtained from the candidate item sets X a XA group recommended list, as shown in
(4)XA=T,∀xx,xy∈X,s.n.profileA,x≥profileA,y,xx∈XA,xy∉XA.
And the items inXA are arranged in descending order according to group preference.In group recommendation systems, the recommendation results not only depend on the design of preference fusion strategy but also are greatly affected by intragroup similarity. In general, the higher the intragroup similarity, the smaller the preference conflict of the group and the higher the overall satisfaction of the recommendation results, on the other hand, the lower the intragroup similarity, the different interests of the members of the group. In this case, the group’s satisfaction with the recommendation results is often low. Therefore, the discovery of internally more similar groups is crucial to improve the satisfaction of recommendation results.TheK-means clustering algorithm has become one of the most commonly used clustering algorithms because of its advantages of simple implementation and fast convergence. In this paper, the Pearson correlation coefficient between the user rating vectors is used as the measurement, and k-means is used to perform multiple clustering of users in the rating data set to generate multiple groups of different sizes.Generally, the number of users in the scoring data set is much smaller than the number of items, so the average scoring data set tends to be very sparse. At the same time, the calculation of the Pearson correlation coefficient depends very much on common scoring items. To alleviate the impact of the sparse score on user clustering results, items are clustered before users, so that similar items are located in the same cluster. After that, the average score of each project cluster was calculated as the scoring vector of users, which reduced the blank score of users and made the calculation of the Pearson correlation coefficient more accurate. Finally, cluster users to generate groups (see Table2). Among them, X1,X2,⋯,X10 represents the project and P1,P2,⋯,P8 represents the user. The score ranges from 0 to 5, with the lowest being 0 and the highest being 5.Table 2
Scoring table.
X1X2X3X4X5X6X7X8X9X10P14551210322P20455431130P33145332411P44515112332P51211154152P62132213544P70314151552P80413043413Firstly, cluster the items in Table2. Then, the mean of the score of each project cluster can achieve dimensionality reduction of the user’s score vector, for example, the score vector of user P1 after dimensionality reduction is 3.2,1.4. On this basis, user clustering is performed, assuming that Table 2 produces two groups.In real life, a project usually has multiple attributes, such as a movie, which can belong to a certain era or several genres. In the process of group decision-making, according to different project attributes, members often have different discourse rights. In general, members with more professional background knowledge about the attributes involved in the project have a higher right of speech and contribute more to the decision-making process, and the decision-making results tend to be this way. In general, the user’s degree of expertise is directly proportional to his degree of interest, which is often expressed by the preference value in the user’s feature matrix.By analysing the group members’ expertise in the implied item category, the algorithm makes the result of preference fusion tend to the more professional members. The filling score matrix is obtained by filling the null value of the original score matrix with the prediction score matrix. According to the influence of members’ professional background knowledge on group preference, the membership degree of items under each implied item category is calculated by the item matrix. Combined with the professional degree of each member in the implicit category calculated by the user matrix, the contribution degree of each member’s preference fusion is formed, and the group preference is weighted by the preference fusion according to the contribution degree of each member.The groupA1=p1,p2,p3,p4 obtained in Table 2 is used as an example for demonstration. The steps of establishing the group preference model by using NMF are shown as follows.For a given groupA, its scoring matrix is set as RA∈RA×t, as shown in
(5)PA=r1,1r1,2⋯r1,tr2,1r2,1⋯r2,t⋮⋮⋮rA,1rA,2⋯rA,t.Among them,A indicates the group size and t indicates the number of projects. rx,y represents member px’s rating of item xy.User matrixPA∈RA×Z and project matrix QA∈RZ×T are obtained by nonnegative matrix decomposition of RA, as shown in Formulas (6) and (7), respectively,
(6)PA=p1,1p1,2⋯p1,zp2,1p2,1⋯p2,z⋮⋮⋮pA,1pA,2⋯pA,z,(7)QA=x1,1x1,2⋯x1,tx2,1x2,1⋯x2,t⋮⋮⋮xz,1xz,2⋯xz,t,where z is the number of implied project categories and Z≤A≤t. pxi represents the preference value of the member px for the implied item category i. xi,y represents the attribute value of item xy on the implied category i.Then, for groupG1,
(8)RA1=5440301213035452002140354233005404003223.Letz=2, the factorization of RA1 can be obtained (round to keep 2 decimal places):
(9)PA1=1.840.950.172.661.241.792.550,QA1N=2.280.161.380.510.311.890.961.370.222.0000.801.100.130.990.260.490.371.150.04.The dot product of the characteristic matrix can be predicted rating matrixR^A∈RA×T, as shown in
(10)R^A=r^1,1r^1,2⋯r^1,tr^2,1r^2,2⋯r^2,t⋮⋮⋮r^A,1r^A,2⋯r^A,t,where r^x,y represents the predicted score of project xy by member px.When obtaining the preferences of members in the group, the prediction scoring matrixR^A is used to fill the null values in the original scoring matrix RA, and the filling scoring matrix RFA∈RA×T,rfx,y∈RFA can be obtained:
(11)rfx,y=rx,y,rx,y≠0,r^x,y,rx,y=0.After the above steps, the filling score matrixRFA1 of A1 can be obtained, as shown in
(12)RFA1N=50.8245432.6244533.074543540.550.7622010.533320.8632121.262311.493.The membership degreexweighty,i of project xy under the implied project category i can be calculated by item matrix, as shown in
(13)xweighty,i=xi,y∑c=1zxc,y.In the above matrixQA1, the value of x1 under the two implied item categories is 2.28 and 0.16, respectively, and the calculated total attribute value is 2.44. After that, xweight1,1=2.28/2.44=0.93, xweight1,2=0.07 are obtained.Different from the attribute weight of the item oriented to the implicit item category, the weight calculation of member professionalism is oriented to the group. Therefore, the specializationpweightx,i of member px for implied item category i in group A can be obtained through the user matrix, as shown in
(14)pweightx,i=px,i∑a=1Apa,i.For example, in matrixPA1, the total preference value of the four members on implied item category 1 is 1.84+0.17+1.24+2.55=5.8, which can be calculated as pweight1,1=1.84/5.8=0.32.After the group modelling is completed through the above method, the topN items with the highest scores can be selected from the group preferences for recommendation. The frame of the proposed algorithm is shown in Figure 3.Figure 3
GRBNMF algorithm framework.In the first stage, thek-means algorithm is used to find potential groups by clustering users. In the second stage, the NMF model is used to decompose the group scoring matrix. Based on the relationship between members’ knowledge background and project inherent attributes, the contribution degree of group members to different projects is obtained, and the group preference model is constructed according to the contribution degree of group members. In the third stage, a top N recommendation list is generated through the group model.


## 3.2. System Design

The design of the PICH recommendation system using the Hadoop platform can improve the scalability of the recommendation system on the basis of solving the problems of massive intangible cultural heritage information analysis and processing. Figure4 shows the structural framework of the PICH recommendation system based on the Hadoop platform. In Figure 4, the system as a whole is divided into three components. They are the PICH information collection module, information pretreatment module, and Hadoop platform. The main function of the PICH information collection module is to use professional information collection software: locomotive collector to obtain PICH information on the Internet, including intangible cultural heritage information and visitors to the intangible cultural heritage information query and evaluation information. This module obtains intangible cultural heritage information through formal and legal network resources, guarantees the authenticity of PICH information to the maximum extent, and improves the accuracy of PICH information recommendation. After the intangible cultural heritage information is collected successfully, it is transmitted to the information pretreatment module. This module implements coding and format conversion processing on the initial intangible cultural heritage information to improve the convenience of information identification in the process of PICH recommendation. The preprocessed PICH information is transferred to the Hadoop platform and stored in the HDFS distributed file system. Based on the preprocessed information, the parallel Map Reduce programming model describes the optimized collaborative filtering recommendation algorithm, and the background program builds the recommendation model to obtain the recommendation list and complete PICH recommendation.Figure 4
PICH recommendation system structure.In the Hadoop platform, the Map Reduce programming model is used to present the above recommendation algorithm. The intangible cultural heritage information in the HDFS distributed file system is divided into several Map tasks, and these tasks are mapped to Data nodes in the cluster for parallel computing. An intermediate key/value pair<key,value> is constructed through the Map function, and a list <k2,v2> is generated based on the key value. Job Tracker is scheduled and input into a single Reduce function for operation, and the recommendation result is output. </k2,v2></key,value> The specific process is shown in Figure 5. The recommendation algorithm is divided into four processing processes in the Hadoop platform: Map Reduce processing of attention matrix, Map Reduce processing of consistency calculation, Map Reduce processing generated by neighbor set, and Map Reduce processing generated by recommendation set. Each processing process is divided into the Map processing stage and Reduce processing stage. Through the parallelization of the processing process and processing stage of different information fragments, the recommended set of PICH can be obtained efficiently.Figure 5
Map Reduce execution process.


## 4. Result Analysis and Discussion

To verify the effectiveness of the proposed algorithm, it is compared with other collaborative filtering algorithms, and the selected comparison algorithm is as follows.(1)
Literature [19] made predictions based on users’ scores of known projects by calculating the correlation between projects, so as to recommend unrated projects(2)
Literature [20] solved the local optimal problem by using the bee colony algorithm, calculated the similarity by using the improved cosine similarity, and made recommendations(3)
Literature [21] calculates the UICPR matrix by calculating the priority ratio of user item categories to reduce the dimension of data. Meanwhile, users are clustered, and the closest users are found so as to obtain the predicted rating and make recommendations(4)
Literature [22] determined the cluster number by clustering validity function and Xie-Beni method and performed FCMC clustering according to attribute characteristicsThe tourism data set is a record of how users rate the PICH recommendation system; the user’s score determines the user’s liking degree for the recommendation. And the tourism data set is obtained by collecting visitors’ query and evaluation of intangible cultural heritage information on the Internet.In order to measure the accuracy of the recommendation, mean absolute error (MAE) and root mean square error (RMSE) were adopted as the evaluation criteria for the accuracy of the prediction:(15)MAE=∑r∈Ir−r^I,RMSE=∑r∈Ir−r∧2I,where i is the number of samples in the test set. R is the user’s actual rating. r^ is the predicted value of the score.This paper analyses the fluctuation of prediction accuracy by continuously expanding the number of neighbor users and comparing and observing the changes in MAE and RMSE values in the two data sets, where smaller MAE and RMSE values indicate higher scoring accuracy. The specific experimental comparison is shown in Figure6.Figure 6
MAE values of each algorithm.Figure6 shows the MAE value changes of each algorithm. On the whole, MAE values of the five algorithms show a decreasing trend with the increase of neighbor numbers recently. In addition, the MAE value of each algorithm is lower than that of literature [19]. It shows that the proposed algorithm has a good improvement effect.The changes in RMSE values of each algorithm are shown in Table3. On the whole, with the recent increase in the number of neighbors, although RMSE values of the five algorithms fluctuated, they all showed an obvious downward trend. Compared with the algorithm in this paper, literature [20] is more stable than other algorithms. When the number of neighbor users is 50, the RMSE value of the algorithm proposed in this paper is 0.81. The comparison shows that the algorithm proposed in this paper has the best effect among the five algorithms. Compared with traditional algorithms, the accuracy of the proposed algorithm is improved.Table 3
RMSE values of each algorithm.
Number of nearest neighborsLiterature [19]Literature [20]Literature [21]Literature [22]Proposed00.950640.934010.917920.917920.9088100.915770.905040.894310.889480.88734200.876610.859440.853540.856760.84442300.852470.848180.842810.844420.82189400.837450.840670.825640.827250.81867500.834760.822960.824570.819740.81009MAE and RMSE values of the proposed algorithm are compared with those of the other four algorithms (see Table4).Table 4
Comparison of MAE value and RMSE value of five algorithms.
AlgorithmMAERMSELiterature [19]0.7990.796Literature [20]0.7810.739Literature [21]0.7120.704Literature [22]0.7040.728Proposed0.6810.624


## 5. Conclusion

How to reveal the characteristics and audience psychology of intangible cultural heritage through data collection and analysis is of great significance for digital inheritance of PICH. Therefore, this paper proposes a group recommendation algorithm based on nonnegative matrix factorization. Based on the relationship between the members’ knowledge background and the inherent attributes of the project, the algorithm uses nonnegative matrix decomposition to analyse the contribution degree of each member in the group during the preference fusion, and builds a more accurate group preference model, and generates the recommendation list. This algorithm can avoid the interference of nonexpert members to the fusion result and solve the general group recommendation problem. The validity of the algorithm is verified on the tourism data set. Compared with MAE and RMSE values of other algorithms, it is proved that the proposed algorithm has high recommendation accuracy. In future work, we will continue to explore the factors affecting the recommendation performance to further improve the recommendation efficiency of the model.



---

*Source: 5811341-2022-10-11.xml*