Recommendation method, device, electronic device and storage medium

By obtaining and adjusting user characteristic information and historical entity characteristic information, the current recommended questioning entity is determined, which solves the problem of existing technology being unable to gain timely insights into user interests and preferences, and improves the accuracy of recommendations and user experience.

CN113886679BActive Publication Date: 2024-09-20BEIJING DAJIA INTERNET INFORMATION TECH CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111032270.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-03
Publication Date
2024-09-20
Estimated Expiration
2041-09-03

AI Technical Summary

Technical Problem

Existing conversational recommendation technology cannot provide timely insights into users' current interests and preferences, resulting in unsatisfactory recommendation results and reduced user experience.

Method used

By obtaining the user characteristic information of the target user, the historical entity characteristic information of historical users and the preset candidate entity set, the current recommended questioning entities are determined, and real-time adjustments are made based on the feedback information, including deleting entities that do not meet user preferences and adding entities with large differences. candidates until a user interest match is reached.

Benefits of technology

It achieves timely insights into users' current interests and preferences, improves the accuracy of recommendations and user experience, and completes recommendation tasks in as few rounds as possible.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113886679B
    Figure CN113886679B
Patent Text Reader

Abstract

The present disclosure relates to a recommendation method, device, electronic device and storage medium. The method includes: obtaining user feature information of a target user, entity feature information of historical entities corresponding to historical users and a preset candidate entity set, determining the current recommended question entity according to the user feature information, entity feature information and the preset candidate entity set, the current recommended question entity including a preset candidate recommendation object or a preset candidate attribute, obtaining feedback information of the recommendation information corresponding to the current recommended question entity, and determining that the current recommended question entity is successfully recommended when the current recommended question entity is a preset candidate recommendation object and the feedback information includes positive feedback information on the current recommended question entity. The target user feature information can provide timely insight into the user's current interest preferences and improve the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of Internet technology, and in particular to a recommendation method, device, electronic device and storage medium. Background Art

[0002] With the development of random computer network technology, the work of conversational recommendation has attracted more and more attention and has been vigorously developed.

[0003] In the related technology, most of the existing conversational recommendation technologies consider the hot start situation, that is, they assume that there is enough user historical data and infer the user's interest preferences based on this. However, this method that only considers user historical data only makes predictions based on history and cannot provide insight into the user's current interest preferences at any time, which ultimately leads to unsatisfactory recommendation results and reduces the user experience. Summary of the invention

[0004] The present disclosure provides a recommendation method, device, electronic device and storage medium. The technical solution of the present disclosure is as follows:

[0005] According to a first aspect of an embodiment of the present disclosure, a recommendation method is provided, including:

[0006] Obtain user feature information of a target user, entity feature information of historical entities corresponding to historical users, and a preset candidate entity set; wherein the historical entities are recommendation objects and attributes of recommendation objects; the preset candidate entity set includes a preset candidate recommendation object set and a preset candidate attribute set; the user feature information represents the target user's preference information for each entity; the entity feature information represents the difference information between different recommendation objects corresponding to historical users, or the difference information between different attributes corresponding to historical users; the target user is a user who has used the recommendation system; the preset candidate recommendation object set includes a plurality of preset candidate recommendation objects with representative features; the preset candidate attribute set includes a plurality of preset candidate attributes with representative features;

[0007] Determine the current recommended question entity according to the user feature information, the entity feature information and the preset candidate entity set; the current recommended question entity includes the preset candidate recommendation object or the preset candidate attribute;

[0008] Get feedback information about the recommended information corresponding to the current recommended question entity;

[0009] When the currently recommended question entity is a preset candidate recommendation object, and the feedback information includes positive feedback information on the currently recommended question entity, it is determined that the currently recommended question entity is successfully recommended.

[0010] In some optional embodiments, the method further comprises:

[0011] When the target user is a user who uses the recommendation system for the first time, the user feature information of the target user and the entity feature information of the historical entity corresponding to the historical user are obtained, including:

[0012] Obtaining historical user interaction data; the interaction data includes the historical user's preferred objects and the attributes of the preferred objects;

[0013] Determine historical preference information and entity feature information corresponding to the historical user based on the preference object and the attributes of the preference object;

[0014] Determine the preference information of the target user based on the historical preference information;

[0015] The user characteristic information is obtained according to the preset sampling distribution function and the preference information of the target user.

[0016] In some optional embodiments, the method further comprises:

[0017] When the currently recommended question entity is a preset candidate recommendation object, and the feedback information includes negative feedback information on the currently recommended question entity, the preset candidate recommendation object is deleted from the preset candidate entity set to obtain an updated preset candidate entity set;

[0018] The current recommended question entity for the next round is determined according to the updated preset candidate entity set.

[0019] In some optional embodiments, the method further comprises:

[0020] When the currently recommended question entity is a preset candidate attribute and the feedback information includes positive feedback information on the currently recommended question entity, the preset candidate recommendation object that does not have the currently recommended question entity is deleted from the preset candidate entity set to obtain an updated preset candidate entity set;

[0021] The current recommended question entity for the next round is determined according to the updated preset candidate entity set.

[0022] In some optional embodiments, the method further comprises:

[0023] When the currently recommended question entity is a preset candidate attribute and the feedback information includes negative feedback information on the currently recommended question entity, the preset candidate attribute is deleted from the preset candidate entity set to obtain an updated preset candidate entity set;

[0024] The current recommended question entity for the next round is determined according to the updated preset candidate entity set.

[0025] In some optional embodiments, determining the current recommended question entity for the next round according to the updated preset candidate entity set includes:

[0026] Determine the target user's preference information based on entity feature information and feedback information;

[0027] Obtain updated user feature information according to a preset sampling distribution function and the target user's preference information;

[0028] The current recommended question entity is determined according to the updated user feature information, entity feature information and the updated preset candidate entity set.

[0029] In some optional embodiments, the method further comprises:

[0030] When the number of determinations of the currently recommended question entity reaches a preset number, and the current feedback information includes negative feedback information on the currently recommended question entity, the recommendation operation is stopped; wherein the current feedback information is feedback information of the currently recommended information; the currently recommended information is the recommendation information corresponding to the currently recommended question entity corresponding to the preset number of times.

[0031] In some optional embodiments, the types of two currently recommended question entities corresponding to adjacent times are different.

[0032] In some optional embodiments, determining the target user's preference information according to the entity feature information and the feedback information includes:

[0033] Get historical preference information;

[0034] Determine adjusted feedback information based on the feedback information, entity feature information, historical preference information, and the updated candidate entity set;

[0035] The preference information of the target user is determined based on the entity feature information and the adjusted feedback information.

[0036] In some optional embodiments, obtaining the updated preset candidate entity set includes:

[0037] Determine the candidate recommendation objects to be added based on the current recommendation question entity and feedback information;

[0038] The candidate recommendation objects to be added are added to the preset candidate entity set to obtain an updated preset candidate entity set.

[0039] In some optional embodiments, the candidate recommendation objects to be added are candidate recommendation objects corresponding to the first situation and whose difference from the preset candidate recommendation objects is greater than the preset difference; the first situation is that the current recommended question entity is the preset candidate recommendation object, and the feedback information includes negative feedback information on the current recommended question entity.

[0040] In some optional embodiments, the candidate recommendation object to be added is a candidate recommendation object belonging to a preset candidate attribute corresponding to the second situation; the second situation is that the current recommended question entity is a preset candidate attribute, and the feedback information includes positive feedback information on the current recommended question entity.

[0041] In some optional embodiments, the candidate recommendation object to be added is a candidate recommendation object that does not belong to the preset candidate attribute corresponding to the third situation; the third situation is that the current recommended question entity is the preset candidate attribute, and the feedback information includes negative feedback information on the current recommended question entity.

[0042] According to a second aspect of an embodiment of the present disclosure, a recommendation device is provided, including:

[0043] The information acquisition module is configured to execute the acquisition of user feature information of a target user, entity feature information of historical entities corresponding to historical users, and a preset candidate entity set; wherein the historical entities are recommendation objects and attributes of recommendation objects; the preset candidate entity set includes a preset candidate recommendation object set and a preset candidate attribute set; the user feature information represents the preference information of the target user for each entity; the entity feature information represents the difference information between different recommendation objects corresponding to historical users, or the difference information between different attributes corresponding to historical users; the target user is a user who has used the recommendation system; the preset candidate recommendation object set includes a plurality of preset candidate recommendation objects with representative features; the preset candidate attribute set includes a plurality of preset candidate attributes with representative features;

[0044] A recommended entity determination module is configured to determine a current recommended question entity according to user feature information, entity feature information and a preset candidate entity set; the current recommended question entity includes a preset candidate recommendation object or a preset candidate attribute;

[0045] A feedback information acquisition module, configured to execute the acquisition of feedback information of the recommendation information corresponding to the current recommended question entity;

