Object recommendation method and device, storage medium, and electronic device

By obtaining user-side vectors and object feature vectors, it is determined whether the target willingness to pay value is within the target willingness range, which solves the problem of user screening when recommending objects on online streaming media platforms, improves the accuracy of prediction of willingness to pay and the control of recommended users, and enhances the platform revenue and user experience.

CN114331637BActive Publication Date: 2024-10-22HANGZHOU NETEASE CLOUD MUSIC TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202210003246.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-04
Publication Date
2024-10-22
Estimated Expiration
2042-01-04

AI Technical Summary

Technical Problem

When existing online streaming media platforms recommend objects, it is difficult to accurately screen out users who are interested in the recommended objects and have a high probability of paying, making it difficult to control the number of recommended users and affecting platform revenue and user experience.

Method used

By obtaining the user-side vector of the current user and the object feature vector of the object to be recommended, the target willingness to pay value of the current user for the recommended object is determined, and whether it belongs to the preset target willingness range. The willingness range is dynamically updated based on the payment willingness value of historical users. , in order to recommend objects more accurately.

Benefits of technology

It improves the prediction accuracy of users' willingness to pay, ensures that the number of recommended users meets expectations, reduces the impact on user experience, and enhances platform revenue.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114331637B_ABST
    Figure CN114331637B_ABST
Patent Text Reader

Abstract

The present disclosure provides an object recommendation method and device, a storage medium, and an electronic device, and relates to the field of computer technology. In the embodiment of the present disclosure, the user side vector of the current user can be first obtained based on the relevant information of the current user, and the target willingness to pay value of the current user for the recommended object can be determined according to the user side vector and the object feature vector of the object to be recommended, and it is judged whether the target willingness to pay value belongs to the target willingness interval. When the target willingness to pay value belongs to the target willingness interval, the object to be recommended is recommended to the current user. In this way, for each user who logs into the platform, the user's willingness to pay value for the recommended object is determined according to the relevant characteristics of the user, which can improve the accuracy of predicting the willingness to pay value, and determine the target willingness interval through the willingness to pay values ​​of historical users, so that the target willingness interval can be used to screen the number of users that meet the expectations, thereby conveniently controlling the number of recommended users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of computer technology, and more specifically, relate to an object recommendation method and device, a storage medium, and an electronic device. Background Art

[0002] This section is intended to provide a background or context to the embodiments of the disclosure that are recited in the claims, and no description herein is admitted to be prior art by inclusion in this section.

[0003] With the development of Internet technology, paid subscriptions have gradually become one of the main revenue sources for online streaming platforms. In order to maximize platform revenue, online streaming platforms usually recommend objects of interest to users, such as music trials, TV series previews, etc., to guide users to become paid subscribers of the platform. However, since only part of the recommended objects can be played, recommending them to users will affect the user experience of the platform. Therefore, how to more accurately screen out people who are more interested in the recommended objects and have a higher probability of paying is crucial to increasing the platform's paid revenue and reducing the impact on user experience.

[0004] In the related art, after calculating the user's willingness to pay value, the user's willingness to pay value is often screened using a fixed threshold, and the user who meets the fixed threshold is selected to push the recommended object to the user. In this way, the number of selected push users is difficult to control, resulting in a problem that the number of push users does not match the expected number of push users. Summary of the invention

[0005] In order to overcome the problems existing in the related art, the present disclosure provides an object recommendation method and device, a storage medium, and an electronic device.

[0006] According to a first aspect of the present disclosure, a method for object recommendation is provided, the method comprising:

[0007] Based on the relevant information of the current user, obtaining a user side vector of the current user;

[0008] Determining a target willingness to pay value of the current user for the object to be recommended based on the user-side vector and the object feature vector of the object to be recommended;

[0009] Determine whether the target willingness to pay value belongs to a target willingness interval; the target willingness interval is determined based on the willingness to pay values ​​of a plurality of reference users for the recommended object; the reference users are determined from historical users whose online time is before the current user;

[0010] When the target willingness to pay value belongs to the target willingness interval, the object to be recommended is recommended to the current user.

[0011] According to a second aspect of the present disclosure, there is provided an object recommendation device, the device comprising:

[0012] A first acquisition module, configured to acquire a user side vector of the current user based on relevant information of the current user;

[0013] A first determination module, configured to determine a target willingness to pay value of the current user for the object to be recommended based on the user-side vector and the object feature vector of the object to be recommended;

[0014] A judgment module, used to judge whether the target willingness to pay value belongs to a target willingness interval; the target willingness interval is determined based on the willingness to pay values ​​of a plurality of reference users for the recommended object; the reference users are determined from historical users whose online time is before the current user;

[0015] A recommendation module is used to recommend the object to be recommended to the current user when the target willingness to pay value belongs to the target willingness interval.

[0016] According to one aspect of the present disclosure, a storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the object recommendation method described above is implemented.

[0017] According to one aspect of the present disclosure, there is provided an electronic device, including:

[0018] Processor; and

[0019] A memory, configured to store executable instructions of the processor;

[0020] The processor is configured to execute any one of the above-mentioned object recommendation methods by executing the executable instructions.

[0021] In summary, the object recommendation method provided by the embodiment of the present disclosure can first obtain the user side vector of the current user based on the relevant information of the current user, and then determine the target willingness to pay value of the current user for the recommended object based on the user side vector and the object feature vector of the object to be recommended, and judge whether the target willingness to pay value belongs to the target willingness interval. The target willingness interval is determined based on the willingness to pay value of the reference user for the recommended object. The reference user is determined from the historical users who went online before the current user. When the target willingness to pay value belongs to the target willingness interval, the object to be recommended is recommended to the current user. In this way, for each user who logs into the platform, the willingness to pay value of the user for the recommended object is determined based on the relevant characteristics of the user, which can improve the accuracy of the predicted willingness to pay value, and the target willingness interval is determined by the willingness to pay values ​​of historical users, so that the number of users who meet the expectations can be screened using the target willingness interval, so that the number of recommended users can be conveniently controlled. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The above and other objects, features and advantages of the exemplary embodiments of the present disclosure will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present disclosure are shown in an exemplary and non-limiting manner, in which:

[0023] Figure 1 is a flowchart of a method for recommending an object provided by an embodiment of the present disclosure;

[0024] Figure 2 is a schematic diagram of an update target willingness interval provided by an embodiment of the present disclosure;

[0025] Figure 3 is a flow chart of determining a recommended inventory feature vector provided by an embodiment of the present disclosure;

[0026] Figure 4 is a flow chart of calculating a target willingness to pay value provided by an embodiment of the present disclosure;

[0027] Figure 5 is a flow chart of obtaining a sample provided by an embodiment of the present disclosure;

[0028] Figure 6 is a flowchart of an object recommendation provided by an embodiment of the present disclosure;

[0029] Figure 7 is a block diagram of an object recommendation device provided by an embodiment of the present disclosure;

[0030] Figure 8 is a schematic diagram of a storage medium according to an embodiment of the present disclosure; and

[0031] Fig. 9 is a block diagram of an electronic device according to an embodiment of the present disclosure.

[0032] In the drawings, the same or corresponding reference numerals represent the same or corresponding parts. DETAILED DESCRIPTION

[0033] The principles and spirit of the present disclosure will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the present disclosure, and are not intended to limit the scope of the present disclosure in any way. On the contrary, these embodiments are provided to make the present disclosure more thorough and complete, and to fully convey the scope of the present disclosure to those skilled in the art.

[0034] Those skilled in the art know that the embodiments of the present disclosure can be implemented as a system, device, equipment, method or computer program product. Therefore, the present disclosure can be specifically implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software. The data involved in the present disclosure can be data authorized by the user or fully authorized by all parties.

[0035] In this document, any number of elements in the drawings is used for illustration rather than limitation, and any naming is used only for distinction and does not have any limiting meaning.

[0036] The principle and spirit of the present disclosure are explained in detail below with reference to several representative embodiments of the present disclosure.

[0037] Figure 1 is a flowchart of a method for recommending an object provided by an embodiment of the present disclosure. Figure 1 As shown, the method may include:

[0038] Step S101: Based on relevant information of a current user, obtain a user side vector of the current user.

[0039] In an embodiment of the present disclosure, the current user may be a user who has logged into the platform at the current moment. For example, the current moment may be 12:11:24 on November 11, 2021. Then the current user may be a user who has logged into the platform at 12:11:24 on November 11, 2021. If it is detected that the number of users who have logged into the platform at the current moment is greater than 1, multiple users who have logged in at the current moment may be arranged in a preset order, and may be taken as current users in turn and subsequent operations may be performed. The preset order may be sorted according to the number of historical logins of the user or the length of login time. For example, users with more logins may be ranked higher, and users with longer login time may be ranked higher. It may also be sorted according to the completeness of the personal information filled out by the user. For example, users with more complete personal information may be ranked higher. It may also be sorted according to multiple factors such as the number of logins, login duration, and completeness of personal information of the user. The present disclosure does not impose any restrictions on this.

[0040] In the disclosed embodiment, the relevant information of the current user may be the relevant information of the current user on the platform, and the relevant information may include the personal information filled in by the user on the platform, such as the user's gender, age, preferences, etc., and may also include the user's operation information on the platform, such as the operation information may be the user's viewing time of the recommended object, or the user's collection operation on the recommended object, or the user's payment operation on the recommended object, etc. Among them, the user's payment operation on the recommended object may be the payment for the recommended object itself, for example, the recommended object may be information such as video, image, audio, text, etc., and the user's payment operation on the recommended object may be the user's payment for the video, image, audio, text, etc. The user's payment operation on the recommended object may also be the payment for the associated object of the recommended object, for example, the associated object of the recommended object may be a paid link displayed on the recommended object, and the paid link may be a product link or other link, and the user's payment operation on the recommended object may be the payment for the paid link displayed on the recommended object.

