A recommendation system based on social attributes and group buying concepts in the metaverse scenario

By designing a recommendation system based on social attributes and group buying concepts in the metaverse scenario, and using dynamic item representation modules and attention mechanisms, the problem of dynamic changes in user preferences and time dimensions has been solved, personalized and accurate group buying recommendations have been achieved, and improved Improve the performance and real-time performance of the recommendation system.

CN117557333BActive Publication Date: 2024-09-27SUZHOU UNIV +1
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202311392909.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2023-08-31
Filing Date
2023-10-25
Publication Date
2024-09-27
Estimated Expiration
2043-10-25

AI Technical Summary

Technical Problem

Existing technology cannot effectively solve the accuracy problem of social group buying recommendations caused by dynamic changes in user preferences, and traditional recommendation methods cannot fully consider the time dimension and user-product-participant matching issues.

Method used

A recommendation system based on social attributes and group buying concepts in the metaverse scenario is designed. Through the relationship building module, relationship embedding module and recommendation module, a dynamic item representation module and attention mechanism are introduced to capture the relationship between users and social friends, users and products. Influenced by the relationship between them, end-user vectors and project vectors are generated to achieve accurate recommendations for group buying participants and projects.

Benefits of technology

It achieves more personalized and accurate group purchase product recommendations, improves users' selection accuracy in a huge product information group, and solves redundancy and calculation problems by optimizing the attention mechanism, enhancing the performance and real-time performance of the recommendation system. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117557333B_ABST
    Figure CN117557333B_ABST
Patent Text Reader

Abstract

The present invention relates to a recommendation system based on social attributes and group purchase concepts in a metaverse scenario, the system comprising: a relationship construction module, used to obtain user data, social data and product data, form a relationship data set, and establish a relationship graph with user-social friend-product as nodes based on the relationship data set; a relationship embedding module, used to capture relationship influence based on the relationship graph, and obtain the final user vector and the final project vector; a recommendation module, used to calculate the recommendation probability of group purchase participants and the recommendation probability of projects, and sort the group purchase participants and projects respectively according to the recommendation probability of group purchase participants and the recommendation probability of projects, and select the top n group purchase participants and projects as recommendation results to recommend to users of the metaverse. The present invention adopts different optimization strategies to improve the performance of the group purchase recommendation system, realize the precision and real-time of group purchase recommendations, and can better match the needs of users in the metaverse.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of e-commerce, and in particular to a recommendation system based on social attributes and group purchase concepts in a metaverse scenario. Background Art

[0002] Socializing and shopping in the Metaverse are very important parts of life in the Metaverse. Group buying is a very popular way of shopping in the real world, and its social attributes are very compatible with the Metaverse. The Metaverse needs this diversified form of shopping. The Metaverse shopping products are diversified and the social network is complex, so a corresponding recommendation system is needed to improve the user experience. At present, the mainstream social e-commerce group buying needs to meet the condition of reaching the purchase threshold of a certain product within a limited time in order to initiate a successful group purchase. Therefore, the recommendation for group buying needs to recommend products to both the group buying initiator and the group buying participants.

[0003] Recommendation systems are information systems used to support user decision making and recommend suitable products, information or services in many industry environments such as online stores, streaming services, online dating sites, etc. Commonly used recommendation methods include collaborative filtering recommendation, group recommendation, group purchase recommendation, sequential recommendation based on hybrid recommendation, etc.

[0004] Collaborative filtering recommendation methods rely on historical data of users. Due to data sparsity, recommendations are not effective for new users or new items. In addition, due to various reasons, user preferences often change over time, which cannot be handled by collaborative filtering recommendation methods. In the group purchase recommendation problem of social e-commerce, groups are formed dynamically by social networks, and there are no predefined groups at all. This is very different from the group recommendation task, so the group recommendation method is not suitable for group purchase recommendation tasks. Recent research J2PRec group purchase recommendation method, compared with GBGCN which only focuses on the product recommendation task, further recommends candidate products and participants to improve the success rate of group purchase, but time information is not taken into account in user preference modeling. Sequential recommendation methods use Markov chains to predict the next consumption of users. Assuming that the next action depends on the previous action sequence, Hidasi et al. and Loyola et al. introduced RNN into sequential recommendation. Although sequential recommendation methods based on RNN have strong expressive power, they still cannot well model complex user needs that lack external knowledge, and basically have interpretability problems. For hybrid methods, these methods combine collaboration with different variants of content-based methods or other collaborative methods. For group purchase, none of these recommendation methods can effectively solve the problem of user-product-participant recommendation matching.