[0046] The recommendation module is configured to determine that the current recommended question entity is successfully recommended when the current recommended question entity is a preset candidate recommendation object and the feedback information includes positive feedback information on the current recommended question entity.

[0047] In some optional embodiments, the device further includes: when the target user is a user who uses the recommendation system for the first time, the information acquisition module is configured to execute:

[0048] Obtaining historical user interaction data; the interaction data includes the historical user's preferred objects and the attributes of the preferred objects;

[0049] Determine historical preference information and entity feature information corresponding to the historical user based on the preference object and the attributes of the preference object;

[0050] Determine the preference information of the target user based on the historical preference information;

[0051] The user characteristic information is obtained according to the preset sampling distribution function and the preference information of the target user.

[0052] In some optional embodiments, the recommendation module is configured to execute, when the currently recommended questioning entity is a preset candidate recommendation object and the feedback information includes negative feedback information on the currently recommended questioning entity, deleting the preset candidate recommendation object from the preset candidate entity set to obtain an updated preset candidate entity set;

[0053] The recommended entity determination module is configured to determine the current recommended question entity of the next round according to the updated preset candidate entity set.

[0054] In some optional embodiments, the recommendation module is configured to execute, when the currently recommended question entity is a preset candidate attribute and the feedback information includes positive feedback information on the currently recommended question entity, deleting the preset candidate recommendation object that does not have the currently recommended question entity from the preset candidate entity set to obtain an updated preset candidate entity set;

[0055] The recommended entity determination module is configured to determine the current recommended question entity of the next round according to the updated preset candidate entity set.

[0056] In some optional embodiments, the recommendation module is configured to execute, when the currently recommended questioning entity is a preset candidate attribute and the feedback information includes negative feedback information on the currently recommended questioning entity, deleting the preset candidate attribute from the preset candidate entity set to obtain an updated preset candidate entity set;

[0057] The recommended entity determination module is configured to determine the current recommended question entity of the next round according to the updated preset candidate entity set.

[0058] In some optional embodiments, the recommendation entity determination module is configured to execute:

[0059] Determine the target user's preference information based on entity feature information and feedback information;

[0060] Obtain updated user feature information according to a preset sampling distribution function and the target user's preference information;

[0061] The current recommended question entity is determined according to the updated user feature information, entity feature information and the updated preset candidate entity set.

[0062] In some optional embodiments, the device further comprises:

[0063] The recommendation stopping module is configured to stop the recommendation operation when the number of determinations of the current recommended question entity reaches a preset number and the current feedback information contains negative feedback information on the current recommended question entity; wherein the current feedback information is the feedback information of the current recommendation information; the current recommendation information is the recommendation information corresponding to the current recommended question entity corresponding to the preset number of times.

[0064] In some optional embodiments, the types of two currently recommended question entities corresponding to adjacent times are different.

[0065] In some optional embodiments, the recommendation entity determination module is configured to execute:

[0066] Get historical preference information;

[0067] Determine adjusted feedback information based on the feedback information, entity feature information, historical preference information, and the updated candidate entity set;

[0068] The preference information of the target user is determined based on the entity feature information and the adjusted feedback information.

[0069] In some optional embodiments, the recommendation module is configured to execute:

[0070] Determine the candidate recommendation objects to be added based on the current recommendation question entity and feedback information;

[0071] The candidate recommendation objects to be added are added to the preset candidate entity set to obtain an updated preset candidate entity set.

[0072] In some optional embodiments, the candidate recommendation objects to be added are candidate recommendation objects corresponding to the first situation and whose difference from the preset candidate recommendation objects is greater than the preset difference; the first situation is that the current recommended question entity is the preset candidate recommendation object, and the feedback information includes negative feedback information on the current recommended question entity.

[0073] In some optional embodiments, the candidate recommendation object to be added is a candidate recommendation object belonging to a preset candidate attribute corresponding to the second situation; the second situation is that the current recommended question entity is a preset candidate attribute, and the feedback information includes positive feedback information on the current recommended question entity.

[0074] In some optional embodiments, the candidate recommendation object to be added is a candidate recommendation object that does not belong to the preset candidate attribute corresponding to the third situation; the third situation is that the current recommended question entity is the preset candidate attribute, and the feedback information includes negative feedback information on the current recommended question entity.

[0075] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute instructions to implement a method as described in any one of the first aspects above.

[0076] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any one of the methods in the first aspect of the embodiment of the present disclosure.

[0077] According to the fifth aspect of an embodiment of the present disclosure, a computer program product is provided, the computer program product comprising a computer program, the computer program being stored in a readable storage medium, at least one processor of a computer device reading and executing the computer program from the readable storage medium, so that the computer device performs any one of the methods in the first aspect of the embodiment of the present disclosure.

[0078] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0079] Obtain user feature information of a target user, entity feature information of historical entities corresponding to historical users, and a preset candidate entity set, wherein historical entities are recommendation objects and attributes of recommendation objects, the preset candidate entity set includes a preset candidate recommendation object set and a preset candidate attribute set, the user feature information represents the preference information of the target user for each entity, the entity feature information represents the difference information between different recommendation objects corresponding to historical users, or the difference information between different attributes corresponding to historical users, the target user is a user who has used the recommendation system, the preset candidate recommendation object set includes a plurality of preset candidate recommendation objects with representative features, the preset candidate attribute set includes a plurality of preset candidate attributes with representative features, the current recommended question entity is determined according to the user feature information, the entity feature information, and the preset candidate entity set, the current recommended question entity includes a preset candidate recommendation object or a preset candidate attribute, obtain feedback information of the recommendation information corresponding to the current recommended question entity, when the current recommended question entity is a preset candidate recommendation object, and the feedback information includes positive feedback information on the current recommended question entity, determine that the current recommended question entity is successfully recommended, and the target user feature information can be used to timely gain insight into the user's current interests and preferences, thereby improving the user's usage experience. At the same time, the recommended objects and attributes can be selected to maximize the cumulative benefits over a period of time, so as to successfully find user interests and complete the recommendation task in as few recommendation rounds as possible.

[0080] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0081] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0082] Figure 1 is a schematic diagram of an application environment according to an exemplary embodiment;

[0083] Figure 2 is a flow chart showing a recommendation method according to an exemplary embodiment;

[0084] Figure 3 is a flow chart showing a method for determining user characteristic information and entity characteristic information of a target user according to an exemplary embodiment;

[0085] Figure 4 is a flow chart showing a recommendation method according to an exemplary embodiment;

[0086] Figure 5 is a flow chart showing a method for determining a current recommended question entity of a current round according to an exemplary embodiment;

[0087] Figure 6 is a flow chart showing a method for determining preference information of a target user according to an exemplary embodiment;

[0088] Figure 7 is a block diagram of a recommendation device according to an exemplary embodiment;

[0089] Figure 8 It is a block diagram of an electronic device for recommendation according to an exemplary embodiment. DETAILED DESCRIPTION

[0090] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0091] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar first objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0092] See also Figure 1 , Figure 1 is a schematic diagram of an application environment of a recommendation method according to an exemplary embodiment. Figure 1 As shown, the application environment may include a client 01 and a server 02 .

[0093] In an optional embodiment, the client 01 may be a client that provides the server 02 with feedback information of the recommendation information corresponding to the currently recommended question entity, and when the server 02 determines that the currently recommended question entity is a preset candidate recommendation object and the feedback information includes positive feedback information on the currently recommended question entity, the client 01 receives the currently recommended question entity recommended by the server 02 and displays it on the interface of the client 01. The client 01 may include but is not limited to electronic devices such as smart phones, desktop computers, tablet computers, laptops, smart speakers, digital assistants, augmented reality (AR) / virtual reality (VR) devices, smart wearable devices, etc. It may also be software running on the above electronic devices, such as applications, applets, etc. Optionally, the operating system running on the electronic device may include but is not limited to Android, IOS, Linux, Windows, Unix, etc.

[0094] In an optional embodiment, the server 02 may be configured to obtain user feature information of the target user, entity feature information of historical entities corresponding to the historical user, and a preset candidate entity set when the target user uses the server 02 (carrying the recommendation system), wherein the historical entity is a recommendation object and an attribute of the recommendation object, the preset candidate entity set includes a preset candidate recommendation object set and a preset candidate attribute set, the user feature information represents the target user's preference information for each entity, the entity feature information represents the difference information between different recommendation objects corresponding to the historical user, or the difference information between different attributes corresponding to the historical user, the target user is a user who has used the recommendation system, the preset candidate recommendation object set includes a plurality of preset candidate recommendation objects with representative features, the preset candidate attribute set includes a plurality of preset candidate attributes with representative features, the current recommended question entity is determined according to the user feature information, the entity feature information, and the preset candidate entity set, the current recommended question entity includes the preset candidate recommendation object or the preset candidate attribute, feedback information of the recommendation information corresponding to the current recommended question entity is obtained, and when the current recommended question entity is the preset candidate recommendation object and the feedback information includes positive feedback information on the current recommended question entity, it is determined that the current recommended question entity is successfully recommended. Optionally, server 02 may include an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or 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, CDN (Content Delivery Network), as well as big data and artificial intelligence platforms.