[0041] In an embodiment of the present disclosure, based on the relevant information of the current user, the user-side vector of the current user is obtained, which can be to first determine the relevant information of the current user's personal data and operation information on the platform, and then convert the relevant information into a vector to obtain the user-side vector of the current user, wherein converting the relevant information into a vector can be to pre-establish a conversion relationship between the relevant information and the vector, for example, a one-to-one corresponding code can be set for each relevant information, and then according to the code corresponding to the relevant information, the relevant information is converted into a coded vector, which can be used as a user-side vector, or the relevant information can be converted into a corresponding vector representation using a vector conversion model, and the obtained vector can be used as a user-side vector. Among them, the vector conversion model can be a model for converting text information into a vector, and specifically, the vector conversion model can be a natural language processing (Natural Language Processing, NLP) model, or other text processing models, which are not limited by the present disclosure.

[0042] Step S102: determining a target willingness to pay value of the current user for the object to be recommended based on the user-side vector and the object feature vector of the object to be recommended.

[0043] In the embodiment of the present disclosure, the object to be recommended may be an object that needs to be pushed to the user, and the object may be a video, text, audio or other content, and the present disclosure does not impose any restrictions on this. The object to be recommended may be a recommended object that the user has watched, or may be a recommended object that the user has not watched, and the present disclosure does not impose any restrictions on this. The object feature vector of the object to be recommended may be a vector determined according to the relevant attributes of the object to be recommended. Specifically, the relevant attributes of the object to be recommended are first determined, and then the relevant attributes of the object to be recommended are converted into corresponding feature vectors according to a preset vector conversion relationship, thereby obtaining the object feature vector of the object to be recommended, wherein the relevant attributes of the object to be recommended may include the playback content keywords, the category to which it belongs, the content length and other information of the object to be recommended. Accordingly, each relevant attribute of the object to be recommended may be converted into a corresponding feature vector according to a preset vector conversion relationship, and then the generated multiple feature vectors are combined to obtain the object feature vector of the object to be recommended. In the embodiment of the present disclosure, since different users have different willingness to pay for the recommended objects, for example, users aged between 20 and 30 have a higher willingness to pay for the recommended objects than users aged between 40 and 50, and female users have a higher willingness to pay for the recommended objects than male users, and the same user has different willingness to pay for different recommended objects, for example, female users aged between 20 and 25 have a high willingness to pay for recommended objects of cosmetics and clothing, and a low willingness to pay for recommended objects of furniture and electrical appliances, etc. Therefore, the target willingness to pay value of the current user for the recommended object can be determined based on the user side vector and the object feature vector of the object to be recommended. Specifically, the user side vector and the object feature vector can be calculated using a pre-trained willingness value prediction model, and the calculated value is used as the target willingness to pay value of the current user for the recommended object, wherein the pre-trained willingness value prediction model can be a model pre-trained with training samples, and the willingness value prediction model can be a deep neural network (Deep Neural Networks, DNN) or a convolutional neural network (Convolutional Neural Networks, CNN), which is not limited by the present disclosure.

[0044] Step S103, determining whether the target willingness to pay value belongs to a target willingness interval; the target willingness interval is determined based on the willingness to pay values ​​of multiple reference users for the recommended object; the reference users are determined from historical users whose online time is before the current user.

[0045] In the embodiment of the present disclosure, the target willingness interval may be an interval used to filter the target willingness to pay value. For example, the target willingness interval may be set to [6.2, 8.6]. Specifically, the target willingness interval may be determined by first selecting a reference user from historical users, and then determining the target willingness interval based on the willingness to pay values ​​of the recommended objects by multiple reference users, wherein the reference user selected by each current user may be different, that is, the target willingness interval corresponding to each current user may also be different. In this way, when determining whether the target willingness to pay value belongs to the target willingness interval, since the target willingness interval can be dynamically updated according to the willingness to pay values ​​of historical users, the user can save the operation of manually setting the interval. Moreover, compared with setting a fixed value willingness value interval, the target willingness interval determined by historical users is used in the present disclosure to filter the target willingness to pay value, so that the number of users that meet the target willingness interval can meet the expected demand.

[0046] It should be noted that the recommended object of the reference user and the object to be recommended of the current user can be the same, that is, the same object can be recommended to different users; the recommended object of the reference user and the object to be recommended of the current user can also be different, that is, different objects can be recommended to different users.

[0047] Step S104: When the target willingness to pay value belongs to the target willingness interval, the object to be recommended is recommended to the current user.

[0048] For example, the target willingness to pay value of the current user calculated to be 6.7, and the corresponding target willingness interval can be [5.4, 9.3]. It can be determined that the target willingness to pay value 6.7 belongs to the target willingness interval [5.4, 9.3], and the recommended object can be recommended to the current user. If the target willingness to pay value of the current user calculated to be 5.3, it can be determined that the target willingness to pay value 5.3 does not belong to the target willingness interval [5.4, 9.3], and the recommended object cannot be recommended to the current user.

[0049] In an embodiment of the present disclosure, the object to be recommended is recommended to the current user by displaying the object to be recommended on a preset display interface, which may be an interface pre-set on an electronic device used by the current user, or by adding the object to be recommended to a playlist of the current user so that it can be played to the current user in sequence according to the playlist, and the present disclosure does not impose any limitation on this.

[0050] In summary, the object recommendation method provided by the embodiment of the present disclosure can first obtain the user side vector of the current user based on the relevant information of the current user, and then determine the target willingness to pay value of the current user for the recommended object based on the user side vector and the object feature vector of the object to be recommended, and judge whether the target willingness to pay value belongs to the target willingness interval. The target willingness interval is determined based on the willingness to pay value of the reference user for the recommended object. The reference user is determined from the historical users who went online before the current user. When the target willingness to pay value belongs to the target willingness interval, the object to be recommended is recommended to the current user. In this way, for each user who logs into the platform, the willingness to pay value of the user for the recommended object is determined based on the relevant characteristics of the user, which can improve the accuracy of the predicted willingness to pay value, and the target willingness interval is determined by the willingness to pay values ​​of historical users, so that the number of users who meet the expectations can be screened using the target willingness interval, so that the number of recommended users can be conveniently controlled.

[0051] Optionally, in the embodiment of the present disclosure, the object recommendation method may further specifically include:

[0052] Step S21: According to the target online time of the current user, determine a preset time interval corresponding to the target online time.

[0053] In the embodiment of the present disclosure, a preset time interval corresponding to the target online time is determined according to the target online time of the current user. The corresponding preset time interval may be set in advance for each online time, so that the corresponding preset time interval may be determined according to the target online time of the current user, wherein the corresponding preset time interval is set in advance for each online time. For users whose online time is preset between t1 and t2, the corresponding preset time interval is [T1, T2], and |t1-t2| may be 10 minutes or 5 minutes, and |T1-T2| may be one hour or two hours, and the present disclosure does not impose any limitation on this.

[0054] For example, the preset time interval for users who go online between 12:00:00 and 12:10:00 can be preset as [11:00:00, 12:00:00], the preset time interval for users who go online between 12:10:00 and 12:20:00 can be preset as [11:10:00, 12:10:00], and so on. If the target online time of the current user 1 is 12:04:00 on November 11, 2021, then the preset time interval corresponding to the current user 1 can be determined as [11:00:00, 12:00:00] on November 11, 2021; if the target online time of the current user 2 is 15:14:00 on November 13, 2021, then the preset time interval corresponding to the current user 2 can be determined as [14:10:00, 15:10:00] on November 13, 2021.

[0055] For example, Figure 2 is a schematic diagram of determining a preset time interval provided by an embodiment of the present disclosure, such as Figure 2 As shown, the time interval corresponding to t1 is [c, d], the time interval corresponding to t2 is [d, e], the time interval corresponding to T1 is [a, c], and the time interval corresponding to T2 is [b, d]. If the online time of the current user is within the time interval [c, d] of t1, then the preset time interval corresponding to the current user may be [a, c] of T1; if the online time of the current user is within the time interval [d, e] of t2, then the preset time interval corresponding to the current user may be [b, d] of T2.

[0056] Step S22: Determine a plurality of reference users included in the preset time interval according to the online time of the historical users.

[0057] In the embodiment of the present disclosure, historical users who have logged into the platform, that is, historical users whose online time is before the target online time, can be used as reference users. For example, if the preset time interval is [14:00:00, 15:00:00], historical users whose online time is between 14:00:00 and 15:00:00 can be used as reference users. If there are 150 historical users online between 14:00:00 and 15:00:00, these 150 historical users can be used as reference users.

[0058] It should be noted that when determining the multiple reference users included in the preset time interval, it may also include: detecting whether the same user has been online multiple times in the historical users included in the preset time interval. If not, the historical users who have been online in the preset time interval are directly used as reference users. If so, the historical users who have been online repeatedly are recorded only once as reference users. Since the target willingness interval needs to be determined based on the willingness to pay values ​​of the reference users, the determined reference users need to be deduplicated to ensure the accuracy of the subsequent determination of the target willingness interval, thereby improving the efficiency of determining the target willingness interval.

[0059] Step S23: Obtain the willingness-to-pay values ​​of the multiple reference users for the recommended object.

[0060] In the disclosed embodiment, since the willingness to pay value of the user for the recommended object is calculated for each user who logs on the platform at each moment, and the willingness to pay value of each user for the recommended object can be stored in the historical record, obtaining the willingness to pay values ​​of multiple reference users for the recommended object can be extracting the willingness to pay values ​​of multiple reference users for the recommended object from the historical record. It should be noted that after calculating the willingness to pay value for each user who logs on the platform, the willingness to pay value of the user can be stored in a specified address, and the storage content can be "user id-willingness to pay value" so that the willingness to pay value of the historical user can be determined later, thereby improving the speed of processing data.