[0005] In order to solve the problem that traditional recommendation algorithms cannot meet the matching requirements of users, products and participants, some experts and scholars have proposed using social networks for recommendation. Social recommendation has certain advantages in solving the matching requirements of user-product-participant recommendations, but social recommendation only focuses on predicting the preferences of individual users and cannot serve group purchase recommendations. Group recommendation combines social relationships to collectively recommend products to a group of users based on their preferences. In addition to user preferences, using the social and behavioral aspects of group members to generate group recommendations will improve the quality of heterogeneous group recommendation content. Although group recommendation is similar to group purchase, both of them recommend products to a group, but the group in group recommendation is fixed, while the group purchase group in group purchase recommendation is dynamic. How to determine the group purchase group that the user belongs to is an important issue in group purchase recommendation. Similarly, the above recommendation methods usually assume that the user's preferences do not change and perform static modeling of user preferences, while the user's preferences are not static and evolve over time due to various reasons. Summary of the invention

[0006] To this end, the technical problem to be solved by the present invention is to overcome the social group buying recommendation problem in the prior art that does not take into account the dynamic changes of user preferences, resulting in the inability to achieve accurate recommendations, introduce the time dimension into project relationship modeling, introduce a dynamic project representation module into the recommendation system, and achieve more personalized and accurate group buying product recommendations.

[0007] To this end, the present invention provides a recommendation system based on social attributes and group buying concepts in a metaverse scenario, the system comprising:

[0008] A relationship building module is used to obtain user data, social data and product data to form a relationship data set, and to build a relationship graph with users, social friends and products as nodes based on the relationship data set;

[0009] The relationship embedding module is used to capture the influence of the relationship between users and social friends, and between users and products based on the relationship graph, and obtain the final user vector and the final item vector;

[0010] The recommendation module is used to obtain the recommendation probability of group purchase participants and the recommendation probability of projects based on the final user vector and the final project vector. According to the recommendation probability of group purchase participants and the recommendation probability of projects, the group purchase participants and projects are sorted from large to small, and the top n group purchase participants and projects are selected as the recommendation results and recommended to the users of the Metaverse.

[0011] In one embodiment of the present invention, the relationship embedding module includes: a relationship-aware influence propagation module, a gated influence aggregation module and a dynamic item representation module, wherein the relationship-aware influence propagation module and the gated influence aggregation module are used to obtain updated user vectors, and the dynamic item representation module is used to obtain knowledge-aware dynamic item vectors.

[0012] In one embodiment of the present invention, the relationship-aware influence propagation module is used to model the influence propagation of the target node from its neighbors to obtain a candidate user vector, and the specific method is:

[0013] In the relationship graph, the neighbor refers to the user who has a social relationship with the target user, and the target node refers to the candidate user vector of the target user. Different neighbors have different influences on the embedding learning of the target node. The attention mechanism is used to calculate the influence score of the target user received from different neighbors:

[0014] α(u,r,v)=w r ·σ(W r u (l-1) v (l-1) +b r )

[0015] In the formula, u is the target user, Represents the connection relationship in the relationship graph, v is a neighbor connected to u by relationship r, u (l-1) and v (l-1) is the user vector of u and v at the (l-1)th layer, W r 、w r and b r is the trainable weight of relation r, σ(·) is the nonlinear activation function of ReLU;

[0016] Normalize the impact score:

[0017]

[0018] Where N u are all neighbors of the target user u in the relationship graph, exp(·) is the power function of e;

[0019] Map the influence of each neighbor into the same feature space, unifying the influences from different types of neighbors:

[0020]

[0021] Where φ(v) is the type of neighbor v, and is the trainable parameter of the φ(v) type node;

[0022] Combining the influence from each neighbor with the influence score of the target user u from each neighbor, the candidate user vector of u in the lth layer is obtained as:

[0023]

[0024] in, is the candidate user vector of u in layer l.

[0025] In one embodiment of the present invention, the gated influence aggregation module is used to obtain an updated user vector based on the candidate user vector, and the specific method is as follows:

[0026] The aggregation gate is used to control the influence of the user vector of the previous layer and the candidate user vector. The definition of the aggregation gate is as follows:

[0027]

[0028] Where σ(·) is the sigmoid function, is the trainable weight, u (l-1) is the user vector of the l-1th layer, is the candidate user vector of the lth layer;

[0029] Based on the aggregation gate, the calculation formula for updating the user vector is as follows:

[0030]

[0031] Where ⊙ is the element-wise product, u (l) is the updated user vector of layer l.

[0032] In one embodiment of the present invention, the dynamic project representation module is used to model the influence of user preferences that change over time on projects to obtain a knowledge-aware dynamic project vector. The dynamic project representation module includes: a project basic representation and relationship representation module and a knowledge-aware dynamic project embedding acquisition module, wherein:

[0033] The basic project representation and relationship representation modules are used to define i b For the basic representation of each item, i b Contains the inherent characteristics of the project, and uses the Trans function to obtain the relational representation of each project:

[0034] i r =Trans(i b ,e r )

[0035] In the formula, i r For each item, the relationship is expressed as r yes The relationship vector of

[0036] The knowledge-aware dynamic item embedding acquisition module is used to obtain the calculation formula of the knowledge-aware dynamic item vector based on the basic representation and relational representation of each item as follows:

[0037]

[0038] In the formula, i t is the knowledge-aware dynamic item vector, represents the time kernel function, which is used to control the influence of each previous relationship consumption, Δt r Represents the time that has elapsed since the most recent item was consumed relative to the current item.

[0039] In one embodiment of the present invention, the time kernel function is divided into the following two cases:

[0040] When the relationship between items is a complementary relationship, the expression of the time kernel function is:

[0041]

[0042] Where c∈r represents the complementary relationship, N(Δt|0,σ) is the normal distribution of Δt with mean μ and standard deviation σ, represents the category of the project, z(i) is a function of the project category;

[0043] When the relationship between items is a substitution relationship, the expression of the time kernel function is:

[0044]

[0045] In the formula, s∈r represents a substitution relationship, s1 represents a substitution relationship with a negative impact, and s2 represents a substitution relationship with a positive impact. is the normal distribution about Δt under the relation s1, is the normal distribution about Δt under the relation s2.

[0046] In one embodiment of the present invention, the specific method for obtaining the final user vector and the final item vector is:

[0047] The final user vector and the final item vector are obtained through layer combination operations, which are given by the following formula

[0048]

[0049] Among them, || is the connection operation, u is the final user vector, and u (0) ,…,u (l) are all updated user vectors, i t is the final item vector, They are all knowledge-aware dynamic item vectors.

[0050] In one embodiment of the present invention, the calculation formula for obtaining the item recommendation probability is:

[0051]

[0052] in, represents the probability of item recommendation, u T i t represents the inner product of the final user vector and the final item vector.

[0053] In one embodiment of the present invention, the group purchase participant recommendation probability is obtained using the following modules:

[0054] The variable conversion module is used to convert the final user vector u and the final item vector i t Converted into a query vector, the expression is:

[0055] q u,i =σ(W·[u||i t ]+b)

[0056] In the formula, q u,i is the query vector, W and b are trainable parameters, || represents the connection operation, and σ(·) is a nonlinear function;

[0057] The similarity score acquisition module is used to calculate the similarity score between the query vector and the final user vector u by dot product using the cross-linked linear modified attention mechanism. The formula is as follows:

[0058]

[0059] Where W q , W k are trainable weights, Yes u,i , The similarity score between them, σ(·) is a nonlinear function;

[0060] The matrix transformation module is used to realize the cross-linking between the attention heads in the cross-linked linear rectified attention mechanism, using the parameter matrix to transform the attention heads To transform:

[0061]

[0062] In the formula, λ MM represents the linear transformation matrix of the result obtained by redistributing attention to different attention mechanisms, represents the similarity score after being updated by m attention heads;

[0063] The similarity update module is used to obtain the updated similarity score through the average process of M independent attention mechanisms after linear projection calculation:

[0064]

[0065] The attention value calculation module is used to calculate the attention value based on the updated similarity score using the ReLU function:

[0066]

[0067] The group purchase participant recommendation probability module is used to calculate the group purchase participant recommendation probability based on the attention value:

[0068]

[0069] in, is the recommendation probability of group buying participants, U f For a collection of social friends, Represents the set U f A social friend of mine, is the updated similarity score.