[0095] Optionally, the client 01 and server 02 may be connected via a wired link or a wireless link, and the connection method depends on the actual application scenario.

[0096] In addition, it should be noted that Figure 1 What is shown is only one application environment of the recommendation method provided by the present disclosure. In actual applications, other application environments may also be included. For example, in actual applications, there may only be a server carrying the recommendation system because the embodiment may be implemented by an application on the server.

[0097] Figure 2 is a flowchart of a recommendation method according to an exemplary embodiment. Figure 2 As shown, the recommended method can be applied to the server or the client, and includes the following steps:

[0098] In step S201, the user feature information of the target user, the entity feature information of the historical entities corresponding to the historical users, and the preset candidate entity set are obtained; wherein the historical entities are the recommended objects and the attributes of the recommended objects; the preset candidate entity set includes a preset candidate recommended object set and a preset candidate attribute set; the user feature information represents the preference information of the target user for each entity; the entity feature information represents the difference information between different recommended objects corresponding to the historical users, or the difference information between different attributes corresponding to the historical users; the target user is a user who has used the recommendation system; the preset candidate recommended object set includes a plurality of preset candidate recommended objects with representative features; the preset candidate attribute set includes a plurality of preset candidate attributes with representative features.

[0099] In the embodiment of the present disclosure, the target user may be a user who initially uses the recommendation system, or may not be a user who first uses the recommendation system. The above-mentioned recommendation system may be hosted on a server, and the following content will be described with the server as the execution subject. Other devices may refer to the execution process of the server, which will not be repeated here.

[0100] In the embodiment of the present disclosure, the historical entity in step S201 or the preset candidate entity set in the preset candidate entity set is related to the recommendation system carried by the server. Optionally, the attribute is used to characterize the type, style and / or attribution of the recommended object.

[0101] For example, the recommendation system carried by the server is a recommendation system that provides recommendations for music applications on terminal devices. When the historical entity is a recommendation object, the recommendation object can be any song, such as "Dongfeng Po", "Qilixiang", "Juhuatai", etc. When the historical entity is an attribute, the attribute can be any attribute of any song, such as "ancient style song", "pop music", "rap", "team song", "single song", "foreign singer", "domestic singer", etc.

[0102] For another example, the recommendation system carried by the server is a recommendation system that provides recommendations for shopping applications on terminal devices. When the historical entity is a recommendation object, the recommendation object can be any item, such as "XX brand XX logo dress", "XX brand XX logo badminton racket", "XX book named XX published by XX publishing house", etc. When the historical entity is an attribute, the attribute can be any attribute of any item, such as "sports", "light luxury", "high cost performance", "well-known brand", etc.

[0103] Of course, if the recommendation system carried by the server is an indiscriminate recommendation system, when the historical entity is the recommendation object, the recommendation object can be any thing, including the song and item mentioned above, and when the historical entity is an attribute, the attribute can be any attribute of any thing.

[0104] For the sake of ease of explanation, the following will take the recommendation system carried by the server as an example to provide recommendations for music applications on terminal devices. The recommendation system that provides services for other applications can be explained with reference to the recommendation system that provides recommendations for music applications on terminal devices, and will not be repeated below.

[0105] In an optional embodiment, the server may directly obtain the user feature information of the target user, the entity feature information of the historical entities corresponding to the historical users, and the preset candidate entity set, regardless of whether the target user is a first-time user of the recommendation system. The user feature information of the target user may be preset, and the entity feature information of the historical entities corresponding to the historical users may also be preset by the technical staff with reference to the data of the historical users. The preset candidate entity set may be composed of a preset candidate recommendation object set and a preset candidate attribute set, wherein the preset candidate recommendation objects and preset candidate attributes in the preset candidate recommendation object set are also preset. In other words, the three pieces of information above can all be initialized based on the preset information.

[0106] In the previous paragraph, the user feature information of the target user and the entity feature information of the historical entities corresponding to the historical users are preset by the technicians themselves, without any scientific and reliable analysis results based on big data. Therefore, the following situation may occur in the subsequent recommendation process: because of the inaccuracy and unscientificity of the user feature information and entity feature information of the target user preset in the early stage, even if a lot of time and computing power are spent, the final recommended results are not preferred by the target users, especially not by new users, and may even result in the number of recommendations exceeding the preset maximum number before there is a recommended object.

[0107] Based on this, in an optional embodiment, the server can obtain some information based on historical user interaction data and use the information in the recommendation process.

[0108] In an optional embodiment, the target user may not be a first-time user of the recommendation system, or the target user may be a user who has used the recommendation system before. On this basis, the above-mentioned preset candidate recommendation object set may include multiple preset candidate recommendation objects with representative characteristics, and the preset candidate attribute set may include multiple preset candidate attributes with representative characteristics.

[0109] For example, the recommendation system carried by the server is a recommendation system that provides recommendations for music applications on terminal devices. The preset candidate recommendation objects with multiple specific representative characteristics (frequently played) included in the above-mentioned preset candidate recommendation object set can be "Song 1", "Song 2" and "Song 3" with specific representative characteristics of singer A; "Song 4", "Song 5" and "Song 6" with representative characteristics of singer B; "Song 7", "Song 8" and "Song 9" ... "Song P" with representative characteristics of singer C. The preset candidate attributes with multiple representative characteristics included in the above-mentioned preset candidate attribute set can be "Attribute 1", "Attribute 2", "Attribute 3", "Attribute 4" and "Attribute 5" ... "Attribute Q" with representative characteristics (such as attributes of songs that are frequently played). This is because when the target user is a user who has used the recommendation system, the recommendation system can contain the historical record of the target user. Therefore, the preset candidate recommendation object set in the preset candidate entity set can include the recommendation objects that the target user previously preferred. In addition, in order to adapt to the increasing preferences of the target objects, other recommended objects can be added to the preset candidate entity set, thereby forming a preset candidate recommendation object with multiple specific representative features.

[0110] Similarly, the preset candidate attribute set in the preset candidate entity set may include the attributes that the target user previously preferred. In addition, in order to adapt to the increasing preferences of the target object, other attributes may be added to the preset candidate entity set, thereby forming a plurality of preset candidate attributes with representative characteristics. Optionally, representative characteristics may refer to the target user's previous preference value for a certain recommended object being greater than or equal to the preset preference value, and / or the non-target user's previous preference value for a certain attribute being greater than or equal to the preset preference value.

[0111] In the disclosed embodiment, before step S201, the server may first determine the user identification of the target user, and based on the user identification, determine whether the target user is a first-time user of the recommendation system, and decide how to obtain the user feature information of the target user and the entity feature information of the historical entity corresponding to the historical user according to the result of the determination.

[0112] Optionally, the above-mentioned user identifier may be an identifier of a user device, a user account, etc.

[0113] Optionally, the user's account may be one or more of the user's nickname, the user's registered email address, and the user's mobile phone number.

[0114] When the target users are first-time users of the recommendation system, Figure 3 is a flow chart showing a method for determining user characteristic information and entity characteristic information of a target user according to an exemplary embodiment. Figure 3 As shown, the following steps are included:

[0115] In step S301, the interaction data of historical users is obtained; the interaction data includes the preferred objects of the historical users and the attributes of the preferred objects.

[0116] In the disclosed embodiment, the above-mentioned interaction data may be obtained from the historical data of the historical users of the music application, or may be obtained from the historical data of the historical users of other music applications.

[0117] Optionally, the above interaction data can be sorted when it is obtained, that is, the interaction data obtained includes the preference objects of historical users and the attributes of the preference objects. For example, suppose one of the interaction data is "Dongfeng Po-Jay Chou, Chinese style, Hong Kong and Taiwan singers...", where "Dongfeng Po" is the preference object of the historical user in the interaction data, and "Jay Chou, Chinese style, Hong Kong and Taiwan singers..." are multiple attributes of the preference object.

[0118] Optionally, when acquiring the above interaction data, only the preference objects of the historical users are acquired, and the attributes of the preference objects need to be determined based on the attributes of the preference objects of the historical users, and then the attributes of the preference objects are added to the interaction data. Optionally, the above determination of the attributes of the preference objects based on the attributes of the preference objects of the historical users can be determined manually or by a device.

[0119] In step S303, historical preference information and entity feature information corresponding to the historical user are determined based on the preference object and the attributes of the preference object.

[0120] In an optional embodiment, a factorization machine (FM) model can be trained based on the preference object and the attributes of the preference object to obtain the historical preference information and entity feature information X corresponding to the historical user. a .

