A method for information recommendation, related device, equipment and storage medium
Using the multi-armed bandit principle to obtain target recommendation information and push other information with equal probability, it solves the problem of poor recommendation system performance when new users are cold-started, and achieves the effect of discovering user interests in several recommendations.
Patent Information
- Application Number
- CN202011239317.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-11-09
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2040-11-09
AI Technical Summary
Traditional recommendation algorithms are difficult to effectively solve the cold start problem of new users, especially the inability to quickly tap the interests of new users, resulting in poor recommendation results.
Using the principle of the multi-armed bandit problem, the conversion rate of the information to be recommended is used as available information. By obtaining the target recommendation information and pushing other information with equal probability, the user's interest points are explored, thereby improving the recommendation effect.
By pushing information to maximize profits, the information that users are actually interested in can be found in several recommendations, improving the effect of information recommendation and solving the problem of poor recommendation system performance when new users are cold-started.
Smart Images

Figure CN114461893B
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet technology, and in particular to an information recommendation method, related apparatus, device and storage medium. Background Art
[0002] With the rapid development of information technology and the Internet, service platforms can use recommendation algorithms to recommend diverse information to users. For example, travel applications (APPs) will recommend air tickets, hotels, restaurants, shopping and other information to users. For another example, video APPs will recommend movies, TV series or variety shows to users.
[0003] Traditional recommendation algorithms include collaborative filtering algorithms, content-based recommendation algorithms, and hybrid recommendation algorithms, but these algorithms are not able to solve the cold start problem for new users. Based on this, several algorithms are currently provided to solve the cold start problem, such as random recommendation algorithms and preference-based recommendation algorithms.
[0004] However, the random recommendation algorithm does not consider the interactive relationship between users and information, so the recommendation results are often not satisfactory to users. The preference-based recommendation algorithm needs to obtain the user's preference information. For new users who do not have any information, this recommendation algorithm cannot be used. Therefore, this recommendation algorithm has great limitations and it is difficult to achieve good recommendation results. Summary of the invention
[0005] The embodiments of the present application provide a method, related apparatus, device and storage medium for information recommendation, which utilizes the principle of multi-armed bandit problem (MAB) and uses the conversion rate of information to be recommended as available information to maximize revenue. At the same time, all information to be recommended is used to explore information of interest to the user and is pushed to the user with equal probability, thereby developing the user's interest points. In this way, the information that the user is actually interested in can be found in several recommendations, which helps to improve the effect of information recommendation.
[0006] In view of this, the present application provides, on one hand, a method for information recommendation, comprising:
[0007] Obtain N pieces of information to be recommended, where N is an integer greater than or equal to 2;
[0008] Obtain target recommended information from N pieces of information to be recommended, wherein the conversion rate corresponding to the target recommended information is the maximum value of the conversion rates corresponding to the N pieces of information to be recommended;
[0009] Obtaining a first probability value and a second probability value, wherein the sum of the first probability value and the second probability value is 1;
[0010] Determine a first recommendation result from the N pieces of information to be recommended according to the first probability value and the second probability value, wherein the first probability value represents the probability of determining the first recommendation result from the N pieces of information to be recommended with equal probability, and the second probability value represents the probability of taking the target recommendation information as the first recommendation result;
[0011] The first recommendation result is sent to the terminal device so that the terminal device displays the first recommendation result.
[0012] Another aspect of the present application provides an information recommendation device, comprising:
[0013] An acquisition module, used to acquire N pieces of information to be recommended, where N is an integer greater than or equal to 2;
[0014] The acquisition module is further used to acquire target recommended information from the N pieces of information to be recommended, wherein the conversion rate corresponding to the target recommended information is the maximum value of the conversion rates corresponding to the N pieces of information to be recommended;
[0015] The acquisition module is further used to acquire a first probability value and a second probability value, wherein the sum of the first probability value and the second probability value is 1;
[0016] A determination module, configured to determine a first recommendation result from the N pieces of information to be recommended according to a first probability value and a second probability value, wherein the first probability value represents a probability of determining the first recommendation result from the N pieces of information to be recommended with equal probability, and the second probability value represents a probability of taking the target recommendation information as the first recommendation result;
[0017] The sending module is used to send the first recommendation result to the terminal device so that the terminal device displays the first recommendation result.
[0018] In one possible design, in another implementation of another aspect of the embodiment of the present application,
[0019] A determination module, specifically configured to obtain a first probability range corresponding to the first probability value, and a second probability range corresponding to the second probability value;
[0020] Randomly obtain a target probability value from the first probability range and the second probability range;
[0021] If the target probability value belongs to the first probability range, the first recommendation result is randomly obtained from the N pieces of information to be recommended with equal probability;
[0022] If the target probability value belongs to the second probability range, the target recommendation information is determined as the first recommendation result.
[0023] In one possible design, in another implementation of another aspect of the embodiment of the present application,
[0024] The acquisition module is specifically used to acquire the historical recommendation number and the historical conversion number corresponding to each of the N pieces of information to be recommended;
[0025] Determine N conversion rates according to the historical recommendation number and the historical conversion number corresponding to each piece of information to be recommended, wherein the N conversion rates include the conversion rate corresponding to each piece of information to be recommended;
[0026] The to-be-recommended information corresponding to the maximum value among the N conversion rates is determined as the target recommended information.
[0027] In one possible design, in another implementation of another aspect of the embodiment of the present application,
[0028] An acquisition module, specifically used to acquire N confidence intervals corresponding to N pieces of information to be recommended, wherein each confidence interval corresponds to one piece of information to be recommended;
[0029] Obtaining a first confidence interval from the N confidence intervals, wherein an upper bound value of the first confidence interval is a maximum value among the N upper bound values, and each upper bound value corresponds to a confidence interval;
[0030] If the first confidence interval meets the information recommendation condition, the to-be-recommended information corresponding to the first confidence interval is determined as the target recommended information.
[0031] In one possible design, in another implementation of another aspect of the embodiment of the present application, the information recommendation device further includes a processing module;
[0032] The determination module is further configured to, after the acquisition module acquires the first confidence interval from the N confidence intervals, determine the information to be recommended corresponding to the first confidence interval as the information to be adjusted if the first confidence interval does not meet the information recommendation condition;
[0033] The acquisition module is also used to obtain the historical recommendation number and the historical conversion number corresponding to the information to be adjusted;
[0034] The determination module is further used to determine the average reward corresponding to the information to be adjusted according to the historical recommendation number and the historical conversion number corresponding to the information to be adjusted;
[0035] A processing module, configured to adjust the first confidence interval according to the average reward corresponding to the information to be adjusted, so as to obtain a second confidence interval;
[0036] The acquisition module is further used to acquire a third confidence interval according to the second confidence interval and the (N-1) confidence intervals, wherein the upper limit value of the third confidence interval is the maximum value of the N upper limit values, each upper limit value of the N upper limit values corresponds to a confidence interval, and the (N-1) confidence intervals are confidence intervals after excluding the second confidence interval from the N confidence intervals;
[0037] The determination module is further configured to determine the to-be-recommended information corresponding to the third confidence interval as the target recommended information if the third confidence interval satisfies the information recommendation condition.
[0038] In one possible design, in another implementation of another aspect of the embodiment of the present application,
[0039] The acquisition module is further used to acquire the total number of adjustments corresponding to the N confidence intervals after acquiring the first confidence interval from the N confidence intervals;
[0040] The determination module is further configured to determine that the first confidence interval satisfies the information recommendation condition if the total number of adjustments is greater than or equal to the adjustment number threshold;
[0041] The determination module is further configured to determine that the first confidence interval satisfies the information recommendation condition if the total number of adjustments is less than the adjustment number threshold.
[0042] In one possible design, in another implementation of another aspect of the embodiment of the present application,
[0043] The acquisition module is further used to obtain the lower limit value of the first confidence interval;
[0044] The determination module is further used to determine that the first confidence interval meets the information recommendation condition if the lower limit value of the first confidence interval is greater than or equal to the upper limit value of each confidence interval in (N-1) confidence intervals, wherein the (N-1) confidence intervals are confidence intervals in the N confidence intervals excluding the first confidence interval;
[0045] The determination module is further configured to determine that the first confidence interval does not meet the information recommendation condition if the lower limit value of the first confidence interval is less than the upper limit value of any one of the (N-1) confidence intervals.
[0046] In one possible design, in another implementation of another aspect of the embodiment of the present application,
[0047] The acquisition module is specifically used to acquire the historical recommendation number and the historical conversion number corresponding to each of the N pieces of information to be recommended;
[0048] According to the historical recommendation number and the historical conversion number corresponding to each information to be recommended, determine N probability distributions, where each probability distribution corresponds to one information to be recommended;
[0049] For each probability distribution in the N probability distributions, obtain a random probability value from each probability distribution to obtain N random probability values;
[0050] Determine a first random probability value from the N random probability values, wherein the first random probability value is a maximum value among the N random probability values;
[0051] The to-be-recommended information corresponding to the first random probability value is determined as the target recommended information.
[0052] In one possible design, in another implementation of another aspect of the embodiment of the present application, the information recommendation device further includes a processing module;
[0053] The processing module is further configured to cause the sending module to send the first recommendation result to the terminal device, so that after the terminal device displays the first recommendation result, if a response message sent by the terminal device is received, the historical recommendation number and the historical conversion number corresponding to the first recommendation result are updated;
[0054] The processing module is further configured to update the historical recommendation number corresponding to the first recommendation result if no response information sent by the terminal device is received.
[0055] In one possible design, in another implementation of another aspect of the embodiment of the present application,
[0056] The acquisition module is further used to acquire, for each of the N pieces of information to be recommended, the updated historical recommendation count and the updated historical conversion count of each piece of information to be recommended;
[0057] The determination module is further used to determine N updated conversion rates according to the updated historical recommendation number and the updated historical conversion number of each to-be-recommended information, wherein the N updated conversion rates include the updated conversion rate of each to-be-recommended information;
[0058] The determination module is further used to determine the to-be-recommended information corresponding to the maximum value of the N updated conversion rates as the second recommendation result;
[0059] The sending module is further used to send the second recommendation result to the terminal device so that the terminal device displays the second recommendation result.
[0060] In one possible design, in another implementation of another aspect of the embodiment of the present application,
[0061] The acquisition module is further used to acquire, for each of the N pieces of information to be recommended, the updated historical recommendation count and the updated historical conversion count of each piece of information to be recommended;
[0062] The determination module is further used to determine N updated probability distributions according to the historical recommendation number and the historical conversion number corresponding to each information to be recommended, wherein each updated probability distribution corresponds to one information to be recommended;
[0063] The acquisition module is further used to acquire a random probability value from each updated probability distribution in the N updated probability distributions to obtain N updated random probability values;
[0064] The determination module is further used to determine a second random probability value from the N updated random probability values, wherein the second random probability value is a maximum value among the N updated random probability values;
[0065] The determination module is further used to determine the to-be-recommended information corresponding to the second random probability value as the second recommendation result;
[0066] The sending module is further used to send the second recommendation result to the terminal device so that the terminal device displays the second recommendation result.
[0067] In one possible design, in another implementation of another aspect of the embodiment of the present application, the first recommendation result includes at least one of advertisement information, electronic voucher information, friend information, video and audio information, text information, and web page information;
[0068] The acquisition module is further used to acquire a user identifier of the user before the sending module sends the first recommendation result to the terminal device so that the terminal device displays the first recommendation result, wherein the user identifier is inconsistent with the stored user identifier;
[0069] The determination module is further used to determine the terminal device according to the user identification of the user.
[0070] On the other hand, the present application provides a server, including: a memory, a processor, and a bus system;
[0071] Wherein, the memory is used to store programs;
[0072] The processor is used to execute the program in the memory, and the processor is used to execute the above-mentioned methods according to the instructions in the program code;
[0073] The bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.
[0074] Another aspect of the present application provides a computer-readable storage medium, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer is enabled to execute the above-mentioned methods.
[0075] Another aspect of the present application provides a computer program product or a computer program, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided by the above aspects.
[0076] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:
[0077] In an embodiment of the present application, a method for information recommendation is provided, wherein N information to be recommended is first obtained, and then target recommended information is obtained from the N information to be recommended, the conversion rate corresponding to the target recommended information is the maximum value of the N conversion rates, and a first probability value and a second probability value are obtained, wherein the sum of the first probability value and the second probability value is 1, thereby determining a first recommendation result from the N information to be recommended based on the first probability value and the second probability value, and finally, sending the first recommendation result to a terminal device, which displays the first recommendation result. In the above manner, the principle of MAB is utilized, and the conversion rate of the information to be recommended is used as available information, thereby maximizing the benefits. At the same time, all the information to be recommended is used as information for exploring the user's interest, and is pushed to the user with equal probability, thereby developing the user's interest points. In this way, the information that the user is actually interested in can be found in several recommendations, thereby helping to improve the effect of information recommendation. BRIEF DESCRIPTION OF THE DRAWINGS
[0078] Figure 1 This is a schematic diagram of an environment of the information recommendation system in the embodiment of the present application;
[0079] Figure 2 A schematic diagram of the architecture of the information recommendation system in the embodiment of the present application;
[0080] Figure 3 A schematic diagram of a flow chart of the information recommendation method in an embodiment of the present application;
[0081] Figure 4 A schematic diagram of determining a first recommendation result based on different probability ranges in an embodiment of the present application;
[0082] Figure 5 Another schematic diagram of determining a first recommendation result based on different probability ranges in an embodiment of the present application;
[0083] Figure 6 A schematic diagram of implementing the upper confidence bound algorithm in an embodiment of the present application;
[0084] Figure 7 A schematic diagram of updating a confidence region based on an upper confidence bound algorithm in an embodiment of the present application;
[0085] Figure 8 Another schematic diagram of determining target recommendation information based on the upper confidence bound algorithm in an embodiment of the present application;
[0086] Fig. 9 A schematic diagram of determining target recommendation information based on the Thompson sampling algorithm in an embodiment of the present application;
[0087] Fig.10 A schematic diagram of updating probability distribution in an embodiment of the present application;
[0088] Fig.11 This is a schematic diagram of an interface for pushing advertisement information in an embodiment of the present application;
[0089] Fig.12 This is a schematic diagram of an interface for pushing electronic voucher information in an embodiment of the present application;
[0090] Fig.13 This is a schematic diagram of an interface for pushing video information in an embodiment of the present application;
[0091] Fig.14 A schematic diagram of an interface for pushing friend information in an embodiment of the present application;
[0092] Fig.15 This is a schematic diagram of an embodiment of an information recommendation device in an embodiment of the present application;
[0093] Fig.16 A structural diagram of a server in an embodiment of the present application. DETAILED DESCRIPTION
[0094] The embodiments of the present application provide a method, related apparatus, device and storage medium for information recommendation. By using the principle of MAB, the conversion rate of information to be recommended is used as available information, so as to maximize the benefits. At the same time, all information to be recommended is used as information for exploring the user's interest and is pushed to the user with equal probability, so as to develop the user's interest points. In this way, the information that the user is actually interested in can be found in several recommendations, which helps to improve the effect of information recommendation.
[0095] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application 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 interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "corresponding to" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0096] With the rapid growth of the Internet, the number of new users of applications (APPs) is also growing rapidly, which makes the user cold start problem of the recommendation algorithm more severe. Among them, the user cold start problem is how to quickly explore the user's general interests through quick trials and a few short experiments when facing new users. Since new users are characterized by insufficient historical records and features, this application provides a method for recommending information that may be of interest to new users, thereby improving the effectiveness of the recommendation system. The following will introduce several types of APPs to which this application is applicable.
[0097] 1. Shopping apps;
[0098] In the case of a new user cold start, recommendation results can be sent to the terminal device used by the new user, for example, electronic products, cosmetics, food or clothing, etc. Considering that the recommendation system cannot obtain the information of the new user, and therefore the gender of the new user, etc., in this case, some items with lower gender attribute requirements can be recommended first, such as food or electronic products, while cosmetics, men's clothing and women's clothing, etc., are not recommended as priority items.
[0099] 2. Instant messaging applications
[0100] Normally, when a new user logs into an instant messaging application for the first time, the recommendation system cannot obtain the new user's information, and therefore, cannot obtain the new user's age, etc. In this case, priority may be given to recommending advertisements that have lower age attribute requirements, such as food advertisements or electronic product advertisements, while car advertisements and luxury goods advertisements, etc., are not given priority recommendation.
[0101] 3. Video applications
[0102] In the case of a new user cold start, recommendation results can be sent to the terminal device used by the new user, such as recommended movies, TV series or variety shows. Considering that the recommendation system cannot obtain the information of the new user, and therefore cannot obtain the gender, age and preferences of the new user, in this case, some videos with lower requirements for gender attributes, age attributes and preference attributes can be recommended first, for example, variety shows or comedies, while horror films and suspense films are not recommended as priority videos.
[0103] In order to solve the cold start problem of new users in the above recommendation system, this application proposes an information recommendation method based on artificial intelligence (AI), which is applied to Figure 1 The information recommendation system shown in Figure 1 , Figure 1 This is an environmental schematic diagram of an information recommendation system in an embodiment of the present application. As shown in the figure, the information recommendation system includes a server and a terminal device, and the client is deployed on the terminal device, and the client is specifically an application client or a web client. After determining the recommendation result, the server sends the recommendation result to the terminal device, and the terminal device performs a corresponding display. The server involved in this application can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms. The terminal device can be a smart phone, a tablet computer, a laptop, a PDA, a personal computer, a smart TV, a smart watch, etc., but is not limited to this. The terminal device and the server can be directly or indirectly connected by wired or wireless communication, and this application is not limited here. The number of servers and terminal devices is also not limited.
[0104] Among them, artificial intelligence is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that machines have the functions of perception, reasoning and decision-making.
[0105] Artificial intelligence technology is a comprehensive discipline that covers a wide range of fields, including both hardware-level and software-level technologies. The basic technologies of artificial intelligence generally include sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, mechatronics and other technologies. Artificial intelligence software technology mainly includes computer vision technology, speech processing technology, natural language processing technology, and machine learning / deep learning.
[0106] This application can use machine learning algorithms based on artificial intelligence to realize automatic recommendation of information, among which machine learning (ML) is a multi-field interdisciplinary subject involving probability theory, statistics, approximation theory, convex analysis, algorithm complexity theory and other disciplines. It specializes in how computers simulate or implement human learning behavior to acquire new knowledge or skills and reorganize existing knowledge structures to continuously improve their performance. Machine learning is the core of artificial intelligence and the fundamental way to make computers intelligent. Its applications are spread across all fields of artificial intelligence. Machine learning and deep learning usually include artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and learning by teaching.
[0107] Based on this, the following will introduce the architecture of the information recommendation system. For ease of understanding, please refer to Figure 2 , Figure 2 This is a schematic diagram of the architecture of the information recommendation system in the embodiment of the present application. As shown in the figure, the information recommendation system can construct a corresponding recommender according to the information to be recommended. For example, recommender A is used to recommend information A, recommender B is used to recommend information B, and recommender C is used to recommend information C. For each recommender, it includes a recall stage, a filtering stage, a feature calculation stage, and a sorting stage. In the recall stage, the recall is usually based on the user's portrait, user preferences, and regional information. If it is a new user cold start, the recall resources are insufficient. Therefore, the cold start service is used for recall. In the filtering stage, artificial rules can be used to filter the information content, for example, to filter out duplicate information, or to regularly delete some expired information. In the feature calculation stage, the characteristics of the recall candidate set are calculated by combining the user's real-time behavior, the user's portrait, the knowledge graph, and the feature service. In the sorting stage, the recall candidate set is scored using an algorithm model, and the candidate set is re-sorted according to a certain strategy based on the score.
[0108] In combination with the above introduction, the solution provided in the embodiment of this application involves artificial intelligence machine learning and other technologies. The following will introduce the method of information recommendation in this application. Please refer to Figure 3 , an embodiment of the information recommendation method in the embodiment of the present application includes:
[0109] 101. The server obtains N pieces of information to be recommended, where N is an integer greater than or equal to 2;
[0110] In this embodiment, the server obtains at least two pieces of information to be recommended, wherein the information to be recommended is usually information that has been online for a period of time. For example, the information to be recommended is the advertising information of car A, which has been recommended to 200 users in the past month.
[0111] It should be noted that the present application is introduced by taking the information recommendation device deployed on a server as an example. In actual application, the information recommendation device can also be deployed on a terminal device. Therefore, this is only an illustration and should not be understood as a limitation on the present application.
[0112] 102. The server obtains target recommended information from the N pieces of information to be recommended, wherein the conversion rate corresponding to the target recommended information is the maximum value of the conversion rates corresponding to the N pieces of information to be recommended;
[0113] In this embodiment, the server needs to first extract a target recommended information from the N pieces of information to be recommended, and the conversion rate of the target recommended information is the maximum value among the conversion rates of the N pieces of information to be recommended. Exemplarily, the conversion rate corresponding to each piece of information to be recommended in the N pieces of information to be recommended can be calculated, and then the piece of information to be recommended corresponding to the maximum conversion rate can be selected, and the piece of information to be recommended is the target recommended information. Exemplarily, the conversion rate of each piece of information to be recommended can be omitted, and only the piece of information to be recommended with the maximum conversion rate can be determined.
[0114] It is understood that the conversion rate represents the ratio of the number of completed conversion behaviors to the total number of promotional information within a statistical period. Specifically, the conversion rate = (number of recommendations / number of conversions) * 100%. The number of conversions can be understood as the number of conversion behaviors, which include but are not limited to staying on the website for a certain period of time (for example, 3 minutes), browsing specific pages on the website (for example, the registration page or the "Contact Us" page), registering on the website or submitting an order, consulting through the website message or the website's online instant messaging tool, consulting by phone, visiting, consulting or negotiating, and actually paying or closing a deal.
[0115] 103. The server obtains a first probability value and a second probability value, wherein the sum of the first probability value and the second probability value is 1;
[0116] In this embodiment, the server also needs to obtain a first probability value and a second probability value, which can be a preset fixed value or a dynamically adjusted value, and are not limited here. The sum of the first probability value and the second probability value is 1.
[0117] 104. The server determines a first recommendation result from the N pieces of information to be recommended according to the first probability value and the second probability value, wherein the first probability value represents a probability of determining the first recommendation result from the N pieces of information to be recommended with equal probability, and the second probability value represents a probability of taking the target recommendation information as the first recommendation result;
[0118] In this embodiment, the server obtains a first recommendation result from the N pieces of information to be recommended according to the first probability value and the second probability value, and the first recommendation result is one piece of information to be recommended among the N pieces of information to be recommended. The first probability value belongs to the probability of exploring unknown information, and the second probability value belongs to the probability of exploiting known information.
[0119] Specifically, the present application can determine the first recommendation result based on the epsilon-greedy algorithm, that is, generate a first probability value (ε) greater than 0 and less than 1, indicating that the first probability value (ε) is used to randomly select a piece of information to be recommended from N pieces of information to be recommended, thereby realizing the exploration process. At the same time, the second probability value (1-ε) is used to select the information to be recommended with the greatest benefit (i.e., the target recommended information), thereby realizing the utilization process. In practical applications, the first probability value (ε) is used to control the degree of trade-off between exploration and utilization. The smaller the first probability value (ε), the more conservative the exploration is and the better the stability is.
[0120] 105. The server sends the first recommendation result to the terminal device, so that the terminal device displays the first recommendation result.
[0121] In this embodiment, after selecting the first recommendation result, the server sends the first recommendation result to the terminal device, and the terminal device displays the first recommendation result. The terminal device may be a terminal device used by a new user, so the new user can browse the server push as the first recommendation result on the terminal device.
[0122] In an embodiment of the present application, a method for information recommendation is provided, wherein N information to be recommended is first obtained, and then target recommended information is obtained from the N information to be recommended, the conversion rate corresponding to the target recommended information is the maximum value of the N conversion rates, and a first probability value and a second probability value are obtained, wherein the sum of the first probability value and the second probability value is 1, thereby determining a first recommendation result from the N information to be recommended based on the first probability value and the second probability value, and finally, sending the first recommendation result to a terminal device, which displays the first recommendation result. In the above manner, the principle of MAB is utilized, and the conversion rate of the information to be recommended is used as available information, thereby maximizing the benefits. At the same time, all the information to be recommended is used as information for exploring the user's interest, and is pushed to the user with equal probability, thereby developing the user's interest points. In this way, the information that the user is actually interested in can be found in several recommendations, thereby helping to improve the effect of information recommendation.
[0123] Optionally, in the above Figure 3 On the basis of the corresponding embodiments, in another optional embodiment of the information recommendation method provided in the embodiments of the present application, the server determines a first recommendation result from N pieces of information to be recommended according to the first probability value and the second probability value, specifically including the following steps:
[0124] The server obtains a first probability range corresponding to the first probability value and a second probability range corresponding to the second probability value;
[0125] The server randomly obtains a target probability value from the first probability range and the second probability range;
[0126] If the target probability value belongs to the first probability range, the server randomly obtains the first recommendation result from the N pieces of information to be recommended with equal probability;
[0127] If the target probability value belongs to the second probability range, the server determines the target recommendation information as the first recommendation result.
[0128] In this embodiment, a method for determining the first recommendation result is introduced. As can be seen from the previous embodiment, before determining the first recommendation result, it is also necessary to determine the first probability value (ε) and the second probability value (1-ε). In the ε greedy algorithm, the first probability value (ε) and the second probability value (1-ε) are usually fixed. For example, the first probability value (ε) is 0.1, and the second probability value (1-ε) is 0.9. In the softmax algorithm, the first probability value (ε) is determined based on the Boltzmann distribution. After obtaining the first probability value (ε), the second probability value (1-ε) can be obtained. It can be understood that whether using the ε greedy algorithm or the softmax algorithm, both are based on the idea of exploration and utilization to select the first recommendation result from N pieces of information to be recommended. The following will combine Figure 4 and Figure 5 Make an introduction.
[0129] For example, see Figure 4 , Figure 4 This is a schematic diagram of determining the first recommendation result based on different probability ranges in an embodiment of the present application. As shown in the figure, the first probability value (ε) is 0.1 and the second probability value (1-ε) is 0.9 as an example, and it is assumed that the N pieces of information to be recommended are information A to be recommended, information B to be recommended, and information C to be recommended. Based on this, the first probability range is determined to be greater than or equal to 0 and less than or equal to 10% according to the first probability value (ε), and the second probability range is determined to be greater than 10% and less than or equal to 100% according to the second probability value (1-ε). Therefore, the ratio of the first probability range to the second probability range is 1 to 9, that is, there is a 10% chance of selecting the first probability range, and there is a 90% chance of selecting the second probability range. Therefore, a value is randomly selected from 0 to 1 as the target probability value. If the target probability value falls within the first probability range, any one of the information to be recommended is selected from the information to be recommended A, the information to be recommended B, and the information to be recommended C with equal probability as the first recommendation result. If the target probability value falls within the second probability range, the target recommendation information is directly used as the first recommendation result, wherein the target recommendation information is one of the three pieces of information to be recommended selected based on the maximum conversion rate, for example, the information to be recommended A is the target recommendation information.
[0130] For example, see Figure 5 , Figure 5Another schematic diagram of determining the first recommendation result based on different probability ranges in the embodiment of the present application is shown in the figure, taking the first probability value (ε) as 0.1 and the second probability value (1-ε) as 0.9 as an example, and assuming that the N pieces of information to be recommended are information A to be recommended, information B to be recommended, and information C to be recommended. Based on this, the first probability range is determined to be greater than or equal to 0 and less than or equal to 10% according to the first probability value (ε), and the second probability range is determined to be greater than 10% and less than or equal to 100% according to the second probability value (1-ε). Therefore, the ratio of the first probability range to the second probability range is 1 to 9, that is, there is a 10% chance to select the first probability range, and there is a 90% chance to select the second probability range. Therefore, a value is randomly selected from 0 to 1 as the target probability value. If the target probability value falls within the first probability range, the target recommendation information is directly used as the first recommendation result, wherein the target recommendation information is one of the three pieces of information to be recommended selected according to the maximum conversion rate. For example, the information A to be recommended is the target recommendation information. If the target probability value falls within the second probability range, any one of the information to be recommended A, the information to be recommended B and the information to be recommended C is selected as the first recommendation result with equal probability.
[0131] Secondly, in an embodiment of the present application, a method for determining the first recommendation result is provided. Through the above method, the first probability value and the second probability value are used to weigh exploration and utilization, so as to maximize the benefits as much as possible. The exploration process needs to take into account past experience and be able to explore information to be recommended with potential high returns, that is, to achieve the purpose of non-greedy and long-term returns. The utilization process is based on the best known strategy to develop and utilize target recommendation information known to have higher returns, that is, to achieve the purpose of greed and short-term returns. Combining the exploration process and the utilization process is conducive to obtaining better recommendation results.
[0132] Optionally, in the above Figure 3 On the basis of the corresponding embodiments, in another optional embodiment of the information recommendation method provided in the embodiments of the present application, the server obtains target recommendation information from N pieces of information to be recommended, specifically including the following steps:
[0133] The server obtains the historical recommendation number and the historical conversion number corresponding to each piece of information to be recommended in the N pieces of information to be recommended;
[0134] The server determines N conversion rates according to the historical recommendation count and the historical conversion count corresponding to each piece of information to be recommended, wherein the N conversion rates include the conversion rate corresponding to each piece of information to be recommended;
[0135] The server determines the to-be-recommended information corresponding to the maximum value of the N conversion rates as the target recommended information.
[0136] In this embodiment, a method for determining target recommendation information based on historical data is introduced. As can be seen from the above embodiments, conversion behavior can include multiple behaviors. For the sake of convenience, "clicking on information and jumping to a specific page" will be used as a conversion behavior. Assuming that the server pushes the information A to be recommended to the terminal devices used by 100 users, 20 of them click on the information A to be recommended, so the conversion rate of the information A to be recommended is (20 / 100)×100%=20%.
[0137] Specifically, taking N information to be recommended as information A to be recommended, information B to be recommended and information C to be recommended as an example, please refer to Table 1, which is a schematic diagram of the historical recommendation number and the historical conversion number of each information to be recommended.
[0138] Table 1
[0139] Recommended information Historical recommendation number Historical conversion count Recommended information A 200 20 Recommended information B 500 100 Recommended information C 800 50
[0140] Based on Table 1, the historical number of recommendations and the historical number of conversions of each information to be recommended can be used to calculate the conversion rate of the information to be recommended using the following formula:
[0141] Conversion rate = (historical conversion number / historical recommendation number) × 100%;
[0142] Thus, the conversion rate of the information to be recommended A is (20 / 200)×100%=10%. The conversion rate of the information to be recommended B is (100 / 500)×100%=20%. The conversion rate of the information to be recommended C is (50 / 800)×100%=6.25%. Based on this, the information to be recommended B can be determined as the target recommended information.
[0143] In combination with the above-mentioned embodiment, after determining the information to be recommended B as the target recommended information, the first probability value and the second probability value can be used to determine that the recommendation is the first recommendation result. If the first recommendation result is the information to be recommended B, then the information to be recommended B is directly pushed to the terminal device. In addition, if multiple information needs to be recommended, then after determining to push the information to be recommended B, a target recommended information can be selected from the information to be recommended A and the information to be recommended C, that is, the information to be recommended A with a larger conversion rate is selected as the new target recommended information, and then the first probability value and the second probability value are used to determine one of the information to be recommended as another recommendation result.
[0144] It should be noted that this embodiment is introduced by taking three pieces of information to be recommended as an example. In actual applications, the value of N may also be other values, and the number of recommended results is not limited to 1.
[0145] Secondly, in an embodiment of the present application, a method for determining target recommendation information based on historical data is provided. Through the above method, when it is impossible to obtain relevant information about new users, historical data of other users can still be used as a basis for inferring the preferences of new users. In addition, the conversion rates can be ranked, thereby recommending multiple information to achieve better recommendation effects.
[0146] Optionally, in the above Figure 3 On the basis of the corresponding embodiments, in another optional embodiment of the information recommendation method provided in the embodiments of the present application, the server obtains target recommendation information from N pieces of information to be recommended, specifically including the following steps:
[0147] The server obtains N confidence intervals corresponding to the N pieces of information to be recommended, where each confidence interval corresponds to one piece of information to be recommended;
[0148] The server obtains a first confidence interval from the N confidence intervals, wherein an upper bound value of the first confidence interval is a maximum value among the N upper bound values, and each upper bound value corresponds to a confidence interval;
[0149] If the first confidence interval meets the information recommendation condition, the server determines the to-be-recommended information corresponding to the first confidence interval as the target recommended information.
[0150] In this embodiment, a method for determining target recommendation information based on an upper confidence bound (UCB) algorithm is introduced. In statistics, confidence intervals can be used to measure the uncertainty of estimates, and the UCB idea is to face uncertainty optimistically. The more times a certain information to be recommended is tried, the narrower the confidence interval corresponding to the information to be recommended, and the estimated uncertainty is reduced, and those information to be recommended with larger means tend to be selected multiple times, which is the process of "utilization". The fewer times a certain information to be recommended is tried, the wider the confidence interval corresponding to the information to be recommended, and the higher the estimated uncertainty, and the information to be recommended with wider confidence intervals tend to be selected multiple times, which is the process of "exploration".
[0151] Specifically, in the process of selecting target recommended information, the server needs to obtain the confidence interval corresponding to each information to be recommended, wherein each confidence interval has a corresponding upper limit value, and then select the maximum upper limit value therefrom, and determine the confidence interval corresponding to the maximum upper limit value as the first confidence interval. If the first confidence interval meets the information recommendation condition, the information to be recommended corresponding to the first confidence interval is determined as the target recommended information. Conversely, if the first confidence interval does not meet the information recommendation condition, the confidence interval corresponding to the next maximum upper limit value is continuously selected from the N confidence intervals, and it is continuously determined whether the confidence interval meets the information recommendation condition, and so on, until a confidence interval that meets the information recommendation condition is obtained, and the information to be recommended corresponding to the confidence interval is determined as the target recommended information.
[0152] It should be noted that if two or more confidence intervals have equal upper bound values and are all maximum upper bound values, a confidence interval can be randomly selected for judgment.
[0153] For easier understanding, see Figure 6 , Figure 6 This is a schematic diagram of implementing the upper confidence bound algorithm in an embodiment of the present application. As shown in the figure, taking the i-th selection of a confidence interval from N confidence intervals as an example, the confidence interval corresponding to the maximum upper bound value is selected from the N confidence intervals with a probability of 100%, and then the average value of the confidence interval is updated according to the selection result, and then the expected value is calculated using the following formula:
[0154]
[0155] Where E represents the expected value, represents the average reward of the jth recommended information, n represents the total number of selections up to now, and n j Indicates the number of times the jth recommended information has been selected up to the current time.
[0156] As can be seen from the above formula, the larger the mean and the smaller the standard deviation, the greater the probability of being selected, which plays a role of utilization. At the same time, the recommended information with fewer selections will also get a trial opportunity, which plays a role of exploration.
[0157] Secondly, in the embodiment of the present application, a method for determining target recommendation information based on the UCB algorithm is provided. Through the above method, the UCB algorithm can overcome the limitations brought by the exploration process and understand the level and suboptimality gap. The UCB algorithm can quickly find the optimal information to be recommended, and when the number of simulations is sufficient, more accurate results can be obtained, thereby improving the reliability of information recommendation.
[0158] Optionally, in the above Figure 3On the basis of the corresponding embodiments, in another optional embodiment of the information recommendation method provided by the embodiments of the present application, after the server obtains the first confidence interval from the N confidence intervals, the method further includes the following steps:
[0159] If the first confidence interval does not meet the information recommendation condition, the server determines the information to be recommended corresponding to the first confidence interval as the information to be adjusted;
[0160] The server obtains the historical recommendation number and the historical conversion number corresponding to the information to be adjusted;
[0161] The server determines the average reward corresponding to the information to be adjusted based on the historical recommendation number and historical conversion number corresponding to the information to be adjusted;
[0162] The server adjusts the first confidence interval according to the average reward corresponding to the information to be adjusted to obtain a second confidence interval;
[0163] The server obtains a third confidence interval according to the second confidence interval and the (N-1) confidence intervals, wherein the upper limit value of the third confidence interval is the maximum value of the N upper limit values, each upper limit value of the N upper limit values corresponds to a confidence interval, and the (N-1) confidence interval is the confidence interval of the N confidence intervals excluding the second confidence interval;
[0164] If the third confidence interval meets the information recommendation condition, the server determines the to-be-recommended information corresponding to the third confidence interval as the target recommended information.
[0165] In this embodiment, a method for processing information that does not meet the recommendation conditions is provided. Based on the UCB algorithm, in the nth round, the recommendation results need to be displayed to the new user, and in the nth round, the i-th information to be recommended and the reward are r i (n)∈{0,1}, where, assuming that the new user clicks on the i-th recommended information, then r i (n) = 1, assuming that the new user does not click on the i-th recommended information, then r i (n) = 0, and the goal of the UCB algorithm is to maximize the sum of rewards in all rounds.
[0166] Specifically, in the nth round, the first confidence interval is selected from the N confidence intervals, and the first confidence interval corresponds to the i-th information to be recommended. If the first confidence interval does not meet the information recommendation condition, the information to be recommended corresponding to the first confidence interval is determined as the information to be adjusted, that is, the information to be adjusted is the i-th information to be recommended. Based on this, N can be calculated. i (n) and R i (n), where N i(n) represents the total number of times the i-th recommended information was pushed before the n-th round, that is, the historical recommendation number corresponding to the information to be adjusted. i (n) represents the total reward of the i-th recommended information before the nth round (i.e., the case of conversion behavior), that is, the historical conversion number corresponding to the information to be adjusted is obtained. i (n) and R i (n), the average reward corresponding to the information to be adjusted is calculated as follows:
[0167]
[0168] in, It represents the average reward of the i-th information to be recommended before the n-th round, that is, the average reward corresponding to the information to be adjusted.
[0169] The second confidence interval is in,
[0170] Based on this, the server adjusts the first confidence interval corresponding to the information to be adjusted to the second confidence interval, and the width of the second confidence interval is smaller than the width of the first confidence interval. At this time, the server needs to select the confidence interval corresponding to the maximum upper limit value from the (N-1) confidence intervals of the previous round and the adjusted second confidence interval, that is, to obtain the third confidence interval. Correspondingly, if the third confidence interval meets the information recommendation conditions, the server determines the information to be recommended corresponding to the third confidence interval as the target recommended information. Conversely, if the third confidence interval does not meet the information recommendation conditions, the width of the third confidence interval is adjusted, that is, the width of the third confidence interval is compressed, and then the subsequent selection is continued, which will not be elaborated here.
[0171] Again, in the embodiment of the present application, a processing method for not meeting the information recommendation conditions is provided. Through the above method, if it is determined that the first confidence interval taken out this time does not meet the information recommendation conditions, it is necessary to adjust the width of the first confidence interval, and then continue to find a suitable confidence interval until a suitable confidence interval is obtained. It can be seen that the whole process can achieve the effect of optimizing the selection, and in the case of a new user cold start, the highest conversion rate can be estimated, achieving the purpose of determining the target recommended information based on the UCB algorithm, thereby improving the feasibility and operability of the solution.
[0172] Optionally, in the above Figure 3 On the basis of the corresponding embodiments, in another optional embodiment of the information recommendation method provided by the embodiments of the present application, after the server obtains the first confidence interval from the N confidence intervals, the method further includes the following steps:
[0173] The server obtains the total number of adjustments corresponding to N confidence intervals;
[0174] If the total number of adjustments is greater than or equal to the adjustment number threshold, the server determines that the first confidence interval meets the information recommendation condition;
[0175] If the total number of adjustments is less than the adjustment number threshold, the server determines that the first confidence interval meets the information recommendation condition.
[0176] In this embodiment, a method for determining target recommendation information based on the number of iterations is introduced. In order to improve information processing efficiency, the recommendation system can also use a pre-set adjustment number threshold, which indicates the maximum number of rounds that can allow a confidence interval to be selected from N confidence intervals. For the server, each time a confidence interval is selected, the total number of adjustments can be accumulated by 1 until the adjustment number threshold is reached.
[0177] Specifically, for ease of understanding, the adjustment number threshold is 100 as an example, the total number of adjustments is K, and K=K+1, that is, after each adjustment, the K value will be accumulated by 1. When K is equal to the adjustment number threshold of 100, the width of the confidence interval will no longer be adjusted, but the confidence interval corresponding to the maximum upper limit value will be selected from the N confidence intervals obtained after 100 adjustments, and the information to be recommended corresponding to the confidence interval will be determined as the target recommended information. Therefore, if the first confidence interval is selected in the 100th round, that is, the first confidence interval meets the information recommendation condition. Anyway, if the first confidence interval is selected before the 100th round, the first confidence interval does not meet the information recommendation condition.
[0178] Again, in the embodiment of the present application, a method for determining target recommendation information based on the number of iterations is provided. Through the above method, the total number of adjustments can be preset before estimating the target recommendation information. Once the total number of adjustments is reached, it is no longer determined whether other confidence intervals meet the information recommendation conditions. Therefore, it can save processing resources to a certain extent and improve the efficiency of determining target recommendation information. It is conducive to improving the effect of online recommendation information.
[0179] Optionally, in the above Figure 3 On the basis of the corresponding embodiments, in another optional embodiment of the information recommendation method provided by the embodiments of the present application, after the server obtains the first confidence interval from the N confidence intervals, the method further includes the following steps:
[0180] The server obtains a lower limit value of the first confidence interval;
[0181] If the lower limit value of the first confidence interval is greater than or equal to the upper limit value of each confidence interval in the (N-1) confidence intervals, the server determines that the first confidence interval meets the information recommendation condition, wherein the (N-1) confidence intervals are the confidence intervals in the N confidence intervals excluding the first confidence interval;
[0182] If the lower limit value of the first confidence interval is less than the upper limit value of any confidence interval among the (N-1) confidence intervals, the server determines that the first confidence interval does not meet the information recommendation condition.
[0183] In this embodiment, a method for determining target recommended information based on the lower limit of the confidence interval is introduced. Based on the UCB algorithm, in the initial stage, it is assumed that the confidence interval corresponding to each information to be recommended has the same probability distribution, that is, the average value and the expectation are the same, and the actual expectation of each confidence interval is unknown, and continuous attempts are needed to estimate the average expectation of each confidence interval.
[0184] Specifically, for the sake of convenience, the N pieces of information to be recommended are information A to be recommended, information B to be recommended, and information C to be recommended. Figure 7 , Figure 7 is a schematic diagram of updating the confidence region based on the upper confidence bound algorithm in an embodiment of the present application, Figure 7 As shown in Figure (A), since the confidence interval corresponding to the recommended information B has the largest upper bound, the confidence interval corresponding to the recommended information B is selected. Figure 7 As shown in the middle (B) figure, the confidence interval corresponding to the recommended information B becomes narrower and the lower bound becomes higher. At this time, the confidence interval corresponding to the recommended information C has the largest upper bound, so the confidence interval corresponding to the recommended information C is selected. After multiple selections, a convergence result is obtained.
[0185] See also Figure 8 , Figure 8Another schematic diagram of determining target recommended information based on the upper confidence bound algorithm in an embodiment of the present application is shown in the figure. As shown in the figure, it is assumed that after multiple selections, it is found that the confidence interval corresponding to the information to be recommended C has the largest upper bound value, and the lower bound value of the confidence interval corresponding to the information to be recommended C is higher than the upper bound values of other confidence intervals. In other words, in this case, the confidence interval corresponding to the information to be recommended C will be preferred, thereby achieving the purpose of convergence. Assuming that the confidence interval corresponding to the information to be recommended C is the first confidence interval, and the confidence interval of the information to be recommended B and the confidence interval of the information to be recommended C are (N-1) confidence intervals, then it is determined that the first confidence interval meets the information recommendation condition. On the contrary, if the lower bound value of the first confidence interval is less than the upper bound value of any one of the (N-1) confidence intervals, it means that the convergence state has not been reached, and therefore, the first confidence interval does not meet the information recommendation condition.
[0186] Again, in an embodiment of the present application, a method for determining target recommendation information based on the lower limit value of the confidence interval is provided. Through the above method, when the lower limit value of a confidence interval is greater than the upper limit value of other confidence intervals, it can be considered that the confidence interval has reached convergence, and subsequent values will tend to select this confidence interval, that is, the information recommendation conditions are met, thereby improving the feasibility and operability of the solution.
[0187] Optionally, in the above Figure 3 On the basis of the corresponding embodiments, in another optional embodiment of the information recommendation method provided in the embodiments of the present application, the server obtains target recommendation information from N pieces of information to be recommended, specifically including the following steps:
[0188] The server obtains the historical recommendation number and the historical conversion number corresponding to each piece of information to be recommended in the N pieces of information to be recommended;
[0189] The server determines N probability distributions according to the historical recommendation counts and historical conversion counts corresponding to each piece of information to be recommended, wherein each probability distribution corresponds to one piece of information to be recommended;
[0190] The server obtains a random probability value from each probability distribution in the N probability distributions to obtain N random probability values;
[0191] The server determines a first random probability value from the N random probability values, wherein the first random probability value is a maximum value among the N random probability values;
[0192] The server determines the to-be-recommended information corresponding to the first random probability value as the target recommended information.
[0193] In this embodiment, a method for determining target recommendation information based on the Thompson Sampling algorithm is provided. The Thompson Sampling algorithm establishes a Beta distribution for each possible option. The initial values of the parameters α and β can be adjusted with prior experience. For example, the initial values of the parameters α and β are both 1. Then, each β distribution generates a random value, and the maximum value among the obtained results is selected as the option for this time. Then, the parameters α and β are adjusted according to the actual results, and the whole process is repeated.
[0194] Specifically, for ease of introduction, see Fig. 9 , Fig. 9 This is a schematic diagram of determining the target recommendation information based on the Thompson sampling algorithm in the embodiment of the present application. As shown in the figure, N pieces of information to be recommended are information to be recommended A, information to be recommended B, and information to be recommended C. There is a probability distribution behind whether each piece of information to be recommended generates revenue. The probability of generating revenue is p. After continuous experiments, a "probability distribution of probability p" with a high confidence level can be estimated, which can approximately solve this problem. Assuming that the probability distribution p conforms to the Beta (α, β) distribution, each piece of information to be recommended maintains a probability distribution, that is, information to be recommended A satisfies probability distribution A, information to be recommended B satisfies probability distribution B, and information to be recommended C satisfies probability distribution C.
[0195] Based on this, when selecting information to be recommended, a random probability value can be obtained from each probability distribution. For example, random probability value A is randomly selected from probability distribution A, random probability value B is randomly selected from probability distribution B, and random probability value C is randomly selected from probability distribution C. If random probability value C is the largest, random probability value C is determined to be the first random probability value. Therefore, the server can determine the information to be recommended corresponding to the first random probability value as the target recommended information, for example, the information to be recommended C corresponding to random probability value C is used as the target recommended information.
[0196] In the actual push process, each time a piece of information to be recommended is selected, if the user converts to the information to be recommended, the parameter α increases by 1, otherwise, the parameter β increases by 1. Therefore, after multiple selections, the probability distribution of the information to be recommended will become narrower and narrower. For ease of understanding, please refer to Fig.10 , Fig.10 This is a schematic diagram of updating the probability distribution in an embodiment of the present application. As shown in the figure, the N probability distributions all become narrower, especially the probability distribution C becomes narrower, which is basically consistent with expectations.
[0197] It should be noted that the present application can select target recommendation information based on the UCB algorithm and the Thompson Sampling algorithm according to the priority. For example, taking the UCB algorithm priority being higher than the Thompson Sampling algorithm priority as an example, assuming that the target recommendation information is determined to be information A to be recommended based on the UCB algorithm, and the target recommendation information is determined to be information B to be recommended based on the Thompson Sampling algorithm, then the information A to be recommended is finally used as the target recommendation information. For example, taking the Thompson Sampling algorithm priority being higher than the UCB algorithm priority as an example, assuming that the target recommendation information is determined to be information A to be recommended based on the UCB algorithm, and the target recommendation information is determined to be information B to be recommended based on the Thompson Sampling algorithm, then the information B to be recommended is finally used as the target recommendation information.
[0198] Secondly, in an embodiment of the present application, a method for determining target recommendation information based on the Thompson Sampling algorithm is provided. Through the above method, for each conversion behavior, according to the probability density function of the conversion behavior, sampling is performed with a probability that conforms to the distribution of the probability density function, thereby realizing the process of exploration and utilization, thereby selecting the target recommendation information, thereby improving the feasibility and operability of the solution.
[0199] Optionally, in the above Figure 3 On the basis of the corresponding embodiments, in another optional embodiment of the information recommendation method provided in the embodiments of the present application, after the server sends the first recommendation result to the terminal device so that the terminal device displays the first recommendation result, the method further includes the following steps:
[0200] If the server receives the response information sent by the terminal device, the server updates the historical recommendation number and the historical conversion number corresponding to the first recommendation result;
[0201] If the server does not receive the response information sent by the terminal device, the server updates the historical recommendation number corresponding to the first recommendation result.
[0202] In this embodiment, a method of feedback conversion behavior based on the first recommendation result is introduced. After the server determines the first recommendation result, the first recommendation result can be sent to the terminal device used by the new user, and the terminal device displays the first recommendation result. The new user can interact with the first recommendation result, for example, click on the first recommendation result, view the first recommendation result, or comment on the first recommendation result.
[0203] Specifically, if the first recommendation result is an advertisement for a certain product, and the user browses the advertisement for the product, or adds the product to the shopping cart, or follows the store of the product, or purchases the product, or comments on the product, the new user can feedback response information to the server through the terminal device, wherein the response information carries the user ID of the new user (for example, the device ID number or the temporarily assigned ID) and the product ID, and updates the historical recommendation count and historical conversion count of the first recommendation result pair according to this conversion behavior. On the contrary, if the user does not have any feedback on the first recommendation result, or directly selects the "not interested" option, the server will not receive the response information, or receive a message rejection request sent by the terminal device, so the server only updates the historical recommendation count corresponding to the first recommendation result.
[0204] For ease of understanding, take the first recommendation result as the information to be recommended A as an example, assuming that the historical recommendation number of the information to be recommended A is 200, and the historical conversion number is 20. If the server receives the response information sent by the terminal device, the historical recommendation number of the information to be recommended A is updated to 201, and the historical conversion number is updated to 21. On the contrary, if the server does not receive the response information sent by the terminal device, the historical recommendation data of the information to be recommended A is updated to 201, and the historical conversion number remains 20.
[0205] It is understandable that after receiving the response information, the server can also extract the following information as the user portrait of the new user based on the response information, so as to optimize the subsequent process of recommending information to the new user.
[0206] 1. Device information: The response information can also carry the device information of the terminal device, such as the mobile phone brand and model. Users of certain brands are statistically distinguishable to a certain extent. For example, most users of a certain brand are students, or most users of a certain brand are business people. Even different models of the same brand of mobile phone have differences. For example, a certain model is mainly positioned for female users, or a certain model is mainly positioned for children.
[0207] 2. Location information: The response information may also carry the location information of the terminal device, including but not limited to provinces, cities, streets or business districts, etc. Based on the effective location information, localized information can also be recommended to achieve personalized recommendations. The methods for obtaining location information include but are not limited to positioning based on the Global Positioning System (GPS), positioning based on base stations, positioning based on the Assisted Global Positioning System (AGPS), and positioning using Wireless Fidelity (WiFi).
[0208] 3. Network information: The response information may also carry the network information of the terminal device, such as the 4th generation mobile communication technology (4G) network, WiFi information or the 5th generation mobile networks (5G), etc. WiFi information can also be used to determine location information and further identify users in the same WiFi network. If there are not many users in the same WiFi network, these users may have a closer relationship with each other. Such a close relationship can be used for further data mining and personalized recommendations.
[0209] Furthermore, in an embodiment of the present application, a method for feedback of conversion behavior based on the first recommendation result is provided. Through the above method, after pushing the first recommendation result to the new user, the new user's feedback on the first recommendation result can be further captured to determine whether conversion behavior has occurred. Based on this, it can help the recommendation system understand the needs of the new user, making it easier to push content that is more in line with the new user's preferences in the future, thereby improving the accuracy of information push.
[0210] Optionally, in the above Figure 3 On the basis of the corresponding embodiments, another optional embodiment of the information recommendation method provided in the embodiments of the present application further includes the following steps:
[0211] The server obtains, for each of the N pieces of information to be recommended, an updated historical recommendation number and an updated historical conversion number of each piece of information to be recommended;
[0212] The server determines N updated conversion rates according to the updated historical recommendation count and the updated historical conversion count of each to-be-recommended information, wherein the N updated conversion rates include the updated conversion rate of each to-be-recommended information;
[0213] The server determines the recommended information corresponding to the maximum value of the N updated conversion rates as the second recommendation result;
[0214] The server sends the second recommendation result to the terminal device, so that the terminal device displays the second recommendation result.
[0215] In this embodiment, a method of dynamically adjusting historical data in a non-cold start scenario is introduced. As can be seen from the above embodiments, the conversion behavior may include multiple behaviors. For ease of introduction, "clicking on information and jumping to a specific page" will be used as a conversion behavior.
[0216] Specifically, taking N information to be recommended as information A to be recommended, information B to be recommended and information C to be recommended as an example, please refer to Table 2, which is a schematic diagram of the historical recommendation number and the historical conversion number of each information to be recommended.
[0217] Table 2
[0218] Recommended information Historical recommendation number Historical conversion count Recommended information A 200 20 Recommended information B 500 100 Recommended information C 800 50
[0219] Based on Table 2, the historical number of recommendations and the historical number of conversions of each information to be recommended can be used to calculate the conversion rate of the information to be recommended using the following formula:
[0220] Conversion rate = (historical conversion number / historical recommendation number) × 100%;
[0221] Thus, the conversion rate of the information to be recommended A is (20 / 200)×100%=10%. The conversion rate of the information to be recommended B is (100 / 500)×100%=20%. The conversion rate of the information to be recommended C is (50 / 800)×100%=6.25%. Based on this, the information to be recommended B can be determined as the target recommended information. After the information to be recommended B is determined as the target recommended information, the first recommendation result is determined using the first probability value (ε) and the second probability value (1-ε). It should be noted that the method for determining the first recommendation result has been described in the aforementioned embodiment, so it will not be repeated here.
[0222] After the server sends the first recommendation result to the terminal device, the new user can choose whether to click on the information and jump to a specific page through the terminal device. If the first recommendation result is clicked, the conversion behavior is realized. Conversely, if the first recommendation information is not clicked, the conversion behavior is not realized. After pushing the first recommendation information, the new user's preference for the first recommendation information can be captured. Therefore, in the subsequent push process, the user's preference can be given priority according to a certain ratio. The following will introduce the method of pushing the second recommendation result with two examples.
[0223] Method 1: Determine the second recommendation result based on the overall data.
[0224] For the sake of ease of introduction, based on the contents shown in Table 2, assuming that the first recommendation result is the information B to be recommended, after the information B to be recommended is recommended to the new user, the new user clicks to view the information B to be recommended and jumps to a specific page, thereby obtaining the updated historical recommendation number and the updated historical conversion number as shown in Table 3.
[0225] Table 3
[0226] Recommended information Updated historical recommendation count The updated history is converted Recommended information A 200 20 Recommended information B 501 101 Recommended information C 800 50
[0227] Based on Table 3, the historical recommendation number and historical conversion number of each updated information to be recommended are used to calculate the conversion rate of the information to be recommended using the following formula:
[0228] Updated conversion rate = (updated historical conversion number / updated historical recommendation number) × 100%;
[0229] Thus, the conversion rate of the updated information A to be recommended is (20 / 200)×100%=10%. The conversion rate of the updated information B to be recommended is (101 / 501)×100%=20.2%. The conversion rate of the information C to be recommended is (50 / 800)×100%=6.25%. Based on this, the information B to be recommended can continue to be determined as the target recommended information. After the information B to be recommended is determined as the target recommended information, the second recommendation result is determined using the first probability value (ε) and the second probability value (1-ε). Then, the server sends the second recommendation result to the terminal device, and the terminal device displays the second recommendation result. It should be noted that the method for determining the second recommendation result is similar to the method for determining the first recommendation result, which will not be repeated here.
[0230] Method 2: determining the second recommendation result based on personalized data.
[0231] For the sake of ease of introduction, based on the contents shown in Table 2, assuming that the first recommendation result is the information B to be recommended, after the information B to be recommended is recommended to the new user, the new user clicks to view the information B to be recommended and jumps to a specific page, thereby increasing the number of recommendations and the number of conversions according to a certain proportion. For example, the number of conversions and the number of recommendations are magnified by 10 times, thereby obtaining the updated historical recommendation number and the updated historical conversion number as shown in Table 4.
[0232] Table 4
[0233] Recommended information Updated historical recommendation count The updated history is converted Recommended information A 200 20 Recommended information B 510 110 Recommended information C 800 50
[0234] Based on Table 3, the historical recommendation number and historical conversion number of each updated information to be recommended are used to calculate the conversion rate of the information to be recommended using the following formula:
[0235] Updated conversion rate = (updated historical conversion number / updated historical recommendation number) × 100%;
[0236] Thus, the conversion rate of the updated information A to be recommended is (20 / 200)×100%=10%. The conversion rate of the updated information B to be recommended is (101 / 501)×100%=21.6%. The conversion rate of the information C to be recommended is (50 / 800)×100%=6.25%. Based on this, the information B to be recommended can continue to be determined as the target recommended information. After the information B to be recommended is determined as the target recommended information, the second recommendation result is determined using the first probability value (ε) and the second probability value (1-ε). Then, the server sends the second recommendation result to the terminal device, and the terminal device displays the second recommendation result. It should be noted that the method for determining the second recommendation result is similar to the method for determining the first recommendation result, which will not be repeated here.
[0237] It can be understood that, in this embodiment, the number of conversions and the number of recommendations are magnified by 10 times. In practical applications, other magnifications can be used to magnify the number of conversions and the number of recommendations, which is not limited here.
[0238] Furthermore, in the embodiment of the present application, a method of dynamically adjusting historical data in a non-cold start scenario is adopted. Through the above method, after obtaining the feedback of the new user on the first recommended information, the feedback and the historical data of other users can be used as the basis for recommending the preferences of the new user, updating the content of the recommendation results, and achieving better recommendation effects. In addition, the size of the conversion rate can be sorted, thereby recommending multiple information.
[0239] Optionally, in the above Figure 3 On the basis of the corresponding embodiments, another optional embodiment of the information recommendation method provided in the embodiments of the present application further includes the following steps:
[0240] The server obtains, for each of the N pieces of information to be recommended, an updated historical recommendation number and an updated historical conversion number of each piece of information to be recommended;
[0241] The server determines N updated probability distributions according to the historical recommendation count and the historical conversion count corresponding to each piece of information to be recommended, wherein each updated probability distribution corresponds to one piece of information to be recommended;
[0242] The server obtains a random probability value from each updated probability distribution in the N updated probability distributions to obtain N updated random probability values;
[0243] The server determines a second random probability value from the N updated random probability values, wherein the second random probability value is the maximum value among the N updated random probability values;
[0244] The server determines the information to be recommended corresponding to the second random probability value as the second recommendation result;
[0245] The server sends the second recommendation result to the terminal device, so that the terminal device displays the second recommendation result.
[0246] In this embodiment, a method of dynamically adjusting the probability distribution in a non-cold start scenario is introduced. As can be seen from the above embodiments, the conversion behavior may include multiple behaviors. For ease of introduction, "clicking on information and jumping to a specific page" will be used as a conversion behavior.
[0247] Specifically, take N information to be recommended as information A to be recommended, information B to be recommended, and information C to be recommended as an example, and please refer to the contents of Table 2, Table 3, and Table 4 again, thereby obtaining the updated historical recommendation number and the updated historical conversion number, and determining the updated Beta distribution based on the updated historical recommendation number and the updated historical conversion number, that is, obtaining N updated probability distributions. Based on this, the target recommendation information can be determined based on the N updated probability distributions, and the second recommendation result can be determined using the first probability value (ε) and the second probability value (1-ε). Then, the server sends the second recommendation result to the terminal device, and the terminal device displays the second recommendation result. It should be noted that the method for determining the second recommendation result is similar to the method for determining the first recommendation result, and will not be repeated here.
[0248] Furthermore, in the embodiment of the present application, a method of dynamically adjusting the probability distribution in a non-cold start scenario is adopted. Through the above method, after obtaining the feedback of the new user on the first recommended information, the feedback and the historical data of other users can be used as the basis for recommending the preferences of the new user and updating the content of the recommendation result. In addition, the size of the conversion rate can be sorted, thereby recommending multiple information to achieve a better recommendation effect.
[0249] Optionally, in the above Figure 3 On the basis of the corresponding embodiments, in another optional embodiment of the information recommendation method provided by the embodiment of the present application, the first recommendation result includes at least one of advertising information, electronic voucher information, friend information, audio-visual information, text information and web page information;
[0250] Before the server sends the first recommendation result to the terminal device so that the terminal device displays the first recommendation result, the following steps are also included:
[0251] The server obtains a user ID of the user, wherein the user ID is inconsistent with a stored user ID;
[0252] The server determines the terminal device according to the user identification of the user.
[0253] In this embodiment, a method of pushing recommendation results to new users in the case of a new user cold start is introduced. Before the server sends the first recommendation result to the terminal device, it can determine whether the user using the terminal device is a new user. Usually, if it is a new user, the user identifier of the new user fails to match the stored user identifier. Based on this, in the face of the problem of cold start of new users, the information recommendation method provided by this application can be used to select the first recommendation result, and then send the first recommendation result to the terminal device used by the new user. Conversely, if it is an old user, the user identifier of the old user matches the stored user identifier. In this case, the relevant information of the old user can be extracted, and personalized recommendations can be made based on this information, that is, there is no problem of cold start for new users.
[0254] Specifically, the first recommendation result includes but is not limited to advertisement information, electronic voucher information, friend information, audio-visual information, text information and web page information. The first recommendation result will be introduced below with reference to four specific examples.
[0255] 1. The first recommended result is advertising information;
[0256] For easier understanding, see Fig.11 , Fig.11 This is a schematic diagram of an interface for pushing advertising information in an embodiment of the present application. As shown in the figure, taking an information application as an example, a new user logs in to the information application as a visitor and can browse some news information through the information application. At the same time, the information application can also push some advertising information to the new user. For example, the pushed advertising information is "X brand digital camera", related copy and pictures, etc. If the new user is interested in this advertising information, he can click on the advertising information and browse more content. If the new user is not interested in this advertising information, he can ignore it directly or click the "Not Interested" button.
[0257] 2. The first recommended result is the electronic voucher information;
[0258] For easier understanding, see Fig.12 , Fig.12 This is a schematic diagram of an interface for pushing electronic voucher information in an embodiment of the present application. As shown in the figure, taking a shopping application as an example, a new user logs in to the shopping application as a visitor and can receive some electronic voucher information through the shopping application. For example, the pushed electronic voucher information includes the electronic voucher of the restaurant "Happy Grilled Fish", the preferential content of the electronic voucher, the serial number and the validity period, etc. If the new user is interested in this electronic voucher information, he can click on the electronic voucher information and view more detailed content, or directly click the "Confirm Voucher" button. If the new user is not interested in this electronic voucher information, it can be ignored directly.
[0259] 3. The first recommended result is video information;
[0260] For easier understanding, see Fig.13 , Fig.13 This is a schematic diagram of an interface for pushing video information in an embodiment of the present application. As shown in the figure, taking a video application as an example, a new user logs in to the video application as a visitor and can watch movies, TV series, variety shows, and animations through the video application. At the same time, the video application can also push some video information to the new user. For example, the pushed video information includes the relevant content of the variety show "Happy Home" and previous videos. If the new user is interested in this video information, he can click on the video and watch it. If the new user is not interested in this video information, he can ignore it directly or click the "Not Interested" button.
[0261] 4. The first recommended result is friend information;
[0262] For easier understanding, see Fig.14 , Fig.14 This is a schematic diagram of an interface for pushing friend information in an embodiment of the present application. As shown in the figure, taking a social application as an example, a new user logs in to the social application as a visitor and can add some friends or public accounts through the social application. At the same time, the information application can also push some friend information to the new user. For example, the friend information pushed is the public account of "Happy Novels", related copywriting, account name, and the number of original articles. If the new user is interested in this friend information, he can select the "Click to Follow" button. If the new user is not interested in this friend information, he can ignore it directly or click the "Not Interested" button.
[0263] Secondly, in an embodiment of the present application, a method for pushing recommendation results to new users in the case of a new user cold start is provided. Through the above method, different types of information can be pushed to new users, thereby increasing the flexibility of the solution. At the same time, information that may be of interest to new users is recommended as much as possible, thereby improving the information recommendation effect.
[0264] The information recommendation device in this application is described in detail below. Fig.15 , Fig.15 This is a schematic diagram of an embodiment of an information recommendation device in an embodiment of the present application. The information recommendation device 20 includes:
[0265] The acquisition module 201 is used to acquire N pieces of information to be recommended, where N is an integer greater than or equal to 2;
[0266] The acquisition module 201 is further used to acquire target recommended information from the N pieces of information to be recommended, wherein the conversion rate corresponding to the target recommended information is the maximum value of the conversion rates corresponding to the N pieces of information to be recommended;
[0267] The acquisition module 201 is further used to acquire a first probability value and a second probability value, wherein the sum of the first probability value and the second probability value is 1;
[0268] A determination module 202 is used to determine a first recommendation result from the N pieces of information to be recommended according to a first probability value and a second probability value, wherein the first probability value represents the probability of determining the first recommendation result from the N pieces of information to be recommended with equal probability, and the second probability value represents the probability of taking the target recommendation information as the first recommendation result;
[0269] The sending module 203 is used to send the first recommendation result to the terminal device so that the terminal device displays the first recommendation result.
[0270] In an embodiment of the present application, an information recommendation device is provided, which first obtains N information to be recommended, then obtains target recommended information from the N information to be recommended, the conversion rate corresponding to the target recommended information is the maximum value of the N conversion rates, obtains a first probability value and a second probability value, wherein the sum of the first probability value and the second probability value is 1, thereby determining a first recommendation result from the N information to be recommended according to the first probability value and the second probability value, and finally, sends the first recommendation result to a terminal device, which displays the first recommendation result. With the above device, the principle of MAB is used to use the conversion rate of the information to be recommended as available information, thereby maximizing the benefits. At the same time, all the information to be recommended is used as information for exploring the user's interest, and is pushed to the user with equal probability, thereby developing the user's interest points. In this way, the information that the user is actually interested in can be found in several recommendations, thereby helping to improve the effect of information recommendation.
[0271] Optionally, in the above Fig.15 On the basis of the corresponding embodiment, in another embodiment of the information recommendation device 20 provided in the embodiment of the present application,
[0272] The determination module 202 is specifically configured to obtain a first probability range corresponding to the first probability value and a second probability range corresponding to the second probability value;
[0273] Randomly obtain a target probability value from the first probability range and the second probability range;
[0274] If the target probability value belongs to the first probability range, the first recommendation result is randomly obtained from the N pieces of information to be recommended with equal probability;
[0275] If the target probability value belongs to the second probability range, the target recommendation information is determined as the first recommendation result.
[0276] In an embodiment of the present application, an information recommendation device is provided, which uses the above device to weigh exploration and utilization using the first probability value and the second probability value, so as to maximize the benefits as much as possible. The exploration process needs to take into account past experience and be able to explore the recommended information with potential high returns, that is, to achieve the purpose of non-greedy and long-term returns. The utilization process is based on the best known strategy to develop and utilize target recommendation information known to have higher returns, that is, to achieve the purpose of greed and short-term returns. Combining the exploration process and the utilization process is conducive to obtaining better recommendation results.
[0277] Optionally, in the above Fig.15 On the basis of the corresponding embodiment, in another embodiment of the information recommendation device 20 provided in the embodiment of the present application,
[0278] The acquisition module 201 is specifically used to acquire the historical recommendation number and the historical conversion number corresponding to each of the N pieces of information to be recommended;
[0279] Determine N conversion rates according to the historical recommendation number and the historical conversion number corresponding to each piece of information to be recommended, wherein the N conversion rates include the conversion rate corresponding to each piece of information to be recommended;
[0280] The to-be-recommended information corresponding to the maximum value among the N conversion rates is determined as the target recommended information.
[0281] In an embodiment of the present application, an information recommendation device is provided. By using the above device, when it is impossible to obtain relevant information about a new user, historical data of other users can still be used as a basis for inferring the preferences of the new user. In addition, the conversion rates can be ranked, thereby recommending multiple information to achieve better recommendation effects.
[0282] Optionally, in the above Fig.15 On the basis of the corresponding embodiment, in another embodiment of the information recommendation device 20 provided in the embodiment of the present application,
[0283] The acquisition module 201 is specifically used to acquire N confidence intervals corresponding to N pieces of information to be recommended, wherein each confidence interval corresponds to one piece of information to be recommended;
[0284] Obtaining a first confidence interval from the N confidence intervals, wherein an upper bound value of the first confidence interval is a maximum value among the N upper bound values, and each upper bound value corresponds to a confidence interval;
[0285] If the first confidence interval meets the information recommendation condition, the to-be-recommended information corresponding to the first confidence interval is determined as the target recommended information.
[0286] In the embodiment of the present application, an information recommendation device is provided. By using the above device and the UCB algorithm, the limitations brought by the exploration process can be overcome, and the gap between the level and the suboptimality can be understood. The UCB algorithm can quickly find the best information to be recommended, and when the number of simulations is sufficient, more accurate results can be obtained, thereby improving the reliability of information recommendation.
[0287] Optionally, in the above Fig.15 On the basis of the corresponding embodiment, in another embodiment of the information recommendation device 20 provided in the embodiment of the present application, the information recommendation device 20 further includes a processing module 204;
[0288] The determination module 202 is further configured to, after the acquisition module acquires the first confidence interval from the N confidence intervals, determine the information to be recommended corresponding to the first confidence interval as the information to be adjusted if the first confidence interval does not meet the information recommendation condition;
[0289] The acquisition module 201 is also used to acquire the historical recommendation number and the historical conversion number corresponding to the information to be adjusted;
[0290] The determination module 202 is further used to determine the average reward corresponding to the information to be adjusted according to the historical recommendation number and the historical conversion number corresponding to the information to be adjusted;
[0291] A processing module 204 is used to adjust the first confidence interval according to the average reward corresponding to the information to be adjusted to obtain a second confidence interval;
[0292] The acquisition module 201 is further used to acquire a third confidence interval according to the second confidence interval and the (N-1) confidence intervals, wherein the upper limit value of the third confidence interval is the maximum value of the N upper limit values, each upper limit value of the N upper limit values corresponds to a confidence interval, and the (N-1) confidence interval is the confidence interval of the N confidence intervals excluding the second confidence interval;
[0293] The determination module 202 is further configured to determine the to-be-recommended information corresponding to the third confidence interval as the target recommended information if the third confidence interval satisfies the information recommendation condition.
[0294] In the embodiment of the present application, an information recommendation device is provided. Using the above device, if it is determined that the first confidence interval taken out this time does not meet the information recommendation condition, it is necessary to adjust the width of the first confidence interval, and then continue to find a suitable confidence interval until a suitable confidence interval is obtained. It can be seen that the whole process can achieve the effect of optimizing the selection, and in the case of a new user cold start, the highest conversion rate can be estimated, so as to achieve the purpose of determining the target recommended information based on the UCB algorithm, thereby improving the feasibility and operability of the solution.
[0295] Optionally, in the above Fig.15 On the basis of the corresponding embodiment, in another embodiment of the information recommendation device 20 provided in the embodiment of the present application,
[0296] The acquisition module 201 is further configured to acquire the total number of adjustments corresponding to the N confidence intervals after acquiring the first confidence interval from the N confidence intervals;
[0297] The determination module 202 is further configured to determine that the first confidence interval meets the information recommendation condition if the total number of adjustments is greater than or equal to the adjustment number threshold;
[0298] The determination module 202 is further configured to determine whether the first confidence interval satisfies the information recommendation condition if the total number of adjustments is less than the adjustment number threshold.
[0299] In the embodiment of the present application, an information recommendation device is provided. With the above device, the total number of adjustments can be preset before estimating the target recommended information. Once the total number of adjustments is reached, it is no longer determined whether other confidence intervals meet the information recommendation conditions. Therefore, it can save processing resources to a certain extent and improve the efficiency of determining the target recommended information. This is conducive to improving the effect of online recommended information.
[0300] Optionally, in the above Fig.15 On the basis of the corresponding embodiment, in another embodiment of the information recommendation device 20 provided in the embodiment of the present application,
[0301] The acquisition module 201 is further used to obtain a lower limit value of the first confidence interval;
[0302] The determination module 202 is further configured to determine that the first confidence interval satisfies the information recommendation condition if the lower limit value of the first confidence interval is greater than or equal to the upper limit value of each confidence interval in (N-1) confidence intervals, wherein the (N-1) confidence intervals are confidence intervals in the N confidence intervals excluding the first confidence interval;
[0303] The determination module 202 is further configured to determine that the first confidence interval does not meet the information recommendation condition if the lower limit value of the first confidence interval is less than the upper limit value of any one of the (N-1) confidence intervals.
[0304] In an embodiment of the present application, an information recommendation device is provided. Using the above device, when the lower limit value of a confidence interval is greater than the upper limit value of other confidence intervals, it can be considered that the confidence interval has reached convergence, and subsequent values will tend to select this confidence interval, that is, the information recommendation conditions are met, thereby improving the feasibility and operability of the solution.
[0305] Optionally, in the above Fig.15 On the basis of the corresponding embodiment, in another embodiment of the information recommendation device 20 provided in the embodiment of the present application,
[0306] The acquisition module 201 is specifically used to acquire the historical recommendation number and the historical conversion number corresponding to each of the N pieces of information to be recommended;
[0307] According to the historical recommendation number and the historical conversion number corresponding to each information to be recommended, determine N probability distributions, where each probability distribution corresponds to one information to be recommended;
[0308] For each probability distribution in the N probability distributions, obtain a random probability value from each probability distribution to obtain N random probability values;
[0309] Determine a first random probability value from the N random probability values, wherein the first random probability value is a maximum value among the N random probability values;
[0310] The to-be-recommended information corresponding to the first random probability value is determined as the target recommended information.
[0311] In an embodiment of the present application, an information recommendation device is provided. Using the above device, for each conversion behavior, according to the probability density function of the conversion behavior, sampling is performed with a probability that conforms to the distribution of the probability density function, thereby realizing the process of exploration and utilization, thereby selecting target recommended information, thereby improving the feasibility and operability of the solution.
[0312] Optionally, in the above Fig.15 On the basis of the corresponding embodiment, in another embodiment of the information recommendation device 20 provided in the embodiment of the present application, the information recommendation device further includes a processing module 204;
[0313] The processing module 204 is further configured to cause the sending module 203 to send the first recommendation result to the terminal device, so that after the terminal device displays the first recommendation result, if a response message sent by the terminal device is received, the historical recommendation number and the historical conversion number corresponding to the first recommendation result are updated;
[0314] The processing module 204 is further configured to cause the sending module 203 to send the first recommendation result to the terminal device, so that after the terminal device displays the first recommendation result, if no response information sent by the terminal device is received, the historical recommendation number corresponding to the first recommendation result is updated.
[0315] In an embodiment of the present application, an information recommendation device is provided. By using the above-mentioned device, after pushing the first recommendation result to the new user, the feedback of the new user on the first recommendation result can be further captured to determine whether conversion behavior has occurred. Based on this, it can help the recommendation system understand the needs of the new user, so as to facilitate the subsequent pushing of content that is more in line with the preferences of the new user, thereby improving the accuracy of information push.
[0316] Optionally, in the above Fig.15 On the basis of the corresponding embodiment, in another embodiment of the information recommendation device 20 provided in the embodiment of the present application,
[0317] The acquisition module 201 is further used to acquire, for each of the N pieces of information to be recommended, the updated historical recommendation count and the updated historical conversion count of each piece of information to be recommended;
[0318] The determination module 202 is further used to determine N updated conversion rates according to the updated historical recommendation number and the updated historical conversion number of each to-be-recommended information, wherein the N updated conversion rates include the updated conversion rate of each to-be-recommended information;
[0319] The determination module 202 is further configured to determine the to-be-recommended information corresponding to the maximum value of the N updated conversion rates as the second recommendation result;
[0320] The sending module 203 is further configured to send the second recommendation result to the terminal device so that the terminal device displays the second recommendation result.
[0321] In the embodiment of the present application, an information recommendation device is provided. With the above device, after obtaining the feedback of the new user on the first recommended information, the feedback and the historical data of other users can be used as the basis for recommending the preferences of the new user and updating the content of the recommendation result. In addition, the size of the conversion rate can be sorted, thereby recommending multiple information to achieve a better recommendation effect.
[0322] Optionally, in the above Fig.15 On the basis of the corresponding embodiment, in another embodiment of the information recommendation device 20 provided in the embodiment of the present application,
[0323] The acquisition module 201 is further used to acquire, for each of the N pieces of information to be recommended, the updated historical recommendation count and the updated historical conversion count of each piece of information to be recommended;
[0324] The determination module 202 is further used to determine N updated probability distributions according to the historical recommendation number and the historical conversion number corresponding to each information to be recommended, wherein each updated probability distribution corresponds to one information to be recommended;
[0325] The acquisition module 201 is further used to acquire a random probability value from each updated probability distribution in the N updated probability distributions to obtain N updated random probability values;
[0326] The determination module 202 is further configured to determine a second random probability value from the N updated random probability values, wherein the second random probability value is a maximum value among the N updated random probability values;
[0327] The determination module 202 is further configured to determine the information to be recommended corresponding to the second random probability value as a second recommendation result;
[0328] The sending module 203 is further configured to send the second recommendation result to the terminal device so that the terminal device displays the second recommendation result.
[0329] In the embodiment of the present application, an information recommendation device is provided. With the above device, after obtaining the feedback of the new user on the first recommended information, the feedback and the historical data of other users can be used as the basis for recommending the preferences of the new user and updating the content of the recommendation result. In addition, the size of the conversion rate can be sorted, thereby recommending multiple information to achieve a better recommendation effect.
[0330] Optionally, in the above Fig.15 On the basis of the corresponding embodiment, in another embodiment of the information recommendation device 20 provided in the embodiment of the present application, the first recommendation result includes at least one of advertisement information, electronic voucher information, friend information, video and audio information, text information and web page information;
[0331] The acquisition module 201 is further configured to acquire a user identifier of a user before the sending module 203 sends the first recommendation result to the terminal device so that the terminal device displays the first recommendation result, wherein the user identifier is inconsistent with the stored user identifier;
[0332] The determination module 202 is further configured to determine a terminal device according to a user identifier of the user.
[0333] In an embodiment of the present application, an information recommendation device is provided. By using the above device, different types of information can be pushed to new users, thereby increasing the flexibility of the solution. At the same time, information that may be of interest to new users can be recommended as much as possible, thereby improving the information recommendation effect.
[0334] The information recommendation device provided in this application can be deployed on a server or a terminal device. The following will take the deployment of the information recommendation device on a server as an example for introduction. Fig.16 , Fig.163 is a schematic diagram of the structure of the server 30 in the embodiment of the present application. The server 30 may include an input device 310, an output device 320, a processor 330 and a memory 340. The output device in the embodiment of the present application may be a display device.
[0335] The memory 340 may include a read-only memory and a random access memory, and provides instructions and data to the processor 330. A portion of the memory 340 may also include a non-volatile random access memory (NVRAM).
[0336] The memory 340 stores the following elements, executable modules or data structures, or a subset thereof, or an extended set thereof:
[0337] Operation instructions: include various operation instructions, used to implement various operations.
[0338] Operating system: includes various system programs used to implement various basic businesses and handle hardware-based tasks.
[0339] In the embodiment of the present application, the processor 330 is used for:
[0340] Obtain N pieces of information to be recommended, where N is an integer greater than or equal to 2;
[0341] Obtain target recommended information from N pieces of information to be recommended, wherein the conversion rate corresponding to the target recommended information is the maximum value of the conversion rates corresponding to the N pieces of information to be recommended;
[0342] Obtaining a first probability value and a second probability value, wherein the sum of the first probability value and the second probability value is 1;
[0343] Determine a first recommendation result from the N pieces of information to be recommended according to the first probability value and the second probability value, wherein the first probability value represents the probability of determining the first recommendation result from the N pieces of information to be recommended with equal probability, and the second probability value represents the probability of taking the target recommendation information as the first recommendation result;
[0344] The first recommendation result is sent to the terminal device so that the terminal device displays the first recommendation result.
[0345] The processor 330 controls the operation of the server 30, and the processor 330 may also be referred to as a central processing unit (CPU). The memory 340 may include a read-only memory and a random access memory, and provides instructions and data to the processor 330. A portion of the memory 340 may also include an NVRAM. In a specific application, the various components of the server 30 are coupled together via a bus system 350, wherein the bus system 350 may include a power bus, a control bus, and a status signal bus in addition to a data bus. However, for the sake of clarity, various buses are labeled as bus systems 350 in the figure.
[0346] The method disclosed in the above embodiment of the present application can be applied to the processor 330, or implemented by the processor 330. The processor 330 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 330. The above processor 330 may be a general-purpose processor, a digital signal processor (Digital Signal Processing, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present application can be directly embodied as a hardware decoding processor to be executed, or the hardware and software modules in the decoding processor are combined and executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 340, and the processor 330 reads the information in the memory 340 and completes the steps of the above method in combination with its hardware.
[0347] Fig.16 For a description of Figure 3 You can understand the relevant descriptions and effects in the method part, and will not go into details here.
[0348] A computer-readable storage medium is also provided in an embodiment of the present application. The computer-readable storage medium stores a computer program, which, when executed on a computer, enables the computer to execute the methods described in the aforementioned embodiments.
[0349] The present application also provides a computer program product including a program, which, when executed on a computer, enables the computer to execute the methods described in the aforementioned embodiments.
[0350] With the research and advancement of artificial intelligence technology, artificial intelligence technology has been studied and applied in many fields, such as common smart homes, smart wearable devices, virtual assistants, smart speakers, smart marketing, unmanned driving, automatic driving, drones, robots, smart medical care, smart customer service, etc. I believe that with the development of technology, artificial intelligence technology will be applied in more fields and play an increasingly important role.
[0351] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0352] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0353] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0354] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0355] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0356] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for information recommendation, characterized in that: include: Obtain N pieces of information to be recommended, where N is an integer greater than or equal to 2; Acquire target recommended information from the N pieces of information to be recommended, wherein the conversion rate corresponding to the target recommended information is the maximum value of the conversion rates corresponding to the N pieces of information to be recommended; Obtaining a first probability value and a second probability value, wherein the sum of the first probability value and the second probability value is 1; Determine a first recommendation result from the N pieces of information to be recommended according to the first probability value and the second probability value, wherein the first probability value represents the probability of determining the first recommendation result from the N pieces of information to be recommended with equal probability, and the second probability value represents the probability of taking the target recommendation information as the first recommendation result; Sending the first recommendation result to a terminal device so that the terminal device displays the first recommendation result; The step of obtaining target recommended information from the N pieces of information to be recommended includes: Obtaining N confidence intervals corresponding to the N pieces of information to be recommended, wherein each confidence interval corresponds to one piece of information to be recommended; Obtaining a first confidence interval from the N confidence intervals, wherein an upper limit value of the first confidence interval is a maximum value among the N upper limit values, and each upper limit value corresponds to a confidence interval; Obtaining the total number of adjustments corresponding to the N confidence intervals; If the total number of adjustments is greater than or equal to the adjustment number threshold, determining that the first confidence interval meets the information recommendation condition; If the total number of adjustments is less than the adjustment number threshold, determining that the first confidence interval meets the information recommendation condition; If the first confidence interval satisfies the information recommendation condition, determining the to-be-recommended information corresponding to the first confidence interval as the target recommended information; If the first confidence interval does not meet the information recommendation condition, determining the to-be-recommended information corresponding to the first confidence interval as the to-be-adjusted information; Obtain the historical recommendation number and the historical conversion number corresponding to the information to be adjusted; Determine the average reward corresponding to the information to be adjusted according to the historical recommendation number and the historical conversion number corresponding to the information to be adjusted; Adjusting the first confidence interval according to the average reward corresponding to the information to be adjusted to obtain a second confidence interval; Obtaining a third confidence interval according to the second confidence interval and (N-1) confidence intervals, wherein an upper limit value of the third confidence interval is a maximum value among N upper limit values, each upper limit value of the N upper limit values corresponds to a confidence interval, and the (N-1) confidence intervals are confidence intervals of the N confidence intervals excluding the second confidence interval; If the third confidence interval satisfies the information recommendation condition, the to-be-recommended information corresponding to the third confidence interval is determined as the target recommended information.
2. The method according to claim 1, characterized in that The determining a first recommendation result from the N pieces of information to be recommended according to the first probability value and the second probability value includes: Obtaining a first probability range corresponding to the first probability value and a second probability range corresponding to the second probability value; Randomly obtain a target probability value from the first probability range and the second probability range; If the target probability value belongs to the first probability range, the first recommendation result is randomly obtained from the N pieces of information to be recommended with equal probability; If the target probability value belongs to the second probability range, the target recommendation information is determined as the first recommendation result.
3. The method according to claim 1, characterized in that The step of obtaining target recommended information from the N pieces of information to be recommended is replaced by: For each piece of information to be recommended among the N pieces of information to be recommended, obtaining a historical number of recommendations and a historical number of conversions corresponding to each piece of information to be recommended; Determine N conversion rates according to the historical recommendation counts and historical conversion counts corresponding to each piece of information to be recommended, wherein the N conversion rates include the conversion rate corresponding to each piece of information to be recommended; The to-be-recommended information corresponding to the maximum value among the N conversion rates is determined as the target recommended information.
4. The method according to claim 1, characterized in that: After obtaining the first confidence interval from the N confidence intervals, the method further includes: Obtaining a lower limit value of the first confidence interval; If the lower limit value of the first confidence interval is greater than or equal to the upper limit value of each confidence interval in (N-1) confidence intervals, it is determined that the first confidence interval meets the information recommendation condition, wherein the (N-1) confidence intervals are confidence intervals in the N confidence intervals excluding the first confidence interval; If the lower limit value of the first confidence interval is smaller than the upper limit value of any one of the (N-1) confidence intervals, it is determined that the first confidence interval does not meet the information recommendation condition.
5. The method according to claim 1, characterized in that The step of obtaining target recommended information from the N pieces of information to be recommended is replaced by: For each piece of information to be recommended among the N pieces of information to be recommended, obtaining a historical number of recommendations and a historical number of conversions corresponding to each piece of information to be recommended; Determine N probability distributions according to the historical recommendation counts and historical conversion counts corresponding to each piece of information to be recommended, wherein each probability distribution corresponds to one piece of information to be recommended; For each of the N probability distributions, obtaining a random probability value from each probability distribution to obtain N random probability values; Determine a first random probability value from the N random probability values, wherein the first random probability value is the maximum value among the N random probability values; The to-be-recommended information corresponding to the first random probability value is determined as the target recommended information.
6. The method according to any one of claims 1 to 5, characterized in that After sending the first recommendation result to the terminal device so that the terminal device displays the first recommendation result, the method further includes: If the response information sent by the terminal device is received, the historical recommendation number and the historical conversion number corresponding to the first recommendation result are updated; If the response information sent by the terminal device is not received, the historical recommendation number corresponding to the first recommendation result is updated.
7. The method according to claim 6, characterized in that The method further comprises: For each piece of information to be recommended among the N pieces of information to be recommended, obtaining an updated historical recommendation number and an updated historical conversion number of each piece of information to be recommended; Determine N updated conversion rates according to the updated historical recommendation count and the updated historical conversion count of each piece of information to be recommended, wherein the N updated conversion rates include the updated conversion rate of each piece of information to be recommended; Determine the to-be-recommended information corresponding to the maximum value of the N updated conversion rates as the second recommendation result; The second recommendation result is sent to the terminal device so that the terminal device displays the second recommendation result.
8. The method according to claim 6, characterized in that The method further comprises: For each piece of information to be recommended among the N pieces of information to be recommended, obtaining an updated historical recommendation number and an updated historical conversion number of each piece of information to be recommended; Determine N updated probability distributions according to the historical recommendation counts and historical conversion counts corresponding to each piece of information to be recommended, wherein each updated probability distribution corresponds to one piece of information to be recommended; For each of the N updated probability distributions, obtaining a random probability value from each updated probability distribution to obtain N updated random probability values; Determine a second random probability value from the N updated random probability values, wherein the second random probability value is the maximum value among the N updated random probability values; Determining the to-be-recommended information corresponding to the second random probability value as a second recommendation result; The second recommendation result is sent to the terminal device so that the terminal device displays the second recommendation result.
9. The method according to claim 1, characterized in that: The first recommendation result includes at least one of advertisement information, electronic voucher information, friend information, video and audio information, text information, and web page information; Before sending the first recommendation result to the terminal device so that the terminal device displays the first recommendation result, the method further includes: Obtaining a user identifier of a user, wherein the user identifier is inconsistent with a stored user identifier; The terminal device is determined according to the user identification of the user.
10. An information recommendation device, characterized in that: include: An acquisition module, used to acquire N pieces of information to be recommended, wherein N is an integer greater than or equal to 2; The acquisition module is further used to acquire target recommended information from the N pieces of information to be recommended, wherein the conversion rate corresponding to the target recommended information is the maximum value of the conversion rates corresponding to the N pieces of information to be recommended; The acquisition module is further configured to acquire a first probability value and a second probability value, wherein the sum of the first probability value and the second probability value is 1; a determination module, configured to determine a first recommendation result from the N pieces of information to be recommended according to the first probability value and the second probability value, wherein the first probability value represents a probability of determining the first recommendation result from the N pieces of information to be recommended with equal probability, and the second probability value represents a probability of taking the target recommendation information as the first recommendation result; A sending module, configured to send the first recommendation result to a terminal device, so that the terminal device displays the first recommendation result; Wherein, the acquisition module is specifically used for: Obtaining N confidence intervals corresponding to the N pieces of information to be recommended, wherein each confidence interval corresponds to one piece of information to be recommended; Obtaining a first confidence interval from the N confidence intervals, wherein an upper limit value of the first confidence interval is a maximum value among the N upper limit values, and each upper limit value corresponds to a confidence interval; If the first confidence interval satisfies the information recommendation condition, determining the to-be-recommended information corresponding to the first confidence interval as the target recommended information; The determining module is further configured to, after the obtaining module obtains a first confidence interval from the N confidence intervals, determine the information to be recommended corresponding to the first confidence interval as the information to be adjusted if the first confidence interval does not meet the information recommendation condition; The acquisition module is further used to acquire the historical recommendation number and the historical conversion number corresponding to the information to be adjusted; The determination module is further used to determine the average reward corresponding to the information to be adjusted according to the historical recommendation number and the historical conversion number corresponding to the information to be adjusted; A processing module, configured to adjust the first confidence interval according to the average reward corresponding to the information to be adjusted, so as to obtain a second confidence interval; The acquisition module is further used to acquire a third confidence interval according to the second confidence interval and (N-1) confidence intervals, wherein an upper limit value of the third confidence interval is a maximum value among N upper limit values, each upper limit value of the N upper limit values corresponds to a confidence interval, and the (N-1) confidence intervals are confidence intervals of the N confidence intervals excluding the second confidence interval; The determination module is further configured to determine the to-be-recommended information corresponding to the third confidence interval as the target recommended information if the third confidence interval satisfies the information recommendation condition; The acquisition module is further configured to acquire the total number of adjustments corresponding to the N confidence intervals after acquiring the first confidence interval from the N confidence intervals; The determination module is further configured to determine that the first confidence interval meets the information recommendation condition if the total number of adjustments is greater than or equal to the adjustment number threshold; The determination module is further configured to determine that the first confidence interval satisfies the information recommendation condition if the total number of adjustments is less than an adjustment number threshold.
11. The device according to claim 10, characterized in that The determination module is specifically used for: Obtaining a first probability range corresponding to the first probability value and a second probability range corresponding to the second probability value; Randomly obtain a target probability value from the first probability range and the second probability range; If the target probability value belongs to the first probability range, the first recommendation result is randomly obtained from the N pieces of information to be recommended with equal probability; If the target probability value belongs to the second probability range, the target recommendation information is determined as the first recommendation result.
12. The device according to claim 10, characterized in that The acquisition module acquires target recommendation information from the N pieces of information to be recommended, specifically: For each piece of information to be recommended among the N pieces of information to be recommended, obtaining a historical number of recommendations and a historical number of conversions corresponding to each piece of information to be recommended; Determine N conversion rates according to the historical recommendation counts and historical conversion counts corresponding to each piece of information to be recommended, wherein the N conversion rates include the conversion rate corresponding to each piece of information to be recommended; The to-be-recommended information corresponding to the maximum value among the N conversion rates is determined as the target recommended information.
13. The device according to claim 10, characterized in that The acquisition module is further used to acquire a lower limit value of the first confidence interval; The determination module is further used to determine that the first confidence interval meets the information recommendation condition if the lower limit value of the first confidence interval is greater than or equal to the upper limit value of each confidence interval in the (N-1) confidence intervals, wherein the (N-1) confidence intervals are the confidence intervals in the N confidence intervals excluding the first confidence interval; if the lower limit value of the first confidence interval is less than the upper limit value of any one of the (N-1) confidence intervals, determine that the first confidence interval does not meet the information recommendation condition.
14. The device according to claim 10, characterized in that The acquisition module acquires target recommendation information from the N pieces of information to be recommended, specifically: For each piece of information to be recommended among the N pieces of information to be recommended, obtaining a historical number of recommendations and a historical number of conversions corresponding to each piece of information to be recommended; Determine N probability distributions according to the historical recommendation counts and historical conversion counts corresponding to each piece of information to be recommended, wherein each probability distribution corresponds to one piece of information to be recommended; For each of the N probability distributions, obtaining a random probability value from each probability distribution to obtain N random probability values; Determine a first random probability value from the N random probability values, wherein the first random probability value is the maximum value among the N random probability values; The to-be-recommended information corresponding to the first random probability value is determined as the target recommended information.
15. The device according to any one of claims 10 to 14, characterized in that The processing module is also used to send the first recommendation result to the terminal device so that after the terminal device displays the first recommendation result, if a response message sent by the terminal device is received, the historical recommendation number and the historical conversion number corresponding to the first recommendation result are updated; if the response message sent by the terminal device is not received, the historical recommendation number corresponding to the first recommendation result is updated.
16. The device according to claim 15, characterized in that The acquisition module is further used to acquire, for each of the N pieces of information to be recommended, an updated historical recommendation number and an updated historical conversion number of each piece of information to be recommended; The determination module is further configured to determine N updated conversion rates according to the updated historical recommendation counts and updated historical conversion counts of each of the to-be-recommended information, wherein the N updated conversion rates include the updated conversion rates of each of the to-be-recommended information; and determine the to-be-recommended information corresponding to the maximum value among the N updated conversion rates as the second recommendation result; The sending module is further used to send the second recommendation result to the terminal device, so that the terminal device displays the second recommendation result.
17. The device according to claim 15, characterized in that The acquisition module is further used to acquire, for each of the N pieces of information to be recommended, an updated historical recommendation number and an updated historical conversion number of each piece of information to be recommended; The determination module is further used to determine N updated probability distributions according to the historical recommendation number and the historical conversion number corresponding to each information to be recommended, wherein each updated probability distribution corresponds to one information to be recommended; The acquisition module is further configured to acquire a random probability value from each updated probability distribution in the N updated probability distributions to obtain N updated random probability values; The determination module is further configured to determine a second random probability value from the N updated random probability values, wherein the second random probability value is the maximum value among the N updated random probability values; and determine the information to be recommended corresponding to the second random probability value as a second recommendation result; The sending module is further used to send the second recommendation result to the terminal device, so that the terminal device displays the second recommendation result.
18. The device according to claim 10, characterized in that The first recommendation result includes at least one of advertisement information, electronic voucher information, friend information, video and audio information, text information, and web page information; The acquisition module is further configured to acquire a user identifier of a user before the sending module sends the first recommendation result to the terminal device so that the terminal device displays the first recommendation result, wherein the user identifier is inconsistent with the stored user identifier; The determination module is further configured to determine the terminal device according to the user identification of the user.
19. A server, characterized in that: include: Memory, processor, and bus system; Wherein, the memory is used to store programs; The processor is used to execute the program in the memory, and the processor is used to execute the method according to any one of claims 1 to 9 according to the instructions in the program code; The bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.
20. A computer-readable storage medium comprising instructions, which, when executed on a computer, causes the computer to perform the method according to any one of claims 1 to 9.
21. A computer program product, characterized in that The computer program product comprises computer instructions, and a processor of a computer device executes the computer instructions so that the computer performs the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Device, method, and computer readable medium of generating recommendations via ensemble multi-arm bandit with an lpboost
US20170103413A1