[0061] In the disclosed embodiment, for a reference user who has been online more than twice, when obtaining the reference user's willingness to pay value for a recommended object, the willingness to pay value calculated when the reference user was last online can be obtained as the reference user's willingness to pay value for the recommended object, or multiple willingness to pay values ​​calculated when the reference user was online multiple times can be first obtained, and then the multiple willingness to pay values ​​are averaged and the average is used as the reference user's willingness to pay value for the recommended object. Other methods of determining the reference user's willingness to pay value can also be used so that each reference user corresponds to a willingness to pay value.

[0062] Step S24: Arrange the multiple reference users according to their willingness-to-pay values ​​to form a reference user queue, and add a corresponding number to each reference user in the reference user queue.

[0063] In the embodiment of the present disclosure, multiple reference users may be arranged in sequence according to the payment willingness values ​​of the reference users, and the multiple reference users arranged in sequence may be formed into a reference user queue, and a corresponding number may be added to each reference user in the reference user queue, and the number may be used to characterize the order of the reference users. For example, if the number of reference users obtained is 1000, each reference user may be sorted in sequence according to the payment willingness value of the reference user to form a reference user queue, and the reference user with the largest payment willingness value may be numbered 0, the reference user ranked second in payment willingness value may be numbered 1, ..., and the reference user with the smallest payment willingness value may be numbered 9999. It should be noted that if there are multiple reference users with the same payment willingness value, they may be sorted in the order of the online time of the reference users, or in the order of the user ID size of the reference users, or in other orders, so that each reference user corresponds to a non-repeating number to form a reference user queue.

[0064] Step S25: Determine the numbering interval corresponding to the preset selection ratio in the reference user queue according to the preset selection ratio and the number of the reference users.

[0065] In the disclosed embodiment, the preset selection ratio may be a ratio for selecting a target willingness interval, and the preset selection ratio may be a percentage value or multiple percentage values. For example, the willingness value range at 20% may be selected as the target willingness interval, and the preset selection ratio may be 20%, or the first 20% willingness value range may be selected as the target willingness interval, and the preset selection ratio may be 0% and 20%. According to the preset selection ratio and the number of reference users, the number interval corresponding to the preset selection ratio in the reference user queue is determined, and the number range corresponding to the preset selection ratio in the reference user queue may be calculated based on the number of reference users, and the number range is used as the corresponding number interval.

[0066] Specifically, each percentile i corresponds to multiple reference users in the reference user queue, and the number corresponding to each percentile i can be determined as To number Multiple reference users, where the number is The willingness to pay value corresponding to the reference user can be the minimum value at percentile i Number The willingness to pay value corresponding to the reference user can be the maximum value at percentile i You can then number As the maximum value in the numbering interval, As the minimum value in the numbering interval, the numbering interval corresponding to the preset selection ratio i in the reference user queue can be obtained, that is, the numbering interval can be expressed as When the preset selection ratios are percentile j and percentile k respectively, the number corresponding to the preset selection ratio of percentile j can be obtained. To No. The default selection ratio is the number corresponding to percentile k To No. Then, when the preset selection ratio j to k is determined, the corresponding number interval in the reference user queue can be taken as The number interval can also be taken as The present disclosure is not limited in this regard.

[0067] For example, assume that the reference user queue contains 1000 reference users, and the corresponding number at each percentile i in the reference user queue is To number For example, when the preset selection ratio is percentile i=0, the corresponding number of the preset selection ratio i=0 in the reference user queue can be round(10000*0 / 100)=0 to round(10000*(0+1) / 100)=100, that is, the corresponding number interval of the preset selection ratio i=0 in the reference user queue can be determined to be [0,100]. When the preset selection ratio is percentile i=25, the corresponding number of the preset selection ratio i=25 in the reference user queue can be round(10000*25 / 100)=2500 to round(10000*(25+1) / 100)=2600, that is, the corresponding number interval of the preset selection ratio i=25 in the reference user queue can be determined to be [2500,2600]. For example, when a value between 10% and 40% in the reference user queue is selected as the numbering interval, that is, there are two preset selection ratios, namely 10% and 40%, it can be obtained that the preset selection ratio i=10% corresponds to numbers from round(10000*10 / 100)=1000 to round(10000*(10+1) / 100)=1100 in the reference user queue, and the preset selection ratio percentile i=40% corresponds to numbers from round(10000*40 / 100)=4000 to round(10000*(40+1) / 100)=4100 in the reference user queue. It can be determined that the preset selection ratio is 10% to 40%, and the corresponding numbering interval in the reference user queue is [1000,4100].

[0068] Step S25: Determine the target willingness interval based on the willingness-to-pay value of the reference user corresponding to the number interval.

[0069] In the embodiment of the present disclosure, if the number interval is The number can be determined in the reference user queue The corresponding willingness to pay value is bound n ,serial number The corresponding willingness to pay value is bound m , then we can determine the target willingness interval as [bound n , bound m ], where n and m can be positive integers, and the specific values ​​of n and m can be the same or different.

[0070] For example, assuming that the number interval can be [0,100], and the willingness to pay value corresponding to number 0 in the reference user queue is 9.7, and the willingness to pay value corresponding to number 100 in the reference user queue is 8.6, then the target willingness interval corresponding to the number interval [0,100] in the reference user queue can be determined to be [8.6,9.7]. Assuming that the number interval can be [1000,4100], and the willingness to pay value corresponding to number 1000 in the reference user queue is 7.4, and the willingness to pay value corresponding to number 4100 in the reference user queue is 5.6, then the target willingness interval corresponding to the number interval [1000,4100] in the reference user queue can be determined to be [5.6,7.4].

[0071] In an embodiment of the present disclosure, a preset time interval corresponding to the target online time is first determined based on the target online time of the current user, and multiple reference users included in the preset time interval are determined based on the online time of historical users, and then the willingness-to-pay values ​​of the multiple reference users for the recommended object are obtained, and the multiple reference users are arranged according to the size of the willingness-to-pay values ​​of the reference users to form a reference user queue, and a corresponding number is added to each reference user in the reference user queue, and the number interval corresponding to the preset selection ratio in the reference user queue is determined based on the preset selection ratio and the number of reference users, and the target willingness interval is determined based on the willingness-to-pay values ​​of the reference users corresponding to the number interval. In this way, compared with using a fixed interval to determine the target willingness interval, the present disclosure determines the target willingness interval based on the willingness-to-pay values ​​of historical users and the preset selection ratio, so that the target willingness interval can be dynamically updated according to the willingness-to-pay values ​​of historical users, and the target willingness interval can be used to screen out the expected number of users, thereby conveniently controlling the number of recommended users.

[0072] For example, the following steps can be performed: 1. Determine the willingness to pay value of historical users for the recommended objects; 2. Determine the reference users and the reference user queue according to the preset time interval; 3. Calculate the corresponding numbering interval according to the preset selection ratio; 4. Determine the corresponding target willingness interval based on the numbering interval.

[0073] It should be noted that, in one implementation, the disclosed embodiment can also filter the willingness to pay values ​​of multiple reference users, delete duplicate willingness to pay values, and arrange multiple willingness to pay values ​​according to the numerical value, generate a willingness to pay value queue, and add a corresponding number to each willingness to pay value, and determine the number interval corresponding to the preset selection ratio in the willingness to pay value queue according to the preset selection ratio and the number of willingness to pay values ​​contained in the willingness to pay value queue, and finally, determine the target willingness interval based on the willingness to pay values ​​corresponding to the number interval. By generating a willingness to pay value queue to determine the target willingness interval, the calculation steps can be simplified and the efficiency of determining the target willingness interval can be improved.

[0074] Optionally, in the embodiment of the present disclosure, the operation of acquiring the user side vector of the current user based on the relevant information of the current user may specifically include:

[0075] Step S1011: Obtain at least one attribute feature according to the user attributes of the current user.

[0076] In the disclosed embodiment, user attributes may include information such as age, gender, city, user account level, language preference, style preference, etc. According to the user attributes of the current user, obtaining at least one attribute feature may be to first query the attributes of the current user to obtain one or more user attributes, and then use the obtained one or more user attributes as the attribute feature of the current user. For example, if the user attribute of the current user may be gender, the attribute feature that can be obtained is gender; if the user attributes of the current user may be age, gender, city, and user account level, the attribute feature that can be obtained is age, gender, city, and user account level.

[0077] Step S1012: transform the at least one attribute feature according to a preset vector transformation relationship to generate a user attribute feature vector.

[0078] In the disclosed embodiment, the preset vector conversion relationship may be a pre-trained vector conversion model, which may be a natural language processing (NLP) model, or may be a corresponding relationship of text conversion vectors generated according to the vector conversion model. For example, if the user's gender is male, the converted vector may be represented as

[01] , if the user's gender is female, the converted vector may be represented as

[02] , if the user's age is 18-25, the converted vector may be represented as

[11] , if the user's age is 26-35, the converted vector may be represented as

[12] , etc. At least one attribute feature may be converted according to the preset vector conversion relationship to generate a user attribute feature vector, and each attribute feature may be converted according to the preset vector conversion relationship to generate a user attribute feature vector. If there are multiple attribute features, multiple user attribute feature vectors may be obtained accordingly.

[0079] Step S1013: performing aggregation calculation on the user attribute feature vector to generate a user side vector of the current user.

[0080] In the embodiment of the present disclosure, since the number of generated user attribute feature vectors may be multiple, when using user attribute features to calculate the willingness to pay value of the recommended object, in order to avoid adding additional computing costs, the multiple user attribute feature vectors obtained can be aggregated and calculated to generate a user side vector. Specifically, the aggregation calculation of multiple user attribute feature vectors can be performed by first detecting whether the multiple user attribute feature vectors are vectors of the same dimension. If not, the multiple user attribute feature vectors are converted into vectors of the same dimension, and then the multiple user attribute feature vectors are aggregated, and the aggregated vector is used as the user-side vector of the current user. For example, user attribute feature vector 1 is [a1, a2, a3], and user attribute feature vector 2 is [b1]. Then user attribute feature vector 2 can be converted to [b1, 0, 0]. Then user attribute feature vector 1 and user attribute feature vector 2 are aggregated, and the aggregation can be expressed as [a1+b1, a2, a3]. Then the user-side vector of the current user can be [a1+b1, a2, a3]. If so, the multiple user attribute feature vectors are directly aggregated, for example, multiple user attribute feature vectors can be added, or multiple user attribute feature vectors can be weighted summed, or other aggregation calculation methods can be used, and the aggregation result is used as the user-side vector of the current user. It should be noted that, when the number of user attribute feature vectors is one, the user attribute feature vector can be directly used as the user side vector of the current user.