[0121] Among them, the historical preference information corresponding to the historical user refers to the historical preference information u corresponding to each historical user i Optionally, when acquiring the interaction data, it is also necessary to acquire the identifier of the historical user corresponding to the interaction data, and determine the historical preference information u corresponding to each historical user based on the identifiers of different historical users. i .

[0122] Among them, the entity feature information X aThe difference information between different recommended objects corresponding to historical users or the difference information between different attributes corresponding to historical users may also represent the correlation between different recommended objects or the correlation between different attributes.

[0123] In the embodiment of the present disclosure, the historical preference information u corresponding to each historical user is used. i and entity feature information X a The product of indicates that the goal of training the decomposition machine is: for each historical user, the preferred recommended objects and preferred attributes can get relatively high scores, that is, the ranking of each historical user's preferred recommended objects and preferred attributes can be higher than the ranking of non-preferred recommended objects and non-preferred attributes. From the above description, it can be seen that all the preferred recommended objects and attributes of the preferred recommended objects are trained on the same embedding space, that is, joint training is performed.

[0124] Optionally, the historical preference information and entity feature information X corresponding to the historical user can be determined based on the information of the preferred object and the attributes of the preferred object based on the principal component analysis method, deep&wide model, word2vec, BERT based on recurrent neural network, GPT and other models. a .

[0125] In step S305, preference information of the target user is determined based on the historical preference information.

[0126] As mentioned above, the interaction data of historical users provides the data basis for the subsequent process to prevent the inaccuracy and unscientificity of the user feature information and entity feature information of the target user preset in the early stage from resulting in the waste of a lot of time and computing power. Therefore, the preference information u of the target user can be determined based on the historical preference information u .

[0127] In an optional embodiment, the historical preference information u corresponding to each historical user may be i The average value of initializes the target user's preference information u u Specifically, it can be shown in formula (1) based on the historical preference information u corresponding to each historical user i The average value of the historical preference information u init , and then use the average historical preference information u init Initialize the target user's preference information u u , we can get the target user's preference information u u .

[0128]

[0129] In another embodiment, the historical preference information u corresponding to each historical user may also be used. i Determine several historical preference information sets, the historical preference information in each historical preference information set is similar, and combine the historical preference information u in several historical preference information sets i The historical preference information set with the largest amount of data is determined as the target historical preference information set. i The average value determines the target user's preference information u u .

[0130] In step S307, user characteristic information is obtained using a preset sampling distribution function and the target user's preference information.

[0131] Optionally, the preset sampling distribution function may be a multi-dimensional Gaussian distribution function adopted by the multi-armed bandit algorithm, using the preset sampling distribution function and the target user's preference information u u Get user feature information This is because user feature information Also follows the Gaussian distribution, the target user’s preference information u u represents the estimated expectation of user embedding, the covariance matrix represents the uncertainty of user feature information, is the inverse covariance matrix of the multi-dimensional Gaussian distribution function used by the multi-armed bandit algorithm, and l is the hyperparameter for controlling uncertainty in the distribution function of the multi-armed bandit algorithm. The multi-armed bandit algorithm mainly includes the Thompson sampling algorithm and the upper confidence bound algorithm. In Thompson sampling, sampling is a key step in achieving exploration-exploitation balance. On the one hand, using the mean u u To control the expectation of the sampling results, in order to take advantage of the user's currently known preferences. On the other hand, using the covariance matrix Modeling the uncertainty of estimating user preferences determines how the content explores the user's potential unknown preferences. In the upper confidence bound algorithm, we directly use the covariance matrix and entity feature information X a To calculate the confidence interval of the user's preference for the current entity, the upper bound of the confidence interval is used to estimate the user's preference each time to achieve the balance of exploration and utilization.

[0132] In this way, the user feature information of the target user and the entity feature information can be determined through the historical user interaction data, laying a scientific and accurate foundation for initializing the subsequent key information.

[0133] In the embodiment of the present disclosure, the user characteristic information of the target user is determined and entity feature information X aThe recommendation steps implemented in steps S301-S307 and steps S201-S207 can be implemented by the same server or two different servers. Even more, the server that determines the user feature information and entity feature information of the target user can be offline, and the recommendation server that implements steps S201-S207 can be online.

[0134] In an optional embodiment, the preset candidate entity set A u It consists of a preset candidate recommendation object set ν and a preset candidate attribute set ρ. The recommendation system based on the music application on the terminal device is used as an example to illustrate that if the target user is a user who uses the recommendation system for the first time, then the preset candidate recommendation object set corresponding to the target user includes every song, and the preset candidate attribute set includes every attribute of every song.

[0135] In an optional embodiment, if the target user is an old user who has used the recommendation system, the following contents may be included when obtaining the user feature information of the target user and the entity feature information of the historical entity corresponding to the historical user: In order to be more targeted, first, the interaction data of the old user may be obtained. In order to be more inclusive and growable, second, the interaction data of historical users (excluding the old user) may be obtained.

[0136] Optionally, the above interaction data can be sorted when it is obtained, that is, the interaction data obtained includes the preference objects of historical users and the attributes of the preference objects. For example, suppose one of the interaction data is "Dongfeng Po-Jay Chou, Chinese style, Hong Kong and Taiwan singers...", where "Dongfeng Po" is the preference object of the historical user in the interaction data, and "Jay Chou, Chinese style, Hong Kong and Taiwan singers..." are multiple attributes of the preference object.

[0137] Optionally, when acquiring the above interaction data, only the preference objects of the historical users and old users are acquired, and the attributes of the preference objects need to be determined based on the attributes of the preference objects of the historical users and old users, and then the attributes of the preference objects are added to the interaction data. Optionally, the above determination of the attributes of the preference objects based on the attributes of the preference objects of the historical users can be determined manually or by a device.

[0138] Subsequently, historical preference information and entity feature information corresponding to the historical user may be determined based on the preference object and the attributes of the preference object.

[0139] In an optional embodiment, a factorization machine (FM) model can be trained based on the preference object and the attributes of the preference object to obtain the historical preference information and entity feature information X corresponding to the historical user and the old user. a .

[0140] The historical preference information corresponding to the historical user and the old user refers to the historical preference information u corresponding to each historical user and the old user. i Optionally, when acquiring the interaction data, it is also necessary to acquire the identifiers of the historical users and the old users corresponding to the interaction data, and determine the historical preference information u corresponding to each historical user and the old user based on the identifiers of different historical users and the old users. i .

[0141] Among them, the entity feature information X a The difference information between different recommended objects corresponding to the historical user and the old user, or the difference information between different attributes corresponding to the historical user and the old user, can also represent the correlation between different recommended objects or the correlation between different attributes.

[0142] In the embodiment of the present disclosure, the historical preference information u corresponding to each historical user and the old user is i and entity feature information X a The product of indicates that the goal of training the decomposition machine is: for each historical user and the old user, the preferred recommended objects and preferred attributes can get relatively high scores, that is, the ranking of each historical user and the old user's preferred recommended objects and preferred attributes can be higher than the ranking of non-preferred recommended objects and non-preferred attributes. From the above description, it can be seen that all the preferred recommended objects and attributes of the preferred recommended objects are trained on the same embedding space, that is, joint training is performed.

[0143] Optionally, the historical preference information and entity feature information X corresponding to the historical user and the old user can be determined based on the information of the preferred object and the attributes of the preferred object based on the principal component analysis method, deep&wide model, word2vec, BERT based on recurrent neural network, GPT and other models. a .

[0144] In the embodiment of the present application, the preference information of the old user can be determined based on the above historical preference information, and the user characteristic information can be obtained by using the preset sampling distribution function and the preference information of the old user. The specific implementation method can refer to the above description and will not be repeated here.

[0145] In step S203, the current recommended question entity is determined according to the user feature information, the entity feature information and the preset candidate entity set, and the current recommended question entity includes the preset candidate recommendation object or the preset candidate attribute.

[0146] In an optional implementation, as shown in formula (2), according to the user feature information Entity feature information X a and the preset candidate entity set A u Determine the current recommended question entity.

[0147]

[0148] In another optional embodiment, the preset candidate attribute set p in the preset candidate entity set includes the preset candidate attribute set p that the target user likes. u and the preset candidate attribute set ρ that the target user likes u The feature information P of the preset candidate attributes that each target user likes i , if the target user is a first-time user of the recommendation system, the preset candidate attribute set ρ that the target user likes u It can be considered as the preset candidate attribute set ρ. Optionally, as shown in formula (3), according to the user feature information Entity feature information X a , preset candidate entity set A u , the preset candidate attribute set ρ that the target user likes u and the feature information P of the preset candidate attributes preferred by each target user i Determine the current recommended question entity.

[0149]

