Sequence recommendation method, device and equipment based on self-attention mechanism
A recommendation method and attention technology, applied in the field of information services, can solve problems such as insufficient representation and differentiation of users' dynamic long-term preferences and short-term needs, loss of chronological information, and inaccurate objects recommended by recommendation methods.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0057] Please refer to figure 1 , figure 1 It is a flowchart of a sequence recommendation method based on a self-attention mechanism in an embodiment of the present invention, and the method includes the following steps:
[0058] S101. Obtain a historical behavior sequence of a target user, and divide the historical behavior sequence into a long-term behavior sequence and a short-term behavior sequence.
[0059] The target user may be a user to whom recommendation objects are to be pushed, wherein the recommendation objects to be pushed may be common recommendable objects such as movies, TV, web pages, advertisements, and product purchase links. Acquiring the historical behavior sequence of the target user may be specifically obtaining the access log of the target user, and determining the historical behavior sequence by using the access objects and access time recorded in the access log. For example, if music recommendation is to be performed, by obtaining the access log of...
Embodiment 2
[0137]Corresponding to the above method embodiment, the embodiment of the present invention also provides a sequence recommendation device based on the self-attention mechanism, the sequence recommendation device based on the self-attention mechanism described below is the same as the sequence recommendation device based on the self-attention mechanism described above The sequence recommendation methods can be referred to in correspondence with each other.
[0138] see Figure 5 As shown, the device includes the following modules:
[0139] The sequence processing module 101 is used to obtain the historical behavior sequence of the target user, and divide the historical behavior sequence into a long-term behavior sequence and a short-term behavior sequence;
[0140] The recommendation information module 102 is used to input the long-term behavior sequence and the short-term behavior sequence into the recommendation model for recommendation learning, and obtain the target recom...
Embodiment 3
[0154] Corresponding to the above method embodiment, the embodiment of the present invention also provides a sequence recommendation device based on the self-attention mechanism. The sequence recommendation device based on the self-attention mechanism described below is the same as the one based on the self-attention mechanism described above. The sequential recommendation methods of the attention mechanism can be referred to each other.
[0155] see Figure 6 As shown, the sequence recommendation device based on the self-attention mechanism includes:
[0156] memory D1 for storing computer programs;
[0157] The processor D2 is configured to implement the steps of the sequence recommendation method based on the self-attention mechanism in the above method embodiment when executing the computer program.
[0158] Specifically, please refer to Figure 7 , Figure 7 A specific structural diagram of a sequence recommendation device based on a self-attention mechanism provided ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com