[0081] Optionally, in an implementation manner, before the operation of performing aggregation calculation on the user attribute feature vector to generate the user side vector of the current user, the embodiment of the present disclosure may further specifically include:

[0082] Obtain the current user's playback record and payment record for the recommended object; generate an operation vector for the recommended object based on the playback record and payment record of the recommended object; perform aggregation calculation on the operation vector to generate a user operation feature vector of the current user; accordingly, the above-mentioned operation of performing aggregation calculation on the user attribute feature vector to generate a user-side vector of the current user may specifically include: concatenating and aggregating the user attribute feature vector and the user operation feature vector to calculate and obtain the user-side vector of the current user.

[0083] In the disclosed embodiment, obtaining the current user's playback record and payment record for the recommended object may be to determine the current user's playback record and payment record for the recommended object from the current user's historical records on the platform, wherein the playback record may include the time of playing the recommended object, the playback duration, whether it is played in full, the number of playbacks, etc., and the payment record may include whether the current user has paid for the recommended object, as well as the payment time, payment amount, number of payments, etc. For example, the playback record may include the number of playbacks in the past 30 days, the playback duration in the past 30 days, and the last 20 recommended objects played in the past 7 days, and the payment record may include the number of payment triggers in the past 30 days, the number of historical payments, and the historical payment amount.

[0084] It should be noted that the disclosed embodiment may also include obtaining other operation records of the current user on the recommended object, and the other operation records may be collection records of the recommended object, for example, the collection record may be the number of collections in the past 30 days and the 20 recommended objects collected in the past 7 days. In the disclosed embodiment, an operation vector for the recommended object is generated based on the play record and payment record of the recommended object, and the play record and payment record of the recommended object may be converted using a preset vector conversion relationship, and the vector obtained by converting the play record is used as the play vector, and the vector obtained by converting the payment record is used as the payment vector. The play vector and the payment vector may be used as the operation vector for the recommended object.

[0085] For example, the current user's playback record of the recommended object is obtained as follows: the playback time is 16:49:03 on June 19, 2021, the playback duration is 2′30″, and it is not fully played. The current user's payment record for the recommended object is: paid for the recommended object, the payment time is 16:53:03 on June 19, 2021, and the payment amount is 29 yuan. Then, the playback vector for the recommended object can be generated as [0619164903,00150,00], and the payment vector for the recommended object is [01,0619165303,029], and the operation vector for the recommended object can be obtained as [0619164903,00150,00,01,0619165303,029].

[0086] In the embodiment of the present disclosure, the operation vector is aggregated and calculated to generate the user operation feature vector of the current user. The operation vectors generated may be aggregated and calculated, and the aggregated vector is used as the user operation feature vector of the current user. The aggregate calculation may be uniform blending, linear blending, stacking or any blending, or other aggregate calculation methods, which are not limited by the present disclosure. If the current user has only one operation vector, the operation vector may be used as the user operation feature vector of the current user. In the embodiment of the present disclosure, the user attribute feature vector and the user operation feature vector are concatenated and aggregated to calculate the user side vector of the current user. The user attribute feature vector and the user operation feature vector may be concatenated and aggregated into one vector, and the vector obtained by the concatenation and aggregation is used as the user side vector of the current user. For example, the user attribute feature vector may be [x1, x2], and the user operation feature vector may be [y1, y2, y3]. After concatenation and aggregation, the vector obtained may be [x1, x2, y1, y2, y3]. Then, the user side vector of the current user may be [x1, x2, y1, y2, y3].

[0087] Optionally, in another implementation, the object recommendation method of the embodiment of the present disclosure further includes:

[0088] For each of the objects to be recommended, the similarity between the object to be recommended and the recommended objects is calculated to determine a matching recommended object for the current user; the matching recommended object is an object to be recommended whose similarity meets a preset threshold; based on the proportion of the matching recommended objects in the objects to be recommended, the preset vector conversion relationship is used to generate the recommendation inventory feature vector; accordingly, the user attribute feature vector and the user operation feature vector are concatenated and aggregated to calculate the user side vector of the current user, including: the user attribute feature vector, the user operation feature vector and the recommendation inventory feature vector are concatenated and aggregated to calculate the user side vector of the current user.

[0089] In the disclosed embodiment, for each object to be recommended, the similarity between the object to be recommended and the recommended object is calculated, and a matching recommended object for the current user is selected. The similarity between the object to be recommended and the recommended object is calculated for each object to be recommended. The recommended object may be a recommended object that has been played in the historical record of the current user, and the similarity may be a feature vector similarity of the recommended object. The object to be recommended whose similarity meets a preset threshold is selected as the matching recommended object for the current user. The preset threshold may be a numerical value pre-set according to actual conditions. Specifically, the features of the recommended object and the features of the object to be recommended can be determined respectively first, and the features can be keywords, categories, tags and other information of the recommended object, to obtain the feature vector of the recommended object and the feature vector of the object to be recommended, and then for each object to be recommended, the feature vector similarity between the object to be recommended and the recommended object is calculated, and it is determined whether the feature similarity meets a preset threshold, and the object to be recommended that meets the preset threshold is used as a matching recommendation object for the current user, wherein the feature vector similarity can be cosine similarity, Euclidean distance, Manhattan distance, or other vector similarity calculation methods, which are not limited in the present disclosure.

[0090] For example, the features of the recommended object are clothes, shopping, and Korean style. The corresponding feature vector of the recommended object can be u i , the features of the recommended object are leather boots, shopping, and fashion, and the corresponding feature vector of the recommended object is v j , the preset cosine similarity formula can be used to calculate the feature vector u of the recommended object i and the feature vector v of the object to be recommended j The preset cosine similarity formula is specifically expressed as follows:

[0091]

[0092] Among them, cosine(u i ,v j ) can be expressed as the feature vector u of the recommended object i and the feature vector v of the object to be recommended j If the similarity cosine(u i ,v j ) value meets the preset threshold, the object to be recommended can be used as a matching recommendation object for the current user.

[0093] In the disclosed embodiment, based on the proportion of the matching recommended objects in the objects to be recommended, the recommended inventory feature vector is generated by using the preset vector conversion relationship. It can be that the number of matching recommended objects contained in the objects to be recommended is first determined, the proportion of the matching recommended objects in the objects to be recommended is determined, and then the recommended inventory feature vector is generated according to the proportion by using the preset vector conversion relationship. It should be noted that it is also possible to detect whether there are objects that have been recommended to the current user in the matching recommended objects. The first matching recommended object that has been recommended to the current user within a specified time can be deleted from the matching recommended objects. The specified time can be 30 days, and the second matching recommended object is obtained. The proportion of the second matching recommended object in all matching recommended objects is calculated to obtain the recommended personalized inventory parameter. For example, the number of matching recommended objects can be 350, and the platform has recommended 100 recommended objects to the current user in the last 30 days, of which 50 recommended objects are matching recommended objects, that is, there are 50 second matching recommended objects, and the recommended personalized inventory parameter of the current user can be obtained as f=(350-50) / 350=0.857.

[0094] In the disclosed embodiment, the user attribute feature vector, the user operation feature vector and the recommended inventory feature vector are concatenated and aggregated to calculate the user side vector of the current user. The user attribute feature vector, the user operation feature vector and the recommended inventory feature vector are concatenated and aggregated into one vector, and the vector obtained by the concatenation and aggregation is used as the user side vector of the current user. For example, the user attribute feature vector may be [x1, x2, x3], the user operation feature vector may be [y1, y2], and the recommended inventory feature vector may be [z1]. After the concatenation and aggregation, the vector obtained may be [x1, x2, x3, y1, y2, z1]. Then, the user side vector of the current user may be [x1, x2, x3, y1, y2, z1].

[0095] In the disclosed embodiment, since the recommended object played by the user can represent the user's preferred object, by determining the matching recommended object similar to the recommended object in the object to be recommended, the recommended object with a higher similarity to the recommended object can be selected, that is, the obtained matching recommended object is more in line with the user's preference to a certain extent, and the recommended inventory feature vector is generated by calculating the proportion of the matching recommended objects in the objects to be recommended, thereby adding the condition of the user's preferred inventory feature. Accordingly, the introduction of the recommended inventory feature in the subsequent calculation of the target willingness to pay value can alleviate to a certain extent the problem of a low target willingness to pay value calculated for the user due to insufficient inventory of objects that can be recommended by the user, and can also avoid the problem of sample bias in the model training caused by the collected samples due to the failure to add the recommended inventory feature, and can further improve the accuracy of determining the target willingness to pay value.

[0096] It should be noted that there is another implementation method in the disclosed embodiment, which can be to concatenate and aggregate the user operation feature vector and the recommended inventory feature vector to calculate the user side vector of the current user. In this way, the user's playback preference can be determined based on the user's operation characteristics, and the user side vector can be generated by combining the recommended inventory characteristics to calculate the target willingness to pay value of the current user, which can reduce the amount of calculation to a certain extent and improve the data processing speed.

[0097] In the disclosed embodiment, the hot inventory feature parameter can also be calculated. Specifically, the number of paid subscription users directly generated by each recommended object within the specified time in the statistical platform can be the past 30 days. After being arranged in reverse order according to the number of paid subscription users, the first N recommended objects are taken as the hot recommended object set, where N can be 1000. Then, the recommended objects that have been recommended to the current user by the platform in the past 30 days are removed from the hot inventory pool to obtain the recommended object set corresponding to the current user. Finally, the proportion of the number of objects included in the recommended object set to the 1000 hot recommended object set is calculated as the hot inventory feature parameter. For example, if the platform has recommended 300 recommended objects to a user in the past 30 days, and 100 of them are hot recommended objects, the hot inventory feature parameter F of the user can be obtained as (1000-100) / 1000=0.9.