[0150] Optionally, based on formula (3), an upper confidence bound can be added to obtain the user feature information Entity feature information X a , preset candidate entity set A u , the preset candidate attribute set ρ that the target user likes u , the characteristic information P of the preset candidate attributes preferred by each target user i and upper confidence bound Determine the current recommended question entity.

[0151]

[0152] in, It simulates the general preference of the target user u for the current recommended question entity. It is to model the relationship between the current recommended question entity and the attributes that the user likes.

[0153] In the disclosed embodiment, step S203 can be expressed as follows: the server determines the score of the current recommended question entity based on a scoring function, such as formula (3), and the current recommended question entity includes a preset candidate attribute or a preset candidate recommendation object. If the score of the preset candidate attribute is higher than the score of the preset candidate recommendation object, the preset candidate attribute is the current recommended question entity. If the score of the preset candidate recommendation object is higher than the score of the preset candidate attribute, the preset candidate attribute is the current recommended question entity.

[0154] In the disclosed embodiment, an evaluation data D can also be determined based on user feature information, entity feature information and a preset candidate entity set to obtain a preset random number C, which can be a random number between 0 and 1. If the evaluation data D is between 0 and C, the current recommended question entity corresponding to 0 to C (such as the preset candidate attribute) can be selected; if the evaluation data D is between C and 1, the current recommended question entity corresponding to C to 1 (such as the preset candidate recommendation object) can be selected.

[0155] In step S205, feedback information of the recommended information corresponding to the current recommended question entity is obtained.

[0156] In the disclosed embodiment, if the current recommended question entity is a preset candidate recommendation object, it can be determined that the recommendation information corresponding to the current recommended question entity is the description information of the preset candidate recommendation objects ranked in the top k by score, where k is an integer greater than or equal to 1. For example, the description information can be k pieces of information such as "Recommend "Seven Miles of Fragrance" to you?", "Recommend "Dong Feng Po" to you?". Subsequently, feedback information of the recommendation information corresponding to the current recommended question entity is obtained, for example, the feedback information of the description information "Recommend "Seven Miles of Fragrance" to you?" can be "like" and "dislike".

[0157] In the disclosed embodiment, if the current recommended question entity is a preset candidate attribute, the preference of the preset candidate attributes ranked in the top N by score can be determined firstly for the recommended information corresponding to the current recommended question entity. N is an integer greater than or equal to 1. For example, the description information can be N pieces of information such as "Do you like "Chinese style"?", "Do you like "Jay Chou"?", etc. Then, the feedback information of the recommendation information corresponding to the current recommended question entity is obtained, for example, the feedback information of the description information "Do you like "Chinese style"?" can be "yes" and "no".

[0158] In the disclosed embodiment, since corresponding scores are calculated for all recommended objects and attributes, the preset candidate recommended object (or preset candidate attribute) with the highest score can be found for recommendation (or questioning).

[0159] In the disclosed embodiment, although corresponding scores are calculated for all preset candidate recommendation objects and preset candidate attributes, the preset candidate recommendation object (or preset candidate attribute) with the highest score can be found for recommendation (or questioning), but only one object is recommended or only one attribute is asked in one round, which is inefficient. Therefore, in one round, multiple preset candidate recommendation objects can be determined for recommendation or multiple preset candidate attributes can be determined for questioning based on the scores and preset scores.

[0160] In step S207, when the currently recommended question entity is a preset candidate recommendation object and the feedback information includes positive feedback information on the currently recommended question entity, it is determined that the currently recommended question entity is successfully recommended.

[0161] In an optional embodiment, in order to prevent the situation where the recommendation information corresponding to the current recommended question entity is determined multiple times and the feedback information is negative feedback information, the final current recommended question entity cannot be obtained, and the target user loses patience and becomes dissatisfied with the recommendation system, a preset number of times can be set. The preset number refers to the maximum number of times a recommendation process can be recommended. If this number is reached, the recommendation process will end.

[0162] Optionally, when the target user is a user who uses the recommendation system for the first time, when the current recommended question entity is a preset candidate recommendation object and the feedback information includes positive feedback information on the current recommended question entity, it is determined that the current recommended question entity is successfully recommended.

[0163] For example, if the current recommended question entity is a preset candidate recommendation object (such as "Dong Feng Po"), and the feedback information includes positive feedback information (such as "like") on the current recommended question entity, the server can determine that the current recommended object "Dong Feng Po" is successfully recommended.

[0164] The above steps S205-S207 can also be broken down into a process of interaction between the server and the client. When the server determines the current recommended question entity based on user feature information, entity feature information and a preset candidate entity set, it can send recommendation information corresponding to the current recommended question entity to the client and receive feedback information on the recommendation information. When the server determines that the current recommended question entity is a preset candidate recommendation object and the feedback information includes positive feedback information on the current recommended question entity, the current recommended question entity has been recommended to the client. Specifically, the audio resources of "Dong Feng Po" can be sent to the client.

[0165] In another optional embodiment, step S207 can be replaced by S209. In step S209: when the current recommended question entity is a preset candidate recommendation object (for example, "Dong Feng Po"), and the feedback information contains negative feedback information (such as "dislike") on the current recommended question entity, the preset candidate recommendation object is deleted from the preset candidate entity set to obtain an updated preset candidate entity set.

[0166] Although this implementation does not determine the final current recommended question entity, by deleting the preset candidate recommendation object from the preset candidate entity set, an updated preset candidate entity set is obtained, so that the current recommended question entity for the next round can be determined based on the updated preset candidate entity set, which narrows the recommendation scope for subsequent recommendation rounds and speeds up the recommendation efficiency.

[0167] Further, based on the premise that the target user is an old user, as has been explained above, the preset candidate recommendation object set includes multiple preset candidate recommendation objects with representative characteristics, and the preset candidate attribute set includes multiple preset candidate attributes with representative characteristics, that is, the two sets may not contain all preset candidate recommendation objects and attributes. When the current recommended question entity is a preset candidate recommendation object (for example, "Dongfeng Po"), and the feedback information contains negative feedback information (such as "dislike") to the current recommended question entity, the preset candidate recommendation object can be deleted from the preset candidate entity set, and the candidate recommendation object to be added is determined based on the current recommended question entity and the feedback information, and the candidate recommendation object to be added is added to the preset candidate entity set to obtain an updated preset candidate entity set. Specifically, the candidate recommendation object to be added is a candidate recommendation object whose difference from the deleted preset candidate recommendation object is greater than the preset difference.

[0168] This is because, when the feedback information obtained for the preset candidate recommendation object is negative feedback information, it can be considered that the feedback object likes other candidate recommendation objects that are different from the preset candidate recommendation object. Therefore, some candidate recommendation objects that are more different from the preset candidate recommendation objects can be added.

[0169] In another optional embodiment, step S207 can be replaced by S2011. In step S2011: when the current recommended question entity is a preset candidate attribute (for example, "Chinese style"), and the feedback information contains positive feedback information (for example, "yes") on the current recommended question entity, the preset candidate recommendation object that does not have the current recommended question entity is deleted from the preset candidate entity set to obtain an updated preset candidate entity set.

[0170] Although this implementation does not determine the final currently recommended question entity, by deleting the preset candidate recommendation objects that do not have the currently recommended question entity from the preset candidate entity set, an updated preset candidate entity set is obtained, so that the current recommended question entity for the next round can be determined based on the updated preset candidate entity set, thereby narrowing the recommendation scope for subsequent recommendation rounds and speeding up the recommendation efficiency.

[0171] Further, based on the premise that the target user is an old user, the above description has been given that the preset candidate recommendation object set includes multiple preset candidate recommendation objects with representative features, and the preset candidate attribute set includes multiple preset candidate attributes with representative features, that is, the two sets may not contain all recommended objects and attributes. When the current recommended question entity is a preset candidate attribute (for example, "Chinese style"), and the feedback information includes positive feedback information (for example, "yes") to the current recommended question entity, the preset candidate recommendation object that does not have the current recommended question entity (for example, "Chinese style") is deleted from the preset candidate entity set, and the candidate recommendation object to be added is determined based on the current recommended question entity and the feedback information, and the candidate recommendation object to be added is added to the preset candidate entity set to obtain an updated preset candidate entity set. Specifically, the candidate recommendation object to be added includes a candidate recommendation object belonging to the preset candidate attribute (for example, "Chinese style"). This is because, when it is determined that the feedback information of the preset candidate attribute is positive feedback information, it can be confirmed that the target user prefers the preset candidate attribute, and therefore, more candidate recommendation objects belonging to the preset candidate attribute can be added on the original basis.

[0172] In another optional embodiment, step S207 can be replaced by S2013. In step S2013: when the current recommended question entity is a preset candidate attribute (for example, "Chinese style"), and the feedback information contains negative feedback information (for example, "no") on the current recommended question entity, the preset candidate attribute is deleted from the preset candidate entity set to obtain an updated preset candidate entity set.

