Personalized comment recommendation method based on link prediction model of graph bidirectional aggregation network

US11748426B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11748426-B2
Application numberUS-202318105891-A
CountryUS
Kind codeB2
Filing dateFeb 6, 2023
Priority dateJun 18, 2021
Publication dateSep 5, 2023
Grant dateSep 5, 2023

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A personalized comment recommendation method based on a link prediction model of a graph bidirectional aggregation network. In a user-comment bipartite graph, comment features are aggregated into a user feature. A social network is used to fuse a neighbor feature of a user to obtain an embedding representation of the user. The embedding representation of the user is aggregated into a comment after an original feature of the user is removed, and the embedding representation of the user is adjusted based on a difference before and after comment aggregation. On this basis, a forwarding network is used to calculate a score of an edge based on an inner product of user node features at both ends of the edge, and finally make a recommendation based on the score. Furthermore, a recommendation system converts a comment recommendation task into a link prediction task between users in a small range.

First claim

Opening claim text (preview).

What is claimed is: 1. A personalized comment recommendation method based on a link prediction model of a graph bidirectional aggregation network, comprising the following steps: a) building a user-comment bipartite graph, a social network, and a forwarding network based on specific comment content, a user concern relationship, and a comment forwarding relationship; b) converting a comment made by a user into an N-dimensional original comment feature h com , and initializing an original feature h user of the user; c) randomly deleting a comment node from the user-comment bipartite graph, and calculating an aggregated feature aggh user i of an i th user according to a formula aggh user i =SELU(W agg ·concat(h user i , aggregate({h com i , ∀j∈N com (i)}))), wherein an aggregated feature of all users is represented by aggh user , SELU(·) represents an activation function, W agg represents a weight of a feature extraction part, concat(·) represents a splicing function, h user i represents a user feature of an i th node, h com j represents a comment feature of a j th node, N com (i) represents a quantity of comment nodes associated with an i th user node, and aggregate represents an aggregation function, namely, aggregate = 1 N com ( i ) · ∑ j = 0 N com ( i ) ⁢ Re ⁢ LU ⁡ ( w · h com j + b ) , wherein ReLU(·) represents an activation function, w represents a weight in the aggregate function, and b represents an offset in the aggregate function; d) calculating a fused neighbor node feature aggh user i , of the i th user according to a formula aggh user i =SELU(Σ j=0 N(i) α ij ·W agg ·h user j ), wherein α ij represents an attention coefficient of associating the i th user and a j th comment edge, and h user j represents a user feature of the j th node; e) calculating a new comment feature aggh com i of the i th user according to a formula aggh com i =SELU(W agg ·aggregate({aggh user j −h user j , ∀j∈N user (i)})), wherein new comment features of all the users are represented by aggh com , aggh user j represents the fused neighbor node feature of the j th user, and N user (i) represents a quantity of user nodes associated with an i th comment node; f) calculating a loss function value loss agg of a feature aggregation part according to a formula loss agg =smooth L 1 (h com , aggh com ), wherein smooth L 1 (·) represents a loss function, h com represents comment features of all nodes; and establishing a model of the feature extraction part; g) aggregating neighbor features by using a GraphSAGE algorithm according to a formula preh=Graph SAGE (g retweet , aggh user ) to obtain a user feature preh, wherein g retweet represents a graph structure of the forwarding network; h) calculating a score score of each edge in a positive-sample forwarding network in a form of an inner product according to a formula score=preh u ·preh v , wherein preh u represents a user node feature on a left side of a positive-sample edge, and preh v represents a user node feature on a right side of the positive-sample edge; and calculating a score score′ of each edge in a negative-sample forwarding network in the form of an inner product according to a formula score′=preh u ′·preh v ′, wherein preh u ′ represents a user node feature on a left side of a negative-sample edge, and preh v ′ represents a node feature on a right side of the negative-sample edge; i) calculating a loss function value loss pre of a link prediction part according to a formula loss pre =max(0, M−score+score′), wherein M represents a boundary value, and setting M=1 to establish a model of the link prediction part; j) calculating a total loss Loss according to a formula Loss=loss agg ×agg+loss pre ×pre, wherein agg represents the weight of the feature extraction part, and pre represents a weight of the link prediction part; k) repeating steps c) to j) for no less than N times to complete model training and optimization; and l) generating a recommendation list in descending order based on the score score in step h), and making a recommendation based on the list. 2. The personalized comment recommendation method based on the link prediction model of the graph bidirectional aggregation network according to claim 1 , wherein in step a), a negative sample of the forwarding network is constructed by using a negative sampling algorithm, wherein K represents a parameter in negative sampling and K=5. 3. The personalized comment recommendation method based on the link prediction model of the graph bidirectional aggregation network according to claim 1 , wherein in step b), the comment made by the user is converted into a 64-dimensional original comment feature h com by using a Doc2Vec model. 4. The personalized comment recommendation method based on the link prediction model of the graph bidirectional aggregation network according to claim 1 , wherein in step c), the comment node is randomly deleted from the user-comment bipartite graph based on a probability of 60%. 5. The personalized comment recommendation method based on the link prediction model of the graph bidirectional aggregation network according to claim 1 , wherein in step d), α ij is calculated by using an attention weight calculation method in a Graph Attention Network (GAT) algorithm. 6. The personalized comment recommendation method based on the link prediction model of the graph bidirectional aggregation network according to claim 1 , wherein in step j), agg=1, and pre=2. 7. The personalized comment recommendation method based on the link prediction model of the graph bidirectional aggregation network according to claim 1 , wherein in step k), a value of N is 100.

Assignees

Inventors

Classifications

  • Business processes related to social networking or social networking services · CPC title

  • Determination of affinities or common interests between users · CPC title

  • using social graphs · CPC title

  • Graphs; Linked lists (G06F16/9027 takes precedence) · CPC title

  • Energy efficient computing, e.g. low power processors, power management or thermal management · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11748426B2 cover?
A personalized comment recommendation method based on a link prediction model of a graph bidirectional aggregation network. In a user-comment bipartite graph, comment features are aggregated into a user feature. A social network is used to fuse a neighbor feature of a user to obtain an embedding representation of the user. The embedding representation of the user is aggregated into a comment af…
Who is the assignee on this patent?
Shandong Artificial Intelligence Inst, Univ Qilu Technology, Shandong Computer Science Ct Nat Supercomputer Ct Jinan
What technology area does this patent fall under?
Primary CPC classification G06F16/9024. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Sep 05 2023 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 5 related publications on this page (citations in our corpus or others sharing the same primary CPC).