[0070] In one embodiment of the present invention, when calculating the recommendation probability of group purchase participants, the layer normalization method is used to normalize the social friends. Normalize, here we will Abbreviated as V, the normalized formula is:

[0071] LN(βV)=σ(w⊙βV)⊙RMSNorm(βV)

[0072]

[0073] Among them, LN(·) represents the layer normalization operation, σ(·) is the sigmoid function, w is a trainable parameter, ⊙ is the element-wise product, β is the attention value of V, RMSNorm(·) represents the mean square layer normalization function, RMS(·) represents the root mean square, and g is a hyperparameter.

[0074] The above technical solution of the present invention has the following advantages compared with the prior art:

[0075] (1) Introduce a personalized group-buying recommendation system based on the attention mechanism into the social context of the Metaverse, provide product recommendations and participant recommendations for group purchases in the Metaverse, and help users make more accurate choices among a huge group of product information.

[0076] (2) The attention mechanism is introduced into the group purchase recommendation system, and the cross-linked linear corrected attention is used to optimize the attention mechanism part to achieve cross-linking between attention heads, enhance the performance of the attention mechanism, and realize sparse attention at the same time, which solves the redundancy problem and computational problem of the attention heads in the attention mechanism, improves the performance of the group purchase recommendation system, and realizes the precision and real-time of group purchase recommendations, which can better match the needs of users in the metaverse.

[0077] (3) Considering that user preferences change over time, the time dimension is introduced into item relationship modeling, and a dynamic item representation module is introduced into the recommendation system to achieve more personalized and accurate group purchase product recommendations. BRIEF DESCRIPTION OF THE DRAWINGS

[0078] In order to make the content of the present invention more clearly understood, the present invention is further described in detail below according to specific embodiments of the present invention in conjunction with the accompanying drawings, wherein

[0079] Figure 1 is a diagram of the architecture of the recommendation system of the present invention;

[0080] Figure 2 is a schematic diagram of the workflow of the recommendation system of the present invention;

[0081] Figure 3 yes Figure 1 The dynamic project representation module architecture diagram in . DETAILED DESCRIPTION

[0082] The present invention is further described below in conjunction with the accompanying drawings and specific embodiments so that those skilled in the art can better understand the present invention and implement it, but the embodiments are not intended to limit the present invention.

[0083] Reference Figure 1 As shown, the recommendation system based on social attributes and group buying concepts in the metaverse scenario of the present invention includes:

[0084] A relationship building module is used to obtain user data, social data and product data to form a relationship data set, and to build a relationship graph with users, social friends and products as nodes based on the relationship data set;

[0085] The relationship embedding module is used to capture the influence of the relationship between users and social friends, and between users and products based on the relationship graph, and obtain the final user vector and the final item vector;

[0086] The recommendation module is used to obtain the recommendation probability of group purchase participants based on the final user vector, and the recommendation probability of projects based on the final project vector. According to the recommendation probability of group purchase participants and the recommendation probability of projects, group purchase participants and projects are sorted from large to small, and the top n group purchase participants and projects are selected as recommendation results and recommended to users of the Metaverse.

[0087] The recommendation system of the present invention aims at the user-product-participant matching recommendation problem in group buying and takes into account that user preferences will change over time. It introduces an attention mechanism for recommendation and a dynamic item representation module combined with time to achieve more personalized and accurate group buying product recommendations.

[0088] Among them, see Figure 1 and Figure 2 As shown, the relationship embedding module includes: a relationship-aware influence propagation module, a gated influence aggregation module and a dynamic item representation module, wherein the relationship-aware influence propagation module and the gated influence aggregation module are used to obtain updated user vectors, and the dynamic item representation module is used to obtain knowledge-aware dynamic item vectors.

[0089] In this embodiment, the relationship-aware influence propagation module is used to model the influence propagation of the target node from its neighbors to obtain a candidate user vector. The specific method is:

[0090] In the relationship graph, different neighbors will have different influences on the embedding learning of the target node. For example, the target user u will be influenced by his social friends and the products he purchased. The neighbors refer to users who have social relationships with the target user, and the target node refers to the candidate user vector of the target user. Different neighbors have different influences on the embedding learning of the target node. The attention mechanism is used to calculate the influence score of the target user received from different neighbors:

[0091] α(u,r,v)=w r ·σ(W r u (l-1) v (l-1) +b r )