[0173] Although this implementation does not determine the final currently recommended question entity, by deleting the preset candidate recommendation objects that do not have the currently recommended question entity from the preset candidate entity set, an updated preset candidate entity set is obtained, so that the current recommended question entity for the next round can be determined based on the updated preset candidate entity set, thereby narrowing the recommendation scope for subsequent recommendation rounds and speeding up the recommendation efficiency.

[0174] Further, based on the premise that the target user is an old user, the above description states that the preset candidate recommendation object set includes multiple preset candidate recommendation objects with representative features, and the preset candidate attribute set includes multiple preset candidate attributes with representative features, that is, the two sets may not contain all recommended objects and attributes. When the current recommended question entity is a preset candidate attribute (for example, "Chinese style"), and the feedback information includes negative feedback information (for example, "no") to the current recommended question entity, the preset candidate attribute is deleted from the preset candidate entity set, and the candidate recommendation object to be added is determined based on the current recommended question entity and the feedback information, and the candidate recommendation object to be added is added to the preset candidate entity set to obtain an updated preset candidate entity set. Specifically, the candidate recommendation object to be added does not belong to the candidate recommendation object of the preset candidate attribute, because when it is determined that the feedback information of the preset candidate attribute is negative feedback information, it can be confirmed that the target user has no preference for the preset candidate attribute, and therefore, more candidate recommendation objects that do not belong to the preset candidate attribute can be added on the original basis.

[0175] In summary, since the above-mentioned target users are old users, therefore, in the initial stage of the embodiment of the present application, the preset candidate recommendation object set includes multiple preset candidate recommendation objects with representative characteristics, and the preset candidate attribute set includes multiple preset candidate attributes with representative characteristics. While the preset candidate recommendation objects or preset candidate attributes that do not meet the feedback information are continuously deleted in the later stage, new candidate recommendation objects or candidate attributes can also be added, so that the candidate entities in the updated preset candidate entity set are always updated and iterated, with both in and out. In this way, not only can it be ensured that the candidate entities are always growing with the embodiment, but also the pressure on the device computing power caused by the huge preset candidate entity set each time (especially the first few times) can be reduced.

[0176] In an optional embodiment, a Figure 4 A flowchart of a recommended method is shown, wherein steps S207, S209, S2011 and S2013 are in parallel.

[0177] After step S207, the user's recommendation is satisfied, and the Gaussian distribution parameters of Thompson sampling are updated, and then the current conversation ends, and the candidate entity set may not be updated any more.

[0178] In an optional embodiment, after steps S209, S2011 and S2013, a round of recommendations has been completed and the next round of recommendations begins. When the target user is a user who uses the recommendation system for the first time, the above is the first round of recommendations for the target user t=1, and the following is the second round of recommendations for the target user t=2. When the target user is not a user who uses the recommendation system for the first time, if the above is the first round of recommendations for the target user t=1, the following is the second round of recommendations for the target user t=2.

[0179] Optionally, the embodiment of the present application may determine the current recommended question entity for the next round according to the updated preset candidate entity set. Figure 5 is a flowchart of a method for determining a current recommended question entity of a current round according to an exemplary embodiment. Figure 5 As shown, the following steps are included:

[0180] In step S501, preference information of a target user is determined according to entity feature information and feedback information.

[0181] Figure 6 FIG. 1 is a flow chart showing a method for determining preference information of a target user according to an exemplary embodiment. Figure 6 As shown, the following steps are included:

[0182] In step S601, historical preference information is obtained;

[0183] Optionally, the server obtains the historical preference information u corresponding to each historical user i .

[0184] In step S603, adjusted feedback information is determined based on the feedback information, entity feature information, historical preference information and the updated candidate entity set.

[0185] In the embodiment of the present disclosure, firstly, the inverse covariance matrix B of the multidimensional Gaussian distribution function used by the first round of Thompson sampling or the upper confidence bound algorithm is obtained. u , we can use the inverse covariance matrix B based on the first subformula in formula (5) u and entity feature information X a Get the inverse covariance matrix B of the second round t=2 u . Optionally, the entity feature information X of each round a They are all unchanged.

[0186] Then, feedback information and the updated candidate entity set are obtained. Since the user may give positive feedback on the attributes of the question during the conversation, the server will update the preset candidate attribute set ρ that the target user likes accordingly. uand the preset candidate attribute set ρ that the target user likes u The feature information P of the preset candidate attributes that each target user likes i , so the server can use the feedback information r based on the second sub-formula in formula (5) a , entity feature information X a , the average historical preference information u corresponding to the historical preference information init And the updated candidate entity set includes the preset candidate attribute set ρ that the target user likes u and the preset candidate attribute set ρ that the target user likes u The feature information P of the preset candidate attributes that each target user likes i Determine the adjusted feedback information.

[0187] In this way, the adjusted feedback information obtained can be observed as feedback information r a Subtract the last two deviation terms to eliminate the influence of the deviation introduced in the model on the feedback information and obtain the true feedback value r a '.

[0188]

[0189] In step S605, preference information of the target user is determined according to the entity feature information and the adjusted feedback information.

[0190] In the third sub-formula of the present disclosure, B on the right side of the equation u It is also a parameter in the Thompson Thompson sampling distribution function and is an initial intermediate variable. At this time, the average historical preference information u can be used init Initialize it, and then use the initial intermediate variable f through the third sub-formula of formula (5) u , adjusted feedback information r a ' and entity feature information X a Update and get the intermediate variable f of the second round u .

[0191] Then, through the fourth subformula of formula (5), the inverse covariance matrix B of the second round t=2 can be used u and the intermediate variable B in the second round u Get the target user's preference information, which is the second round of target user's preference information u u .

[0192] In step S503, updated user characteristic information is obtained using a preset sampling distribution function and the target user's preference information.

[0193] Optionally, the preset sampling distribution function may be a multi-dimensional Gaussian distribution function used by a multi-armed bandit algorithm (including the Thompson sampling algorithm and the upper confidence bound algorithm), using the inverse covariance matrix B of the current round in the preset sampling distribution function u and the second round of target user preference information u u Get the second round of user feature information

[0194] In this way, by adjusting various parameters to start the next round of recommendations, the current recommended question entity of the subsequent recommendations will better meet the needs of the target users, while also improving the recommendation efficiency.

[0195] In step S505, the current recommended question entity is determined according to the updated user feature information, entity feature information and the updated preset candidate entity set.

[0196] The specific content of step S505 can refer to the specific content of step S203, including determining the current recommended question entity based on formula (2) or formula (3), except that it needs to be based on the updated user feature information. Entity feature information X a and the updated preset candidate entity set, or / and, the updated candidate entity set includes the preset candidate attribute set ρ that the target user likes u and the preset candidate attribute set ρ that the target user likes u The feature information P of the preset candidate attributes that each target user likes i Determine the current recommended question entity.

[0197] In this way, by adjusting various parameters to start the next round of recommendations, and then obtaining the current recommended question entity for the next round, the recommendation cycle can proceed smoothly and effectively, while also improving the recommendation efficiency.

[0198] Subsequently, the implementation steps of steps S205-S207 may be referred to and continued until in the second round, when the current recommended question entity is a preset candidate recommendation object and the feedback information includes positive feedback information on the current recommended question entity, the current recommended question entity is recommended and the recommendation process is stopped.

[0199] If the result of S209, S2011 or S2013 appears, the third round of recommendation is continued according to the implementation process of the second round, and so on... until in an optional embodiment, if the number of recommendations of the current recommended question entity meets the preset number of times, and the current feedback information contains negative feedback information about the current recommended question entity, the recommendation operation is stopped. The current feedback information is the feedback information of the current recommendation information, and the current recommendation information is the recommendation information corresponding to the current recommended question entity corresponding to the preset number of times.

[0200] In an optional embodiment, in two adjacent current recommended question entities, the corresponding types may be different. For example, the first time is a recommendation of a preset candidate recommendation object, the second time is a recommendation of a preset candidate attribute, and the third time is a recommendation of a preset candidate recommendation object... In this way, giving the user different types of feedback on the current recommended question entity each time can prevent the user from experiencing psychological states such as boredom as much as possible.

[0201] In this way, it can be prevented that the current recommended question entity corresponds to the recommended information for multiple times, and the feedback information is negative feedback information, and the final current recommended question entity cannot be obtained, which makes the target user lose patience and cause dissatisfaction with the recommendation system.

[0202] In summary, based on how to make conversational recommendations for cold-start users, the embodiments of the present disclosure propose and construct a scoring function (scoring model). The scoring model mainly uses the Thompson sampling algorithm to uniformly model the attributes and recommended objects in conversational recommendations, and maintains an exploration-utilization balance when making recommendations for cold-start users. A unified scoring function is used to select recommended objects and attributes, and the scoring model is updated in real time based on user feedback, so that the scoring model can maximize the cumulative benefits over a period of time, thereby achieving the goal of successfully finding user interests and completing recommendation tasks in as few recommendation rounds as possible.

