Group recommendation method based on causal depolarization
Through the causal debiasing method, hypergraph convolution, and self-attention mechanism to optimize recommendations, the data bias problem in the group recommendation system is solved, and more accurate and fair recommendation results are achieved.
Patent Information
- Application Number
- CN202410940744.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-09-27
AI Technical Summary
Traditional group recommendation systems result in unfair and inaccurate recommendation results due to data bias issues, affecting user experience and system credibility.
A group recommendation method based on causal debiasing is adopted. By constructing a causal graph and a structural causal model, the debiasing module of the causal mechanism is used to reduce the causal effect caused by confounding factors, and the group preference representation is obtained by combining hypergraph convolution and self-attention mechanism. , and optimize the recommendation list through Bayesian personalized ranking loss.
It improves the fairness and accuracy of group recommendations, and improves the fairness and quality of recommendations.
Smart Images

Figure CN118708818A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of data mining and recommendation systems, and more specifically, relates to a group recommendation method based on causal debiasing. Background Art
[0002] With the advent of the big data era, recommendation systems have played a vital role in helping users filter out content that matches their interests and needs from massive amounts of information. Whether it is e-commerce, social media or streaming services, recommendation systems have become one of the key technologies to improve user experience and increase user stickiness. However, traditional recommendation systems mainly focus on the preferences of individual users and ignore the needs of group users, which is particularly insufficient in certain specific application scenarios. To this end, group recommendation systems have emerged to recommend content or items of common interest to a group of users.
[0003] Recommendation systems analyze users' historical interaction data to discover correlations between items or content, and recommend new items to users accordingly. However, this algorithm that makes recommendations based on correlation analysis of observed data may bring about unfairness issues, because data is often biased, reflecting historical user needs and behavior patterns, which may exclude certain groups or strengthen preferences for specific groups. In group recommendation systems, the problem of bias is particularly prominent. Bias may come from selection bias in the data collection process, systematic bias in the recommendation algorithm, and external influences in user behavior. These biases can lead to unfair or inaccurate recommendation results, affecting user experience and the credibility of the system.
[0004] In order to effectively solve the problem of bias, causal inference methods have been introduced into the research of recommendation systems. Causal inference methods regard the causes of bias problems as confounding factors and take into account specific factors that cause bias, such as popularity bias, bias caused by imbalanced distribution, and position bias. Causal inference infers the influencing factors of group recommendations by analyzing the causal relationship in the data, rather than just the correlation relationship. This method can more accurately identify which factors actually affect the user's decision, thereby removing irrelevant bias factors in the recommendation process and improving the fairness and accuracy of the recommendation. Summary of the invention
[0005] The purpose of the present invention is to provide a group recommendation method based on causal debiasing to solve the bias problem in group recommendation.
[0006] In order to achieve the above-mentioned purpose, the technical solution adopted by the present invention is as follows: a group recommendation method based on causal debiasing, by establishing a causal graph and a structural causal model (SCM), deeply analyzing the causal relationship in group recommendation, and using a debiasing module of a causal mechanism to address the bias problem in the recommendation system, thereby reducing the causal effect caused by the confusion factor. Secondly, the group item pairs and group user pairs are respectively represented by different group preferences through hypergraph convolution and self-attention mechanisms, and then the weights are dynamically adjusted through the attention mechanism. Finally, the final recommendation list is obtained through Bayesian personalized ranking loss (BPR) optimization. The invention has improved the fairness and quality of group recommendations. The specific steps are as follows:
[0007] Step 1: Analyze the causal relationship between data in the recommendation process, construct a causal graph and a causal model, analyze the impact of confusion factors on the recommendation model from the perspective of causality, and reveal the relationship between confusion factors and bias problems.
[0008] Step 2: Based on the front-door adjustment and back-door adjustment methods of the structural causal model (SCM), the relationship between confounding factors and bias problems is utilized to propose a debiasing module for the causal mechanism to reduce the causal effect caused by confounding factors.
[0009] Step 3: Pass the interaction of group items into the hypergraph network and obtain the group preference representation and item representation through hypergraph convolution.
[0010] Step 4: Use the self-attention mechanism to obtain a group preference representation different from that in step 3 for group user interactions.
[0011] Step 5: Assign weights to the group preference representations obtained in steps 3 and 4 through the attention mechanism to obtain the final group preference representation.
[0012] Step 6: Predict the user's rating of the project.
[0013] Step 7: Optimize the model through Bayesian personalized ranking loss.
[0014] Step 8: Generate a top-k recommendation list for the user based on descending order of scores. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 It is a flow chart of the present invention.
[0016] Figure 2 It is a causal diagram in the group recommendation process. DETAILED DESCRIPTION
[0017] The specific implementation modes of the present invention are described in detail below with reference to specific examples.
[0018] Figure 1The flowchart of the group recommendation method based on causal debiasing provided by the present invention specifically includes the following steps:
[0019] 1. By analyzing the causal relationship between data in the recommendation process, constructing causal graphs and causal models, analyzing the impact of confounding factors on the recommendation model from the perspective of causality, and revealing the relationship between confounding factors and bias problems.
[0020] First, by analyzing the causal relationship between data in the recommendation process, a causal graph and a structural causal model are constructed. A causal graph is a directed acyclic graph (DAG) that is used to represent the causal relationship between variables. Figure 2 As shown in the figure, the causal graph consists of six variables, namely group G, item I, group user distribution D in item classification, group user interest K, item popularity C and recommendation result Y, as well as the edges between them. Capital letters and lowercase letters are used to represent variables and specific values. Based on the front-door adjustment and back-door adjustment methods of the structural causal model SCM, the relationship between the confounding factor and the bias problem is used to propose a debiasing module for the causal mechanism to reduce the causal effect caused by the confounding factor.
[0021] 2. In causal inference, front-door adjustment and back-door adjustment are two commonly used methods to eliminate the influence of confounding factors.
[0022] The front-door path refers to the path between nodes A and B in the causal graph, starting with the arrow pointed by A. For example: A→B→C. Front-door adjustment is a common example of the do operator. It is a method of calculating the probability result of the causal effect without introducing the do operator, that is, without actual intervention. The generation of the front-door adjustment depends entirely on the discovery of the causal graph, which can solve the unobserved confounding factors. The specific formula of the front-door adjustment is:
[0023] P(Y=y|do(X=x))=∑zP(Z=z|X=x)∑x′P(Y=y|X=x′,Z=z)P(X=x′)
[0024] Front-door criterion: In a directed acyclic graph (DAG) G, a set of nodes Z is said to satisfy the front-door criterion with respect to an ordered pair (X, Y) if
[0025] (1) Z cuts off all direct paths from X to Y;
[0026] (2) There is no unblocked backdoor path from X to Z;
[0027] (3) All backdoor paths from Z to Y are blocked by X.
[0028] A backdoor path is a path between nodes A and B in a causal graph that starts with an arrow pointing to A, such as A←B→C. Backdoor adjustment is a method of closing all backdoor paths by controlling certain nodes on the causal path. Backdoor adjustment can solve observed confounding factors, but cannot solve unobserved common causes. The specific formula for backdoor adjustment is:
[0029] P(Y=y|do(X=x))=∑zP(Y=y|X=x,Z=z)P(Z=z)
[0030] Backdoor criterion: In a directed acyclic graph (DAG) G, the set of variables Z is called relative to the ordered pair of variables (X i ,X j ) satisfies the backdoor criterion if
[0031] (1) There is no node in Z that is X i descendants of;
[0032] (2) Z blocks (X i ,X j ) between all points to X i path (i.e., backdoor path).
[0033] Furthermore, the set of variables Z with respect to the ordered pairs of nodes (X, Y) is said to satisfy the backdoor criterion if Z with respect to any ordered pair of variables (X i ,X j ) satisfies the backdoor criteria, where X i and Y j is any node in X and Y.
[0034] 3. The interaction of group items is passed into the hypergraph network to obtain the group preference representation and item representation through hypergraph convolution.
[0035] Hypergraph Convolution is used to capture the complex interaction relationship between group users and generate group preference representation, and Hypergraph Convolutional Network (HGCN) is used for message transmission and aggregation. The specific formula of HGCN is as follows:
[0036]
[0037] Among them, H (l) is the node feature matrix of the lth layer, W (l) is the weight matrix of the lth layer, D v and D e are the degree matrices of nodes and hyperedges, respectively.
[0038] 4. The group user interaction is obtained through the self-attention mechanism to obtain a group preference representation different from that in step 3, and the self-attention mechanism is used to capture different preferences in group user interactions.
[0039] 5. Assign weights to the group preference representations obtained in steps 3 and 4 through the attention mechanism to obtain the final group preference representation.
[0040] The group preference representations obtained by hypergraph convolution and self-attention mechanism are fused. Weights are assigned to different group preference representations. The specific formula is as follows:
[0041] H final =αH hypergraph +(1-α)H self-attention
[0042] Among them, α is the attention weight parameter, H hypergraph and H self-attention The group preference representations are obtained through hypergraph convolution and self-attention mechanisms respectively.
[0043] 6. Predict the user's rating of the project.
[0044] The fused group preference representation is used to predict the user's rating of the project, using a simple linear regression model or a complex neural network model for rating prediction.
[0045] 7. Optimize the model through Bayesian personalized ranking loss, as shown below:
[0046]
[0047] in Indicates group g t The sampled group-item training set, each instance is a pair (j, j'), which means that group g t Already with project i j Interacted, but not yet with project i j' Interaction occurs.
[0048] 8. Generate a top-k recommendation list for the user based on the descending order of the ratings.
[0049] Arrange the predicted scores of all items in descending order, the specific formula is as follows:
[0050]
[0051] in, is the predicted rating vector of all items by group user u, and argsort is to sort them in descending order and take the first K items.
[0052] In summary, the group recommendation method based on causal debiasing has higher recommendation accuracy and user satisfaction than the traditional method, especially when dealing with complex group dynamics and social influences. The research of this invention not only expands the research boundaries of recommendation systems, but also provides an innovative solution to the problem of bias in group recommendations, which has important theoretical and practical significance for theoretical research and practical application in the field of recommendation systems.
Claims
1. The present invention discloses a group recommendation method based on causal debiasing, which mainly includes the following steps: preprocessing debiasing, representation learning, group representation, and model optimization.
2. The group recommendation method based on causal debiasing according to claim 1, characterized in that: By establishing causal graphs and causal models, we can deeply analyze the causal relationship in group recommendations to distinguish the true causal influence from the correlation relationship and remove the causal effect of confounding factors.
3. The group recommendation method based on causal debiasing according to claim 1, characterized in that: The interaction between the group and the project is used through hypergraph convolution to obtain the group preference representation and the project representation, and the weight of each member is dynamically adjusted through the self-attention mechanism. Finally, the obtained group representation is averaged.
4. The group recommendation method based on causal debiasing according to claim 1, characterized in that: Two different group representations are obtained through hypergraph convolution and self-attention mechanism, and the weights of the two group representations are dynamically adjusted through the attention mechanism.
5. The group recommendation method based on causal debiasing according to claim 1, characterized in that: Optimized via Bayesian personalized ranking loss.
Citation Information
Cited By
Knowledge distillation depolarization recommendation method and system based on causal theory
CN119808836A
