A prediction method, recommendation method, device, equipment and storage medium
By screening target behavior data in historical behavior data and using search term characteristics and user satisfaction, the problem of inaccurate user preference prediction is solved and more accurate user behavior prediction is achieved.
Patent Information
- Application Number
- CN202111277532.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-29
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2041-10-29
AI Technical Summary
In video search scenarios, differences in user behavior lead to inaccurate device predictions of user preferences.
By obtaining multiple sets of historical behavioral data, target behavioral data other than discrete data are determined, and based on these data, users' behavioral operations on search results are predicted, and accurate preference data is screened out using factors such as search term characteristics and user satisfaction.
This ensures the accuracy of prediction results, truly reflects user preferences, and improves the prediction accuracy of users' subsequent behavioral operations.
Smart Images

Figure CN114385906B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology, and in particular to a prediction method, a recommendation method, an apparatus, a device, and a storage medium. Background Art
[0002] In the video search scenario, after the user clicks, plays, likes, follows, and performs other actions on the videos in the search results pushed by the device, the device will generate corresponding a posteriori behavior data and, based on the a posteriori behavior data, calculate the user's preference for each video in the search results to predict the user's subsequent actions on the videos.
[0003] However, among all the user's actions, there may be some differences, which cannot accurately reflect the user's preferences, which may cause the device to predict the subsequent user's actions on the video inaccurately. Summary of the invention
[0004] The present disclosure provides a prediction method, a recommendation method, an apparatus, a device, and a storage medium to at least solve the problem of inaccurate prediction of user preferences in the related art. The technical solution of the present disclosure is as follows:
[0005] According to a first aspect of an embodiment of the present disclosure, a method for predicting user behavior is provided, comprising: obtaining multiple sets of historical behavior data; each set of historical behavior data comprises historical search terms searched by the user within a historical period of time, historical search results corresponding to the historical search terms, and the user's historical behavior operations on the historical search results; determining multiple sets of discrete data from the multiple sets of historical behavior data to determine multiple sets of target behavior data other than the multiple sets of discrete data in the multiple sets of historical behavior data; the correlation between each set of discrete data and each set of target behavior data is less than a first threshold; based on the multiple sets of target behavior data, predicting the user's behavior operations on the search results corresponding to a search term after requesting to search for a search term.
[0006] Optionally, the search term proportion of the search term category in which the historical search terms in each of the above-mentioned discrete data are located is less than a second threshold, and / or the user satisfaction corresponding to each group of discrete data is less than a third threshold; wherein, the search term proportion is the ratio of the number of historical search terms in a search term category to the number of historical search terms in all search term categories; user satisfaction is used to characterize the user's feedback operation on the satisfaction information of the historical search results in each group of historical behavior data.
[0007] Optionally, the above-mentioned determination of multiple groups of discrete data from multiple groups of historical behavior data includes: determining search term features of historical search terms included in each group of historical behavior data; the search term features are used to identify historical search terms; according to a preset clustering model, the determined search term features are classified to determine multiple search term categories; the similarity between the search term features of any two historical search terms in the same search term category is greater than or equal to a fourth threshold; determining the search term proportion of each search term category, and based on the determined search term proportion, determining discrete search term categories whose search term proportion is less than a second threshold from multiple search term categories; based on the determined discrete search term categories, determining multiple groups of discrete data; the search terms included in the multiple groups of discrete data are search terms in the discrete search term categories.
[0008] Optionally, the above-mentioned determining multiple groups of discrete data from multiple groups of historical behavior data includes: determining user satisfaction corresponding to each group of historical behavior data, and determining multiple groups of discrete data from the multiple groups of historical behavior data based on the determined user satisfaction and a third threshold.
[0009] Optionally, the above-mentioned historical behavior operations are used to indicate whether the user has performed click operations, like operations, and follow operations on historical search results; determining the user satisfaction corresponding to each set of historical behavior data includes: determining the user satisfaction corresponding to each set of historical behavior data based on the user's historical behavior operations on historical search results, a preset first coefficient, a second coefficient, and a third coefficient; the first coefficient is used to reflect the weight of the user's click operation on the user satisfaction, the second coefficient is used to reflect the weight of the user's like operation on the user satisfaction, and the third coefficient is used to reflect the weight of the user's follow operation on the user satisfaction.
[0010] Optionally, the user satisfaction corresponding to each set of historical behavior data satisfies the following formula:
[0011] score q,p =∑ alldata ∑ u∈user α*click+β*like+γ*follow
[0012] Among them, score q,pis the user satisfaction corresponding to each set of historical behavior data, q is used to represent the historical search terms in each set of historical behavior data, q is used to represent the historical search results in each set of historical behavior data, alldata is used to represent the number of behavioral operations of different users within the historical time length, u is used to represent the u-th user among different users user, click is used to represent whether the u-th user clicks on the historical search result p after requesting to search for the historical search term q; like is used to indicate whether the u-th user likes the historical search result p after requesting to search for the historical search term q, follow is used to represent whether the u-th user follows the historical search result p after requesting to search for the historical search term q, α is the first coefficient, β is the second coefficient, and γ is the third coefficient.
[0013] Optionally, the above-mentioned method determines multiple groups of discrete data from multiple groups of historical behavior data based on the determined user satisfaction and the third threshold, including: determining the sum of the user satisfaction corresponding to the multiple groups of historical behavior data, which is the total user satisfaction corresponding to the multiple groups of historical behavior data; determining the ratio of the user satisfaction corresponding to each group of historical behavior data to the total user satisfaction, which is the user satisfaction ratio of each group of historical behavior data; and determining, among the multiple groups of historical behavior data, the historical behavior data whose user satisfaction ratio is less than the fifth threshold as multiple groups of discrete data.
[0014] According to a second aspect of an embodiment of the present disclosure, a method for providing a recommendation of search results includes: determining at least one search result in response to a user's search request; at least one search result corresponds to a target search term in the search request; based on multiple sets of target behavior data, predicting the user's satisfaction with at least one search result; the multiple sets of target behavior data are data in multiple sets of historical behavior data other than multiple sets of discrete data; each set of historical behavior data includes historical search terms searched by the user within a historical period of time, historical search results corresponding to the historical search terms, and historical behavior operations of the user on the historical search results; the correlation between each set of discrete data and each set of target behavior data is less than a first threshold; user satisfaction is used to characterize the feedback operation of user satisfaction information on the search results; based on the predicted user satisfaction, determining a target search result for recommendation to the user from at least one search result, and recommending the target search result to the user; the user satisfaction corresponding to the target search result is greater than or equal to a sixth threshold.
[0015] Optionally, the search term proportion of the search term category in which the historical search terms in each of the above-mentioned discrete data are located is less than a second threshold, and / or the user satisfaction corresponding to each group of discrete data is less than a third threshold; wherein, the search term proportion is the ratio of the number of historical search terms in a search term category to the number of historical search terms in all search term categories; user satisfaction is used to characterize the user's feedback operation on the satisfaction information of the historical search results in each group of historical behavior data.
[0016] Optionally, the above method also includes: determining search term features of historical search terms included in each group of historical behavior data; the search term features are used to identify historical search terms; according to a preset clustering model, the determined search term features are classified to determine multiple search term categories; the similarity between the search term features of any two historical search terms in the same search term category is greater than or equal to a fourth threshold; determining the search term proportion of each search term category, and based on the determined search term proportion, determining discrete search term categories whose search term proportion is less than a second threshold from multiple search term categories; based on the determined discrete search term categories, determining multiple groups of discrete data; the search terms included in the multiple groups of discrete data are search terms in the discrete search term categories.
[0017] Optionally, the method further includes: determining the user satisfaction corresponding to each set of historical behavior data, and determining multiple sets of discrete data from the multiple sets of historical behavior data based on the determined user satisfaction and a third threshold.
[0018] Optionally, the above-mentioned historical behavior operations are used to indicate whether the user has performed click operations, like operations, and follow operations on historical search results; determining the user satisfaction corresponding to each set of historical behavior data includes: determining the user satisfaction corresponding to each set of historical behavior data based on the user's historical behavior operations on historical search results, a preset first coefficient, a second coefficient, and a third coefficient; the first coefficient is used to reflect the weight of the user's click operation on the user satisfaction, the second coefficient is used to reflect the weight of the user's like operation on the user satisfaction, and the third coefficient is used to reflect the weight of the user's follow operation on the user satisfaction.
[0019] Optionally, the user satisfaction corresponding to each set of historical behavior data satisfies the following formula:
[0020] score q,p =∑ alldata ∑ u∈user α*click+β*like+γ*follow
[0021] Among them, score q,pis the user satisfaction corresponding to each set of historical behavior data, q is used to represent the historical search terms in each set of historical behavior data, q is used to represent the historical search results in each set of historical behavior data, alldata is used to represent the number of behavioral operations of different users within the historical time length, u is used to represent the u-th user among different users user, click is used to represent whether the u-th user clicks on the historical search result p after requesting to search for the historical search term q; like is used to indicate whether the u-th user likes the historical search result p after requesting to search for the historical search term q, follow is used to represent whether the u-th user follows the historical search result p after requesting to search for the historical search term q, α is the first coefficient, β is the second coefficient, and γ is the third coefficient.
[0022] Optionally, the above-mentioned method determines multiple groups of discrete data from multiple groups of historical behavior data based on the determined user satisfaction and the third threshold, including: determining the sum of the user satisfaction corresponding to the multiple groups of historical behavior data, which is the total user satisfaction corresponding to the multiple groups of historical behavior data; determining the ratio of the user satisfaction corresponding to each group of historical behavior data to the total user satisfaction, which is the user satisfaction ratio of each group of historical behavior data; and determining, among the multiple groups of historical behavior data, the historical behavior data whose user satisfaction ratio is less than the fifth threshold as multiple groups of discrete data.
[0023] According to a third aspect of an embodiment of the present disclosure, a prediction device is provided, including an acquisition unit, a determination unit and a prediction unit; the acquisition unit is used to acquire multiple groups of historical behavior data; each group of historical behavior data includes historical search terms searched by the user within a historical period of time, historical search results corresponding to the historical search terms, and the user's historical behavior operations on the historical search results; the determination unit is used to determine multiple groups of discrete data from the multiple groups of historical behavior data to determine multiple groups of target behavior data other than the multiple groups of discrete data in the multiple groups of historical behavior data; the correlation between each group of discrete data and each group of target behavior data is less than a first threshold; the prediction unit is used to predict, based on the multiple groups of target behavior data, the user's behavior operations on the search results corresponding to a search term after requesting to search for a search term.
[0024] Optionally, the search term proportion of the search term category in which the historical search terms in each of the above-mentioned discrete data are located is less than a second threshold, and / or the user satisfaction corresponding to each group of discrete data is less than a third threshold; wherein, the search term proportion is the ratio of the number of historical search terms in a search term category to the number of historical search terms in all search term categories; user satisfaction is used to characterize the user's feedback operation on the satisfaction information of the historical search results in each group of historical behavior data.
[0025] Optionally, the above-mentioned determination unit is specifically used to: determine the search term features of the historical search terms included in each group of historical behavior data; the search term features are used to identify the historical search terms; according to a preset clustering model, the determined search term features are classified to determine multiple search term categories; the similarity between the search term features of any two historical search terms in the same search term category is greater than or equal to a fourth threshold; determine the search term proportion of each search term category, and based on the determined search term proportion, determine a discrete search term category whose search term proportion is less than a second threshold from multiple search term categories; based on the determined discrete search term categories, determine multiple groups of discrete data; the search terms included in the multiple groups of discrete data are search terms in the discrete search term categories.
[0026] Optionally, the above-mentioned determination unit is specifically used to: determine the user satisfaction corresponding to each group of historical behavior data, and determine multiple groups of discrete data from the multiple groups of historical behavior data based on the determined user satisfaction and a third threshold.
[0027] Optionally, the above-mentioned historical behavior operations are used to indicate whether the user has performed click operations, like operations, and follow operations on historical search results; the determination unit is specifically used to determine the user satisfaction corresponding to each set of historical behavior data based on the user's historical behavior operations on historical search results, a preset first coefficient, a second coefficient, and a third coefficient; the first coefficient is used to reflect the weight of the user's click operation on the user satisfaction, the second coefficient is used to reflect the weight of the user's like operation on the user satisfaction, and the third coefficient is used to reflect the weight of the user's follow operation on the user satisfaction.
[0028] Optionally, the user satisfaction corresponding to each set of historical behavior data satisfies the following formula:
[0029] score q,p =∑ alldata ∑ u∈user α*click+β*like+γ*follow
[0030] Among them, score q,pis the user satisfaction corresponding to each set of historical behavior data, q is used to represent the historical search terms in each set of historical behavior data, q is used to represent the historical search results in each set of historical behavior data, alldata is used to represent the number of behavioral operations of different users within the historical time length, u is used to represent the u-th user among different users user, click is used to represent whether the u-th user clicks on the historical search result p after requesting to search for the historical search term q; like is used to indicate whether the u-th user likes the historical search result p after requesting to search for the historical search term q, follow is used to represent whether the u-th user follows the historical search result p after requesting to search for the historical search term q, α is the first coefficient, β is the second coefficient, and γ is the third coefficient.
[0031] Optionally, the above-mentioned determination unit is specifically used to: determine the sum of user satisfaction corresponding to multiple groups of historical behavior data, which is the total user satisfaction corresponding to the multiple groups of historical behavior data; determine the ratio of user satisfaction corresponding to each group of historical behavior data to the total user satisfaction, which is the user satisfaction ratio of each group of historical behavior data; determine that among the multiple groups of historical behavior data, the historical behavior data whose user satisfaction ratio is less than a fifth threshold is multiple groups of discrete data.
[0032] According to a fourth aspect of an embodiment of the present disclosure, a recommendation device is provided, including a determination unit, a prediction unit and a recommendation unit; the determination unit is used to determine at least one search result in response to a user's search request; the at least one search result corresponds to a target search term in the search request; the prediction unit is used to predict the user's satisfaction with the at least one search result based on multiple sets of target behavior data; the multiple sets of target behavior data are data in multiple sets of historical behavior data other than multiple sets of discrete data; each set of historical behavior data includes historical search terms searched by the user within a historical period of time, historical search results corresponding to the historical search terms, and historical behavior operations of the user on the historical search results; the correlation between each set of discrete data and each set of target behavior data is less than a first threshold; user satisfaction is used to characterize the feedback operation of the user's satisfaction class information on the search results; the determination unit is also used to determine a target search result for recommendation to the user from at least one search result based on the predicted user satisfaction, and the user satisfaction corresponding to the target search result is greater than or equal to a sixth threshold; the recommendation unit is used to recommend the target search result to the user.
[0033] Optionally, the search term proportion of the search term category in which the historical search terms in each of the above-mentioned discrete data are located is less than a second threshold, and / or the user satisfaction corresponding to each group of discrete data is less than a third threshold; wherein, the search term proportion is the ratio of the number of historical search terms in a search term category to the number of historical search terms in all search term categories; user satisfaction is used to characterize the user's feedback operation on the satisfaction information of the historical search results in each group of historical behavior data.
[0034] Optionally, the above-mentioned determination unit is also used to: determine the search term features of the historical search terms included in each group of historical behavior data; the search term features are used to identify the historical search terms; according to a preset clustering model, the determined search term features are classified to determine multiple search term categories; the similarity between the search term features of any two historical search terms in the same search term category is greater than or equal to a fourth threshold; determine the search term proportion of each search term category, and based on the determined search term proportion, determine a discrete search term category whose search term proportion is less than a second threshold from multiple search term categories; based on the determined discrete search term categories, determine multiple groups of discrete data; the search terms included in the multiple groups of discrete data are search terms in the discrete search term categories.
[0035] Optionally, the determination unit is further used to: determine the user satisfaction corresponding to each set of historical behavior data, and determine multiple sets of discrete data from the multiple sets of historical behavior data based on the determined user satisfaction and a third threshold.
[0036] Optionally, the above-mentioned historical behavior operations are used to indicate whether the user has performed click operations, like operations, and follow operations on historical search results; the determination unit is specifically used to determine the user satisfaction corresponding to each set of historical behavior data based on the user's historical behavior operations on historical search results, a preset first coefficient, a second coefficient, and a third coefficient; the first coefficient is used to reflect the weight of the user's click operation on the user satisfaction, the second coefficient is used to reflect the weight of the user's like operation on the user satisfaction, and the third coefficient is used to reflect the weight of the user's follow operation on the user satisfaction.
[0037] Optionally, the user satisfaction corresponding to each set of historical behavior data satisfies the following formula:
[0038] score q,p =∑ alldata ∑ u∈user α*click+β*like+γ*follow
[0039] Among them, score q,pis the user satisfaction corresponding to each set of historical behavior data, q is used to represent the historical search terms in each set of historical behavior data, q is used to represent the historical search results in each set of historical behavior data, alldata is used to represent the number of behavioral operations of different users within the historical time length, u is used to represent the u-th user among different users user, click is used to represent whether the u-th user clicks on the historical search result p after requesting to search for the historical search term q; like is used to indicate whether the u-th user likes the historical search result p after requesting to search for the historical search term q, follow is used to represent whether the u-th user follows the historical search result p after requesting to search for the historical search term q, α is the first coefficient, β is the second coefficient, and γ is the third coefficient.
[0040] Optionally, the above-mentioned determination unit is specifically used to: determine the sum of user satisfaction corresponding to multiple groups of historical behavior data, which is the total user satisfaction corresponding to the multiple groups of historical behavior data; determine the ratio of user satisfaction corresponding to each group of historical behavior data to the total user satisfaction, which is the user satisfaction ratio of each group of historical behavior data; determine that among the multiple groups of historical behavior data, the historical behavior data whose user satisfaction ratio is less than a fifth threshold is multiple groups of discrete data.
[0041] According to a fifth aspect of an embodiment of the present disclosure, a server is provided, comprising: a processor and a memory for storing instructions executable by the processor; wherein the processor is configured to execute instructions to implement a method for predicting user behavior as provided in the first aspect and any possible design thereof, or a method for recommending search results as provided in the second aspect and any possible design thereof.
[0042] According to the sixth 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 a server, the server is enabled to execute a method for predicting user behavior as provided in the first aspect and any possible design thereof, or a method for recommending search results as provided in the second aspect and any possible design thereof.
[0043] According to a seventh aspect of an embodiment of the present disclosure, a computer program product is provided, which includes computer instructions. When the computer instructions are executed on a server, the server executes a method for predicting user behavior as provided in the first aspect and any possible design thereof, or a method for recommending search results as provided in the second aspect and any possible design thereof.
[0044] The technical solution provided by the present disclosure brings at least the following beneficial effects: considering that the historical behavior data includes data corresponding to some different behaviors, the discrete data corresponding to abnormal behaviors in multiple groups of historical behavior data can be removed based on the correlation between the data. In this way, the target behavior data can truly and comprehensively reflect the user's preferences, thereby ensuring the accuracy of predicting subsequent user behavior operations on search results.
[0045] 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
[0046] 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.
[0047] Figure 1 is a structural schematic diagram of a search system according to an exemplary embodiment;
[0048] Figure 2 This is one of the flowchart diagrams of a method for predicting user behavior according to an exemplary embodiment;
[0049] Figure 3 is a second flow chart of a method for predicting user behavior according to an exemplary embodiment;
[0050] Figure 4 is a third flow chart of a method for predicting user behavior according to an exemplary embodiment;
[0051] Figure 5 This is a fourth flow chart of a method for predicting user behavior according to an exemplary embodiment;
[0052] Figure 6 is a flowchart of a method for recommending a search structure according to an exemplary embodiment;
[0053] Figure 7 is a schematic diagram of the structure of a prediction device according to an exemplary embodiment;
[0054] Figure 8 is a structural schematic diagram of a recommendation device according to an exemplary embodiment;
[0055] Fig. 9 The figure is a schematic diagram showing the structure of a server according to an exemplary embodiment. DETAILED DESCRIPTION
[0056] 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.
[0057] 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 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.
[0058] In addition, in the description of the embodiments of the present disclosure, unless otherwise specified, " / " means or, for example, A / B can mean A or B. "And / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present disclosure, "multiple" means two or more than two.
[0059] The user behavior prediction method provided by the embodiments of the present disclosure may be applicable to a search system. Figure 1 A schematic diagram of the structure of the search system is shown in FIG. Figure 1 As shown, the search system 10 is used to solve the problem of inaccurate prediction of user preferences in the related art. The search system 10 includes a user behavior prediction device 11 and a server 12. The user behavior prediction device 11 is connected to the server 12. The prediction device 11 and the server 12 can be connected by wire or by wireless, which is not limited in the embodiment of the present disclosure.
[0060] The server 12 is used to receive a search request sent by a user device, and determine search results related to the search terms according to the search terms in the search request, and also obtain the behavior operations of different users on the search results.
[0061] It should be noted that the search results involved in the embodiments of the present disclosure may specifically include resources such as video, audio, graphics, and text, which are not specifically limited in the embodiments of the present disclosure.
[0062] The prediction device 11 can be used to interact with the server 12 for data. For example, the prediction device 11 can obtain multiple groups of historical behavior data from the server 12 .
[0063] The prediction device 11 can also execute the user behavior prediction method in the embodiment of the present disclosure, for example, determine multiple groups of target behavior data from the acquired multiple groups of historical behavior data, and send the multiple groups of target behavior data to the server.
[0064] At the same time, the server 12 is also used to predict the user's preference based on multiple sets of target behavior data.
[0065] It should be noted that the prediction device 11 and the server 12 may be independent devices or integrated into the same device, and this disclosure does not specifically limit this.
[0066] When the prediction device 11 and the server 12 are integrated into the same device, the communication between the prediction device 11 and the server 12 is the communication between the internal modules of the device. In this case, the communication process between the two is the same as the communication process between the prediction device 11 and the server 12 when they are independent of each other.
[0067] In the following embodiments provided in the present disclosure, the present disclosure is described by taking the prediction device 11 and the server 12 as being independently configured.
[0068] In practical applications, the user behavior prediction method provided by the embodiment of the present disclosure can be applied to a prediction device or to a server. The following describes the user behavior prediction method provided by the embodiment of the present disclosure by taking the application of the user behavior prediction method to a prediction device as an example in conjunction with the accompanying drawings.
[0069] like Figure 2 As shown, the method for predicting user behavior provided by the embodiment of the present disclosure includes the following S201-S202.
[0070] S201. The prediction device obtains multiple groups of historical behavior data.
[0071] Each set of historical behavior data includes historical search terms searched by the user within a historical period of time, historical search results corresponding to the historical search terms, and historical behavior operations of the user on the historical search results.
[0072] As a possible implementation method, the prediction device obtains multiple groups of historical behavior data from the server.
[0073] It should be noted that the users involved in the embodiments of the present disclosure are multiple different users. The historical behavior operations of the users on the historical search results include whether the users perform a click operation, whether the users perform a like operation, and whether the users perform a follow operation.
[0074] Exemplarily, each set of historical behavior data can be set in the following format: [query, userid, photoid, click, like, follow, ..., ...]. Wherein, query is the historical search term, userid is the identifier of different users, photoid is the identifier of the historical search result, click is whether the user performs a click operation, if the user performs a click operation, the value of click is 1, if the user does not perform a click operation, the value of click is 0. Like is whether the user performs a like operation, if the user performs a like operation, the value of like is 1, if the user does not perform a like operation, the value of like is 0. Follow is whether the user performs a follow operation, if the user performs a follow operation, the value of follow is 1, if the user does not perform a follow operation, the value of follow is 0.
[0075] S202. The prediction device determines multiple groups of discrete data from the multiple groups of historical behavior data to determine multiple groups of target behavior data other than the multiple groups of discrete data in the multiple groups of historical behavior data.
[0076] The correlation between each set of discrete data and each set of target behavior data is less than the first threshold prediction device
[0077] As a possible implementation, the prediction device determines the correlation between any two sets of historical behavior data, and based on the determined correlation and a preset first threshold, determines multiple sets of discrete data from the multiple historical behavior data. Further, the prediction device determines multiple sets of target behavior data from the multiple historical behavior data based on the determined multiple sets of discrete data.
[0078] It should be noted that the first threshold value may be set in advance in the prediction device by the operation and maintenance personnel of the search system.
[0079] In some embodiments, the multiple groups of discrete data provided by the embodiments of the present disclosure also satisfy the following conditions: the proportion of search terms in the search term category to which the historical search terms in each group of discrete data belong is less than a second threshold, and / or the user satisfaction corresponding to each group of discrete data is less than a third threshold.
[0080] The search term ratio is the ratio of the number of historical search terms in a search term category to the number of historical search terms in all search term categories. User satisfaction is used to represent the user's feedback operation on the satisfaction information of the historical search results in each set of historical behavior data.
[0081] In the case of determining multiple sets of discrete data based on the search term proportion, as a possible implementation method, the prediction device can determine the search term proportion of each set of historical behavior data based on each set of historical behavior data, and determine multiple sets of discrete data whose search term proportion is less than the second threshold from the multiple sets of historical behavior data based on the determined search term proportion and a preset second threshold.
[0082] In the case of determining multiple groups of discrete data based on user satisfaction, as another possible implementation method, the prediction device can also determine the user satisfaction corresponding to each group of historical behavior data based on each group of historical behavior data, and based on the determined user satisfaction and the third threshold, determine from the multiple groups of historical behavior data the data whose user satisfaction is less than the third threshold as multiple groups of discrete data.
[0083] It should be noted that the second threshold and the third threshold can be set in advance in the prediction device by the operation and maintenance personnel of the search system.
[0084] The specific implementation of this step can refer to the subsequent description of the embodiment of the present disclosure, and will not be repeated here.
[0085] The technical solution provided by the above embodiment has at least the following beneficial effects: determining multiple groups of discrete data based on the search term proportion of the search term category in which the historical search terms are located, and / or the user satisfaction corresponding to each group of historical behavior data can ensure that the determined discrete data is more accurate.
[0086] S203. The prediction device predicts the user's behavior operation on the search result corresponding to a search word after requesting to search for a search word based on the multiple groups of target behavior data.
[0087] As a possible implementation method, the prediction device can construct a corresponding prediction model based on multiple sets of target behavior data, and based on the constructed prediction model, predict the user's behavior operation on the search result corresponding to a search word after requesting to search for a search word.
[0088] The specific implementation method of this step can refer to the description in the prior art and will not be repeated here.
[0089] The technical solution provided by the above embodiment has at least the following beneficial effects: considering that the historical behavior data includes some data corresponding to different behaviors, the discrete data corresponding to abnormal behaviors in multiple groups of historical behavior data can be removed based on the correlation between the data. In this way, the target behavior data can truly and comprehensively reflect the user's preferences, thereby ensuring the accuracy of predicting subsequent user behavior operations on search results.
[0090] In one design, in order to determine multiple sets of discrete data from multiple sets of historical behavior data, when multiple sets of discrete data are determined by using search term proportions, such as Figure 3 As shown, S202 provided in the embodiment of the present disclosure specifically includes the following S301-S305.
[0091] S301. The prediction device determines search term features of historical search terms included in each set of historical behavior data.
[0092] Among them, the search term feature is used to identify historical search terms.
[0093] As a possible implementation method, the prediction device inputs the historical search words included in the multiple groups of historical behavior data into a preset text model, and the text model performs semantic analysis on the historical search words to obtain search word features of the historical search words.
[0094] Exemplarily, the search term feature may be an embedding feature, and the preset text model may be a Chinese word vector model (chinese word 2vector) or a word embedding model (word embedding). The embedding feature of the historical search term may be a feature vector.
[0095] S302: The prediction device classifies the determined search term features according to a preset clustering model to determine a plurality of search term categories.
[0096] Among them, the similarity between the search term features of any two historical search terms in the same search term category is greater than or equal to a fourth threshold.
[0097] As a possible implementation method, the prediction device inputs the acquired search term features into a preset clustering model, so that the clustering model can process the search term features to obtain multiple search term categories corresponding to multiple groups of historical behavior data.
[0098] Exemplarily, the preset clustering model may be a k-means model or a density clustering model (Density-Based Spatial Clustering of Applications with Noise, DBSCAN).
[0099] It should be noted that the fourth threshold value may be set in advance by the operation and maintenance personnel in a preset clustering model.
[0100] S303: The prediction device determines the search word proportions of multiple search word categories.
[0101] As a possible implementation method, the prediction device obtains the number of search words in each search word category, and determines the ratio of the number of search words in each search word category to the number of historical search words included in multiple groups of historical behavior data, which is the search word ratio of each search word category.
[0102] It should be noted that the above S301-S303 given in the embodiment of the present disclosure can also be used as a specific implementation method for determining the search term proportion of each search term category in the above S202.
[0103] S304: The prediction device determines, according to the determined search term proportions, discrete search term categories from the multiple search term categories whose search term proportions are less than a second threshold.
[0104] As a possible implementation manner, for any search term category, if the search term proportion of the any search term category is less than a second threshold, the search term category is determined to be a discrete search term category.
[0105] S305. The prediction device determines multiple groups of discrete data according to the determined discrete search term categories.
[0106] The search terms included in the multiple groups of discrete data are search terms in the discrete search term category.
[0107] As a possible implementation method, after determining multiple groups of discrete data, the prediction device determines that the historical search terms included in each group of discrete data are discrete search terms, and determines that the historical behavior data including the above discrete search terms are multiple groups of discrete data.
[0108] The technical solution provided by the above embodiment has at least the following beneficial effects: it is possible to determine the search term proportion of each search term category according to the number of search terms in each search term category, and determine multiple sets of discrete data based on the second threshold. It can be understood that the multiple sets of discrete data whose search term proportion is less than the second threshold are differentiated data in the multiple sets of historical behavior data and cannot truly reflect the user's preferences. In this way, the discrete differentiated data can be taken out from the multiple sets of historical behaviors to ensure that the target behavior data can truly reflect the user's preferences.
[0109] In one design, in order to determine multiple sets of discrete data from multiple sets of historical behavior data, when user satisfaction is used to determine multiple sets of discrete data, such as Figure 4 As shown, S202 provided in the embodiment of the present disclosure specifically includes the following S401-S402.
[0110] S401. The prediction device determines the user satisfaction corresponding to each set of historical behavior data.
[0111] As a possible implementation manner, the prediction device determines the user satisfaction corresponding to each set of historical behavior data according to the value of each item of data of the historical behavior operation in each set of historical behavior data.
[0112] In some embodiments, the historical behavior operation is used to indicate whether the user performs a click operation, a like operation, or a follow operation on the historical search results.
[0113] In this case, the above S401 specifically includes the following S4011.
[0114] S4011. The prediction device determines the user satisfaction corresponding to each set of historical behavior data according to the user's historical behavior operations on the historical search results, the preset first coefficient, the second coefficient, and the third coefficient.
[0115] Among them, the first coefficient is used to reflect the weight of the user's click operation on the user's satisfaction, the second coefficient is used to reflect the weight of the user's like operation on the user's satisfaction, and the third coefficient is used to reflect the weight of the user's follow operation on the user's satisfaction.
[0116] In the above S4011, the user satisfaction corresponding to each set of historical behavior data satisfies the following formula 1:
[0117] score q,p =∑ alldata ∑ u∈user α*click+β*like+γ*follow Formula 1
[0118] Among them, score q,p is the user satisfaction corresponding to each set of historical behavior data, q is used to represent the historical search terms in each set of historical behavior data, q is used to represent the historical search results in each set of historical behavior data, alldata is used to represent the number of behavioral operations of different users within the historical time, u is used to represent the u-th user among different users, click is used to represent whether the u-th user clicks on the historical search result p after requesting to search for the historical search term q. Like is used to indicate whether the u-th user likes the historical search result p after requesting to search for the historical search term q, follow is used to represent whether the u-th user follows the historical search result p after requesting to search for the historical search term q, α is the first coefficient, β is the second coefficient, and γ is the third coefficient.
[0119] The technical solution provided by the above embodiment has at least the following beneficial effects: by using the above formula, it is possible to determine, for a search result corresponding to a historical search term, the satisfaction of different users with a search result corresponding to the historical search term after requesting to search the historical search term.
[0120] S402: The prediction device determines a plurality of groups of discrete data from a plurality of groups of historical behavior data based on the determined user satisfaction and a third threshold.
[0121] As a possible implementation manner, the prediction device directly determines the historical behavior data of user satisfaction less than the third threshold as a plurality of groups of discrete data.
[0122] Below, the embodiment of the present disclosure also shows an implementation method for determining the third threshold based on user satisfaction. Specifically, the prediction device sorts multiple groups of historical behavior data from large to small according to the numerical value of the user satisfaction, and determines from the sorting results that the user satisfaction corresponding to the Nth group of historical behavior data is the third threshold. At the same time, the third threshold can also meet the requirement of being greater than 0.
[0123] Wherein, N is a positive integer greater than 1.
[0124] The technical solution provided by the above embodiment has at least the following beneficial effects: it can simply and effectively directly determine multiple groups of discrete data in multiple groups of historical behavior data based on the user satisfaction of each group of historical behavior data and the third threshold.
[0125] In one design, when multiple sets of discrete data are determined based on user satisfaction, such as Figure 5 As shown, S402 provided in the embodiment of the present disclosure may further specifically include the following S4021-S4023.
[0126] S4021. The prediction device determines the sum of user satisfactions corresponding to the multiple sets of historical behavior data as the total user satisfactions corresponding to the multiple sets of historical behavior data.
[0127] As a possible implementation manner, the prediction device calculates the sum of user satisfactions corresponding to the multiple sets of historical behavior data, and determines the calculated sum as the total user satisfactions corresponding to the multiple sets of historical behavior data.
[0128] S4022. The prediction device determines the ratio of the user satisfaction corresponding to each set of historical behavior data to the total user satisfaction, which is the user satisfaction ratio of each set of historical behavior data.
[0129] As a possible implementation method, the prediction device calculates the ratio of the satisfaction value corresponding to each set of historical behavior data to the total user satisfaction, and determines the calculated ratio as the satisfaction ratio of each set of historical behavior data.
[0130] S4023. The prediction device determines that among the multiple groups of historical behavior data, the historical behavior data whose user satisfaction ratio is less than a fifth threshold value are multiple groups of discrete data.
[0131] As a possible implementation manner, the prediction device determines, based on the determined user satisfaction and a preset fifth threshold, that the historical behavior data in which the user satisfaction is less than the fifth threshold is a plurality of groups of discrete data.
[0132] It should be noted that the fifth threshold value may be set in advance in the prediction device by the operation and maintenance personnel.
[0133] It can be understood that the fifth threshold is positively correlated with the third threshold.
[0134] The technical solution provided by the above embodiment has at least the following beneficial effects: it can determine multiple groups of discrete data reflecting the differences in user satisfaction from multiple groups of historical behavior data based on the satisfaction ratio of each group of historical behavior data, so that the determined target behavior data can more realistically represent the user's satisfaction.
[0135] In another design, when multiple groups of discrete data are determined according to user satisfaction, S402 provided by the embodiment of the present disclosure may further specifically include the following S4023-S4025.
[0136] S4023. The prediction device determines multiple groups of first historical behavior data from multiple groups of historical behavior data based on the degree of user satisfaction.
[0137] Among them, the user satisfaction of each group of first historical behavior data is greater than 0.
[0138] S4024. The prediction device calculates the ratio of the user satisfaction value corresponding to each group of first historical behavior data to the sum of the user satisfaction values corresponding to multiple groups of first historical behavior data, which is the satisfaction ratio of each group of first historical behavior data.
[0139] For the specific implementation method of this step, please refer to the specific description of S4021 above in this disclosure, which will not be repeated here.
[0140] S4025. The prediction device determines that the first historical behavior data whose satisfaction ratio in each group of first historical behavior data is less than a fifth threshold value are multiple groups of discrete data.
[0141] The technical solution provided by the above embodiment has at least the following beneficial effects: determining multiple groups of first historical behavior data with user satisfaction greater than 0 from multiple groups of historical behavior data can make the calculated satisfaction ratio of each group of historical behavior data more accurate.
[0142] At the same time, the embodiment of the present disclosure also provides a search result recommendation method, which can be applied to the above-mentioned search system. In this case, the above-mentioned search system also includes a search result recommendation device. The recommendation device is connected to the server. The above-mentioned recommendation device and the server can be connected in a wired manner or in a wireless manner, which is not limited in the embodiment of the present disclosure.
[0143] The server is used to receive a search request including a target search term sent by a user device of a user, and obtain the target search term from the search request.
[0144] The recommendation device may be used to perform data interaction with the server. For example, the recommendation device may obtain target search terms from the server 12 .
[0145] The recommendation device may also execute the search result prediction method in the embodiment of the present disclosure, for example, determining at least one search result corresponding to the target search word based on the acquired target search word.
[0146] At the same time, the recommendation device is also used to predict the user satisfaction of the user to at least one search result, and determine the target search result from the at least one search result according to the predicted user satisfaction, and feed back the target search result to the server.
[0147] Correspondingly, the server is also used to recommend target search results to the user device.
[0148] It should be noted that the recommendation device and the server may be independent devices or integrated into the same device, and this disclosure does not specifically limit this.
[0149] When the recommendation device and the server are integrated into the same device, the communication between the recommendation device and the server is the communication between the internal modules of the device. In this case, the communication process between the two is the same as the communication process between the recommendation device and the server when they are independent of each other.
[0150] In the following embodiments provided by the present disclosure, the present disclosure is described by taking an example in which the recommendation device and the server are independently configured.
[0151] In practical applications, the search result prediction method provided by the embodiment of the present disclosure can be applied to the above-mentioned recommendation device or to a server. The following describes the search result prediction method provided by the embodiment of the present disclosure by taking the application of the search result prediction method to the recommendation device as an example in conjunction with the accompanying drawings.
[0152] like Figure 6 As shown, the method for recommending search results provided by the embodiment of the present disclosure includes the following S501-S504.
[0153] S501: A recommendation device determines at least one search result in response to a user's search request.
[0154] Among them, at least one search result corresponds to the target search term in the search request.
[0155] As a possible implementation, the recommendation device obtains a search request sent by a user terminal from a server, and determines a target search term from the search request. Further, the recommendation device determines at least one search result corresponding to the target search term based on the target search term.
[0156] In this step, the specific implementation manner in which the recommendation device determines at least one search result can refer to the prior art and will not be described in detail here.
[0157] S502: The recommendation device predicts user satisfaction with at least one search result based on multiple groups of target behavior data.
[0158] Among them, the multiple groups of target behavior data are data in the multiple groups of historical behavior data other than the multiple groups of discrete data. Each group of historical behavior data includes historical search terms searched by the user within the historical time period, historical search results corresponding to the historical search terms, and historical behavior operations of the user on the historical search results. The correlation between each group of discrete data and each group of target behavior data is less than the first threshold. User satisfaction is used to characterize the feedback operation of the user's satisfaction information on the search results.
[0159] As a possible implementation, the recommendation device obtains multiple sets of historical behavior data and determines multiple sets of discrete data from the multiple sets of historical behavior data. Further, the recommendation device determines multiple sets of target behavior data from the multiple sets of historical behavior data based on the multiple sets of discrete data, builds a prediction model based on the target behavior data, and predicts the user satisfaction of the user for at least one search result based on the constructed prediction model.
[0160] In some embodiments, the multiple groups of discrete data provided by the embodiments of the present disclosure also satisfy the following conditions: the proportion of search terms in the search term category to which the historical search terms in each group of discrete data belong is less than a second threshold, and / or the user satisfaction corresponding to each group of discrete data is less than a third threshold.
[0161] The search term ratio is the ratio of the number of historical search terms in a search term category to the number of historical search terms in all search term categories. User satisfaction is used to represent the user's feedback operation on the satisfaction information of the historical search results in each set of historical behavior data.
[0162] In the case of determining multiple sets of discrete data based on the search term proportion, as a possible implementation method, the prediction device can determine the search term proportion of each set of historical behavior data based on each set of historical behavior data, and determine multiple sets of discrete data whose search term proportion is less than the second threshold from the multiple sets of historical behavior data based on the determined search term proportion and a preset second threshold.
[0163] In the case of determining multiple groups of discrete data based on user satisfaction, as another possible implementation method, the prediction device can also determine the user satisfaction corresponding to each group of historical behavior data based on each group of historical behavior data, and based on the determined user satisfaction and the third threshold, determine from the multiple groups of historical behavior data the data whose user satisfaction is less than the third threshold as multiple groups of discrete data.
[0164] It should be noted that the second threshold and the third threshold can be set in advance in the prediction device by the operation and maintenance personnel of the search system.
[0165] In this step, the implementation method of the recommendation device determining multiple groups of target behavior data can refer to S201-S202 in the above embodiment, which will not be repeated here. The difference lies in the different execution entities.
[0166] S503: The recommendation device determines a target search result for recommendation to the user from at least one search result based on the predicted user satisfaction.
[0167] Among them, the user satisfaction corresponding to the target search result is greater than or equal to a sixth threshold.
[0168] As a possible implementation manner, the recommendation device determines from at least one search result that a search result whose user satisfaction is greater than or equal to a sixth threshold is a target search result for recommendation to the user.
[0169] It should be noted that the sixth threshold value may be set in advance in the prediction device by the operation and maintenance personnel of the search system.
[0170] S504: The recommendation device recommends the target search result to the user.
[0171] As a possible implementation manner, the recommendation device sends the target search result to the server, so that the server sends the target search result to the user equipment.
[0172] The technical solution provided by the above embodiment has at least the following beneficial effects: considering that the historical behavior data includes some data corresponding to different behaviors, the discrete data corresponding to abnormal behaviors in multiple groups of historical behavior data can be removed based on the correlation between the data. In this way, the target behavior data can truly and comprehensively reflect the user's preferences, thereby ensuring the accuracy of the target search results recommended to the user subsequently.
[0173] In one design, when multiple groups of discrete data are determined using search term proportions, in order to be able to determine multiple groups of discrete data from multiple groups of historical behavior data, S502 provided in an embodiment of the present disclosure determines multiple groups of discrete data from multiple groups of historical behavior data, including the following S5021-S5025.
[0174] S5021. The recommendation device determines search term features of historical search terms included in each set of historical behavior data.
[0175] Among them, the search term feature is used to identify historical search terms.
[0176] The specific implementation method of this step can refer to S301 provided in the above embodiment, which will not be repeated here. The difference lies in that the execution subject is different.
[0177] S5022: The recommendation device classifies the determined search term features according to a preset clustering model to determine a plurality of search term categories.
[0178] Among them, the similarity between the search term features of any two historical search terms in the same search term category is greater than or equal to a fourth threshold.
[0179] The specific implementation method of this step can refer to S302 provided in the above embodiment, which will not be repeated here. The difference lies in that the execution subject is different.
[0180] S5023. The recommendation device determines the search word proportion of each search word category.
[0181] The specific implementation method of this step can refer to S303 provided in the above embodiment, which will not be repeated here. The difference lies in that the execution subject is different.
[0182] S5024. The recommendation device determines, based on the determined search term proportions, discrete search term categories from among the multiple search term categories whose search term proportions are less than a second threshold.
[0183] The specific implementation method of this step can refer to S304 provided in the above embodiment, which will not be repeated here. The difference lies in that the execution subject is different.
[0184] S5025. The recommendation device determines multiple groups of discrete data according to the determined discrete search term categories.
[0185] The search terms included in the multiple groups of discrete data are search terms in the discrete search term category.
[0186] The specific implementation method of this step can refer to S305 provided in the above embodiment, which will not be repeated here. The difference lies in that the execution subject is different.
[0187] In one design, when multiple groups of discrete data are determined by using user satisfaction, in order to be able to determine multiple groups of discrete data from multiple groups of historical behavior data, in S502 provided by an embodiment of the present disclosure, multiple groups of discrete data are determined from multiple groups of historical behavior data, and further include S5026-S5027:
[0188] S5026. The recommendation device determines the user satisfaction corresponding to each set of historical behavior data.
[0189] The specific implementation method of this step can refer to S401 provided in the above embodiment, which will not be repeated here. The difference lies in that the execution subject is different.
[0190] S5027: The recommendation device determines multiple groups of discrete data from multiple groups of historical behavior data based on the determined user satisfaction and the third threshold.
[0191] The specific implementation method of this step can refer to S402 provided in the above embodiment, which will not be repeated here. The difference lies in that the execution subject is different.
[0192] In some embodiments, the historical behavior operation is used to indicate whether the user performs a click operation, a like operation, or a follow operation on the historical search results.
[0193] In this case, the above S5026 specifically includes the following S601.
[0194] S601. The recommendation device determines the user satisfaction corresponding to each set of historical behavior data according to the user's historical behavior operation on the historical search results, a preset first coefficient, a second coefficient, and a third coefficient.
[0195] Among them, the first coefficient is used to reflect the weight of the user's click operation on the user's satisfaction, the second coefficient is used to reflect the weight of the user's like operation on the user's satisfaction, and the third coefficient is used to reflect the weight of the user's follow operation on the user's satisfaction.
[0196] In the above S601, the user satisfaction corresponding to each group of historical behavior data satisfies the following formula:
[0197] score q,p =∑ alldata ∑ u∈user α*click+β*like+γ*follow
[0198] Among them, score q,pis the user satisfaction corresponding to each set of historical behavior data, q is used to represent the historical search terms in each set of historical behavior data, q is used to represent the historical search results in each set of historical behavior data, alldata is used to represent the number of behavioral operations of different users within the historical time, u is used to represent the u-th user among different users, click is used to represent whether the u-th user clicks on the historical search result p after requesting to search for the historical search term q. Like is used to indicate whether the u-th user likes the historical search result p after requesting to search for the historical search term q, follow is used to represent whether the u-th user follows the historical search result p after requesting to search for the historical search term q, α is the first coefficient, β is the second coefficient, and γ is the third coefficient.
[0199] In one design, when multiple groups of discrete data are determined according to user satisfaction, the above S5027 specifically includes S701-S703:
[0200] S701. The recommendation device determines the sum of user satisfactions corresponding to multiple sets of historical behavior data as the total user satisfactions corresponding to the multiple sets of historical behavior data.
[0201] The specific implementation method of this step can refer to S4021 provided in the above embodiment, which will not be repeated here. The difference lies in that the execution entity is different.
[0202] S702: The recommendation device determines a ratio of user satisfaction corresponding to each set of historical behavior data to the total user satisfaction, which is the user satisfaction ratio of each set of historical behavior data.
[0203] The specific implementation method of this step can refer to S4022 provided in the above embodiment, which will not be repeated here. The difference lies in that the execution entity is different.
[0204] S703: The recommendation device determines that among the multiple groups of historical behavior data, the historical behavior data whose user satisfaction ratio is less than a fifth threshold value are multiple groups of discrete data.
[0205] The specific implementation method of this step can refer to S4023 provided in the above embodiment, which will not be repeated here. The difference lies in that the execution entity is different.
[0206] Figure 7 FIG. 1 is a schematic diagram showing a structure of a prediction device according to an exemplary embodiment. Figure 7 As shown, the prediction device 80 provided by the embodiment of the present disclosure includes an acquisition unit 801, a determination unit 802 and a prediction unit.
[0207] The acquisition unit 801 is used to acquire multiple groups of historical behavior data. Each group of historical behavior data includes historical search terms searched by the user within a historical period, historical search results corresponding to the historical search terms, and historical behavior operations of the user on the historical search results.
[0208] The determination unit 802 is used to determine multiple groups of discrete data from multiple groups of historical behavior data to determine multiple groups of target behavior data other than the multiple groups of discrete data in the multiple groups of historical behavior data. The correlation between each group of discrete data and each group of target behavior data is less than a first threshold.
[0209] The prediction unit is used to predict the user's behavior operation on the search results corresponding to a search word after requesting to search for a search word based on multiple groups of target behavior data.
[0210] Optional, such as Figure 7 As shown, in the prediction device 80 provided by the embodiment of the present disclosure, the proportion of search terms in the search term category to which the historical search terms in each group of discrete data belong is less than the second threshold, and / or the user satisfaction corresponding to each group of discrete data is less than the third threshold.
[0211] The search term ratio is the ratio of the number of historical search terms in a search term category to the number of historical search terms in all search term categories. User satisfaction is used to represent the user's feedback operation on the satisfaction information of the historical search results in each set of historical behavior data.
[0212] Optional, such as Figure 7 As shown, the determination unit 802 provided in the embodiment of the present disclosure is specifically used for:
[0213] Determine the search term features of the historical search terms included in each set of historical behavior data. The search term features are used to identify the historical search terms.
[0214] According to a preset clustering model, the determined search term features are classified to determine a plurality of search term categories. The similarity between the search term features of any two historical search terms in the same search term category is greater than or equal to a fourth threshold.
[0215] The search term proportion of each search term category is determined, and based on the determined search term proportion, discrete search term categories having a search term proportion less than a second threshold are determined from the multiple search term categories.
[0216] According to the determined discrete search term categories, multiple groups of discrete data are determined. The search terms included in the multiple groups of discrete data are search terms in the discrete search term categories.
[0217] Optional, such as Figure 7 As shown, the determination unit 802 provided in the embodiment of the present disclosure is specifically used for:
[0218] The user satisfaction corresponding to each set of historical behavior data is determined, and based on the determined user satisfaction and a third threshold, a plurality of sets of discrete data are determined from the plurality of sets of historical behavior data.
[0219] Optional, such as Figure 7 As shown, the historical behavior operation provided by the embodiment of the present disclosure is used to indicate whether the user has performed a click operation, a like operation, and a follow operation on the historical search results. The determination unit 802 is specifically used to:
[0220] The user satisfaction corresponding to each set of historical behavior data is determined based on the user's historical behavior operations on historical search results, the preset first coefficient, the second coefficient, and the third coefficient. The first coefficient is used to reflect the weight of the user's click operation on the user satisfaction, the second coefficient is used to reflect the weight of the user's like operation on the user satisfaction, and the third coefficient is used to reflect the weight of the user's follow operation on the user satisfaction.
[0221] Optional, such as Figure 7 As shown, the user satisfaction corresponding to each set of historical behavior data provided by the embodiment of the present disclosure satisfies the following formula:
[0222] score q,p =∑ alldata ∑ u∈user α*click+β*like+γ*follow
[0223] Among them, score q,p is the user satisfaction corresponding to each set of historical behavior data, q is used to represent the historical search terms in each set of historical behavior data, q is used to represent the historical search results in each set of historical behavior data, alldata is used to represent the number of behavioral operations of different users within the historical time, u is used to represent the u-th user among different users, click is used to represent whether the u-th user clicks on the historical search result p after requesting to search for the historical search term q. Like is used to indicate whether the u-th user likes the historical search result p after requesting to search for the historical search term q, follow is used to represent whether the u-th user follows the historical search result p after requesting to search for the historical search term q, α is the first coefficient, β is the second coefficient, and γ is the third coefficient.
[0224] Optional, such as Figure 7 As shown, the determination unit 802 provided in the embodiment of the present disclosure is specifically used for:
[0225] The sum of user satisfaction corresponding to the multiple sets of historical behavior data is determined as the total user satisfaction corresponding to the multiple sets of historical behavior data.
[0226] The ratio of the user satisfaction corresponding to each set of historical behavior data to the total user satisfaction is determined as the user satisfaction ratio of each set of historical behavior data.
[0227] It is determined that among the multiple groups of historical behavior data, the historical behavior data whose user satisfaction ratio is less than a fifth threshold is multiple groups of discrete data.
[0228] Figure 8 FIG. 1 is a schematic diagram showing a structure of a recommendation device according to an exemplary embodiment. Figure 8 As shown, the recommendation device 90 provided by the embodiment of the present disclosure includes a determination unit 901 , a prediction unit 902 and a recommendation unit 903 .
[0229] The determination unit 901 is configured to determine at least one search result in response to a user's search request, wherein the at least one search result corresponds to a target search term in the search request.
[0230] Prediction unit 902 is used to predict user satisfaction with at least one search result based on multiple sets of target behavior data. The multiple sets of target behavior data are data in the multiple sets of historical behavior data other than the multiple sets of discrete data. Each set of historical behavior data includes historical search terms searched by the user within a historical period, historical search results corresponding to the historical search terms, and historical behavior operations of the user on the historical search results. The correlation between each set of discrete data and each set of target behavior data is less than a first threshold. User satisfaction is used to characterize the feedback operation of the user on the satisfaction information of the search results.
[0231] The determination unit 901 is further configured to determine, based on the predicted user satisfaction, a target search result for recommendation to the user from at least one search result, wherein the user satisfaction corresponding to the target search result is greater than or equal to a sixth threshold.
[0232] The recommendation unit 903 is used to recommend target search results to the user.
[0233] Optional, such as Figure 8 As shown, the proportion of search terms in the search term category of the historical search terms in each set of discrete data provided by the embodiment of the present disclosure is less than the second threshold, and / or the user satisfaction corresponding to each set of discrete data is less than the third threshold.
[0234] The search term ratio is the ratio of the number of historical search terms in a search term category to the number of historical search terms in all search term categories. User satisfaction is used to represent the user's feedback operation on the satisfaction information of the historical search results in each set of historical behavior data.
[0235] Optional, such as Figure 8 As shown, the determining unit 901 provided in the embodiment of the present disclosure is also used for:
[0236] Determine the search term features of the historical search terms included in each set of historical behavior data. The search term features are used to identify the historical search terms.
[0237] According to a preset clustering model, the determined search term features are classified to determine a plurality of search term categories. The similarity between the search term features of any two historical search terms in the same search term category is greater than or equal to a fourth threshold.
[0238] The search term proportion of each search term category is determined, and based on the determined search term proportion, discrete search term categories having a search term proportion less than a second threshold are determined from the multiple search term categories.
[0239] According to the determined discrete search term categories, multiple groups of discrete data are determined. The search terms included in the multiple groups of discrete data are search terms in the discrete search term categories.
[0240] Optional, such as Figure 8 As shown, the determining unit 901 provided in the embodiment of the present disclosure is also used for:
[0241] The user satisfaction corresponding to each set of historical behavior data is determined, and based on the determined user satisfaction and a third threshold, a plurality of sets of discrete data are determined from the plurality of sets of historical behavior data.
[0242] Optional, such as Figure 8 As shown, the historical behavior operation provided by the embodiment of the present disclosure is used to indicate whether the user performs a click operation, a like operation, and a follow operation on the historical search results. The determination unit 901 is specifically used to:
[0243] The user satisfaction corresponding to each set of historical behavior data is determined based on the user's historical behavior operations on historical search results, the preset first coefficient, the second coefficient, and the third coefficient. The first coefficient is used to reflect the weight of the user's click operation on the user satisfaction, the second coefficient is used to reflect the weight of the user's like operation on the user satisfaction, and the third coefficient is used to reflect the weight of the user's follow operation on the user satisfaction.
[0244] Optional, such as Figure 8 As shown, the user satisfaction corresponding to each set of historical behavior data provided by the embodiment of the present disclosure satisfies the following formula:
[0245] score q,p =∑ alldata ∑ u∈user α*click+β*like+γ*follow
[0246] Among them, score q,pis the user satisfaction corresponding to each set of historical behavior data, q is used to represent the historical search terms in each set of historical behavior data, q is used to represent the historical search results in each set of historical behavior data, alldata is used to represent the number of behavioral operations of different users within the historical time, u is used to represent the u-th user among different users, click is used to represent whether the u-th user clicks on the historical search result p after requesting to search for the historical search term q. Like is used to indicate whether the u-th user likes the historical search result p after requesting to search for the historical search term q, follow is used to represent whether the u-th user follows the historical search result p after requesting to search for the historical search term q, α is the first coefficient, β is the second coefficient, and γ is the third coefficient.
[0247] Optional, such as Figure 8 As shown, the determination unit 901 provided in the embodiment of the present disclosure is specifically used for:
[0248] The sum of user satisfaction corresponding to the multiple sets of historical behavior data is determined as the total user satisfaction corresponding to the multiple sets of historical behavior data.
[0249] The ratio of the user satisfaction corresponding to each set of historical behavior data to the total user satisfaction is determined as the user satisfaction ratio of each set of historical behavior data.
[0250] It is determined that among the multiple groups of historical behavior data, the historical behavior data whose user satisfaction ratio is less than a fifth threshold is multiple groups of discrete data.
[0251] 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.
[0252] Fig. 9 Schematic diagram of the structure of a server provided by the present disclosure. Fig. 9 The server 100 may include at least one processor 1001 and a memory 1003 for storing processor executable instructions. The processor 1001 is configured to execute instructions in the memory 1003 to implement the user behavior prediction method in the above embodiment.
[0253] In addition, the server 100 may further include a communication bus 1002 and at least one communication interface 1004 .
[0254] The processor 1001 may be a central processing unit (CPU), a microprocessing unit, an ASIC, or one or more integrated circuits for controlling the execution of the program of the disclosed solution.
[0255] The communication bus 1002 may include a pathway for transmitting information between the above-mentioned components.
[0256] The communication interface 1004 uses any transceiver or other device for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.
[0257] The memory 1003 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processing unit through a bus. The memory may also be integrated with the processing unit.
[0258] The memory 1003 is used to store instructions for executing the solution of the present disclosure, and the execution is controlled by the processor 1001. The processor 1001 is used to execute the instructions stored in the memory 1003, so as to realize the functions in the method of the present disclosure.
[0259] As an example, combining Figure 7 The functions implemented by the acquisition unit 801, the determination unit 802 and the prediction unit 803 in the prediction device 80 are similar to those Fig. 9 The function of processor 1001 in is the same.
[0260] As another example, combining Figure 8 The functions implemented by the determination unit 901, the prediction unit 902 and the recommendation unit 903 in the recommendation device 90 are similar to those Fig. 9 The function of processor 1001 in is the same.
[0261] In a specific implementation, as an embodiment, the processor 1001 may include one or more CPUs, such as Fig. 9CPU0 and CPU1 in.
[0262] In a specific implementation, as an embodiment, the server 100 may include multiple processors, such as Fig. 9 1001 and 1007 in the embodiment of the present invention. Each of these processors may be a single-CPU processor or a multi-CPU processor. The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0263] In a specific implementation, as an embodiment, the server 100 may further include an output device 1005 and an input device 1006. The output device 1005 communicates with the processor 1001 and may display information in a variety of ways. For example, the output device 1005 may be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. The input device 1006 communicates with the processor 1001 and may receive user input in a variety of ways. For example, the input device 1006 may be a mouse, a keyboard, a touch screen device, or a sensor device.
[0264] Those skilled in the art will understand that Fig. 9 The structure shown in the figure does not constitute a limitation on the server 100, and the server 100 may include more or less components than those shown in the figure, or combine certain components, or adopt a different component arrangement.
[0265] In addition, the present disclosure also provides a computer-readable storage medium. When the instructions in the computer-readable storage medium are executed by a processor of a server, the server can execute the user behavior prediction method provided in the above embodiment.
[0266] In addition, the present disclosure also provides a computer program product, including computer instructions. When the computer instructions are executed on a server, the server executes the user behavior prediction method provided in the above embodiment.
[0267] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure 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 description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
Claims
1. A method for predicting user behavior, characterized in that: include: Acquire multiple groups of historical behavior data; each group of historical behavior data includes historical search terms searched by the user within a historical period, historical search results corresponding to the historical search terms, and historical behavior operations of the user on the historical search results; Determine a plurality of groups of discrete data from the plurality of groups of historical behavior data to determine a plurality of groups of target behavior data other than the plurality of groups of discrete data from the plurality of groups of historical behavior data; The correlation between each set of discrete data and each set of target behavior data is less than a first threshold; the search term proportion of the search term category in which the historical search terms in each set of discrete data are located is less than a second threshold, and / or the user satisfaction corresponding to each set of discrete data is less than a third threshold; wherein the search term proportion is the ratio of the number of historical search terms in a search term category to the number of historical search terms in all search term categories; the user satisfaction is used to characterize the user's feedback operation on the satisfaction-type information of the historical search results in each set of historical behavior data; the multiple sets of discrete data are determined from the multiple sets of historical behavior data based on the user satisfaction corresponding to each set of historical behavior data and the third threshold; Based on the multiple groups of target behavior data, predict the user's behavior operation on the search result corresponding to the search word after requesting to search the search word.
2. The method for predicting user behavior according to claim 1, characterized in that: The determining of multiple sets of discrete data from the multiple sets of historical behavior data includes: Determining search term features of the historical search terms included in each set of historical behavior data; the search term features are used to identify the historical search terms; According to a preset clustering model, the determined search term features are classified to determine a plurality of search term categories; the similarity between the search term features of any two historical search terms in the same search term category is greater than or equal to a fourth threshold; Determine the search term proportion of each search term category, and determine, based on the determined search term proportion, discrete search term categories from the multiple search term categories whose search term proportion is less than the second threshold; The plurality of groups of discrete data are determined according to the determined discrete search term categories; the search terms included in the plurality of groups of discrete data are search terms in the discrete search term categories.
3. The method for predicting user behavior according to claim 1, characterized in that: The determining of multiple sets of discrete data from the multiple sets of historical behavior data includes: The user satisfaction corresponding to each set of historical behavior data is determined, and based on the determined user satisfaction and the third threshold, the multiple sets of discrete data are determined from the multiple sets of historical behavior data.
4. The method for predicting user behavior according to claim 3, characterized in that: The historical behavior operation is used to indicate whether the user performs a click operation, a like operation, and a follow operation on the historical search results; and determining the user satisfaction corresponding to each set of historical behavior data includes: The user satisfaction corresponding to each set of historical behavior data is determined based on the user's historical behavior operations on the historical search results, the preset first coefficient, the second coefficient and the third coefficient; the first coefficient is used to reflect the weight of the user's click operation on the user satisfaction, the second coefficient is used to reflect the weight of the user's like operation on the user satisfaction, and the third coefficient is used to reflect the weight of the user's follow operation on the user satisfaction.
5. The method for predicting user behavior according to claim 4, characterized in that: The user satisfaction corresponding to each set of historical behavior data satisfies the following formula: score q,p =∑ alldata ∑ u∈user α*click+β*like+γ*follow Among them, score q,p is the user satisfaction corresponding to each group of historical behavior data, q is used to represent the historical search terms in each group of historical behavior data, p is used to represent the historical search results in each group of historical behavior data, alldata is used to represent the number of behavioral operations of different users within the historical time length, u is used to represent the u-th user among the different users user, click is used to represent whether the u-th user performs a click operation on the historical search result p after requesting to search for the historical search term q; like is used to indicate whether the u-th user performs a like operation on the historical search result p after requesting to search for the historical search term q, follow is used to represent whether the u-th user performs a follow operation on the historical search result p after requesting to search for the historical search term q, α is the first coefficient, β is the second coefficient, and γ is the third coefficient.
6. The method for predicting user behavior according to claim 3, characterized in that: The determining the multiple groups of discrete data from the multiple groups of historical behavior data based on the determined user satisfaction and the third threshold comprises: Determine the sum of the user satisfactions corresponding to the multiple sets of historical behavior data as the total user satisfactions corresponding to the multiple sets of historical behavior data; Determine a ratio of the user satisfaction corresponding to each set of historical behavior data to the total user satisfaction, which is the user satisfaction ratio of each set of historical behavior data; It is determined that among the multiple groups of historical behavior data, the historical behavior data whose user satisfaction ratio is less than a fifth threshold is the multiple groups of discrete data.
7. A method for recommending search results, characterized in that: include: In response to a search request by a user, determining at least one search result; The at least one search result corresponds to a target search term in the search request; Based on multiple groups of target behavior data, predict the user satisfaction of the user with respect to the at least one search result; the multiple groups of target behavior data are data in the multiple groups of historical behavior data excluding multiple groups of discrete data; each group of historical behavior data includes historical search terms searched by the user within a historical period of time, historical search results corresponding to the historical search terms, and the user's historical behavior operations on the historical search results; the correlation between each group of discrete data and each group of target behavior data is less than a first threshold; the user satisfaction is used to characterize the user's feedback operation on the satisfaction-type information of the search results; the search term proportion of the search term category in which the historical search terms in each group of discrete data are located is less than a second threshold, and / or the user satisfaction corresponding to each group of discrete data is less than a third threshold; wherein the search term proportion is the ratio of the number of historical search terms in a search term category to the number of historical search terms in all search term categories; the user satisfaction is used to characterize the user's feedback operation on the satisfaction-type information of the historical search results in each group of historical behavior data; the multiple groups of discrete data are determined from the multiple groups of historical behavior data based on the user satisfaction corresponding to each group of historical behavior data and the third threshold; Based on the predicted user satisfaction, a target search result for recommendation to the user is determined from the at least one search result, and the target search result is recommended to the user; the user satisfaction corresponding to the target search result is greater than or equal to a sixth threshold.
8. The method for recommending search results according to claim 7, characterized in that: The method further comprises: Determining search term features of the historical search terms included in each set of historical behavior data; the search term features are used to identify the historical search terms; According to a preset clustering model, the determined search term features are classified to determine a plurality of search term categories; the similarity between the search term features of any two historical search terms in the same search term category is greater than or equal to a fourth threshold; Determine the search term proportion of each search term category, and determine, based on the determined search term proportion, discrete search term categories from the multiple search term categories whose search term proportion is less than the second threshold; The plurality of groups of discrete data are determined according to the determined discrete search term categories; the search terms included in the plurality of groups of discrete data are search terms in the discrete search term categories.
9. The method for recommending search results according to claim 7, characterized in that: The method further comprises: The user satisfaction corresponding to each set of historical behavior data is determined, and based on the determined user satisfaction and the third threshold, the multiple sets of discrete data are determined from the multiple sets of historical behavior data.
10. The method for recommending search results according to claim 9, characterized in that: The historical behavior operation is used to indicate whether the user has performed a click operation, a like operation, or a follow operation on the historical search results; The determining the user satisfaction corresponding to each set of historical behavior data includes: Determine the user satisfaction corresponding to each set of historical behavior data according to the user's historical behavior operation on the historical search results, a preset first coefficient, a second coefficient, and a third coefficient; The first coefficient is used to reflect the weight of the user's click operation on the user's satisfaction, the second coefficient is used to reflect the weight of the user's like operation on the user's satisfaction, and the third coefficient is used to reflect the weight of the user's follow operation on the user's satisfaction.
11. The method for recommending search results according to claim 10, characterized in that: The user satisfaction corresponding to each set of historical behavior data satisfies the following formula: score q,p =∑ alldata ∑ u∈user α*click+β*like+γ*follow Among them, score q,p is the user satisfaction corresponding to each group of historical behavior data, q is used to represent the historical search terms in each group of historical behavior data, p is used to represent the historical search results in each group of historical behavior data, alldata is used to represent the number of behavioral operations of different users within the historical time length, u is used to represent the u-th user among the different users user, click is used to represent whether the u-th user performs a click operation on the historical search result p after requesting to search for the historical search term q; like is used to indicate whether the u-th user performs a like operation on the historical search result p after requesting to search for the historical search term q, follow is used to represent whether the u-th user performs a follow operation on the historical search result p after requesting to search for the historical search term q, α is the first coefficient, β is the second coefficient, and γ is the third coefficient.
12. The method for recommending search results according to claim 9, characterized in that: The determining the multiple groups of discrete data from the multiple groups of historical behavior data based on the determined user satisfaction and the third threshold comprises: Determine the sum of the user satisfactions corresponding to the multiple sets of historical behavior data as the total user satisfactions corresponding to the multiple sets of historical behavior data; Determine a ratio of the user satisfaction corresponding to each set of historical behavior data to the total user satisfaction, which is the user satisfaction ratio of each set of historical behavior data; It is determined that among the multiple groups of historical behavior data, the historical behavior data whose user satisfaction ratio is less than a fifth threshold is the multiple groups of discrete data.
13. A prediction device, characterized in that: It includes an acquisition unit, a determination unit and a prediction unit; The acquisition unit is used to acquire multiple groups of historical behavior data; each group of historical behavior data includes historical search terms searched by the user within a historical period, historical search results corresponding to the historical search terms, and historical behavior operations of the user on the historical search results; The determining unit is used to determine a plurality of groups of discrete data from the plurality of groups of historical behavior data, so as to determine a plurality of groups of target behavior data other than the plurality of groups of discrete data in the plurality of groups of historical behavior data; The correlation between each set of discrete data and each set of target behavior data is less than a first threshold; the search term proportion of the search term category in which the historical search terms in each set of discrete data are located is less than a second threshold, and / or the user satisfaction corresponding to each set of discrete data is less than a third threshold; wherein the search term proportion is the ratio of the number of historical search terms in a search term category to the number of historical search terms in all search term categories; the user satisfaction is used to characterize the user's feedback operation on the satisfaction-type information of the historical search results in each set of historical behavior data; the multiple sets of discrete data are determined from the multiple sets of historical behavior data based on the user satisfaction corresponding to each set of historical behavior data and the third threshold; The prediction unit is used to predict the user's behavior operation on the search result corresponding to a search word after requesting to search for the search word based on the multiple groups of target behavior data.
14. The prediction device according to claim 13, characterized in that: The determining unit is specifically configured to: Determining search term features of historical search terms included in each set of historical behavior data; The search term feature is used to identify the historical search term; According to a preset clustering model, the determined search term features are classified to determine multiple search term categories; The similarity between the search term features of any two historical search terms in the same search term category is greater than or equal to a fourth threshold; Determine the search term proportion of each search term category, and determine, based on the determined search term proportion, discrete search term categories from the multiple search term categories whose search term proportion is less than the second threshold; Determining the plurality of groups of discrete data according to the determined discrete search term categories; The search terms included in the plurality of groups of discrete data are search terms in the discrete search term category.
15. The prediction device according to claim 13, characterized in that: The determining unit is specifically configured to: The user satisfaction corresponding to each set of historical behavior data is determined, and based on the determined user satisfaction and the third threshold, the multiple sets of discrete data are determined from the multiple sets of historical behavior data.
16. The prediction device according to claim 15, characterized in that: The historical behavior operation is used to indicate whether the user performs a click operation, a like operation, or a follow operation on the historical search results; the determination unit is specifically used to: Determine the user satisfaction corresponding to each set of historical behavior data according to the user's historical behavior operation on the historical search results, a preset first coefficient, a second coefficient, and a third coefficient; The first coefficient is used to reflect the weight of the user's click operation on the user's satisfaction, the second coefficient is used to reflect the weight of the user's like operation on the user's satisfaction, and the third coefficient is used to reflect the weight of the user's follow operation on the user's satisfaction.
17. The prediction device according to claim 16, characterized in that: The user satisfaction corresponding to each set of historical behavior data satisfies the following formula: score q,p =∑ alldata ∑ u∈user α*click+β*like+γ*follow Among them, score q,p is the user satisfaction corresponding to each group of historical behavior data, q is used to represent the historical search terms in each group of historical behavior data, p is used to represent the historical search results in each group of historical behavior data, alldata is used to represent the number of behavioral operations of different users within the historical time length, u is used to represent the u-th user among the different users user, click is used to represent whether the u-th user performs a click operation on the historical search result p after requesting to search for the historical search term q; like is used to indicate whether the u-th user performs a like operation on the historical search result p after requesting to search for the historical search term q, follow is used to represent whether the u-th user performs a follow operation on the historical search result p after requesting to search for the historical search term q, α is the first coefficient, β is the second coefficient, and γ is the third coefficient.
18. The prediction device according to claim 15, characterized in that: The determining unit is specifically configured to: Determine the sum of the user satisfactions corresponding to the multiple sets of historical behavior data as the total user satisfactions corresponding to the multiple sets of historical behavior data; Determine a ratio of the user satisfaction corresponding to each set of historical behavior data to the total user satisfaction, which is the user satisfaction ratio of each set of historical behavior data; It is determined that among the multiple groups of historical behavior data, the historical behavior data whose user satisfaction ratio is less than a fifth threshold is the multiple groups of discrete data.
19. A device for recommending search results, characterized in that: It includes a determination unit, a prediction unit and a recommendation unit; The determining unit is used to determine at least one search result in response to a user's search request; the at least one search result corresponds to a target search term in the search request; The prediction unit is used to predict the user satisfaction of the user to the at least one search result based on multiple groups of target behavior data; the multiple groups of target behavior data are data in multiple groups of historical behavior data excluding multiple groups of discrete data; each group of historical behavior data includes historical search terms searched by the user within a historical period of time, historical search results corresponding to the historical search terms, and the user's historical behavior operations on the historical search results; the correlation between each group of discrete data and each group of target behavior data is less than a first threshold; the user satisfaction is used to characterize the user's feedback operation on the satisfaction-type information of the search results; the search term proportion of the search term category in which the historical search terms in each group of discrete data belong is less than a second threshold, and / or the user satisfaction corresponding to each group of discrete data is less than a third threshold; wherein the search term proportion is the ratio of the number of historical search terms in a search term category to the number of historical search terms in all search term categories; the user satisfaction is used to characterize the user's feedback operation on the satisfaction-type information of the historical search results in each group of historical behavior data; the multiple groups of discrete data are determined from the multiple groups of historical behavior data based on the user satisfaction corresponding to each group of historical behavior data and the third threshold; The determining unit is further configured to determine, based on the predicted user satisfaction, a target search result for recommendation to the user from the at least one search result, wherein the user satisfaction corresponding to the target search result is greater than or equal to a sixth threshold; The recommendation unit is used to recommend the target search result to the user.
20. The recommendation device according to claim 19, characterized in that The determining unit is further configured to: Determining search term features of historical search terms included in each set of historical behavior data; The search term feature is used to identify the historical search term; According to a preset clustering model, the determined search term features are classified to determine multiple search term categories; The similarity between the search term features of any two historical search terms in the same search term category is greater than or equal to a fourth threshold; Determine the search term proportion of each search term category, and determine, based on the determined search term proportion, discrete search term categories from the multiple search term categories whose search term proportion is less than the second threshold; Determining the plurality of groups of discrete data according to the determined discrete search term categories; The search terms included in the plurality of groups of discrete data are search terms in the discrete search term category.
21. The recommendation device according to claim 19, characterized in that The determining unit is further configured to: The user satisfaction corresponding to each set of historical behavior data is determined, and based on the determined user satisfaction and the third threshold, the multiple sets of discrete data are determined from the multiple sets of historical behavior data.
22. The recommendation device according to claim 21, characterized in that The historical behavior operation is used to indicate whether the user performs a click operation, a like operation, or a follow operation on the historical search results; the determination unit is specifically used to: Determine the user satisfaction corresponding to each set of historical behavior data according to the user's historical behavior operation on the historical search results, a preset first coefficient, a second coefficient, and a third coefficient; The first coefficient is used to reflect the weight of the user's click operation on the user's satisfaction, the second coefficient is used to reflect the weight of the user's like operation on the user's satisfaction, and the third coefficient is used to reflect the weight of the user's follow operation on the user's satisfaction.
23. The recommendation device according to claim 22, characterized in that: The user satisfaction corresponding to each set of historical behavior data satisfies the following formula: score q,p =∑ alldata ∑ u∈user α*click+β*like+γ*follow Among them, score q,p is the user satisfaction corresponding to each group of historical behavior data, q is used to represent the historical search terms in each group of historical behavior data, p is used to represent the historical search results in each group of historical behavior data, alldata is used to represent the number of behavioral operations of different users within the historical time length, u is used to represent the u-th user among the different users user, click is used to represent whether the u-th user performs a click operation on the historical search result p after requesting to search for the historical search term q; like is used to indicate whether the u-th user performs a like operation on the historical search result p after requesting to search for the historical search term q, follow is used to represent whether the u-th user performs a follow operation on the historical search result p after requesting to search for the historical search term q, α is the first coefficient, β is the second coefficient, and γ is the third coefficient.
24. The recommendation device according to claim 21, characterized in that The determining unit is specifically configured to: Determine the sum of the user satisfactions corresponding to the multiple sets of historical behavior data as the total user satisfactions corresponding to the multiple sets of historical behavior data; Determine a ratio of the user satisfaction corresponding to each set of historical behavior data to the total user satisfaction, which is the user satisfaction ratio of each set of historical behavior data; It is determined that among the multiple groups of historical behavior data, the historical behavior data whose user satisfaction ratio is less than a fifth threshold is the multiple groups of discrete data.
25. A server, characterized in that: include: A processor and a memory for storing instructions executable by the processor; wherein the processor is configured to execute instructions to implement the method for predicting user behavior as described in any one of claims 1-6, or the method for recommending search results as described in any one of claims 7-12.
26. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of a server, the server is enabled to execute the method for predicting user behavior as described in any one of claims 1 to 6, or the method for recommending search results as described in any one of claims 7 to 12.
27. A computer program product comprising instructions, characterized in that The computer program product includes computer instructions, and when the computer instructions are executed on a server, the server executes the method for predicting user behavior as described in any one of claims 1 to 6, or the method for recommending search results as described in any one of claims 7 to 12.