[0098] For example, Figure 3 is a flow chart of determining a recommended inventory feature vector provided by the present disclosure, such as Figure 3As shown, step 11, use the preset vector conversion relationship to convert the recommended objects id1, id2, id3...idn of the current user, determine the vector representation of the recommended objects, and generate the vectors v1, v2, v3...vn of the recommended objects; step 12, according to the vectors v1, v2, v3...vn of the recommended objects, determine the recommended feature vectors; step 13, use the preset vector conversion relationship to convert all the ids of the objects to be recommended, determine the vector representation of the objects to be recommended, and generate the vectors u1, u2, u3...un of the objects to be recommended; step 14, according to the recommended feature vectors obtained in step 12, calculate the cosine similarity between the recommended feature vector of the current user and the vector of the objects to be recommended; step 15, select the objects to be recommended with the maximum similarity of 15% to generate the recommended inventory feature vector.

[0099] For example, the user attribute feature vector, the user operation feature vector and the recommended inventory feature vector are concatenated and aggregated to calculate the user side vector of the current user, where the user attribute feature vector can be represented as a vector x profile , the user operation feature vector can be expressed as two vectors, namely vector x stats and vector x repo , the recommended inventory feature vector can be represented as vector x repo , we can convert the vector x profile , vector x stats , vector x repo , vector x repo The preset user-side algorithm is input to concatenate multiple vectors into one vector. Specifically, the preset user-side algorithm may be a 2-layer fully connected neural network. The specific calculation method of the preset user-side algorithm may be as follows:

[0100] x user =5([x profile ,x stats ,x repo ,x seq ])

[0101] Among them, g(·) can be a 2-layer fully connected neural network function f(x), and the calculation formula of each layer f(x) can be expressed as:

[0102] f(x) = relu(w user *x+b user )

[0103] Among them, w user and b user It can be a preset parameter, which can be an initialization variable randomly set by the model during the training process, relu(·) can be a preset function, and relu(·) can be expressed as:

[0104] relu(x)=max(0,x)

[0105] Where x can be a vector x profile , vector x stats , vector x repo , vector x repo At least one or more of .

[0106] Finally, we transform the vector x profile , vector x stats , vector x repo , vector x repo After inputting the above preset user-side algorithm, we can get x user , the output vector x user As the user side vector.

[0107] Optionally, in the embodiment of the present disclosure, the operation of determining the target willingness to pay value of the current user for the object to be recommended based on the user-side vector and the object feature vector of the object to be recommended may specifically include:

[0108] Step S1021: Calculate the user-side vector and the object feature vector using the pre-trained willingness value prediction model to obtain the global payment probability of the current user, the probability of the current user completing playback of the object to be recommended, and the recommendation payment probability.

[0109] In the disclosed embodiment, the pre-trained willingness value prediction model can be obtained by iteratively training the initial willingness value prediction model according to the user side vector and the object feature vector and whether the user has paid. Through continuous iterative training, the willingness value prediction model can learn the ability to correctly predict whether the user will pay for the recommended object. Therefore, in the disclosed embodiment, the trained willingness value prediction model can be used to perform predictive calculations on the user side vector and the object feature vector to determine the global payment probability of the current user, the current user's completion probability of playing the recommended object, and the recommendation payment probability.

[0110] Specifically, the initial willingness value prediction model can be a deep neural network (DNN) model, which can input the user side vector, the object feature vector, and whether the user pays into the DNN model to learn to predict whether the user will pay for the recommended object, so that the user side vector and the object feature vector can be calculated using the pre-trained willingness value prediction model to obtain the current user's global payment probability, the current user's completion probability of playing the recommended object, and the recommended payment probability.

[0111] Step S1022: Calculate the target payment willingness value of the current user for the object to be recommended based on the recommended payment probability, the global payment probability and the playback completion probability.

[0112] In the disclosed embodiment, the recommended payment probability may be the probability that the user pays for the recommended object, and the global payment probability may be the probability of the user's own willingness to pay. Since the target willingness to pay value can be used to characterize the degree of the user's willingness to pay for a certain object to be recommended, but the global payment probability characterizes the probability of the user's own willingness to pay regardless of the recommended object, it is necessary to distinguish between the user's recommended payment probability and the global payment probability. It can be obtained that the higher the recommended payment probability, the higher the user's target willingness to pay value for the recommended object, and the higher the global payment probability, the lower the user's target willingness to pay value for the recommended object.

[0113] In the disclosed embodiment, the playback completion probability may be the probability that the user has completed playback of the recommended object. Since the user has not played all of a recommended object, it can be inferred that the user has little interest in the recommended object, and accordingly, the probability that the user pays for the recommended object is also low. When the user plays all of the recommended object, it can be indicated that the user may be more interested in the recommended object, and accordingly, the probability that the user pays for the recommended object will also increase to a certain extent. Therefore, it can be obtained that the higher the playback completion probability, the higher the user's target willingness to pay for the recommended object, and the lower the playback completion probability, the lower the user's target willingness to pay for the recommended object.

[0114] Optionally, the pre-trained willingness value prediction model in the embodiment of the present disclosure may include a pre-trained recommendation payment prediction model, a pre-trained global payment prediction model, and a pre-trained playback completion prediction model. The above operation of using the pre-trained willingness value prediction model to calculate the user-side vector and the object feature vector to obtain the global payment probability of the current user, the playback completion probability of the current user for the object to be recommended, and the recommended payment probability may specifically include:

[0115] The user-side vector is input into the pre-trained global payment prediction model to calculate the global payment probability of the current user; the user-side vector and the object feature vector are input into the pre-trained playback completion prediction model to calculate the playback completion probability of the current user for the object to be recommended; the user-side vector and the object feature vector, as well as the first parameter value and the second parameter value, are input into the pre-trained recommendation payment prediction model to calculate the recommended payment probability of the current user for the object to be recommended; the first parameter value is the intermediate value when calculating the global payment probability, and the second parameter value is the intermediate value when calculating the playback completion probability.

[0116] In an embodiment of the present disclosure, a user-side vector is input into a pre-trained global payment prediction model to calculate the global payment probability of the current user. Specifically, the global payment prediction model may be a DNN model. The user-side vector may be input into the pre-trained global payment prediction model, and then input into a linear transformation layer function after passing through two layers of fully connected functions. The output result of the linear transformation layer function may be an intermediate value when calculating the global payment probability, that is, the output result of the linear transformation layer function may be a first parameter value, and the first parameter value may be one-dimensional. The first parameter value is then nonlinearly transformed to generate the global payment probability of the current user.

[0117] For example, the user side vector may be x user , x user The pre-trained global payment prediction model is input, and after passing through two layers of fully connected functions, the linear transformation layer function is input. The linear transformation layer function can be specifically expressed as:

[0118] logits global =w global *x+b global

[0119] Among them, w global and b global It can be a preset parameter, specifically, it can be an initialization variable randomly set during model training, logits global It can be expressed as the first parameter value, that is, logits global It can be the intermediate value when calculating the global payment probability.

[0120] Then the first parameter value logits global A nonlinear transformation is performed, which may be a sigmoid transformation, wherein the calculation method of the sigmoid transformation can be expressed as:

[0121]

[0122] Therefore, for the first parameter value logits global By performing sigmoid transformation, we can get the global payment probability p global , the global payment probability p global It can be expressed as:

[0123] p global =sigmoid(logits global )

[0124] In the disclosed embodiment, the user side vector and the object feature vector are input into a pre-trained playback completion prediction model to calculate the playback completion probability of the current user for the recommended object. Specifically, the playback completion prediction model may be a DNN model, and the user side vector and the object feature vector may be concatenated first, and the concatenated vector may be input into the pre-trained playback completion prediction model. After two layers of fully connected functions and one layer of linear function, the output result is the intermediate value when calculating the playback completion probability, that is, the output result of the linear transformation layer function may be the second parameter value, and then the second parameter value is subjected to a nonlinear transformation to generate the playback completion probability of the current user.

[0125] For example, the user side vector may be x user , the object feature vector can be x item , first change x user With x item Splice and get [x user , x item ], and then [x user , x item ] Input the pre-trained playback completion prediction model, and after passing through 2 layers of fully connected functions, input the linear transformation layer function, where the linear transformation layer function can be specifically expressed as:

[0126] logits play =w play *x+b play

[0127] Among them, w play and b play It can be a preset parameter, specifically, it can be an initialization variable randomly set during model training, logits play can be expressed as the second parameter value, i.e., logits play It can be an intermediate value when calculating the probability of completion of playback.

[0128] Then the first parameter value logits play By performing sigmoid transformation, we can get the probability of completion of playback p play , the playback completion probability p play It can be expressed as:

[0129] p play =sigmoid(logits play )

[0130] In the disclosed embodiment, the user-side vector and the object feature vector, as well as the first parameter value and the second parameter value, are input into a pre-trained recommendation payment prediction model to calculate the recommendation payment probability of the current user for the recommended object. Since the first parameter value can provide prior information on the user's global payment, and the second parameter value can provide prior information on the user's preference for the recommended object, the accuracy of predicting the user's payment for the recommended object can be improved by adding the first parameter value and the second parameter value. Specifically, the recommendation payment prediction model can be a DNN model, which can first concatenate the user-side vector and the object feature vector, as well as the first parameter value and the second parameter value, and input the concatenated vector into the pre-trained recommendation payment prediction model. After two layers of fully connected functions and one layer of linear function, the output result is the intermediate value when calculating the recommendation payment probability, and then the probability value is nonlinearly transformed to generate the recommendation payment probability of the current user for the recommended object.