[0203] Figure 7 is a block diagram of a recommendation device according to an exemplary embodiment. Figure 7 The device includes an information acquisition module 701, a recommendation entity determination module 702, a feedback information acquisition module 703 and a recommendation module 704.

[0204] The information acquisition module 701 is configured to execute the acquisition of user feature information of the target user, entity feature information of the historical entities corresponding to the historical users, and a preset candidate entity set; wherein the historical entities are the recommended objects and the attributes of the recommended objects; the preset candidate entity set includes a preset candidate recommended object set and a preset candidate attribute set; the user feature information represents the target user's preference information for each entity; the entity feature information represents the difference information between different recommended objects corresponding to the historical users, or the difference information between different attributes corresponding to the historical users; the target user is a user who has used the recommendation system; the preset candidate recommended object set includes a plurality of preset candidate recommended objects with representative features; the preset candidate attribute set includes a plurality of preset candidate attributes with representative features;

[0205] The recommended entity determination module 702 is configured to determine the current recommended question entity according to the user feature information, the entity feature information and the preset candidate entity set; the current recommended question entity includes the preset candidate recommendation object or the preset candidate attribute;

[0206] Feedback information acquisition module 703, configured to execute to acquire feedback information of recommendation information corresponding to the current recommended question entity;

[0207] The recommendation module 704 is configured to determine that the current recommended question entity is successfully recommended when the current recommended question entity is a preset candidate recommendation object and the feedback information includes positive feedback information on the current recommended question entity.

[0208] In some optional embodiments, the device further includes: when the target user is a user who uses the recommendation system for the first time, the information acquisition module is configured to execute:

[0209] Obtaining historical user interaction data; the interaction data includes the historical user's preferred objects and the attributes of the preferred objects;

[0210] Determine historical preference information and entity feature information corresponding to the historical user based on the preference object and the attributes of the preference object;

[0211] Determine the preference information of the target user based on the historical preference information;

[0212] The user characteristic information is obtained according to the preset sampling distribution function and the preference information of the target user.

[0213] In some optional embodiments, the recommendation module is configured to execute, when the currently recommended questioning entity is a preset candidate recommendation object and the feedback information includes negative feedback information on the currently recommended questioning entity, deleting the preset candidate recommendation object from the preset candidate entity set to obtain an updated preset candidate entity set;

[0214] The recommended entity determination module is configured to determine the current recommended question entity of the next round according to the updated preset candidate entity set.

[0215] In some optional embodiments, the recommendation module is configured to execute, when the currently recommended question entity is a preset candidate attribute and the feedback information includes positive feedback information on the currently recommended question entity, deleting the preset candidate recommendation object that does not have the currently recommended question entity from the preset candidate entity set to obtain an updated preset candidate entity set;

[0216] The recommended entity determination module is configured to determine the current recommended question entity of the next round according to the updated preset candidate entity set.

[0217] In some optional embodiments, the recommendation module is configured to execute, when the currently recommended questioning entity is a preset candidate attribute and the feedback information includes negative feedback information on the currently recommended questioning entity, deleting the preset candidate attribute from the preset candidate entity set to obtain an updated preset candidate entity set;

[0218] The recommended entity determination module is configured to determine the current recommended question entity of the next round according to the updated preset candidate entity set.

[0219] In some optional embodiments, the recommendation entity determination module is configured to execute:

[0220] Determine the target user's preference information based on entity feature information and feedback information;

[0221] Obtain updated user feature information according to a preset sampling distribution function and the target user's preference information;

[0222] The current recommended question entity is determined according to the updated user feature information, entity feature information and the updated preset candidate entity set.

[0223] In some optional embodiments, the device further comprises:

[0224] The recommendation stopping module is configured to stop the recommendation operation when the number of determinations of the current recommended question entity reaches a preset number and the current feedback information contains negative feedback information on the current recommended question entity; wherein the current feedback information is the feedback information of the current recommendation information; the current recommendation information is the recommendation information corresponding to the current recommended question entity corresponding to the preset number of times.

[0225] In some optional embodiments, the types of two currently recommended question entities corresponding to adjacent times are different.

[0226] In some optional embodiments, the recommendation entity determination module is configured to execute:

[0227] Get historical preference information;

[0228] Determine adjusted feedback information based on the feedback information, entity feature information, historical preference information, and the updated candidate entity set;

[0229] The preference information of the target user is determined based on the entity feature information and the adjusted feedback information.

[0230] In some optional embodiments, the recommendation module is configured to execute:

[0231] Determine the candidate recommendation objects to be added based on the current recommendation question entity and feedback information;

[0232] The candidate recommendation objects to be added are added to the preset candidate entity set to obtain an updated preset candidate entity set.

[0233] In some optional embodiments, the candidate recommendation objects to be added are candidate recommendation objects corresponding to the first situation and whose difference from the preset candidate recommendation objects is greater than the preset difference; the first situation is that the current recommended question entity is the preset candidate recommendation object, and the feedback information includes negative feedback information on the current recommended question entity.

[0234] In some optional embodiments, the candidate recommendation object to be added is a candidate recommendation object belonging to a preset candidate attribute corresponding to the second situation; the second situation is that the current recommended question entity is a preset candidate attribute, and the feedback information includes positive feedback information on the current recommended question entity.

[0235] In some optional embodiments, the candidate recommendation object to be added is a candidate recommendation object that does not belong to the preset candidate attribute corresponding to the third situation; the third situation is that the current recommended question entity is the preset candidate attribute, and the feedback information includes negative feedback information on the current recommended question entity.

[0236] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0237] Figure 8 is a block diagram of an electronic device 800 for recommendation according to an exemplary embodiment.

[0238] The electronic device may be a server or a terminal device, and its internal structure diagram may be as follows: Figure 8 As shown. The electronic device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the electronic device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a recommendation method is implemented.

[0239] Those skilled in the art will understand that Figure 8 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present disclosure, and does not constitute a limitation on the electronic device to which the scheme of the present disclosure is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0240] In an exemplary embodiment, an electronic device is also provided, including: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the recommended method in the embodiment of the present disclosure.

[0241] In an exemplary embodiment, a computer-readable storage medium is also provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the recommendation method in the embodiment of the present disclosure.

[0242] In an exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program. The computer program is stored in a readable storage medium. At least one processor of a computer device reads and executes the computer program from the readable storage medium, so that the computer device performs the recommended method of the embodiment of the present disclosure.

[0243] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0244] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0245] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A recommendation method, It is characterized in that include: Obtain user feature information of a target user, entity feature information of historical entities corresponding to historical users, and a preset candidate entity set; wherein the historical entities are recommendation objects and attributes of the recommendation objects; the preset candidate entity set includes a preset candidate recommendation object set and a preset candidate attribute set; the user feature information represents the target user's preference information for each entity; the entity feature information represents the difference information between different recommendation objects corresponding to the historical users, or the difference information between different attributes corresponding to the historical users; the target user is a user who has used the recommendation system; the preset candidate recommendation object set includes a plurality of preset candidate recommendation objects with representative features; the preset candidate attribute set includes a plurality of preset candidate attributes with representative features; Determine a currently recommended question entity according to the user characteristic information, the entity characteristic information and the preset candidate entity set; the currently recommended question entity includes the preset candidate recommendation object or the preset candidate attribute; Obtain feedback information of the recommendation information corresponding to the currently recommended question entity; When the currently recommended questioning entity is the preset candidate recommendation object, and the feedback information includes positive feedback information on the currently recommended questioning entity, it is determined that the currently recommended questioning entity is successfully recommended.

2. The recommendation method according to claim 1, It is characterized in that The method further comprises: When the target user is a user who uses the recommendation system for the first time, the step of obtaining the user feature information of the target user and the entity feature information of the historical entity corresponding to the historical user includes: Acquire the interaction data of the historical user; the interaction data includes the preferred object of the historical user and the attributes of the preferred object; Determining historical preference information corresponding to the historical user and the entity feature information based on the preference object and the attributes of the preference object; Determining preference information of a target user based on the historical preference information; The user characteristic information is obtained according to a preset sampling distribution function and the preference information of the target user.

3. The recommendation method according to claim 1, It is characterized in that The method further comprises: When the currently recommended questioning entity is a preset candidate recommendation object, and the feedback information includes negative feedback information on the currently recommended questioning entity, deleting the preset candidate recommendation object from the preset candidate entity set to obtain an updated preset candidate entity set; The current recommended question entity for the next round is determined according to the updated preset candidate entity set.

