Item recommendation method based on importance of item in conversation session and system thereof
Abstract
The present disclosure provides an item recommendation method and system based on importance of item in a conversation session and a system thereof. In the present disclosure, an importance extracting module extracts an importance of each item in the conversation session, and then a long-term preference of a user is obtained in combination with the importance and the corresponding item, and then a preference of the user is obtained accurately in combination with a current interest and the long-term preference of the user, and finally item recommendation is performed according to the preference of the user. In this way, the accuracy of the item recommendation is improved.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 0.
Claims (7 — 1 Independent, 6 Dependent)
- Claim 1Independent Claim
A system for performing an item recommendation method based on importance of item in a conversation session, configured to predict an item that a user is likely to interact at a next moment from an item set as a target item to be recommended to the user, comprising: a processor; a non-transitory computer readable memory coupled to the processor containing program instructions for performing the item recommendation method; and an input device; wherein the input device is configured to record an input from the user; and execution of the program instructions by the processor causes the processor to perform steps of an item recommendation model comprising: obtaining an item embedding vector by embedding each item in a current conversation session to one d-dimension vector representation, and taking an item embedding vector corresponding to the last item in the current conversation session as a current interest representation of the user, wherein the current conversation session is a voice recording of the user via a microphone of a conversation conducted by the user; obtaining an importance representation of each item according to the item embedding vector, and obtaining a long-term preference representation of the user by combining the importance representation with the item embedding vector, wherein the obtaining the importance representation of each item further comprises: converting an item embedding vector set formed by each item embedding vector corresponding to each item in the current conversation session to a first vector space and a second vector space respectively so as to obtain a first conversion vector Q and a second conversion vector K respectively and the first conversion vector Q and the second conversion vector K are calculated according to: Q = sigmoid (W q E) (1) K = sigmoid (W k E) (2) where W q ∈ R d × l and W k ∈ R d × l are trainable parameters corresponding to a query and a key, respectively; l is a dimension of an attention mechanism adopted while performing formulas (1) and (2); and sigmoid is a conversion function learning information from the item embedding vector in a nonlinear manner; adopting a cross entropy function as an optimization target to learn the trainable parameters; implementing a back propagation algorithm to train the item recommendation model; obtaining an association matrix C between the first conversion vector Q and the second conversion vector K, wherein the association matrix C is calculated according to: C = si gmoid (Q K T) d (3) where √ {square root over (d)} is used to reduce an attention pro rata; blocking a diagonal line of the association matrix by one blocking operation during a process of obtaining the importance representation according to the association matrix, thereby removing irrelevant items in the current conversation session; obtaining an importance score α i using the association matrix C, wherein the importance score α i is calculated according to: α i = 1 t ∑ j = 1, j ≠ i t C i j; (4) and obtaining the importance representation β i using a softmax layer and the importance score α i, wherein the importance representation β i is calculated according to: β i = exp (α i) ∑ p exp (α p), ∀ i = 1, 2, …, t; (5) obtaining a preference representation of the user by connecting the current interest representation and the long-term preference representation by a connection operation; obtaining and recommending the target item to the user according to the preference representation and the item embedding vector, thus achieving the item recommendation method by focusing on importance of the item in the conversation session, wherein the target item is based on the current conversation session of the user comprises online shopping recommendations, hotel recommendations, catering recommendations, navigation recommendations; capturing a preference of the user with unavailability of user-item interaction histories and delivering a recommended target item to the user, thereby improving accuracy of item recommendation and reducing calculation complexity of the item recommendation model; and displaying the target item to the user via one or more output devices of the receive, wherein the processing system is implemented with a bus architecture, represented by a bus that comprises a number of interconnecting buses and bridges; the processing system is coupled to a transceiver that is coupled to one or more antennas; the transceiver communicates with other apparatus over a transmission medium; and transceiver receives a signal from the one or more antennas, extracts information from the received signal, and provides the extracted information to the processing system.
- Claim 2Depends on #1
The system of claim 1, wherein obtaining the importance representation according to the association matrix comprises: obtaining an average similarity of one item in the current section and other items in the current conversation session according to the association matrix as an importance score of the one item; obtaining the importance representation of the one item by normalizing the importance score using a first normalization layer.
- Claim 3Depends on #1
The system of claim 1, wherein the target item is obtained and recommended to the user by calculating probabilities that all items in the item set are recommended according to the preference representation.
- Claim 4Depends on #3
The system of claim 3, wherein obtaining and recommending the target item to the user by calculating the probabilities that all items in the item set are recommended according to the preference representation and the item embedding vector comprises: obtaining each preference score of each item in the current conversation session correspondingly by multiplying each item embedding vector by a transpose matrix of the preference representations; obtaining the probability that each item is recommended by normalizing each preference score using a second normalization layer; selecting the items corresponding to one group of probabilities with sizes ranked top among all probabilities as the target items to be recommended to the user.
- Claim 5Depends on #1
The system of claim 1, wherein the obtaining a long-term preference representation of the user by combining the importance representation with the item embedding vector further comprises: obtain the long-term preference z l of the user by combining the importance of each item in the conversation session with the item in the following formula (6): z l = ∑ i = 1 t β i e i. (6)
- Claim 6Depends on #5
The system of claim 5, wherein the obtaining a preference representation of the user by connecting the current interest representation and the long-term preference representation by a connection operation further comprises; after obtaining the long-term preference Z l and the current interest Z s of the user, obtaining a final preference representation of the user by combining the long-term preference and current interest in the following formula (7): Z h = W 0 [z l; z s]. (7)
- Claim 7Depends on #6
The system of claim 6, wherein the obtaining and recommending the target item to the user according to the preference representation and the item embedding vector further comprises: after the preference representation of the user is generated in the conversation session, generating item recommendations by calculating probabilities that all items in a candidate item set V are recommended by using the preference representation; calculating a preference score {circumflex over (z)} i of the user for each item in the candidate item set V through multiplication operation based on the following formula (8): z ˆ i = z h T e i. (8) wherein z h is obtained by the formula (7), and e i is an embedding vector of each item; and a normalization probability that each item is recommended is obtained by performing normalization for each preference score using a normalization layer softmax layer y ˆ = soft max (z ˆ). (9)
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATION This application claims priority from the Chinese patent application 202010450422.4 filed May 25, 2020. This application is also a continuation-in-part of U.S. patent application Ser. No. 17/325,053 filed May 19, 2021, entitled “ ITEM RECOMMENDATION METHOD BASED ON IMPORTANCE OF ITEM IN CONVERSATION SESSION AND SYSTEM THEREOF ” each of which is incorporated herein by reference in its entirety for all purposes. TECHNICAL FIELD The present disclosure relates to the field of content recommendation technologies, and in particular to an item recommendation method based on importance of item in a conversation session and a system thereof. BACKGROUND Item recommendations based on conversation session are mostly item predictions based on anonymous conversation session with their purpose of predicting an item in which a user is likely to be interested in a next conversation session from a given item set, and recommending the possibly interested item to the user. At present, most of the item recommendation models based on anonymous conversation session focus on an interaction history of a user to predict a preference of the user, thereby recommending items according to the preference of the user. However, in a case of unavailability of some user-item interaction histories, it will be a big challenge to accurately capture a preference of a user. In view of unavailability of user-item interactions, we need to generate an item recommendation based only on a current on-going conversation session. In existing approaches, for example, recommendations are generated by capturing a preference of a user by applying a gated recurrent unit (GRU) to model time sequence behaviors of the user in a conversation session, or by capturing a main intention of the user by use of an attention mechanism, or the recommendations are predicted by producing an accurate complex transfer relationship between item embedding vectors and modeling items by using a Gated
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (7)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (2)
- Wu et al., Session-Based Recommendation with Graph Neural Networks, Thirty-Third AAAI Conference on Artificial Intelligence (Year: 2019).
- Zhang et al., Personalized Graph Neural Networks With Attention Mechanism for Session-Aware Recommendation, Oct. 15, 2020, IEEE (Year: 2020).