[0131] For example, the user side vector may be x user , the object feature vector can be x item , the first parameter value can be logits global , the second parameter value can be logits play , first change x user 、x item , logits global , logits play After concatenation, the concatenated vector can be expressed as:

[0132] [x user , x item , logits global , logits play ]

[0133] Then [x user , x item , logits global , logits play ] Input the pre-trained recommendation payment prediction model, and after passing through 2 layers of fully connected functions, input the linear transformation layer function, where the linear transformation layer function can be specifically expressed as:

[0134] logits pay =w pay *x+b pay

[0135] Among them, w pay and b pay It can be a preset parameter, specifically, it can be an initialization variable randomly set during model training, logits pay It can be expressed as the intermediate value when calculating the probability of recommended payment.

[0136] Then for the middle value logits pay By performing sigmoid transformation, we can get the recommended payment probability p pay , the recommended payment probability p pay It can be expressed as:

[0137] p pay =sigmoid(logits pay )

[0138] For example, Figure 4 is a flow chart of calculating a target willingness to pay value provided by the present disclosure, such as Figure 4 As shown, step 21, aggregate and calculate the user attribute features, operation features, and recommended inventory features to generate a user side vector; step 22, determine the object feature vector according to the attribute features of the object to be recommended; step 23, input the user side vector into the pre-trained global payment prediction model, generate a first parameter value through calculation, perform nonlinear transformation on the generated first parameter value, and obtain the global payment probability P global Step 24: Input the user-side vector and the object feature vector into the pre-trained playback completion prediction model, generate a second parameter value through calculation, perform a nonlinear transformation on the generated second parameter value, and obtain the playback completion probability P play Step 25: Input the user-side vector and the object feature vector, as well as the first parameter value and the second parameter value into the pre-trained recommendation payment prediction model, calculate and perform nonlinear transformation, and obtain the recommendation payment probability P pay .

[0139] Optionally, in the embodiment of the present disclosure, the operation of calculating the target willingness to pay value of the current user for the object to be recommended based on the recommended payment probability, the global payment probability and the playback completion probability may specifically include:

[0140] Calculate the difference between the recommended payment probability and the global payment probability; calculate the product of the playback completion probability and a preset parameter; and use the value obtained by adding the difference and the product as the target willingness to pay value.

[0141] In the disclosed embodiment, the higher the recommended payment probability, the higher the user's target willingness to pay value for the recommended object, and the higher the global payment probability, the lower the user's target willingness to pay value for the recommended object, and the higher the playback completion probability, the higher the user's target willingness to pay value for the recommended object. Therefore, the difference between the recommended payment probability and the global payment probability can be calculated, and then the product of the playback completion probability and the preset parameters can be calculated, and the value after adding the difference and the product is used as the target willingness to pay value, thereby improving the accuracy of predicting the user's willingness to pay for the recommended object.

[0142] For example, the probability of recommendation payment can be p pay , the global payment probability can be p global , the probability of completion of playback can be p play , then the calculation formula of the target willingness to pay value can be expressed as:

[0143] score=p pay -p global +α*p play

[0144] Among them, α may be a preset parameter, and the preset parameter α may be a weight for controlling the user's playback experience. The value range of the preset parameter α may be 0 to 1.

[0145] Optionally, the object recommendation method in the embodiment of the present disclosure further includes:

[0146] Obtain user feature vectors of multiple sample users, recommended objects of the sample users, and playback timestamps and payment timestamps for the recommended objects; determine recommended payment tags and global payment tags based on the playback timestamps and payment timestamps, and determine playback completion tags based on the playback timestamps of the recommended objects; use the user feature vector and the global payment tag as a first training sample pair; use the user feature vector, the sample feature vector and the playback completion tag as a second training sample pair; use the user feature vector, the sample feature vector and the recommended payment tag as a third training sample pair; the sample feature vector is determined based on the sample users and the recommended objects; use the first training sample to train an initial global payment prediction model to obtain the pre-trained global payment prediction model, use the second training sample to train an initial playback completion prediction model to obtain the pre-trained playback completion prediction model, and use the third training sample to train an initial recommendation payment prediction model to obtain the pre-trained recommendation payment prediction model.

[0147] In the disclosed embodiment, the sample user may be a user who has paid for the recommended object on the platform, and user feature vectors of multiple sample users, the recommended objects of the sample users, and the playback timestamps and payment timestamps of the recommended objects are obtained. The user who has paid for the recommended object on the platform may be selected as the sample user, and the user attribute characteristics, operation characteristics and recommendation inventory characteristics of the sample user may be determined, and the user feature vector may be generated by conversion. The recommended objects that the sample user has paid for are determined, and the playback timestamps and payment timestamps of the sample user for the recommended objects are determined.

[0148] In the disclosed embodiment, the recommended payment tag and the global payment tag are determined based on the play timestamp and the payment timestamp, and the play completion tag is determined based on the play timestamp of the recommended object. The recommended payment tag and the global payment tag can be determined based on the order of the payment timestamp and the play timestamp, and the play completion tag is determined based on the length of the play timestamp. Specifically, if the user's payment timestamp for the recommended object is greater than the user's play timestamp for the recommended object, that is, the payment timestamp is after the play timestamp, and the difference between the payment timestamp and the play timestamp is less than 1 day, then the recommended payment tag of the sample user can be set to 1, otherwise, the recommended payment tag is set to 0. If the user's payment timestamp for the recommended object is greater than the play timestamp, and the difference between the payment timestamp and the play timestamp is greater than 1 day and less than 7 days, then the global payment tag of the sample user can be set to 1, otherwise, the global payment tag is set to 0. Compare the length of the user's playback timestamp of the recommended object with the playback duration of the recommended object. If the length of the playback timestamp is equal to the playback duration of the recommended object, the playback completion tag for the sample user can be set to 1. If the length of the playback timestamp is less than the playback duration of the recommended object, the playback completion tag is set to 0.

[0149] In the disclosed embodiment, since only the user feature vector needs to be input into the global payment prediction model, the user feature vector and the global payment label can be used as the first training sample pair, wherein the user feature vector can include a user attribute feature vector, a user operation feature vector, and a recommended inventory feature vector. Since the user feature vector and the sample feature vector need to be input into the playback completion prediction model, the user feature vector, the sample feature vector, and the playback completion label can be used as the second training sample pair. Since the user feature vector and the sample feature vector need to be input into the recommended payment prediction model, the user feature vector, the sample feature vector, and the recommended payment label can be used as the third training sample pair. It should be noted that the sample feature vector can be determined based on the sample user and the recommended object.

[0150] In the embodiment of the present disclosure, the initial global payment prediction model is trained using the first training sample pair to obtain a pre-trained global payment prediction model. The prediction probability of each sample user in the first training sample pair can be recorded as The true label of each sample user in the first training sample pair, that is, the global payment label, can be recorded as The cross entropy loss function of the global payment prediction model can be expressed as:

[0151]

[0152] Among them, loss globalmay be the cross entropy loss function of the global payment prediction model, N may be the number of sample users in the first training sample pair, and N may be a positive integer. You can pay for global tags. It can be a predicted probability, and log(*) can be a preset logarithmic function.

[0153] In the embodiment of the present disclosure, the initial playback completion prediction model is trained using the second training sample to obtain a pre-trained playback completion prediction model. The prediction probability of each sample user in the second training sample pair can be recorded as The true label of each sample user in the second training sample pair, that is, the playback completion label can be recorded as The cross entropy loss function of the prediction model of the user's completion of playing the recommended object can be expressed as:

[0154]

[0155] Among them, loss play M may be a cross entropy loss function of the playback completion prediction model, M may be the number of sample users in the second training sample pair, and M may be a positive integer. You can complete the label for playback. It can be the predicted probability.

[0156] In the embodiment of the present disclosure, the initial recommendation payment prediction model is trained using the third training sample to obtain a pre-trained recommendation payment prediction model. The prediction probability of each sample user in the third training sample pair can be recorded as The true label of each sample user in the third training sample pair, that is, the recommended paid label, can be recorded as The cross entropy loss function of the user's recommendation payment prediction model for the recommended object is calculated as follows:

[0157]

[0158] Among them, loss pay may be the cross entropy loss function of the recommendation payment prediction model, W may be the number of sample users in the third training sample pair, and W may be a positive integer. You can pay for referral tags, It can be the predicted probability.

[0159] It should be noted that in the embodiment of the present disclosure, after respectively calculating the loss functions of the above three models, the loss functions of the three models can be added together during training as a unified loss function. The method for calculating the unified loss function can be expressed as follows:

[0160] loss=loss global +lossplay +loss pay

[0161] Among them, loss can be expressed as a unified loss function. According to the loss functions calculated by the above three models, the optimizer is used to perform reverse gradient propagation of the neural network. The optimizer can be an adaptive (Adam) optimizer to iteratively optimize the model parameters until the model converges or reaches the convergence condition. In training, the model can be trained by batch processing, and a batch of samples is optimized each time, and the number of samples in a batch can be set to 1000.

[0162] For example, Figure 5 is a flow chart of obtaining a sample provided by the present disclosure, such as Figure 5 As shown, 31. Read the historical playback log; 32. Get the user ID, recommended object ID, whether the playback is completed, and the playback timestamp from the historical playback log; 33. Read the historical payment log; 34. Get the user ID, recommended object ID, and payment timestamp from the historical payment log; 35. For the recommended objects that have been played and paid, determine whether the payment timestamp is greater than the playback timestamp; 36. For each user ID, determine whether the user has a payment record within 0-7 days; 37. Generate training samples, including: user ID, recommended object ID, whether the playback is completed = 0 / 1, whether payment is paid after playback = 0 / 1, and whether global payment is paid = 0 / 1.