[0092] In the formula, u is the target user, Represents the connection relationship in the relationship graph, v is a neighbor connected to u by relationship r, u (l-1) and v (l-1) is the user vector of u and v at the (l-1)th layer, W r 、w r and b r is the trainable weight of relation r, σ(·) is the nonlinear activation function of ReLU;

[0093] Then, the influence scores of all neighbors of u are normalized by the softmax function, which is given by the following formula:

[0094]

[0095] Where N u are all neighbors of the target user u in the relationship graph, exp(·) is the power function of e;

[0096] Next, we map the influence of each neighbor into the same feature space, unifying the influences from different types of neighbors:

[0097]

[0098] Where φ(v) is the type of neighbor v, and is the trainable parameter of the φ(v) type node;

[0099] Combining the influence from each neighbor with the influence score of the target user u from each neighbor, the candidate user vector of u in the lth layer is obtained as:

[0100]

[0101] in, is the candidate user vector of u in layer l.

[0102] In this embodiment, the gated influence aggregation module is used to integrate the influence from neighbors into the vector of the target node, and use the candidate user vector to obtain the updated user vector. The specific method is:

[0103] The aggregation gate is used to control the influence of the user vector of the previous layer and the candidate user vector. The definition of the aggregation gate is as follows:

[0104]

[0105] Where σ(·) is the sigmoid function, is the trainable weight, u (l-1) is the user vector of the (l-1)th layer, is the candidate user vector of the lth layer;

[0106] Based on the aggregation gate, the calculation formula for updating the user vector is as follows:

[0107]

[0108] Where ⊙ is the element-wise product, u (l) is the updated user vector of layer l.

[0109] The dynamic project representation module is used to model the influence of user preferences that change over time on projects, and obtain a knowledge-aware dynamic project vector. The dynamic project representation module includes: a project basic representation and relationship representation module, and a knowledge-aware dynamic project embedding acquisition module, wherein:

[0110] The basic project representation and relationship representation modules are used to define i b For the basic representation of each item, i b Contains the inherent characteristics of the project, and uses the Trans function to obtain the relational representation of each project:

[0111] i r =Trans(i b ,e r )

[0112] In the formula, i r For each item, the relationship is expressed as r yes In this way, the relation representation integrates the semantic information corresponding to each relation.

[0113] After obtaining the basic and relational item representations, a context-aware coefficient f is derived for each relation representation. r , reflecting the actual influence degree in the current context. The final contextual and knowledge-aware item embedding i t It is expressed as follows:

[0114]

[0115] It consists of two parts: basic item representation and scaled relationship representation, where the context (historical sequence time t and target item i) as coefficients, f r Input.

[0116] In order to combine the temporal dynamics of these different relations, a temporal kernel function is designed for each relation. The temporal kernel function aims to control the influence of each previous relation consumption. The polarity of the function value indicates the polarity of the effect. Assuming that the temporal kernel function has been obtained Indexed by item i and relation r, the relation coefficient f r The definition is as follows:

[0117]

[0118] Among them, I r is a relationship matrix, and each previous consumption related to the target item i will affect the coefficient f r produces an additive effect, and the coefficient f r By kernel function control.

[0119] In addition, for the sake of simplicity and efficiency, only the latest relational items in the historical sequence can be considered. The knowledge-aware dynamic item embedding acquisition module obtains the calculation formula of the knowledge-aware dynamic item vector based on the basic representation and relational representation of each item as follows:

[0120]

[0121] In the formula, i t is the knowledge-aware dynamic item vector, represents the time kernel function, which is used to control the influence of each previous relationship consumption, Δt rRepresents the time elapsed since the consumption of the latest item related to the current item. If there is no relation term in the history sequence, assume that there is a relation term with a positive infinite time gap (i.e., Δt r =+∞), then when the time kernel function approaches zero over time, the corresponding relation embedding will have no effect.

[0122] Next, define the time kernel function for each relationship. You can design the function based on the characteristics of each relationship, focusing on two types of relationships: is_complements_of (complementary relationship) and is_substitute_of (substitute relationship).

