Session recommendation method and device, equipment and storage medium
By combining the historical interaction content of the target object and the historical release content of the interactive object, global feedback features are generated and integrated into comprehensive content features, which solves the problems of short-term behavioral dynamics and noise information in the recommendation system and improves the accuracy of the recommendation results.
Patent Information
- Application Number
- CN202310232266.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-28
- Publication Date
- 2024-08-30
AI Technical Summary
Existing recommendation systems ignore the dynamics of short-term behaviors and the noise information of interactive objects in multimedia session recommendations, resulting in low accuracy of recommendation results.
By generating global feedback features based on the historical interaction content of the target object and the historical published content set of the interactive object, and integrating it into the historical interaction content, comprehensive content features are generated to improve the accuracy of the recommendation results.
It effectively avoids the introduction of noise information, improves the accuracy of recommendation results, and ensures that the recommended content is more in line with the current interests of the target object.
Smart Images

Figure CN118568207A
Abstract
Description
Background Art
[0002] With the development of mobile Internet technology and social networks, a large number of articles, pictures, videos and other media content are published to the Internet every day. In the era of big data, traditional information retrieval technology can no longer meet people's needs for information discovery. The emergence of recommendation systems has become one of the important tools to help people obtain richer information that better suits their personal preferences.
[0003] At present, the recommendation system mainly adopts the following two technical solutions to realize multimedia conversation recommendation:
[0004] Solution 1: Based on the short-term behavior of the target object, predict the interaction probability between the target object and each media content, and then determine the media content recommended to the target object.
[0005] However, Solution 1 ignores the dynamics of short-term behavior. The recommendation results generated using the target object’s short-term behavior often fail to match the target object’s current real-time interests, which not only affects the accuracy of the recommendation results, but also affects the practicality of the recommendation system.
[0006] Solution 2: Based on the relevant information of the interactive objects visited by the target object, the short-term behavior of the target object is updated, and then based on the updated short-term behavior, the interaction probability between the target object and each media content is predicted, and then the media content recommended to the target object is determined.
[0007] Although Solution 2 aggregates the relevant information of the interacting objects, this information is mixed. In the process of conversational recommendation, it introduces noise information, which affects the accuracy of the recommendation results.
[0008] In view of this, this application proposes a new conversation recommendation method. Summary of the invention
[0009] Embodiments of the present application provide a conversation recommendation method, apparatus, device, and storage medium to solve the problem of low accuracy of recommendation results.
[0010] In a first aspect, an embodiment of the present application provides a conversation recommendation method, including:
[0011] Based on a set of historical interaction contents generated by a target object within a specified historical period, obtaining a current object preference feature of the target object, wherein the historical interaction contents are multimedia contents with which the target object has an interaction behavior;
[0012] Based on the respective historical published content sets of each interactive object associated with the target object, obtaining the global feedback features of each interactive object with respect to the object preference features;
[0013] Respectively fusing the media content features of each of the historical interactive contents with the global feedback features to obtain corresponding first embedding features, and obtaining corresponding comprehensive content features based on each of the first embedding features and their respective content weights;
[0014] Based on the obtained comprehensive content features, the predicted interaction probability between the target object and each candidate media content is determined respectively, and the candidate media content whose predicted interaction probability meets a set threshold is recommended to the target object as a target session.
[0015] In a second aspect, an embodiment of the present application further provides a conversation recommendation device, including:
[0016] A preference mining unit is used to obtain the current object preference characteristics of the target object based on the historical interaction content set generated by the target object in a specified historical period, wherein the historical interaction content is: multimedia content with which there is interaction behavior with the target object;
[0017] A feedback generating unit, configured to obtain global feedback features of each interactive object with respect to the object preference features based on the respective historical published content sets of each interactive object associated with the target object;
[0018] A feedback fusion unit, configured to fuse the media content features of each of the historical interactive contents with the global feedback features to obtain corresponding first embedded features, and obtain corresponding comprehensive content features based on each of the first embedded features and their respective content weights;
[0019] The session recommendation unit is used to determine the predicted interaction probability between the target object and each candidate media content based on the obtained comprehensive content features, and recommend the candidate media content whose predicted interaction probability meets a set threshold to the target object as a target session.
[0020] Optionally, after respectively obtaining the local feedback features of each of the interactive objects with respect to the object preference features, the feedback generating unit is further configured to:
[0021] Based on the preference correlation between the media content features of each of the historical interaction contents of the target object and the object preference features, obtaining the self-feedback features of the target object with respect to the object preference features;
[0022] Based on the weighted sum of each local feedback feature and its respective feedback weight, a comprehensive feedback feature is obtained;
[0023] The comprehensive feedback feature is fused with the self-feedback feature to obtain a global feedback feature of each of the interactive objects with respect to the object preference feature.
[0024] Optionally, the feedback generating unit obtains a feedback weight of the interactive object by performing the following operations:
[0025] The proportion of the local feedback feature and the self-feedback feature of one of the interactive objects among the local feedback features and the self-feedback features of each of the interactive objects is determined as the corresponding feedback weight.
[0026] Optionally, after obtaining the corresponding first embedding feature and before determining the predicted interaction probability between the target object and each candidate media content, the feedback fusion unit is further configured to:
[0027] Based on the association relationship between the historical interaction contents, the respective in-embedded features and out-embedded features of the historical interaction contents are obtained, wherein the in-embedded feature is generated based on the first embedded feature of other historical interaction contents jumping to one of the historical interaction contents, and the out-embedded feature is generated based on the first embedded feature of one of the historical interaction contents jumping to other historical interaction contents;
[0028] Based on each of the input embedding features and each of the output embedding features, the first embedding features of the corresponding historical interactive content are updated respectively to obtain respective target embedding features, and based on each of the target embedding features and the associated content weights, the comprehensive content feature is obtained.
[0029] Optionally, the feedback fusion unit obtains the content weight of each of the historical interaction contents by performing the following operations:
[0030] Respectively fusing the position features of each of the historical interaction contents with the respective media content features to obtain respective second embedding features of each of the historical interaction contents;
[0031] A mean operation is performed on each of the second embedded features to obtain an average embedded feature, and based on the average embedded feature and the second embedded feature of the historical interaction content of the last interaction of the target object, weights are respectively assigned to the historical interaction contents at different positions in the historical interaction content set to obtain respective content weights.
[0032] Optionally, the preference mining unit is used to:
[0033] Extracting features of a set of historical interactive contents generated by the target object within a specified historical period to obtain media content features of each of the historical interactive contents;
[0034] Preference mining is performed based on the media content features of each of the historical interactive contents to obtain the current object preference features of the target object.
[0035] Optionally, after obtaining the media content features of each of the historical interactive contents, the preference mining unit is further used to:
[0036] Based on the media content features of each of the historical interaction contents, preference mining is performed with the media content features of the historical interaction content of the last interaction with the target object to obtain the current object preference features of the target object.
[0037] In a third aspect, an embodiment of the present application further provides a computer device, comprising a processor and a memory, wherein the memory stores a program code, and when the program code is executed by the processor, the processor executes the steps of any one of the above-mentioned conversation recommendation methods.
[0038] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, which includes a program code. When the program product is run on a computer device, the program code is used to enable the computer device to execute the steps of any one of the above-mentioned conversation recommendation methods.
[0039] In a fifth aspect, an embodiment of the present application further provides a computer program product, including computer instructions, which are executed by a processor to perform the steps of any of the above-mentioned conversation recommendation methods.
[0040] The beneficial effects of this application are as follows:
[0041] The embodiment of the present application provides a conversation recommendation method, device, equipment and storage medium, the method comprising: in order to avoid introducing noise information of interactive objects, the present application uses a feedback generation mechanism to obtain a global feedback feature that characterizes the overall feedback of all interactive objects based on the historical published content set of each interactive object. Then the global feedback feature is integrated into each historical interactive content of the target object to obtain the first embedded feature of each historical interactive content, and based on each first embedded feature and its respective content weight, the corresponding comprehensive content weight is obtained, and the recommendation information that is beneficial to the target object is selectively integrated into the media content feature of each historical interactive content to improve the accuracy of the recommendation result. Finally, based on the comprehensive content feature, the predicted interaction probability between the target object and each candidate media content is determined, and the predicted interaction probability is used as the screening criterion, and the candidate media content whose predicted interaction probability meets the set threshold is recommended to the target object as the target conversation.
[0042] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0044] Figure 1 A logical diagram for generating recommended content for user a based on user b's movie viewing record;
[0045] Figure 2 This is an optional schematic diagram of an application scenario in an embodiment of the present application;
[0046] Figure 3A A schematic diagram of the system architecture of a conversation recommendation model provided in an embodiment of the present application;
[0047] Figure 3B A schematic diagram of a process for recommending multimedia content to a target object provided in an embodiment of the present application;
[0048] Figure 3C A logical schematic diagram of recommending multimedia content to a target object provided by an embodiment of the present application;
[0049] Figure 3D A schematic diagram of a process for obtaining global feedback features provided in an embodiment of the present application;
[0050] Figure 3E A logical schematic diagram of obtaining global feedback features provided in an embodiment of the present application;
[0051] Figure 3F A schematic diagram of another process for obtaining global feedback features provided in an embodiment of the present application;
[0052] Figure 3G Another logic diagram for obtaining global feedback features provided in an embodiment of the present application;
[0053] Figure 3H A schematic diagram of a process for obtaining the content weight of each historical interactive content provided in an embodiment of the present application;
[0054] Fig. 3I A schematic diagram of a directed graph provided for an embodiment of the present application;
[0055] Figure 3J A schematic diagram of a process for generating comprehensive content features provided in an embodiment of the present application;
[0056] Figure 3K A logical schematic diagram of generating comprehensive content features provided in an embodiment of the present application;
[0057] Figure 4A A schematic diagram of a process for generating a recommended movie list for user a provided in an embodiment of the present application;
[0058] Figure 4B A logical diagram of generating a recommended movie list for user a provided in an embodiment of the present application;
[0059] Figure 5 A schematic diagram of the structure of a conversation recommendation device provided in an embodiment of the present application;
[0060] Figure 6 A schematic diagram of a hardware structure of a computer device to which an embodiment of the present application is applied;
[0061] Figure 7 A schematic diagram of the hardware composition structure of another computer device to which the embodiment of the present application is applied. DETAILED DESCRIPTION
[0062] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the technical solution of the present application, rather than all of the embodiments. Based on the embodiments recorded in the application documents, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the technical solution of the present application.
[0063] Some of the terms used in the embodiments of the present application are explained below to facilitate understanding by those skilled in the art.
[0064] 1. Social media platforms are platforms where people share their opinions, insights, experiences and views. In social media platforms, the opinions, insights, experiences and views expressed by users are expressed in the form of multimedia content. Multimedia content includes but is not limited to: articles, pictures, videos, audio, games, etc.
[0065] 2. In many social media platforms, users play the role of both producers and consumers. Users can browse and comment on multimedia content on social media platforms, and can also create multimedia content themselves.
[0066] There are usually multiple users on a social media platform. In order to easily distinguish the user who receives the recommendation from other users, the embodiment of the present application will refer to the user who receives the recommendation as a "target object".
[0067] 3. Object-media content interaction relationship: When an object browses, views, likes, comments, and forwards multimedia content, it is said that "the object interacts with the multimedia content."
[0068] 4. Object-media content interaction network: Abstract the objects and multimedia content used on social media as nodes, and abstract the object-media content interaction relationship as edges between nodes. The nodes and edges constitute the object-media content interaction network.
[0069] 5. Object interaction relationship: When an object visits the personal space of other objects, or follows the social accounts of other objects, it is called "interaction between objects", and the object that interacts with the target object is called "interaction object".
[0070] 6. Object interaction network: Abstract the objects used on social media as nodes, and abstract the object interaction relationships as edges between nodes. The nodes and edges constitute the object interaction network.
[0071] 7. Conversational recommendation is a sub-branch of the recommendation system. It is used in some scenarios where no login account is required or the browsing behavior of the user cannot be recorded. It is used to solve the problem of recommending multimedia content to anonymous objects in the scenario.
[0072] 8. Session: refers to a sequence of multimedia contents that users interact with in a short period of time. Represents: target object u i The interaction generates a session in which is the media content feature of the multimedia content of the tth interaction in the session.
[0073] The following is a brief introduction to the design concept of the embodiment of the present application:
[0074] With the development of mobile Internet technology and social networks, a large number of articles, pictures, videos and other media content are published to the Internet every day. In the era of big data, traditional information retrieval technology can no longer meet people's needs for information discovery. The emergence of recommendation systems has become one of the important tools to help people obtain richer information that better suits their personal preferences.
[0075] At present, the recommendation system mainly adopts the following two technical solutions to realize multimedia conversation recommendation:
[0076] Solution 1: Based on the short-term behavior of the target object, predict the interaction probability between the target object and each media content, and then determine the media content recommended to the target object.
[0077] However, Solution 1 ignores the dynamics of short-term behavior. The recommendation results generated using the target object’s short-term behavior often fail to match the target object’s current real-time interests, which not only affects the accuracy of the recommendation results, but also affects the practicality of the recommendation system.
[0078] Solution 2: Based on the relevant information of the interactive objects visited by the target object, the short-term behavior of the target object is updated, and then based on the updated short-term behavior, the interaction probability between the target object and each media content is predicted, and then the media content recommended to the target object is determined.
[0079] Although Solution 2 aggregates the relevant information of the interacting objects, this information is mixed. In the process of conversational recommendation, it introduces noise information, which affects the accuracy of the recommendation results.
[0080] like Figure 1 As shown in the figure, user a and user b are social friends. When recommending multimedia content to user a, considering that user b often watches documentaries and comedies, it is inferred that user a may also be interested in these two types of film and television works, and multiple documentaries and comedies are recommended to user a. However, according to user a's viewing record, the user is more interested in film and television works with comedy tags recently. Therefore, the documentary watched by user b does not provide any help for this recommendation, but instead introduces noise information, reducing the accuracy of the recommendation results.
[0081] In view of this, embodiments of the present application provide a conversation recommendation method, apparatus, device, and storage medium.
[0082] Different from traditional recommendation scenarios, in social media platforms, the relationship between objects is closer, and the preferences of target objects are also similar to the multimedia content published by interactive objects. Therefore, the multimedia content published by interactive objects can be used to make auxiliary recommendations for target objects.
[0083] However, in order to avoid introducing noise information of interactive objects, this application uses a feedback generation mechanism to obtain global feedback features that characterize the overall feedback of all interactive objects based on the historical published content sets of each interactive object. The global feedback features are then integrated into the historical interactive content of the target object to obtain the first embedded features of each historical interactive content, and based on each first embedded feature and its respective content weight, the corresponding comprehensive content weight is obtained, and the recommendation information that is beneficial to the target object is selectively integrated into the media content features of each historical interactive content to improve the accuracy of the recommendation results. Finally, based on the comprehensive content features, the predicted interaction probability between the target object and each candidate media content is determined, and the predicted interaction probability is used as the screening criterion. The candidate media content whose predicted interaction probability meets the set threshold is recommended to the target object as the target session.
[0084] The preferred embodiments of the present application are described below in conjunction with the drawings in the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application. In addition, the embodiments and features in the embodiments of the present application may be combined with each other if there is no conflict.
[0085] The embodiments of the present invention can be applied to various scenarios, including but not limited to cloud technology, artificial intelligence, smart transportation, assisted driving, etc.
[0086] Figure 2 One application scenario is shown, including two terminal devices 210 and a server 230, and each terminal device 210 establishes a communication connection with the server 230 through a wired network or a wireless network.
[0087] Among them, the terminal device 210 of the embodiment of the present application can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited to this.
[0088] The server 230 of the embodiment of the present application can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms. This application does not make any restrictions here.
[0089] A social media application is installed on the terminal device 210, which collects the historical interaction content set generated by the target object within a specified historical period, and the historical published content set of each interaction object associated with the target object, and sends the collected data to the conversation recommendation model deployed on the server 230 through the established communication channel.
[0090] The server 230 calls the conversation recommendation model, which obtains the current object preference features of the target object based on the historical interactive content set, and then obtains the global feedback features of each interactive object for the object preference features based on the historical published content set. After that, the conversation recommendation model fuses the media content features of each historical interactive content with the global feedback features to obtain the corresponding first embedded features, and obtains the corresponding comprehensive content features based on each first embedded feature and its respective content weight. Finally, based on the obtained comprehensive content features, the conversation recommendation model determines the predicted interaction probability between the target object and each candidate media content, and recommends the candidate media content whose predicted interaction probability meets the set threshold to the target object as the target conversation.
[0091] The terminal device 210 displays a target conversation recommendation sequence generated by the conversation recommendation model on the access page 220 , where the sequence includes at least one candidate media content whose predicted interaction probability meets a set threshold.
[0092] In addition, it should be noted that in the specific implementation of this application, object data related to target objects, interactive objects, etc. is involved. When the above embodiments of this application are applied to specific products or technologies, it is necessary to obtain the object's permission or consent, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0093] Figure 3A The system architecture of the conversational recommendation model is shown, which mainly consists of three modules: preference mining layer, feedback generation mechanism and conversational recommendation layer.
[0094] Among them, the preference mining layer is used to mine the current object preference characteristics of the target object from the historical interaction content set generated by the target object in a short period of time; the feedback generation mechanism is used to obtain the local feedback characteristics of each interactive object on the object preference characteristics, and then fuse the local feedback features to obtain the global feedback characteristics that characterize the overall feedback of all interactive objects; the session recommendation layer is used to predict the next multimedia content that the target object will interact with and generate the corresponding session recommendation sequence.
[0095] Next, if Figures 3B to 3C As shown in Figure 1, the process of using the conversation recommendation model to generate a conversation recommendation sequence for the target object is as follows:
[0096] S301: obtaining the current object preference feature of the target object based on the historical interaction content set generated by the target object in a specified historical period, where the historical interaction content is: multimedia content with which the target object has interactive behavior.
[0097] A conversation is a content sequence consisting of multimedia content with which the target object interacts in a short period of time (i.e., a historical interaction content set). The object's short-term interests are often hidden in the conversation. Therefore, this application designs a preference mining layer to mine the current object preference features of the target object from the historical interaction content set.
[0098] The specific mining process is: extract features from the historical interactive content set generated by the target object within a specified historical period, obtain the media content features of each historical interactive content, and then perform preference mining based on the media content features of each historical interactive content to obtain the current object preference features of the target object.
[0099] For the specific implementation method, please refer to Formula 1. Where, S i is the target object u i The object preference characteristics, is the media content feature of the t-th historical interaction content of the target object, and T is the total number of historical interaction contents.
[0100]
[0101] Since the target object's last interaction history may contain the object's latest interest, this application proposes another method of mining object preference features, as shown in Formula 2, based on the media content features of each historical interaction content, the media content features of the target object's last interaction history Conduct preference mining to obtain the current object preference characteristics of the target object to emphasize The importance of the target object's current preferences.
[0102]
[0103] S302: Based on the historical published content sets of each interactive object associated with the target object, obtain the global feedback features of each interactive object with respect to the object preference features.
[0104] In the related art, although the relevant information of the interactive objects is considered, this information is mixed, and some information is not helpful for generating the conversation recommendation sequence of the target object, but will introduce noise information and reduce the accuracy of the recommendation results. Therefore, this application uses the feedback generation mechanism to determine the overall feedback of all interactive objects on the current interest of the target object, and selectively integrates the information of each interactive object.
[0105] For the target object u i For example, this application uses a graph neural network to generate a set of interactive objects N associated with the target object. T (u i ). Among them, N T (u i )={u1,u2,……,u j},u j is the jth interacting object of the target object.
[0106] Intuitively, the feedback of each interactive object depends on two factors: 1) the current interest of the target object; 2) the historical published content set of each interactive object. Figures 3D to 3E As shown in Figure 2, the process of obtaining the global feedback feature is as follows:
[0107] S3021: Based on the preference correlation between the media content features of each historically published content in the historically published content set of each interactive object and the object preference features, obtain the local feedback features of each interactive object for the object preference features, where the interactive object is an object that has interactive behavior with the target object.
[0108] For the specific implementation method, please refer to Formula 3. Where, f i←j is the local feedback feature of the jth interacting object, S i is the object preference feature of the target object, N H (uj ) is the historical published content set of the jth interactive object.
[0109] f i←j =f(S i ,N H (u j )) Formula 3;
[0110] f(·) is the function for generating feedback features, and its specific implementation is shown in Formula 4. Where, v k is the media content feature of the kth historical published content of the jth interactive object; ⊙ is the element-wise product operation, which encodes the preference correlation between the media content feature and the object preference feature. "Features" in the field of artificial intelligence are essentially a set of vectors. Therefore, this application uses the max-pooling operator as the fusion function to obtain a single vector - the local feedback feature.
[0111] f i←j =MaxPooling(S i ⊙v k , v k ∈N H (u j )) Formula 4;
[0112] S3022: Based on each local feedback feature and its respective feedback weight, a global feedback feature of each interactive object with respect to the object preference feature is obtained, wherein the feedback weight represents: the preference correlation of the corresponding interactive object with respect to the object preference feature.
[0113] After obtaining the feedback of each interacting object, the graph attention network is used to fuse all local feedback features to obtain the global feedback features. The specific implementation method is shown in Formula 5, F i is the global feedback feature, N T (u i ) is the interactive object set of the target object, u k is the kth interacting object of the target object, w i.k is the feedback weight of the kth interacting object, f i←k is the local feedback feature of the kth interacting object.
[0114]
[0115] The process of obtaining the feedback weight of an interactive object is as follows: the proportion of a local feedback feature of an interactive object among the local feedback features of all interactive objects is determined as the corresponding feedback weight.
[0116] The specific implementation method is shown in Formula 6, a∈R 2d , W∈R d×dis the model parameter, w i,j is the feedback weight of the jth interacting object.
[0117]
[0118] In addition to the feedback from the interactive object, this application also designs a self-feedback mechanism to obtain the target object's own feedback on the current interest. Therefore, this application also provides another way to obtain global feedback features. The specific implementation method is as follows: Figures 3F to 3G As shown:
[0119] S3021': Based on the preference correlation between the media content features of each historical interaction content of the target object and the object preference features, obtain the self-feedback features of the target object with respect to the object preference features.
[0120] For the specific implementation method, please refer to Formula 7. Where, f i←i is the self-feedback feature, S i is the object preference feature of the target object, N V (u i ) is the historical interaction content set of the target object, v k is the media content feature of the kth historical interaction content of the target object.
[0121] f i←i =MaxPooling(S i ⊙v k , v k ∈N V (u i )) Formula 7;
[0122] S3022': Perform weighted summation based on each local feedback feature and its respective feedback weight to obtain a comprehensive feedback feature.
[0123] In the second method of generating global feedback features, the feedback weight of an interactive object is obtained by performing the following operations: the proportion of the local feedback features and self-feedback features of an interactive object among the local feedback features and self-feedback features of each interactive object is determined as the corresponding feedback weight.
[0124] For the specific implementation method, please refer to Formula 8. a∈R 2d , W∈R d×d is the model parameter, w i,j is the feedback weight of the jth interacting object, and || is the concatenation operator.
[0125]
[0126] S3023': Fusing the comprehensive feedback feature with the self-feedback feature to obtain the global feedback feature of each interacting object with respect to the object preference feature.
[0127] The self-feedback feature is a special form of interactive feedback. As shown in Formula 9, the self-feedback feature is combined with the comprehensive feedback feature to obtain the global feedback feature.
[0128]
[0129] S303: respectively fuse the media content features of each historical interactive content with the global feedback features to obtain corresponding first embedded features, and obtain corresponding comprehensive content features based on each first embedded feature and its respective content weight.
[0130] In order to integrate the obtained feedback information into the conversation recommendation, the media content of each historical interaction content is fused with the global feedback feature using formula 10 to obtain the corresponding first embedding feature. v,a , W u,a are model parameters, is the media content feature of the t-th historical interaction content, F i is the global feedback feature, is the first embedding feature of the t-th historical interaction content.
[0131]
[0132] Afterwards, using Formula 11, the corresponding comprehensive content features are obtained based on each first embedded feature and its respective content weight. is the first embedding feature of the t-th historical interaction content, w t is the content weight of the t-th historical interaction content, T is the total number of historical interaction contents, It is the comprehensive content characteristics of the target object.
[0133]
[0134] Among them, Figure 3H As shown, the content weight of each historical interaction content can be obtained by performing the following operations:
[0135] S3031: Fusing the position features of each historical interaction content with the respective media content features to obtain respective second embedding features of each historical interaction content.
[0136] In order to distinguish the importance of interactions between multimedia content at different positions in a conversation, the present application assigns a position vector to each historical interaction content, and then integrates the position vector into the first embedding feature through splicing and linear transformation to obtain the corresponding second embedding feature.
[0137] For specific implementation methods, please refer to Formula 12. p is a model parameter, || is a concatenation operator, is the first embedding feature of the t-th historical interaction content, P t is the position vector of the t-th historical interaction content, is the second embedding feature of the t-th historical interaction content.
[0138]
[0139] S3032: Perform a mean operation on each second embedded feature to obtain an average embedded feature, and based on the average embedded feature and the second embedded feature of the historical interaction content of the last interaction of the target object, respectively assign weights to the historical interaction contents at different positions in the historical interaction content set to obtain respective content weights.
[0140] Since multimedia content at different locations plays different roles in generating comprehensive content features, the present application assigns weights to historical interaction content at different locations in the historical interaction content set based on the average embedding feature and the second embedding feature of the historical interaction content of the last interaction of the target object.
[0141] Among them, formula 13 shows the implementation method of obtaining the average embedding feature, and formula 14 shows the implementation method of obtaining a content weight. W1, W2, and W3 are model parameters. is the second embedding feature of the t-th historical interaction content, T is the total number of historical interaction contents, is the average embedding feature, is the second embedding feature of the historical interaction content of the target object’s last interaction, w t is the content weight of the t-th historical interaction content.
[0142]
[0143]
[0144] In order to capture the complex relationship between multimedia content in a conversation, this application also uses a graph neural network to abstract the historical interaction content in the historical interaction content set of the target object into nodes, and abstract the relationship between the content into edges between nodes to form a graph such as Fig. 3I The directed graph shown in Figure 1. A node represents a historical interaction content, and an edge Indicates that an interaction occurs with the target object afterwards.
[0145] also, Represents the incoming neighbor node set of a node, which is composed of the neighbor nodes of the node, and there is an incoming relationship between the node and the neighbor nodes. The incoming relationship refers to the association relationship that jumps from the neighbor node to the node. Represents the set of outgoing neighbor nodes of a node, which is composed of the neighbor nodes of the node, and the node and the neighbor nodes are in an outgoing relationship, which refers to the relationship from the node to the neighbor node. Fig. 3I For example, the incoming neighbor node set of node c is {bd}, and the outgoing neighbor node set of node c is {f}.
[0146] Therefore, this application proposes another way to obtain comprehensive content features. Figures 3J to 3K As shown in Figure 2, the process of generating comprehensive content features is as follows:
[0147] S3031': Based on the association relationship between each historical interaction content, obtain the respective entry embedding feature and exit embedding feature of each historical interaction content. The entry embedding feature is generated based on the first embedding feature of other historical interaction content that jumps to one historical interaction content, and the exit embedding feature is generated based on the first embedding feature of one historical interaction content that jumps to other historical interaction content.
[0148] The specific implementation method is shown in formula 15, W in , W out are model parameters, is the input embedding feature of the t-th historical interaction content, is the outgoing embedding feature of the t-th historical interaction content, is the set of neighbor nodes transferred into the t-th historical interaction content, is the set of outgoing neighbor nodes of the t-th historical interaction content.
[0149]
[0150]
[0151] S3032': Based on each incoming embedding feature and each outgoing embedding feature, the first embedding features of the corresponding historical interactive content are updated respectively to obtain respective target embedding features, and based on each target embedding feature and the associated content weight, a comprehensive content feature is obtained.
[0152] This application uses formula 16 to update the first embedding features of each historical interactive content to obtain their respective target embedding features. Then substitute the target embedding features and their respective content weights into formula 17 to calculate the comprehensive content features of the target object. The method of obtaining the content weight has been discussed in the previous article and will not be repeated here.
[0153]
[0154]
[0155]
[0156]
[0157]
[0158] in, is the input embedding feature of the t-th historical interaction content, is the outgoing embedding feature of the t-th historical interaction content, is the first embedding feature of the t-th historical interaction content, is the target embedding feature of the t-th historical interaction content, It is the comprehensive content characteristics of the target object; It is the reset gate. is the update gate, σ is the sigmoid function, ⊙ is the element-wise multiplication operator, W z ,W r ,W o ∈R D×2D , U z ,U r ,U o ∈R D×D are model parameters.
[0159] S304: Based on the obtained comprehensive content features, the predicted interaction probability between the target object and each candidate media content is determined respectively, and the candidate media content whose predicted interaction probability meets the set threshold is recommended to the target object as a target session.
[0160] The comprehensive content features and the media content features v of each candidate media content j Substitute into formula 18 to calculate the predicted interaction probability between the target object and each candidate media content The candidate media content whose predicted interaction probability meets the set threshold is recommended to the target object as the target session.
[0161]
[0162] This application uses multiple batches of sample conversations to iteratively train a conversation recommendation model, selects a small batch Adam algorithm as the optimizer, minimizes the objective function until the iteration end condition is met, and outputs a trained conversation recommendation model. Each batch of sample conversations includes: a set of sample interaction content of the target object, and a set of sample release content of each interaction object.
[0163] In each iteration, the current object preference features of the target object are mined from the sample interaction content set, and then the feedback generation mechanism is used to obtain the global feedback features of the object preference features of each interactive object. After that, the media content features of each sample interaction content are fused with the global feedback features to obtain their respective first embedded features, and based on each first embedded feature and its respective content weight, the corresponding comprehensive content features are obtained; finally, based on the obtained comprehensive content features, the predicted interaction probability between the target object and each sample media content is determined respectively, and based on the predicted interaction probability of each sample media content and the corresponding actual interaction probability, the loss value of this iteration is obtained, and based on the loss value, the model parameters are adjusted.
[0164] Among them, the steps of mining object preference features and generating global feedback features are the same as the operations in the application stage. Since the specific operations have been discussed in the previous article, they will not be repeated here.
[0165] This application uses the cross entropy loss function shown in formula 19 to calculate the loss value of each iteration is the actual interaction probability of the jth sample media content. For example, when there is an interaction relationship between the target object and the sample media content, the actual interaction probability of the sample media content is set to 1; otherwise, the actual interaction probability is set to 0.
[0166]
[0167] After introducing the training process and application process of the conversation recommendation model, take a specific embodiment as an example, refer to Figures 4A to 4B The schematic diagram shown introduces the process of using the conversational recommendation model to recommend movies and TV shows that may be of interest to user a.
[0168] User B and User A are mutual friends on a certain movie viewing platform, and User A often comments and likes the dynamic messages posted by User B. Therefore, User B is the interaction object of User A. Table 1 lists the movie viewing records of User A in the past month, and Table 2 lists the dynamic release records of User B in posting movie reviews or rating works in the past two months.
[0169] Table 1
[0170] Movie Time Title of Work Type of Work 2022.12.01 "Big Trouble XX" comedy 2022.12.15 "Chase" Suspense 2022.12.30 Tomato xxx comedy 2022.12.31 Hello, xxxx comedy
[0171] Table 2
[0172] Release time Title of Work Type of Work 2022.11.01 "xxxx in the countryside" Documentary 2022.11.14 Tomato xx comedy 2022.12.05 《sky》 Science Fiction 2022.12.10 "xxxx troubles" comedy 2022.12.11 "tea" Documentary 2022.12.31 Hello, xxxx comedy
[0173] S401: The conversation recommendation model performs preference mining from the movie-watching records of user a in the past month to obtain the current object preference features of user a, and determines that user a currently prefers to watch comedy-type movies and TV shows;
[0174] S402: The conversation recommendation model obtains the global feedback features of user b's overall feedback on the object preference features based on the dynamic publishing records of user b in the last two months, and determines that the correlation between the media content features of science fiction and documentary films and the object preference features is low;
[0175] S403: The conversation recommendation model integrates the global feedback feature into each film and television work watched by user a, obtains the respective first embedded features, and obtains the corresponding comprehensive content weight based on the first embedded features and their respective content weights;
[0176] S404: Based on the comprehensive content features, the predicted interaction probability between user a and each candidate film and television work is determined, and the predicted interaction probability is used as a screening criterion. The candidate film and television works whose predicted interaction probability meets the set threshold of 70% are recommended to the target object as target film and television works.
[0177] Table 3 lists the predicted interaction probability between each candidate film and television work and user a, and Table 4 lists the recommended movie list finally recommended to user a.
[0178] Table 3
[0179] Title of Work Type of Work Predicting interaction probability "Happy" comedy 72% "The Iron Fist of XXX" comedy 85% "Truant xxxxxx" comedy 85% "spring" Documentary 27% "insect" Documentary 25% 《xxxx Moon》 Science Fiction 67%
[0180] Table 4
[0181] Title of Work Type of Work "Happy" comedy "The Iron Fist of XXX" comedy "Truant xxxxxx" comedy
[0182] Based on the same inventive concept as the above method embodiment, the present application embodiment also provides a conversation recommendation device. Figure 5 As shown, the conversation recommendation device 500 may include:
[0183] The preference mining unit 501 is used to obtain the current object preference characteristics of the target object based on the historical interaction content set generated by the target object in a specified historical period, where the historical interaction content is: multimedia content with which there is interaction behavior with the target object;
[0184] A feedback generating unit 502 is used to obtain global feedback features of each interactive object with respect to the object preference features based on the historical published content sets of each interactive object associated with the target object;
[0185] The feedback fusion unit 503 is used to fuse the media content features of each historical interactive content with the global feedback features to obtain corresponding first embedded features, and obtain corresponding comprehensive content features based on each first embedded feature and its respective content weight;
[0186] The conversation recommendation unit 504 is used to determine the predicted interaction probability between the target object and each candidate media content based on the obtained comprehensive content features, and recommend the candidate media content whose predicted interaction probability meets the set threshold as the target conversation to the target object.
[0187] Optionally, the feedback generation unit 502 is used to
[0188] Based on the preference correlation between the media content features of each historically released content in the historically released content set of each interactive object and the object preference features, the local feedback features of each interactive object for the object preference features are obtained respectively. The interactive object is: an object that has an interactive behavior with the target object;
[0189] Based on each local feedback feature and its respective feedback weight, the global feedback feature of each interacting object with respect to the object preference feature is obtained, and the feedback weight represents: the preference correlation of the corresponding interacting object with respect to the object preference feature.
[0190] Optionally, the feedback generating unit 502 obtains a feedback weight of an interactive object by performing the following operations:
[0191] The proportion of a local feedback feature of an interactive object among the local feedback features of all interactive objects is determined as the corresponding feedback weight.
[0192] Optionally, after respectively obtaining the local feedback features of each interactive object with respect to the object preference features, the feedback generating unit 502 is further configured to:
[0193] Based on the preference correlation between the media content features of each historical interaction content of the target object and the object preference features, the self-feedback features of the target object with respect to the object preference features are obtained;
[0194] Based on the weighted sum of each local feedback feature and its respective feedback weight, a comprehensive feedback feature is obtained;
[0195] The comprehensive feedback features are fused with the self-feedback features to obtain the global feedback features of each interacting object for the object preference features.
[0196] Optionally, the feedback generating unit 502 obtains a feedback weight of an interactive object by performing the following operations:
[0197] The proportion of the local feedback features and self-feedback features of an interactive object among the local feedback features and self-feedback features of all interactive objects is determined as the corresponding feedback weight.
[0198] Optionally, after obtaining the corresponding first embedding feature and before determining the predicted interaction probability between the target object and each candidate media content, the feedback fusion unit 503 is further configured to:
[0199] Based on the association relationship between each historical interaction content, the input embedding feature and the output embedding feature of each historical interaction content are obtained respectively. The input embedding feature is generated based on the first embedding feature of other historical interaction content jumping to one historical interaction content, and the output embedding feature is generated based on the first embedding feature of one historical interaction content jumping to other historical interaction content;
[0200] Based on each incoming embedding feature and each outgoing embedding feature, the first embedding features of the corresponding historical interactive content are updated respectively to obtain respective target embedding features, and based on each target embedding feature and the associated content weight, a comprehensive content feature is obtained.
[0201] Optionally, the feedback fusion unit 503 obtains the content weight of each historical interaction content by performing the following operations:
[0202] The position features of each historical interaction content are respectively fused with the respective media content features to obtain the respective second embedding features of each historical interaction content;
[0203] The average embedding feature is obtained by performing a mean operation on each second embedding feature, and based on the average embedding feature and the second embedding feature of the historical interaction content of the last interaction of the target object, weights are assigned to the historical interaction contents at different positions in the historical interaction content set to obtain their respective content weights.
[0204] Optionally, the preference mining unit 501 is used to:
[0205] Extract features of the historical interactive content set generated by the target object within a specified historical period to obtain the media content features of each historical interactive content;
[0206] Preference mining is performed based on the media content characteristics of each historical interactive content to obtain the current object preference characteristics of the target object.
[0207] Optionally, after obtaining the media content features of each historical interactive content, the preference mining unit 501 is further configured to:
[0208] Based on the media content features of each historical interaction content, preference mining is performed with the media content features of the historical interaction content that last interacted with the target object to obtain the current object preference features of the target object.
[0209] For the convenience of description, the above parts are divided into modules (or units) according to their functions and described separately. Of course, when implementing this application, the functions of each module (or unit) can be implemented in the same or multiple software or hardware.
[0210] After introducing the conversation recommendation method and apparatus according to an exemplary embodiment of the present application, next, a computer device according to another exemplary embodiment of the present application is introduced.
[0211] Those skilled in the art will appreciate that various aspects of the present application may be implemented as a system, method or program product. Therefore, various aspects of the present application may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to as "circuit", "module" or "system" herein.
[0212] Based on the same inventive concept as the above method embodiment, the present application embodiment also provides a computer device. In one embodiment, the computer device may be a server, such as Figure 2 In this embodiment, the structure of the computer device 600 is as follows: Figure 6 As shown, it may include at least a memory 601 , a communication module 603 , and at least one processor 602 .
[0213] The memory 601 is used to store computer programs executed by the processor 602. The memory 601 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system and programs required for running the instant messaging function, etc.; the data storage area may store various instant messaging information and operation instruction sets, etc.
[0214] The memory 601 may be a volatile memory, such as a random-access memory (RAM); the memory 601 may also be a non-volatile memory, such as a read-only memory, a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD); or the memory 601 may be any other medium that can be used to carry or store a desired computer program in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 601 may be a combination of the above memories.
[0215] The processor 602 may include one or more central processing units (CPU) or a digital processing unit, etc. The processor 602 is configured to implement the above-mentioned conversation recommendation method when calling the computer program stored in the memory 601 .
[0216] The communication module 603 is used to communicate with terminal devices and other servers.
[0217] The specific connection medium between the memory 601, the communication module 603 and the processor 602 is not limited in the embodiment of the present application. Figure 6 In the embodiment, the memory 601 and the processor 602 are connected via a bus 604. The bus 604 is connected to the processor 602 via a bus 604. Figure 6 The connections between the other components are only for illustration and are not intended to be limiting. The bus 604 can be divided into an address bus, a data bus, a control bus, etc. For ease of description, Figure 6 The diagram shows that only one thick line is used, but this does not mean that there is only one bus or only one type of bus.
[0218] The memory 601 stores a computer storage medium, and the computer storage medium stores computer executable instructions, and the computer executable instructions are used to implement the conversation recommendation method of the embodiment of the present application. The processor 602 is used to execute the above-mentioned conversation recommendation method, such as Figure 3C shown.
[0219] In another embodiment, the computer device may also be other computer devices, such as Figure 2 The terminal device 210 shown in FIG. 1 is a terminal device 210 shown in FIG. 1 . In this embodiment, the structure of the computer device can be as follows: Figure 7 As shown, it includes: a communication component 710, a memory 720, a display unit 730, a camera 740, a sensor 750, an audio circuit 760, a Bluetooth module 770, a processor 780 and other components.
[0220] The communication component 710 is used to communicate with the server. In some embodiments, a wireless fidelity (WiFi) module may be included. The WiFi module belongs to a short-range wireless transmission technology. The electronic device can help the object to send and receive information through the WiFi module.
[0221] The memory 720 can be used to store software programs and data. The processor 780 executes various functions and data processing of the terminal device 210 by running the software programs or data stored in the memory 720. The memory 720 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage device. The memory 720 stores an operating system that enables the terminal device 110 to run. In the present application, the memory 720 can store an operating system and various application programs, and can also store a computer program for executing the conversation recommendation method of the embodiment of the present application.
[0222] The display unit 730 can also be used to display information input by the object or information provided to the object and a graphical user interface (GUI) of various menus of the terminal device 110. Specifically, the display unit 730 may include a display screen 732 disposed on the front of the terminal device 110. The display screen 732 may be configured in the form of a liquid crystal display, a light emitting diode, etc. The display unit 730 may be used to display a defect detection interface, a model training interface, etc. in the embodiment of the present application.
[0223] The display unit 730 can also be used to receive input digital or character information and generate signal input related to the object setting and function control of the terminal device 210. Specifically, the display unit 730 may include a touch screen 731 arranged on the front of the terminal device 110, which can collect touch operations of objects on or near it, such as clicking a button, dragging a scroll box, etc.
[0224] The touch screen 731 can be covered on the display screen 732, or the touch screen 731 and the display screen 732 can be integrated to realize the input and output functions of the terminal device 210, and the integrated display screen can be referred to as a touch display screen. In this application, the display unit 730 can display the application and the corresponding operation steps.
[0225] The camera 740 can be used to capture static images, and the object can publish the image taken by the camera 740 through the application. The camera 740 can be one or more. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the processor 780 to convert it into a digital image signal.
[0226] The terminal device may further include at least one sensor 750, such as an acceleration sensor 751, a distance sensor 752, a fingerprint sensor 753, and a temperature sensor 754. The terminal device may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, a light sensor, and a motion sensor.
[0227] The audio circuit 760, the speaker 761, and the microphone 762 can provide an audio interface between the object and the terminal device 110. The audio circuit 760 can transmit the electrical signal converted from the received audio data to the speaker 761, which is converted into a sound signal for output. The terminal device 210 can also be configured with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 762 converts the collected sound signal into an electrical signal, which is received by the audio circuit 760 and converted into audio data, and then the audio data is output to the communication component 710 to be sent to, for example, another terminal device 210, or the audio data is output to the memory 720 for further processing.
[0228] The Bluetooth module 770 is used to exchange information with other Bluetooth devices having Bluetooth modules through the Bluetooth protocol. For example, the terminal device can establish a Bluetooth connection with a wearable electronic device (such as a smart watch) that also has a Bluetooth module through the Bluetooth module 770 to exchange data.
[0229] The processor 780 is the control center of the terminal device. It uses various interfaces and lines to connect various parts of the entire terminal. It executes various functions of the terminal device and processes data by running or executing software programs stored in the memory 720 and calling data stored in the memory 720. In some embodiments, the processor 780 may include one or more processing units; the processor 780 may also integrate an application processor and a baseband processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the baseband processor mainly processes wireless communications. It is understandable that the above-mentioned baseband processor may not be integrated into the processor 780. In the present application, the processor 780 can run the operating system, application programs, user interface display and touch response, as well as the conversation recommendation method of the embodiment of the present application. In addition, the processor 780 is coupled to the display unit 730.
[0230] In some possible implementations, various aspects of the conversation recommendation method provided by the present application may also be implemented in the form of a program product, which includes a computer program. When the program product is run on a computer device, the computer program is used to enable the computer device to execute the steps of the conversation recommendation method according to various exemplary implementations of the present application described above in this specification. For example, the computer device may execute the following steps: Figure 3A Follow the steps shown in .
[0231] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0232] The program product of the embodiment of the present application may adopt a portable compact disk read-only memory (CD-ROM) and include a computer program, and can be run on an electronic device. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium containing or storing a program, which can be used by or in combination with a command execution system, apparatus, or device.
[0233] A readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, wherein a readable computer program is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with a command execution system, apparatus, or device.
[0234] The computer program embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0235] The computer program for performing the operations of the present application may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The computer program may be executed entirely on the user's computer device, partially on the user's computer device, as a separate software package, partially on the user's computer device and partially on a remote computer device, or entirely on the remote computer device. In the case of a remote computer device, the remote computer device may be connected to the user's computer device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer device (e.g., via the Internet using an Internet service provider).
[0236] It should be noted that, although several units or subunits of the device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more units described above can be embodied in one unit. Conversely, the features and functions of one unit described above can be further divided into multiple units to be embodied.
[0237] In addition, although the operations of the method of the present application are described in a specific order in the drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.
[0238] 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 on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain a computer-usable computer program.
[0239] 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 commands. These computer program commands 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 commands executed by the processor of the computer or other programmable data processing device generate commands 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.
[0240] These computer program commands 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 commands stored in the computer readable memory produce an article of manufacture comprising a command device, the command device implementing the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0241] These computer program commands can also be loaded onto a computer or other programmable data processing device so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the commands executed on the computer or other programmable device provide the 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.
[0242] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.
[0243] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A conversation recommendation method, characterized in that: include: Based on a set of historical interaction contents generated by a target object within a specified historical period, obtaining a current object preference feature of the target object, wherein the historical interaction contents are multimedia contents with which the target object has an interaction behavior; Based on the respective historical published content sets of each interactive object associated with the target object, obtaining the global feedback features of each interactive object with respect to the object preference features; Respectively fusing the media content features of each of the historical interactive contents with the global feedback features to obtain corresponding first embedding features, and obtaining corresponding comprehensive content features based on each of the first embedding features and their respective content weights; Based on the obtained comprehensive content features, the predicted interaction probability between the target object and each candidate media content is determined respectively, and the candidate media content whose predicted interaction probability meets a set threshold is recommended to the target object as a target session.
2. The method according to claim 1, characterized in that The obtaining of the global feedback features of each interactive object with respect to the object preference features based on the respective historical published content sets of each interactive object associated with the target object includes: Based on the preference correlation between the media content features of each historically published content in the historically published content set of each interactive object and the object preference feature, respectively obtaining the local feedback features of each interactive object for the object preference feature, wherein the interactive object is an object that has an interactive behavior with the target object; Based on each local feedback feature and its respective feedback weight, a global feedback feature of each interactive object with respect to the object preference feature is obtained, and the feedback weight represents: the preference correlation of the corresponding interactive object with respect to the object preference feature.
3. The method according to claim 2, characterized in that The feedback weight of the interaction object is obtained by performing the following operations: The proportion of the local feedback feature of one of the interactive objects among the local feedback features of all the interactive objects is determined as the corresponding feedback weight.
4. The method according to claim 2, characterized in that After respectively obtaining the local feedback features of each of the interactive objects with respect to the object preference features, the method further includes: Based on the preference correlation between the media content features of each of the historical interaction contents of the target object and the object preference features, obtaining the self-feedback features of the target object with respect to the object preference features; Based on the weighted sum of each local feedback feature and its respective feedback weight, a comprehensive feedback feature is obtained; The comprehensive feedback feature is fused with the self-feedback feature to obtain a global feedback feature of each of the interactive objects with respect to the object preference feature.
5. The method according to claim 4, characterized in that The feedback weight of the interaction object is obtained by performing the following operations: The proportion of the local feedback feature and the self-feedback feature of one of the interactive objects among the local feedback features and the self-feedback features of each of the interactive objects is determined as the corresponding feedback weight.
6. The method according to claim 1, characterized in that After obtaining the corresponding first embedding feature and before determining the predicted interaction probability between the target object and each candidate media content, the method further includes: Based on the association relationship between the historical interaction contents, the respective in-embedded features and out-embedded features of the historical interaction contents are obtained, wherein the in-embedded feature is generated based on the first embedded feature of other historical interaction contents jumping to one of the historical interaction contents, and the out-embedded feature is generated based on the first embedded feature of one of the historical interaction contents jumping to other historical interaction contents; Based on each of the input embedding features and each of the output embedding features, the first embedding features of the corresponding historical interactive content are updated respectively to obtain respective target embedding features, and based on each of the target embedding features and the associated content weights, the comprehensive content feature is obtained.
7. The method according to claim 1 or 6, characterized in that The content weight of each of the historical interaction contents is obtained by performing the following operations: Respectively fusing the position features of each of the historical interaction contents with the respective media content features to obtain respective second embedding features of each of the historical interaction contents; A mean operation is performed on each of the second embedded features to obtain an average embedded feature, and based on the average embedded feature and the second embedded feature of the historical interaction content of the last interaction of the target object, weights are respectively assigned to the historical interaction contents at different positions in the historical interaction content set to obtain respective content weights.
8. The method according to any one of claims 1 to 6, characterized in that: Based on the historical interaction content set generated by the target object within a specified historical period, the current object preference feature of the target object is obtained, including: Extracting features of a set of historical interactive contents generated by the target object within a specified historical period to obtain media content features of each of the historical interactive contents; Preference mining is performed based on the media content features of each of the historical interactive contents to obtain the current object preference features of the target object.
9. The method according to claim 8, characterized in that After obtaining the media content features of each of the historical interactive contents, the method further includes: Based on the media content features of each of the historical interaction contents, preference mining is performed with the media content features of the historical interaction contents that last interacted with the target object to obtain the current object preference features of the target object.
10. A conversation recommendation device, characterized in that: include: A preference mining unit is used to obtain the current object preference characteristics of the target object based on the historical interaction content set generated by the target object in a specified historical period, wherein the historical interaction content is: multimedia content with which there is interaction behavior with the target object; A feedback generating unit, configured to obtain global feedback features of each interactive object with respect to the object preference features based on the respective historical published content sets of each interactive object associated with the target object; A feedback fusion unit, configured to fuse the media content features of each of the historical interactive contents with the global feedback features to obtain corresponding first embedded features, and obtain corresponding comprehensive content features based on each of the first embedded features and their respective content weights; The session recommendation unit is used to determine the predicted interaction probability between the target object and each candidate media content based on the obtained comprehensive content features, and recommend the candidate media content whose predicted interaction probability meets a set threshold to the target object as a target session.
11. The device according to claim 10, characterized in that The feedback generation unit is used to Based on the preference correlation between the media content features of each historically published content in the historically published content set of each interactive object and the object preference feature, respectively obtaining the local feedback features of each interactive object for the object preference feature, wherein the interactive object is an object that has an interactive behavior with the target object; Based on each local feedback feature and its respective feedback weight, a global feedback feature of each interactive object with respect to the object preference feature is obtained, and the feedback weight represents: the preference correlation of the corresponding interactive object with respect to the object preference feature.
12. The device according to claim 11, characterized in that The feedback generating unit obtains a feedback weight of the interactive object by performing the following operations: The proportion of the local feedback feature of one of the interactive objects among the local feedback features of all the interactive objects is determined as the corresponding feedback weight.
13. A computer device, characterized in that: It comprises a processor and a memory, wherein the memory stores program codes, and when the program codes are executed by the processor, the processor executes the steps of the method according to any one of claims 1 to 9.
14. A computer-readable storage medium, characterized in that: It includes program codes. When the program codes are run on a computer device, the program codes are used to make the computer device execute the steps of the method according to any one of claims 1 to 9.
15. A computer program product, characterized in that The method comprises computer instructions, which, when executed by a processor, implement the steps of the method according to any one of claims 1 to 9.