[0163] For example, the following steps can be performed: first, sample preprocessing; second, training the willingness value prediction model; third, using the pre-trained willingness value prediction model to calculate the current user's global payment probability, playback completion probability, and recommended payment probability; then, based on the global payment probability, playback completion probability, and recommended payment probability, determine the current user's target willingness to pay value; finally, compare the target willingness to pay value with the target willingness range.

[0164] For example, Figure 6 is a flowchart of an object recommendation provided by the present disclosure, such as Figure 6 As shown, 41. Determine the target willingness to pay value for the recommended object for each user who logs into the platform; 42. Calculate the target willingness interval corresponding to the current user based on the willingness to pay values ​​of historical users; 43. Determine whether the target willingness to pay value belongs to the target willingness interval; 44. If not, the recommended object is not recommended to the user; 45. If it does, recommend the recommended object to the user.

[0165] It should be noted that the object recommendation method provided in the embodiment of the present disclosure can be executed by an object recommendation device, or by a control module in the object recommendation device for executing the method for loading object recommendation. The object recommendation method provided in the embodiment of the present disclosure is described by taking the object recommendation device executing the method for loading object recommendation as an example. Figure 7 An object recommendation device according to an exemplary embodiment of the present disclosure is described.

[0166] Figure 7 is a block diagram of an object recommendation device provided by an embodiment of the present disclosure, such as Figure 7 As shown, the object recommendation device 50 may include:

[0167] A first acquisition module 501 is used to acquire a user side vector of the current user based on relevant information of the current user;

[0168] A first determination module 502 is used to determine the target willingness to pay value of the current user for the object to be recommended based on the user-side vector and the object feature vector of the object to be recommended;

[0169] A judgment module 503 is used to judge whether the target willingness to pay value belongs to a target willingness interval; the target willingness interval is determined based on the willingness to pay values ​​of multiple reference users for the recommended object; the reference users are determined from historical users whose online time is before the current user;

[0170] The recommendation module 504 is configured to recommend the object to be recommended to the current user when the target willingness to pay value falls within the target willingness interval.

[0171] In summary, the object recommendation device provided by the embodiment of the present disclosure can first obtain the user side vector of the current user based on the relevant information of the current user, and then determine the target willingness to pay value of the current user for the recommended object based on the user side vector and the object feature vector of the object to be recommended, and judge whether the target willingness to pay value belongs to the target willingness interval. The target willingness interval is determined based on the willingness to pay value of the reference user for the recommended object. The reference user is determined from the historical users who went online before the current user. When the target willingness to pay value belongs to the target willingness interval, the object to be recommended is recommended to the current user. In this way, for each user who logs into the platform, the willingness to pay value of the user for the recommended object is determined based on the relevant characteristics of the user, which can improve the accuracy of the predicted willingness to pay value, and the target willingness interval is determined by the willingness to pay values ​​of historical users, so that the number of users who meet the expectations can be screened using the target willingness interval, thereby conveniently controlling the number of recommended users.

[0172] Optionally, the device 50 further includes:

[0173] A second determining module, configured to determine, according to the target online time of the current user, a preset time interval corresponding to the target online time;

[0174] A third determining module, configured to determine the plurality of reference users included in the preset time interval according to the online time of the historical users;

[0175] A second acquisition module is used to obtain the willingness to pay values ​​of the reference users for the object to be recommended;

[0176] An arrangement module, used to arrange the multiple reference users according to the willingness-to-pay values ​​of the reference users to form a reference user queue, and add a corresponding number to each reference user in the reference user queue;

[0177] A fourth determination module, configured to determine, according to a preset selection ratio and the number of reference users, a numbering interval corresponding to the preset selection ratio in the reference user queue;

[0178] The fifth determination module is used to determine the target willingness interval based on the willingness-to-pay value of the reference user corresponding to the numbering interval.

[0179] Optionally, the first determining module 502 is further specifically configured to:

[0180] The user-side vector and the object feature vector are calculated using a pre-trained willingness value prediction model to obtain the global payment probability of the current user, the completion probability of the current user playing the object to be recommended, and the recommendation payment probability;

[0181] Based on the recommended payment probability, the global payment probability and the playback completion probability, the target payment willingness value of the current user for the object to be recommended is calculated.

[0182] Optionally, the pre-trained willingness value prediction model includes a pre-trained recommendation payment prediction model, a pre-trained global payment prediction model and a pre-trained playback completion prediction model;

[0183] The first determining module 502 is further specifically configured to:

[0184] Inputting the user-side vector into the pre-trained global payment prediction model to calculate the global payment probability of the current user;

[0185] Inputting the user-side vector and the object feature vector into the pre-trained playback completion prediction model, and calculating the playback completion probability of the current user for the object to be recommended;

[0186] The user side vector and the object feature vector, as well as the first parameter value and the second parameter value, are input into the pre-trained recommendation payment prediction model to calculate the recommended payment probability of the current user for the object to be recommended; the first parameter value is the intermediate value when calculating the global payment probability, and the second parameter value is the intermediate value when calculating the playback completion probability.

[0187] Optionally, the first determining module 502 is further specifically configured to:

[0188] Calculating the difference between the recommended payment probability and the global payment probability;

[0189] Calculating the product of the playback completion probability and a preset parameter;

[0190] The value obtained by adding the difference and the product is used as the target willingness to pay value.

[0191] Optionally, the first acquisition module 501 is further specifically configured to:

[0192] Acquire at least one attribute feature according to the user attribute of the current user;

[0193] Convert the at least one attribute feature according to a preset vector conversion relationship to generate a user attribute feature vector;

[0194] Aggregate and calculate the user attribute feature vector to generate a user side vector of the current user.

[0195] Optionally, the device 50 further includes:

[0196] A third acquisition module is used to obtain the current user's playback record and payment record for the recommended object;

[0197] A first generating module, configured to generate an operation vector for the recommended object according to the play record and payment record of the recommended object;

[0198] A calculation module, used for performing aggregation calculation on the operation vector to generate a user operation feature vector of the current user;

[0199] Accordingly, the first acquisition module 501 is further specifically configured to:

[0200] The user attribute feature vector and the user operation feature vector are concatenated and aggregated to calculate a user side vector of the current user.

[0201] Optionally, the device 50 further includes:

[0202] A selection module is used to calculate the similarity between each of the to-be-recommended objects and the recommended objects, and determine a matching recommended object for the current user; the matching recommended object is an to-be-recommended object whose similarity meets a preset threshold;

[0203] A second generating module, configured to generate the recommended inventory feature vector by using the preset vector conversion relationship based on the proportion of the matched recommended objects in the objects to be recommended;

[0204] Accordingly, the first acquisition module 501 is further specifically configured to:

[0205] The user attribute feature vector, the user operation feature vector and the recommended inventory feature vector are concatenated and aggregated to calculate a user side vector of the current user.

[0206] Optionally, the device 50 further includes:

[0207] A fourth acquisition module, used to acquire user feature vectors of multiple sample users, recommended objects of the sample users, and play timestamps and payment timestamps of the recommended objects;

[0208] A sixth determination module, configured to determine a recommended payment tag and a global payment tag according to the play timestamp and the payment timestamp, and determine a play completion tag according to the play timestamp of the recommended object;

[0209] a seventh determination module, configured to use the user feature vector and the global payment tag as a first training sample pair; use the user feature vector, the sample feature vector and the playback completion tag as a second training sample pair; use the user feature vector, the sample feature vector and the recommended payment tag as a third training sample pair; the sample feature vector is determined based on the sample user and the recommended object;

[0210] A training module is used to train the initial global payment prediction model using the first training sample to obtain the pre-trained global payment prediction model, to train the initial playback completion prediction model using the second training sample to obtain the pre-trained playback completion prediction model, and to train the initial recommended payment prediction model using the third training sample to obtain the pre-trained recommended payment prediction model.

[0211] After introducing the object recommendation method and device according to the exemplary embodiment of the present disclosure, Figure 8 A storage medium according to an exemplary embodiment of the present disclosure is described.

[0212] refer to Figure 8As shown, a storage medium 600 for implementing the above method according to an embodiment of the present disclosure is described, which can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be run on a device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.

[0213] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0214] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0215] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0216] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user computing device, partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).

[0217] After introducing the storage medium of the exemplary embodiment of the present disclosure, next, reference is made to Fig. 9 An electronic device according to an exemplary embodiment of the present disclosure is described.

[0218] Fig. 9 The electronic device 700 shown in the figure is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0219] like Fig. 9 As shown, the electronic device 700 is in the form of a general computing device. The components of the electronic device 700 may include, but are not limited to: the at least one processing unit 710, the at least one storage unit 720, a bus 730 connecting different system components (including the storage unit 720 and the processing unit 710), and a display unit 740.

[0220] The storage unit stores a program code, which can be executed by the processing unit 710, so that the processing unit 710 executes the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of this specification. For example, the processing unit 710 can execute step S101, based on the relevant information of the current user, obtain the user side vector of the current user; step S102, based on the user side vector and the object feature vector of the object to be recommended, determine the target willingness to pay value of the current user for the object to be recommended; step S103, determine whether the target willingness to pay value belongs to the target willingness interval; the target willingness interval is determined based on the willingness to pay values ​​of multiple reference users for the recommended object; the reference user is determined from the historical users whose online time is before the current user; step S104, when the target willingness to pay value belongs to the target willingness interval, recommend the object to be recommended to the current user.

[0221] The storage unit 720 may include a volatile storage unit, such as a random access storage unit (RAM) 7201 and / or a cache storage unit 7202 , and may further include a read-only storage unit (ROM) 7203 .

[0222] The storage unit 720 may also include a program / utility 7204 having a set (at least one) of program modules 7205, such program modules 7205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.

[0223] The bus 730 may include a data bus, an address bus, and a control bus.