4. The recommendation method according to claim 1, It is characterized in that The method further comprises: When the currently recommended question entity is a preset candidate attribute and the feedback information includes positive feedback information on the currently recommended question entity, deleting the preset candidate recommendation objects that do not have the currently recommended question entity from the preset candidate entity set to obtain an updated preset candidate entity set; The current recommended question entity for the next round is determined according to the updated preset candidate entity set.

5. The recommendation method according to claim 1, It is characterized in that The method further comprises: When the currently recommended questioning entity is a preset candidate attribute, and the feedback information includes negative feedback information on the currently recommended questioning entity, deleting the preset candidate attribute from the preset candidate entity set to obtain an updated preset candidate entity set; The current recommended question entity for the next round is determined according to the updated preset candidate entity set.

6. The recommendation method according to any one of claims 3 to 5, It is characterized in that The determining of the current recommended question entity for the next round according to the updated preset candidate entity set comprises: Determine the preference information of the target user according to the entity feature information and the feedback information; Obtain updated user feature information according to a preset sampling distribution function and the preference information of the target user; The currently recommended question entity is determined according to the updated user characteristic information, the entity characteristic information and the updated preset candidate entity set.

7. The recommendation method according to claim 6, It is characterized in that The method further comprises: When the number of determinations of the currently recommended question entity reaches a preset number, and the current feedback information includes negative feedback information on the currently recommended question entity, the recommendation operation is stopped; wherein the current feedback information is feedback information of the currently recommended information; the current recommended information is the recommendation information corresponding to the currently recommended question entity corresponding to the preset number of times.

8. The recommendation method according to claim 7, It is characterized in that The types of two currently recommended question entities corresponding to adjacent times are different.

9. The recommendation method according to claim 6, It is characterized in that The determining the target user's preference information according to the entity feature information and the feedback information comprises: Get historical preference information; Determining adjusted feedback information based on the feedback information, the entity feature information, the historical preference information, and the updated candidate entity set; The preference information of the target user is determined according to the entity feature information and the adjusted feedback information.

10. The recommendation method according to claim 5, It is characterized in that The updated preset candidate entity set includes: Determining a candidate recommendation object to be added based on the current recommendation question entity and the feedback information; The candidate recommendation object to be added is added to the preset candidate entity set to obtain an updated preset candidate entity set.

11. The recommendation method according to claim 10, It is characterized in that The candidate recommendation object to be added is the candidate recommendation object corresponding to the first situation, which is different from the preset candidate recommendation object by more than the preset difference; the first situation is that the current recommended question entity is the preset candidate recommendation object, and the feedback information includes negative feedback information on the current recommended question entity.

12. The recommendation method according to claim 10, It is characterized in that The candidate recommendation object to be added is the candidate recommendation object belonging to the preset candidate attribute corresponding to the second situation; the second situation is that the current recommended question entity is the preset candidate attribute, and the feedback information includes positive feedback information on the current recommended question entity.

13. The recommendation method according to claim 10, It is characterized in that The candidate recommendation object to be added is a candidate recommendation object that does not belong to the preset candidate attribute corresponding to the third situation; the third situation is that the current recommended question entity is the preset candidate attribute, and the feedback information includes negative feedback information on the current recommended question entity.

14. A recommended device, It is characterized in that include: The information acquisition module is configured to execute the acquisition of user feature information of a target user, entity feature information of historical entities corresponding to historical users, and a preset candidate entity set; wherein the historical entities are recommendation objects and attributes of the recommendation objects; the preset candidate entity set includes a preset candidate recommendation object set and a preset candidate attribute set; the user feature information represents the preference information of the target user for each entity; the entity feature information represents the difference information between different recommendation objects corresponding to the historical user, or the difference information between different attributes corresponding to the historical user; the target user is a user who has used the recommendation system; the preset candidate recommendation object set includes a plurality of preset candidate recommendation objects with representative features; the preset candidate attribute set includes a plurality of preset candidate attributes with representative features; A recommended entity determination module is configured to determine a current recommended question entity according to the user characteristic information, the entity characteristic information and the preset candidate entity set; the current recommended question entity includes the preset candidate recommendation object or the preset candidate attribute; A feedback information acquisition module, configured to execute acquisition of feedback information of the recommendation information corresponding to the currently recommended question entity; The recommendation module is configured to determine that the current recommended question entity is successfully recommended when the current recommended question entity is the preset candidate recommendation object and the feedback information includes positive feedback information on the current recommended question entity.

15. The recommendation device according to claim 14, It is characterized in that The device further includes: when the target user is a user who uses the recommendation system for the first time, the information acquisition module is configured to execute: Acquire the interaction data of the historical user; the interaction data includes the preferred object of the historical user and the attributes of the preferred object; Determining historical preference information corresponding to the historical user and the entity feature information based on the preference object and the attributes of the preference object; Determining preference information of a target user based on the historical preference information; The user characteristic information is obtained according to a preset sampling distribution function and the preference information of the target user.

16. The recommendation device according to claim 14, It is characterized in that The recommendation module is configured to execute, when the currently recommended questioning entity is a preset candidate recommendation object and the feedback information includes negative feedback information on the currently recommended questioning entity, deleting the preset candidate recommendation object from the preset candidate entity set to obtain an updated preset candidate entity set; The recommended entity determination module is configured to determine the current recommended question entity of the next round according to the updated preset candidate entity set.

17. The recommendation device according to claim 14, It is characterized in that The recommendation module is configured to execute, when the currently recommended question entity is a preset candidate attribute and the feedback information includes positive feedback information on the currently recommended question entity, deleting the preset candidate recommendation object that does not have the currently recommended question entity from the preset candidate entity set to obtain an updated preset candidate entity set; The recommended entity determination module is configured to determine the current recommended question entity of the next round according to the updated preset candidate entity set.

18. The recommendation device according to claim 14, It is characterized in that The recommendation module is configured to execute, when the currently recommended questioning entity is a preset candidate attribute and the feedback information includes negative feedback information on the currently recommended questioning entity, deleting the preset candidate attribute from the preset candidate entity set to obtain an updated preset candidate entity set; The recommended entity determination module is configured to determine the current recommended question entity of the next round according to the updated preset candidate entity set.

19. The recommendation device according to any one of claims 16 to 18, It is characterized in that The recommendation entity determination module is configured to execute: Determine the preference information of the target user according to the entity feature information and the feedback information; Obtain updated user feature information according to a preset sampling distribution function and the preference information of the target user; The currently recommended question entity is determined according to the updated user characteristic information, the entity characteristic information and the updated preset candidate entity set.

20. The recommendation device according to claim 19, It is characterized in that The device also includes: The recommendation stopping module is configured to stop the recommendation operation when the number of determinations of the currently recommended question entity reaches a preset number and the current feedback information contains negative feedback information on the currently recommended question entity; wherein the current feedback information is feedback information of the currently recommended information; the current recommended information is the recommendation information corresponding to the currently recommended question entity corresponding to the preset number of times.

21. The recommendation device according to claim 20, It is characterized in that The types of two currently recommended question entities corresponding to adjacent times are different.

22. The recommendation device according to claim 19, It is characterized in that The recommendation entity determination module is configured to execute: Get historical preference information; Determining adjusted feedback information based on the feedback information, the entity feature information, the historical preference information, and the updated candidate entity set; The preference information of the target user is determined according to the entity feature information and the adjusted feedback information.

23. The recommendation device according to claim 18, It is characterized in that The recommendation module is configured to perform: Determining a candidate recommendation object to be added based on the current recommendation question entity and the feedback information; The candidate recommendation object to be added is added to the preset candidate entity set to obtain an updated preset candidate entity set.

24. The recommendation device according to claim 23, It is characterized in that The candidate recommendation object to be added is the candidate recommendation object corresponding to the first situation, which is different from the preset candidate recommendation object by more than the preset difference; the first situation is that the current recommended question entity is the preset candidate recommendation object, and the feedback information includes negative feedback information on the current recommended question entity.

25. The recommendation device according to claim 23, It is characterized in that The candidate recommendation object to be added is the candidate recommendation object belonging to the preset candidate attribute corresponding to the second situation; the second situation is that the current recommended question entity is the preset candidate attribute, and the feedback information includes positive feedback information on the current recommended question entity.

26. The recommendation device according to claim 23, It is characterized in that The candidate recommendation object to be added is a candidate recommendation object that does not belong to the preset candidate attribute corresponding to the third situation; the third situation is that the current recommended question entity is the preset candidate attribute, and the feedback information includes negative feedback information on the current recommended question entity.

27. An electronic device, It is characterized in that include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the recommendation method according to any one of claims 1 to 13.

28. A computer readable storage medium, It is characterized in that When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the recommendation method as claimed in any one of claims 1 to 13.

29. A computer program product, It is characterized in that The computer program product comprises a computer program, which is stored in a readable storage medium. At least one processor of a computer device reads and executes the computer program from the readable storage medium, so that the computer device performs the recommendation method according to any one of claims 1 to 13.