[0123] See also Figure 3 As shown, the curve on the left shows the impact of project relationships on user preferences. When the project relationship is a complementary relationship, the user's demand will rise in a short period of time and then fall. When the project relationship is a substitution relationship, the user will not need projects with similar utility in the short term. After a period of time (the end of the service life of the project), the demand will rise. The middle is a specific dynamic project representation module workflow diagram. The block in the upper right corner reflects the relationship between projects: projects with the same utility are substitution relationships, and a certain project and its subsidiary projects are supplementary relationships. The block in the lower right corner represents the consumption time series of users purchasing projects with substitution relationships and projects with supplementary relationships, Δt S represents the time elapsed since the consumption of the latest replacement item relative to the current item, Δt c Represents the time that has passed since the consumption of the most recent replenished item relative to the current item.

[0124] Based on the relationship between items, the time kernel function is divided into the following two cases:

[0125] When the relationship between items is a complementary relationship, the expression of the time kernel function is:

[0126]

[0127] Where c∈r represents the complementary relationship, N(Δt|0,σ) is the normal distribution of Δt with mean μ and standard deviation σ, represents the category of the project, z(i) is a function of the project category;

[0128] When the relationship between items is a substitution relationship, the impact is expected to change from negative to positive, because another item with similar utility is not needed in the short term, but it is hoped to be replaced with a new item at the end of its useful life. Therefore, two opposite normal distributions are used to model these characteristics, and the expression of the time kernel function is:

[0129]

[0130] In the formula, s∈r represents a substitution relationship, s1 represents a substitution relationship with a negative impact, and s2 represents a substitution relationship with a positive impact. is the normal distribution about Δt under the relation s1, is the normal distribution about Δt under the relation s2.

[0131] The updated user vector is calculated by the aforementioned relationship-aware influence propagation module and the gated influence aggregation module, and the knowledge-aware dynamic item vector is calculated by the dynamic item representation module. Then, the final user vector and the final item vector are obtained through layer combination operations, which are given by the following formula:

[0132]

[0133] Among them, || is the connection operation, u is the final user vector, and u (0) ,…,u (l) are all updated user vectors, i t is the final item vector, They are all knowledge-aware dynamic item vectors.

[0134] After obtaining the final user vector and the final item vector, we enter the recommendation module. The formula for maximizing the group purchase success rate is as follows:

[0135]

[0136] In the formula, is the probability of item recommendation, Recommend probability for group buying participants.

[0137] The inner product of the final user vector and the final item vector is used to predict the item recommendation probability, and the formula is:

[0138]

[0139] in, represents the probability of item recommendation, u T i t represents the inner product of the final user vector and the final item vector.

[0140] For participant recommendation, the conditional probability of attention is corrected by cross-linking linear The recommendation probability of group buying participants is obtained through the following modules:

[0141] The variable conversion module is used to convert the final user vector u and the final item vector i t Converted into a query vector, the expression is:

[0142] q u,i=σ(W·[u||i t ]+b)

[0143] In the formula, q u,i is the query vector, W and b are trainable parameters, || represents the connection operation, and σ(·) is a nonlinear function;

[0144] The similarity score acquisition module is used to calculate the similarity score between the query vector and the final user vector u by dot product using the cross-linked linear modified attention mechanism. The formula is as follows:

[0145]

[0146] Where W q , W k are trainable weights, Yes u,i ,u pk The similarity score between them, σ(·) is a nonlinear function;

[0147] The matrix transformation module is used to realize the cross-linking between the attention heads in the cross-linked linear rectified attention mechanism, using the parameter matrix to transform the attention heads To transform:

[0148]

[0149] In the formula, λ MM represents the linear transformation matrix of the result obtained by redistributing attention to different attention mechanisms, represents the similarity score after being updated by m attention heads;

[0150] The similarity update module is used to obtain the updated similarity score through the average process of M independent attention mechanisms after linear projection calculation:

[0151]

[0152] The attention value calculation module is used to calculate the attention value based on the updated similarity score using the ReLU function:

[0153]

[0154] The group purchase participant recommendation probability acquisition module is used to calculate the group purchase participant recommendation probability based on the attention value:

[0155]

[0156] in, is the recommendation probability of group buying participants, U f For a collection of social friends, Represents the set U f A social friend of mine, is the updated similarity score.

[0157] In the group purchase participant recommendation probability acquisition module, when calculating the group purchase participant recommendation probability, in order to solve the gradient instability during the training process, the layer normalization method is used to normalize the social friends. Normalize, here we will Abbreviated as V, the normalized formula is as follows:

[0158] LN(βV)=σ(w⊙βV)⊙RMSNorm(βV)