[0224] The electronic device 700 can also communicate with one or more external devices 80 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), and this communication can be performed through an input / output (I / O) interface 750. The electronic device 700 also includes a display unit 740, which is connected to the input / output (I / O) interface 750 for display. In addition, the electronic device 700 can also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs) and / or public networks, such as the Internet) through a network adapter 760. As shown in the figure, the network adapter 760 communicates with other modules of the electronic device 700 through a bus 730. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device 700, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0225] It should be noted that although several modules or sub-modules of the audio playback device and the audio sharing device are mentioned in the above detailed description, this division is merely exemplary and not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided to be embodied by multiple units / modules.

[0226] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiments of the present disclosure is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0227] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present disclosure, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present disclosure.

[0228] The embodiments of the present disclosure are described above in conjunction with the accompanying drawings, but the present disclosure is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present disclosure, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present disclosure and the claims, all of which are within the protection of the present disclosure.

Claims

1. An object recommendation method, characterized in that: The method comprises: Based on the relevant information of the current user, obtaining a user side vector of the current user; The user-side vector is input into a pre-trained global payment prediction model to calculate the global payment probability of the current user; the user-side vector and the object feature vector of the object to be recommended are input into a pre-trained playback completion prediction model to calculate the playback completion probability of the object to be recommended by the current user; and the user-side vector and the object feature vector, as well as the first parameter value and the second parameter value, are input into a pre-trained recommendation payment prediction model to calculate the recommended payment probability of the current user for the object to be recommended; the first parameter value is an intermediate value when calculating the global payment probability, and the second parameter value is an intermediate value when calculating the playback completion probability; Calculating the difference between the recommended payment probability and the global payment probability; calculating the product of the playback completion probability and a preset parameter, and taking the sum of the difference and the product as the target willingness to pay value; the preset parameter is used to control the weight of the user's playback experience, and the value range of the preset parameter is 0 to 1; Determine whether the target willingness to pay value belongs to a target willingness interval; the target willingness interval is determined based on the willingness to pay values ​​of a plurality of reference users for the recommended object; the reference users are determined from historical users whose online time is before the current user; When the target willingness to pay value belongs to the target willingness interval, the object to be recommended is recommended to the current user.

2. The method according to claim 1, characterized in that The method further comprises: According to the target online time of the current user, determining a preset time interval corresponding to the target online time; Determining the plurality of reference users included in the preset time interval according to the online time of the historical users; Obtaining willingness-to-pay values ​​of the plurality of reference users for the recommended object; Arranging the multiple reference users according to the payment willingness values ​​of the reference users to form a reference user queue, and adding a corresponding number to each reference user in the reference user queue; According to the preset selection ratio and the number of the reference users, determining the numbering interval corresponding to the preset selection ratio in the reference user queue; The target willingness interval is determined based on the willingness-to-pay values ​​of the reference users corresponding to the number intervals.

3. The method according to claim 1, characterized in that The acquiring the user side vector of the current user based on the relevant information of the current user includes: Acquire at least one attribute feature according to the user attribute of the current user; Convert the at least one attribute feature according to a preset vector conversion relationship to generate a user attribute feature vector; Aggregate and calculate the user attribute feature vector to generate a user side vector of the current user.

4. The method according to claim 3, characterized in that Before performing aggregation calculation on the user attribute feature vector to generate the user side vector of the current user, the method further includes: Obtaining the current user's playback and payment records for the recommended object; generating an operation vector for the recommended object according to the play record and payment record of the recommended object; Performing aggregation calculation on the operation vector to generate a user operation feature vector of the current user; Accordingly, performing aggregation calculation on the user attribute feature vector to generate the user side vector of the current user includes: The user attribute feature vector and the user operation feature vector are concatenated and aggregated to calculate a user side vector of the current user.

5. The method according to claim 4, characterized in that The method further comprises: For each of the objects to be recommended, the similarity between the object to be recommended and the recommended object is calculated to determine a matching recommended object for the current user; the matching recommended object is an object to be recommended whose similarity meets a preset threshold; Based on the proportion of the matching recommended objects in the objects to be recommended, generating a recommended inventory feature vector using the preset vector conversion relationship; Accordingly, the concatenating and aggregating the user attribute feature vector and the user operation feature vector to calculate the user side vector of the current user includes: The user attribute feature vector, the user operation feature vector and the recommended inventory feature vector are concatenated and aggregated to calculate a user side vector of the current user.

6. The method according to claim 1, characterized in that The method further comprises: Obtaining user feature vectors of multiple sample users, recommended objects of the sample users, and play timestamps and payment timestamps of the recommended objects; Determine a recommended payment tag and a global payment tag according to the play timestamp and the payment timestamp, and determine a play completion tag according to the play timestamp of the recommended object; The user feature vector and the global payment tag are used as a first training sample pair; the user feature vector, the sample feature vector and the playback completion tag are used as a second training sample pair; the user feature vector, the sample feature vector and the recommended payment tag are used as a third training sample pair; the sample feature vector is determined according to the sample user and the recommended object; The first training sample is used to train the initial global payment prediction model to obtain the pre-trained global payment prediction model, the second training sample is used to train the initial playback completion prediction model to obtain the pre-trained playback completion prediction model, and the third training sample is used to train the initial recommended payment prediction model to obtain the pre-trained recommended payment prediction model.

7. An object recommendation device, characterized in that: The device comprises: A first acquisition module, configured to acquire a user side vector of the current user based on relevant information of the current user; The first determination module is used to input the user-side vector into a pre-trained global payment prediction model to calculate the global payment probability of the current user; input the user-side vector and the object feature vector of the object to be recommended into a pre-trained playback completion prediction model to calculate the playback completion probability of the current user for the object to be recommended; and input the user-side vector and the object feature vector, as well as the first parameter value and the second parameter value, into a pre-trained recommendation payment prediction model to calculate the recommended payment probability of the current user for the object to be recommended; the first parameter value is the intermediate value when calculating the global payment probability, and the second parameter value is the intermediate value when calculating the playback completion probability; calculate the difference between the recommended payment probability and the global payment probability; calculate the product of the playback completion probability and the preset parameter, and use the value after adding the difference and the product as the target willingness to pay value; the preset parameter is used to control the weight of the user's playback experience, and the value range of the preset parameter is 0 to 1; A judgment module, used to judge whether the target willingness to pay value belongs to a target willingness interval; the target willingness interval is determined based on the willingness to pay values ​​of a plurality of reference users for the recommended object; the reference users are determined from historical users whose online time is before the current user; A recommendation module is used to recommend the object to be recommended to the current user when the target willingness to pay value belongs to the target willingness interval.

8. The device according to claim 7, characterized in that The device also includes: A second determining module, configured to determine, according to the target online time of the current user, a preset time interval corresponding to the target online time; A third determining module, configured to determine the plurality of reference users included in the preset time interval according to the online time of the historical users; A second acquisition module is used to obtain the willingness to pay values ​​of the plurality of reference users for the recommended object; An arrangement module, used to arrange the multiple reference users according to the willingness-to-pay values ​​of the reference users to form a reference user queue, and add a corresponding number to each reference user in the reference user queue; A fourth determination module, configured to determine, according to a preset selection ratio and the number of reference users, a numbering interval corresponding to the preset selection ratio in the reference user queue; The fifth determination module is used to determine the target willingness interval based on the willingness-to-pay value of the reference user corresponding to the numbering interval.

9. The device according to claim 7, characterized in that The first acquisition module is further specifically used for: Acquire at least one attribute feature according to the user attribute of the current user; Convert the at least one attribute feature according to a preset vector conversion relationship to generate a user attribute feature vector; Aggregate and calculate the user attribute feature vector to generate a user side vector of the current user.

10. The device according to claim 9, characterized in that The device further comprises: A third acquisition module is used to obtain the current user's playback record and payment record for the recommended object; A first generating module, configured to generate an operation vector for the recommended object according to the play record and payment record of the recommended object; A calculation module, used for performing aggregation calculation on the operation vector to generate a user operation feature vector of the current user; Accordingly, the first acquisition module is further specifically configured to: The user attribute feature vector and the user operation feature vector are concatenated and aggregated to calculate a user side vector of the current user.

11. The device according to claim 10, characterized in that The device also includes: A selection module is used to calculate the similarity between each of the to-be-recommended objects and the recommended objects, and determine a matching recommended object for the current user; the matching recommended object is an to-be-recommended object whose similarity meets a preset threshold; A second generating module, configured to generate a recommended inventory feature vector using the preset vector conversion relationship based on the proportion of the matching recommended objects in the objects to be recommended; Accordingly, the first acquisition module is further specifically configured to: The user attribute feature vector, the user operation feature vector and the recommended inventory feature vector are concatenated and aggregated to calculate a user side vector of the current user.

12. The device according to claim 7, characterized in that The device also includes: A fourth acquisition module, used to acquire user feature vectors of multiple sample users, recommended objects of the sample users, and play timestamps and payment timestamps of the recommended objects; A sixth determination module, configured to determine a recommended payment tag and a global payment tag according to the play timestamp and the payment timestamp, and determine a play completion tag according to the play timestamp of the recommended object; a seventh determination module, configured to use the user feature vector and the global payment tag as a first training sample pair; use the user feature vector, the sample feature vector and the playback completion tag as a second training sample pair; use the user feature vector, the sample feature vector and the recommended payment tag as a third training sample pair; the sample feature vector is determined based on the sample user and the recommended object; A training module is used to train the initial global payment prediction model using the first training sample to obtain the pre-trained global payment prediction model, to train the initial playback completion prediction model using the second training sample to obtain the pre-trained playback completion prediction model, and to train the initial recommended payment prediction model using the third training sample to obtain the pre-trained recommended payment prediction model.

13. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the object recommendation method according to any one of claims 1 to 6 is implemented.

14. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to execute the object recommendation method according to any one of claims 1 to 6 by executing the executable instructions.

Citation Information

Patent Citations

  • Song recommendation method and apparatus

    CN106951527A

  • Audio-based personalized recommendation method and device and mobile terminal

    CN109558512A

  • Information recommendation method and device, electronic equipment and storage medium

    CN111782936A

  • Information recommendation method and apparatus, and medium

    US20200334676A1