[0159]

[0160] Among them, LN(·) represents the layer normalization operation, σ(·) is the sigmoid function, w is a trainable parameter, ⊙ is the element-wise product, β is the attention value of V, RMSNorm(·) represents the mean square layer normalization function, RMS(·) represents the root mean square, and g is a hyperparameter.

[0161] From the above technical solutions, the recommendation system based on social attributes and group buying concepts in the metaverse scenario described in the present invention introduces an attention mechanism and a dynamic item representation module combined with time for recommendation, which effectively solves the problem of dynamic changes in user preferences over time. In view of the shortcomings of attention head redundancy and large amount of calculation in the attention mechanism, a cross-linked linear corrected attention module is proposed. The enhanced and concentrated attention performance is utilized to reduce the amount of calculation, thereby improving the performance of the group buying recommendation system, realizing the precision and real-time nature of group buying recommendations, and better matching the needs of users in the metaverse.

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

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

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

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

[0166] Obviously, the above embodiments are merely examples for clear explanation and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived from these are still within the protection scope of the invention.

Claims

1. A recommendation system based on social attributes and group buying concepts in a metaverse scenario, characterized in that: include: A relationship building module is used to obtain user data, social data and product data to form a relationship data set, and to build a relationship graph with users, social friends and products as nodes according to the relationship data set; The relationship embedding module is used to capture the influence of the relationship between users and social friends, and between users and products based on the relationship graph, and obtain the final user vector and the final item vector; The recommendation module is used to obtain the recommendation probability of group purchase participants and the recommendation probability of projects based on the final user vector and the final project vector, sort the group purchase participants and projects from large to small according to the recommendation probability of group purchase participants and the recommendation probability of projects, and select the top n group purchase participants and projects as the recommendation results and recommend them to the users of the Metaverse; The relationship embedding module includes: a relationship-aware influence propagation module, a gated influence aggregation module and a dynamic item representation module, wherein the relationship-aware influence propagation module and the gated influence aggregation module are used to obtain updated user vectors, and the dynamic item representation module is used to obtain knowledge-aware dynamic item vectors; The relationship-aware influence propagation module is used to model the influence propagation of the target node from its neighbors to obtain a candidate user vector. The specific method is as follows: In the relationship graph, the neighbor refers to the user who has a social relationship with the target user, and the target node refers to the candidate user vector of the target user. Different neighbors have different influences on the embedding learning of the target node. The attention mechanism is used to calculate the influence score of the target user received from different neighbors: α(u,r,v)=w r ·σ(W r you (l-1) v (l- 1 ) +b r ) In the formula, u is the target user, Represents the connection relationship in the relationship graph, v is a neighbor connected to u by relationship r, u (l-1) and v (l-1) is the user vector of u and v at the (l-1)th layer, W r 、w r and b r is the trainable weight of relation r, σ(·) is the nonlinear activation function of ReLU; Normalize the impact score: Where N u are all neighbors of the target user u in the relationship graph, exp(·) is the power function of e; Map the influence of each neighbor into the same feature space, unifying the influences from different types of neighbors: Where φ(v) is the type of neighbor v, and is the trainable parameter of the φ(v) type node; Combining the influence from each neighbor with the influence score of the target user u from each neighbor, the candidate user vector of u in the lth layer is obtained as: in, is the candidate user vector of u in layer l; The gated influence aggregation module is used to obtain an updated user vector based on the candidate user vector, and the specific method is as follows: The aggregation gate is used to control the influence of the user vector of the previous layer and the candidate user vector. The definition of the aggregation gate is as follows: Where σ(·) is the sigmoid function, is the trainable weight, u (l-1) is the user vector of the l-1th layer, is the candidate user vector of the lth layer; Based on the aggregation gate, the calculation formula for updating the user vector is as follows: Where ⊙ is the element-wise product, u (l) is the updated user vector of layer l; The dynamic project representation module is used to model the influence of user preferences that change over time on projects, and obtain a knowledge-aware dynamic project vector. The dynamic project representation module includes: a project basic representation and relationship representation module and a knowledge-aware dynamic project embedding acquisition module, wherein: The basic project representation and relationship representation modules are used to define i b For the basic representation of each item, i b Contains the inherent characteristics of the project, and uses the Trans function to obtain the relational representation of each project: i r =Trans(i b ,e r ) In the formula, i r For each item, the relationship is expressed as r yes The relationship vector of The knowledge-aware dynamic item embedding acquisition module is used to obtain the calculation formula of the knowledge-aware dynamic item vector based on the basic representation and relational representation of each item as follows: In the formula, i t is the knowledge-aware dynamic item vector, represents the time kernel function, which is used to control the influence of each previous relationship consumption, Δt r Represents the time that has elapsed since the most recent item was consumed relative to the current item.

2. The recommendation system based on social attributes and group buying concept in the metaverse scenario according to claim 1 is characterized by: The time kernel function is divided into the following two cases: When the relationship between items is a complementary relationship, the expression of the time kernel function is: Where c∈r represents the complementary relationship, N(Δt|0,σ) is the normal distribution of Δt with mean μ and standard deviation σ, represents the category of the project, z(i) is a function of the project category; When the relationship between items is a substitution relationship, the expression of the time kernel function is: In the formula, s∈r represents a substitution relationship, s1 represents a substitution relationship with a negative impact, and s2 represents a substitution relationship with a positive impact. is the normal distribution about Δt under the relation s1, is the normal distribution about Δt under the relation s2.

3. The recommendation system based on social attributes and group buying concept in the metaverse scenario according to claim 1 is characterized by: The specific method to obtain the final user vector and the final item vector is: The final user vector and the final item vector are obtained through layer combination operations, which are given by the following formula Among them, || is the connection operation, u is the final user vector, and u (0) ,…,u (l) are all updated user vectors, i t is the final item vector, They are all knowledge-aware dynamic item vectors.

4. The recommendation system based on social attributes and group buying concept in the metaverse scenario according to claim 3 is characterized by: The calculation formula for the project recommendation probability is: in, represents the probability of item recommendation, represents the inner product of the final user vector and the final item vector.

5. The recommendation system based on social attributes and group buying concept in the metaverse scenario according to claim 3 is characterized by: The group purchase participant recommendation probability is obtained through the following modules: The variable conversion module is used to convert the final user vector u and the final item vector i t Converted into a query vector, the expression is: q u,i =σ(W·[u||i t ]+b) In the formula, q u,i is the query vector, W and b are trainable parameters, || represents the concatenation operation, and σσ(·) is a nonlinear function; The similarity score acquisition module is used to calculate the similarity score between the query vector and the final user vector u by dot product using the cross-linked linear modified attention mechanism. The formula is as follows: Where W q , W k are trainable weights, Yes u,i , The similarity score between them, σσ(·) is a nonlinear function; The matrix transformation module is used to realize the cross-linking between the attention heads in the cross-linked linear rectified attention mechanism, using the parameter matrix to transform the attention heads To transform: In the formula, λ MM represents the linear transformation matrix of the result obtained by redistributing attention to different attention mechanisms, represents the similarity score after being updated by m attention heads; The similarity update module is used to obtain the updated similarity score through the average process of M independent attention mechanisms after linear projection calculation: The attention value calculation module is used to calculate the attention value based on the updated similarity score using the ReLU function: The group purchase participant recommendation probability module is used to calculate the group purchase participant recommendation probability based on the attention value: in, is the recommendation probability of group buying participants, U f For a collection of social friends, Represents the set U f A social friend of mine, is the updated similarity score.

6. The recommendation system based on social attributes and group buying concept in the metaverse scenario according to claim 5 is characterized by: When calculating the recommendation probability of group buying participants, the layer normalization method is used to normalize the social friends Normalize, here we will Abbreviated as V, the normalized formula is: LN(βV)=σ(w⊙βV)⊙RMSNorm(βV) Among them, LN(·) represents the layer normalization operation, σ(·) is the sigmoid function, w is a trainable parameter, ⊙ is the element-wise product, β is the attention value of V, RMSNorm(·) represents the mean square layer normalization function, RMS(·) represents the root mean square, and g is a hyperparameter.

Citation Information

Patent Citations

  • Time sequence perception dynamic social scene recommendation method

    CN110503531A

  • Self-attention sequence recommendation method for social behavior fusion

    CN112950325A

  • Knowledge social recommendation method, system and equipment based on graph neural network

    CN113158071A

  • Self-supervised learning collaborative sequence recommendation method and device based on time interval and medium

    CN114896515A

  • Social recommendation method and system based on social group influence

    CN115080869A