Server and media asset recommendation method
Through the transfer learning technology of the multi-task recommendation model, the problem of poor performance of the media asset recommendation model in multi-task training is solved, the probability of users watching and paying is improved, and the need for media asset recommendation to take into account both user preferences and member conversion rates is met. .
Patent Information
- Application Number
- CN202311850943.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-10-23
- Filing Date
- 2023-12-28
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2043-12-28
AI Technical Summary
Due to the exclusion effect of users' historical behaviors during the multi-task training process, existing media asset recommendation models have poor performance and are difficult to meet the needs of users' media asset preferences and membership conversion rates.
Using a multi-task recommendation model, the second stage of task transfer learning is carried out through the pre-training model, the target domain training samples are constructed, the parameters of the embedding layer and feature layer are fixed, the gated network regular loss of the expert network is increased, and the loss function is optimized to improve transfer Learning effect to ensure the accuracy of the model in terms of user viewing and payment probabilities.
It improves the user viewing and payment probability of media asset recommendations, and improves the effect of media asset recommendations that take into account user preferences and member conversion rates.
Smart Images

Figure CN118828069A_ABST
Abstract
Description
[0001] This application claims the priority of the Chinese patent application filed with the China Patent Office on October 23, 2023, with application number 202311378458.6 and invention name “Server and Media Resource Recommendation Method”, all contents of which are incorporated by reference in this application. Technical Field
[0002] The present application relates to the technical field of media resource recommendation, and in particular to a server and a media resource recommendation method. Background Art
[0003] In order to facilitate users to quickly find the media they want to watch, smart TVs usually display multiple media on the video platform for users to choose from on the video recommendation page, such as the homepage. The media displayed on the video recommendation page may include free-to-watch media and paid-to-watch media, such as media that can only be watched in full by members. Among them, displaying paid-to-watch media is an important means to improve member conversion rate and thus ensure the sustainable development of the video platform. In order to take into account the user's media preferences and member conversion rate, in related technologies, the video platform will pre-train multi-tasks based on the user's media on-demand operations, payment operations and other historical behaviors to obtain a media recommendation model, and recommend media displayed on the video recommendation page to the user based on the media recommendation model. However, in the above multi-task training process, the different historical behaviors of users may cause an exclusion effect between multiple tasks, resulting in poor performance of the media recommendation model and difficulty in meeting media recommendation needs. Summary of the invention
[0004] In order to improve the media resource recommendation experience, this application provides a server and a media resource recommendation method.
[0005] In a first aspect, the present application provides a server, which is configured to:
[0006] Acquire a data set to be recommended corresponding to a target user, wherein the data set to be recommended includes media asset data of a plurality of target media assets;
[0007] Input the dataset to be recommended into a multi-task recommendation model, and obtain the predicted probability of the target media asset corresponding to the second-stage task output by the multi-task recommendation model, wherein the multi-task recommendation model is a network model obtained by performing transfer learning of the second-stage task on a pre-trained model, and the pre-trained model is a network model obtained by training the first-stage task, the first-stage task includes the task of predicting whether the user will watch and the task of predicting whether the user will pay, and the second-stage task includes the task of predicting whether the user will pay;
[0008] Obtaining a recommendation probability of the target media asset according to the predicted probability;
[0009] According to the recommendation probability, the to-be-recommended media asset corresponding to the target user is determined from the target media assets.
[0010] In some embodiments, the pre-trained model includes an input layer, an embedding layer, a feature layer, an expert model layer, and an output layer connected in sequence, wherein the embedding layer is used to calculate a sample feature vector, and the feature layer is used to calculate a scene preference feature vector representing the user's media asset preference features in each recommendation scene based on the sample feature vector; performing transfer learning of the second stage task on the pre-trained model includes:
[0011] Constructing a target domain training sample, wherein the target domain training sample includes media asset data of a second sample media asset, and the media asset data of the second sample media asset includes a label probability corresponding to the second stage task;
[0012] Setting the network parameters of the embedding layer and the feature layer to fixed parameters;
[0013] The target domain training sample is input into the pre-training model in which the fixed parameters are set, so as to obtain the recommendation probability of the target domain training sample.
[0014] In some embodiments, the source domain training sample corresponding to the pre-trained model includes media asset data of a first sample media asset, the media asset data of the first sample media asset includes a label probability corresponding to the first stage task, and constructing the target domain training sample includes:
[0015] In the source domain training samples, the first sample media asset corresponding to the task of predicting whether the user pays is deleted, and the second sample media asset includes the first sample media asset retained by the source domain training samples;
[0016] The label probability corresponding to the first-stage task in the second sample media asset is deleted, and the label probability of the second sample media asset is set to the label probability corresponding to the second-stage task.
[0017] In some embodiments, the constructing the target domain training sample further includes:
[0018] A newly added sample media asset having a time attribute different from that of the first sample media asset is obtained, and the second sample media asset also includes the newly added sample media asset.
[0019] In some embodiments, the expert model layer includes a plurality of expert networks for outputting feature maps based on the sample feature vectors and the scene preference feature vectors, and performing transfer learning of the second stage task on the pre-trained model further includes:
[0020] Before the target domain training sample is input into the pre-training model with the fixed parameters set, the weight of the expert network is also set as a function of the change amount of the loss function of the pre-training model, and the network parameters of one of the expert networks are set to zero.
[0021] In some embodiments, performing transfer learning of the second stage task on the pre-trained model further includes:
[0022] Before inputting the target domain training sample into the pre-training model in which the fixed parameters are set, the feature map regularization loss is added to the loss function of the pre-training model.
[0023] In some embodiments, the expert model layer includes a gating network corresponding to the expert network, and performing transfer learning of the second stage task on the pre-trained model further includes:
[0024] Before inputting the target domain training sample into the pre-training model in which the fixed parameters are set, the gated network regularization loss is added to the loss function of the pre-training model.
[0025] In some embodiments, the task of predicting whether the user will watch includes the task of predicting whether to perform a on-demand operation and the task of predicting whether the viewing time exceeds a viewing time threshold. The task of predicting whether the user will pay in the first stage tasks includes the task of predicting whether to enter a payment page. The task of predicting whether the user will pay in the second stage tasks includes the task of predicting whether to enter a payment page, the task of predicting whether the display time of the payment page exceeds the payment time threshold, and the task of predicting whether the payment operation is completed.
[0026] In some embodiments, the data set to be recommended also includes user data of the target user and context data of the target media asset, the target media asset includes media asset determined for media asset recommendation based on a user profile of the target user, and the context data includes media asset data of the previous media asset before the target user watched the target media asset and media asset data of the next media asset after watching the target media asset.
[0027] In a second aspect, the present application provides a media resource recommendation method, the method comprising:
[0028] Acquire a data set to be recommended corresponding to a target user, wherein the data set to be recommended includes media asset data of a plurality of target media assets;
[0029] Input the dataset to be recommended into a multi-task recommendation model, and obtain the predicted probability of the target media asset corresponding to the second-stage task output by the multi-task recommendation model, wherein the multi-task recommendation model is a network model obtained by performing transfer learning of the second-stage task on a pre-trained model, and the pre-trained model is a network model obtained by training the first-stage task, the first-stage task includes the task of predicting whether the user will watch and the task of predicting whether the user will pay, and the second-stage task includes the task of predicting whether the user will pay;
[0030] Obtaining a recommendation probability of the target media asset according to the predicted probability;
[0031] According to the recommendation probability, the to-be-recommended media asset corresponding to the target user is determined from the target media assets.
[0032] The beneficial effects of the server and media resource recommendation method provided by this application include:
[0033] The present application recommends media resources through a multi-task recommendation model. The multi-task model is a network model obtained by transfer learning of a pre-trained model obtained through training of a first-stage task and then through transfer learning of a second-stage task. The first-stage task includes a task of predicting whether a user will watch a video and a task of predicting whether a user will pay for the video, so that the media resources recommended by the pre-trained model have a higher probability of being watched by the user and a higher probability of being paid for by the user. The second-stage task includes a task of predicting whether a user will pay for the video, so that the media resources recommended by the multi-task recommendation model obtained after transfer learning have a higher probability of being watched by the user and a higher probability of being paid for by the user, thereby improving the effect of media resource recommendation in taking into account the user's media resource preferences and member conversion rate. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the implementation methods in the embodiments of the present application or the related technologies, the following is a brief introduction to the drawings required for use in the embodiments or the related technology descriptions. Obviously, the drawings described below are some embodiments of the present application, and a person skilled in the art can also obtain other drawings based on these drawings.
[0035] Figure 1 Schematic diagram of an operation scenario between a display device and a control device according to some embodiments is exemplarily shown in FIG.
[0036] Figure 2 exemplarily shows a hardware configuration block diagram of a control device 100 according to some embodiments;
[0037] Figure 3 exemplarily shows a hardware configuration block diagram of a display device 200 according to some embodiments;
[0038] Figure 4 exemplarily shows a schematic diagram of software configuration in a display device 200 according to some embodiments;
[0039] Figure 5 exemplarily shows a schematic diagram of a home page of a video-on-demand program according to some embodiments;
[0040] Figure 6 A flowchart of a media resource recommendation method according to some embodiments is exemplarily shown in FIG.
[0041] Figure 7 A flowchart of a method for training a multi-task recommendation model according to some embodiments is exemplarily shown in FIG.
[0042] Figure 8 Schematic diagram of a pre-trained model according to some embodiments is exemplarily shown in FIG.
[0043] Fig. 9 A schematic diagram of a flow chart of a transfer learning method according to some embodiments is exemplarily shown in FIG.
[0044] Fig.10 Schematic diagrams of model changes in the first training stage and the second training stage according to some embodiments are exemplarily shown in FIG. DETAILED DESCRIPTION
[0045] In order to make the purpose and implementation method of the present application clearer, the exemplary implementation method of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, rather than all the embodiments.
[0046] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their common and usual meanings.
[0047] The terms "first", "second", "third", etc. in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances.
[0048] The terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover but not exclude inclusion, for example, a product or device comprising a list of components is not necessarily limited to all the components expressly listed but may include other components not expressly listed or inherent to such product or device.
[0049] The display device provided in the embodiments of the present application may have various implementation forms, for example, it may be a television, a smart television, a laser projection device, a monitor, an electronic bulletin board, an electronic table, etc. Figure 1 and Figure 2 This is a specific implementation of the display device of the present application.
[0050] Figure 1 FIG. 1 is a schematic diagram of an operation scenario between a display device and a control device according to an embodiment. Figure 1 As shown, the user can operate the display device 200 through the smart device 300 or the control apparatus 100 .
[0051] In some embodiments, the control device 100 may be a remote controller, and the communication between the remote controller and the display device includes infrared protocol communication or Bluetooth protocol communication, and other short-range communication methods, and the display device 200 is controlled wirelessly or wired. The user may control the display device 200 by inputting user commands through buttons on the remote controller, voice input, control panel input, etc.
[0052] In some embodiments, a smart device 300 (such as a mobile terminal, a tablet computer, a computer, a laptop computer, etc.) may also be used to control the display device 200. For example, the display device 200 is controlled using an application running on the smart device.
[0053] In some embodiments, the display device may not use the above-mentioned smart device or control device to receive instructions, but may receive user control through touch or gestures.
[0054] In some embodiments, the display device 200 can also be controlled in a manner other than the control device 100 and the smart device 300. For example, the user's voice command control can be directly received through a module for obtaining voice commands configured inside the display device 200, or the user's voice command control can be received through a voice control device set outside the display device 200.
[0055] In some embodiments, the display device 200 also communicates data with the server 400. The display device 200 may be allowed to communicate via a local area network (LAN), a wireless local area network (WLAN), and other networks. The server 400 may provide various content and interactions to the display device 200. The server 400 may be one cluster or multiple clusters, and may include one or more types of servers.
[0056] Figure 2 Schematically shows a block diagram of a configuration of the control device 100 according to an exemplary embodiment. Figure 2 As shown, the control device 100 includes a controller 110, a communication interface 130, a user input / output interface 140, a memory, and a power supply. The control device 100 can receive input operation instructions from the user, and convert the operation instructions into instructions that the display device 200 can recognize and respond to, playing the role of an interactive intermediary between the user and the display device 200.
[0057] like Figure 3 The display device 200 includes at least one of a tuner and demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface.
[0058] In some embodiments, the controller includes a processor, a video processor, an audio processor, a graphics processor, a RAM, a ROM, and a first interface to an nth interface for input / output.
[0059] The display 260 includes a display screen component for presenting images, and a driving component for driving image display, which is used to receive image signals output from the controller, and display video content, image content, and menu control interface components and user control UI interface.
[0060] The display 260 may be a liquid crystal display, an OLED display, or a projection display, and may also be a projection device and a projection screen.
[0061] The communicator 220 is a component for communicating with an external device or server according to various communication protocol types. For example, the communicator may include at least one of a Wifi module, a Bluetooth module, a wired Ethernet module, and other network communication protocol chips or near field communication protocol chips, and an infrared receiver. The display device 200 can establish transmission and reception of control signals and data signals with the external control device 100 or the server 400 through the communicator 220.
[0062] The user interface can be used to receive control signals from the control device 100 (such as an infrared remote controller, etc.).
[0063] The detector 230 is used to collect signals from the external environment or the external interaction. For example, the detector 230 includes a light receiver, a sensor for collecting the intensity of ambient light; or, the detector 230 includes an image collector, such as a camera, which can be used to collect external environment scenes, user attributes or user interaction gestures; or, the detector 230 includes a sound collector, such as a microphone, etc., for receiving external sounds.
[0064] The external device interface 240 may include, but is not limited to, any one or more of the following: a high-definition multimedia interface (HDMI), an analog or digital high-definition component input interface (component), a composite video input interface (CVBS), a USB input interface (USB), an RGB port, etc. It may also be a composite input / output interface formed by the above multiple interfaces.
[0065] The tuner-demodulator 210 receives broadcast television signals via wired or wireless reception, and demodulates audio and video signals, such as EPG data signals, from a plurality of wireless or wired broadcast television signals.
[0066] In some embodiments, the controller 250 and the tuner-demodulator 210 may be located in different separate devices, that is, the tuner-demodulator 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.
[0067] The controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in the memory. The controller 250 controls the overall operation of the display device 200. For example, in response to receiving a user command for selecting a UI object to be displayed on the display 260, the controller 250 can perform operations related to the object selected by the user command.
[0068] In some embodiments, the controller includes at least one of a central processing unit (CPU), a video processor, an audio processor, a graphics processing unit (GPU), a RAM (Random Access Memory, RAM), a ROM (Read-Only Memory, ROM), a first interface to an nth interface for input / output, a communication bus (Bus), etc.
[0069] The user may input a user command through a graphical user interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the graphical user interface (GUI). Alternatively, the user may input a user command through a specific sound or gesture, and the user input interface recognizes the sound or gesture through a sensor to receive the user input command.
[0070] "User interface" is the medium interface for interaction and information exchange between applications or operating systems and users. It realizes the conversion between the internal form of information and the form acceptable to users. The commonly used form of user interface is the Graphical User Interface (GUI), which refers to the user interface related to computer operation displayed in a graphical way. It can be an interface element such as an icon, window, control, etc. displayed on the display screen of an electronic device, where the control can include icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, widgets, etc.
[0071] See also Figure 4 In some embodiments, the system is divided into four layers, from top to bottom, namely, the application layer (Applications) layer (referred to as "application layer"), the application framework layer (Application Framework) layer (referred to as "framework layer"), the Android runtime (Android runtime) and system library layer (referred to as "system runtime library layer"), and the kernel layer.
[0072] In some embodiments, at least one application is running in the application layer, and these applications can be window programs, system settings programs, clock programs, etc. provided by the operating system, or applications developed by third-party developers. In specific implementations, the application packages in the application layer are not limited to the above examples.
[0073] The framework layer provides application programming interfaces (APIs) and programming frameworks for applications. The application framework layer includes some predefined functions. The application framework layer is equivalent to a processing center that determines the actions that applications in the application layer take. Through the API interface, applications can access system resources and obtain system services during execution.
[0074] like Figure 4As shown, in the embodiment of the present application, the application framework layer includes managers, content providers, etc., wherein the manager includes at least one of the following modules: an activity manager (ActivityManager) is used to interact with all activities running in the system; a location manager (Location Manager) is used to provide system services or applications with access to system location services; a package manager (Package Manager) is used to retrieve various information related to the application package currently installed on the device; a notification manager (NotificationManager) is used to control the display and clearing of notification messages; a window manager (Window Manager) is used to manage icons, windows, toolbars, wallpapers, and desktop components on the user interface.
[0075] In some embodiments, the activity manager is used to manage the life cycle of each application and the common navigation back function, such as controlling the exit, opening, and back of the application. The window manager is used to manage all window programs, such as obtaining the display screen size, determining whether there is a status bar, locking the screen, capturing the screen, and controlling the display window changes (for example, reducing the display window, shaking the display, distorting the display, etc.).
[0076] In some embodiments, the system runtime layer provides support for the upper layer, namely the framework layer. When the framework layer is used, the Android operating system will run the C / C++ library contained in the system runtime layer to implement the functions to be implemented by the framework layer.
[0077] In some embodiments, the kernel layer is a layer between hardware and software. Figure 4 As shown, the kernel layer includes at least one of the following drivers: audio driver, display driver, Bluetooth driver, camera driver, WIFI driver, USB driver, HDMI driver, sensor driver (such as fingerprint sensor, temperature sensor, pressure sensor, etc.), and power driver, etc.
[0078] The hardware or software architecture in some embodiments may be based on the introduction in the above embodiments, and in some embodiments may be based on other similar hardware or software architectures, so as to implement the technical solution of the present application.
[0079] In some embodiments, the application of the application layer includes a video-on-demand program, and the display device can be configured to enter the video-on-demand program after booting.
[0080] See also Figure 5The home page of the video-on-demand program is provided with a navigation bar 510 and a content display area 520 located below the navigation bar 510. The navigation bar 510 is used to display multiple title controls, such as VIP controls, education controls, TV series controls, movie controls, and other title controls. When the user moves the focus of the display device 200 between multiple title controls, the content display area 520 displays the recommended content corresponding to the focused title control. When the focus is on one of the title controls, the page displayed by the display device 200 is the home page corresponding to the title control.
[0081] In some embodiments, the recommended content displayed in the content display area 520 includes a plurality of media resource recommendation controls 521, each of which corresponds to a media resource recommended for the user to watch. Figure 5 As shown, media asset 1, media asset 2, media asset 3, media asset 4, media asset 5 and media asset 6 are different media assets.
[0082] In some embodiments, the media corresponding to the media recommendation control 521 is the media recommended by the server based on the current account, that is, the user portrait corresponding to the user account currently logged in to the display device 200. The media can be free to watch or paid to watch.
[0083] In order to increase the probability that the recommended media assets are the user's favorite media assets and to increase the user's payment probability, the embodiment of the present application provides a media asset recommendation method, which can filter out some media assets from the media assets recommended by the above-mentioned server 400 and then recommend the filtered media assets to the user.
[0084] See also Figure 6 , is a flowchart of a media resource recommendation method according to some embodiments, such as Figure 6 As shown, the method may include the following steps:
[0085] Step S101: obtaining a data set to be recommended corresponding to a target user, wherein the data set to be recommended includes media asset data of a plurality of target media assets.
[0086] In some embodiments, the target user is a user to whom media resources are to be recommended, such as a user who has logged into a user account on a display device. When a user enters a media resource recommendation scene (hereinafter referred to as a scene) of a display device, the display device may send a media resource recommendation request to a server, and the media resource recommendation request may include an account identifier of the current account, so as to obtain media resources recommended by the server for the user. The scene may include Figure 5 The scenes corresponding to the title controls in the middle navigation bar 510, for example, in the TV series scene corresponding to the TV series control, it is necessary to recommend TV series media to the user, and in the movie scene corresponding to the movie control, it is necessary to recommend movie media to the user.
[0087] In some embodiments, after receiving a media asset recommendation request, the server may obtain a set of data to be recommended corresponding to the current account. The set of data to be recommended may include media asset data of multiple target media assets. The target media asset may be the media asset determined by the server for media asset recommendation based on the user profile of the target user. Alternatively, the target media asset may be the media asset selected from the media asset information library according to preset rules, such as playback popularity, release time, etc.
[0088] Step S102: Input the data set to be recommended into the multi-task recommendation model to obtain the predicted probability of the target media asset corresponding to the second-stage task output by the multi-task recommendation model, wherein the multi-task recommendation model is a network model obtained by transfer learning of the second-stage task to the pre-trained model, and the pre-trained model is a network model obtained by training the first-stage task, and the first-stage task includes the task of predicting whether the user will watch and the task of predicting whether the user will pay, and the second-stage task includes the task of predicting whether the user will pay.
[0089] In some embodiments, the server may calculate the predicted probability of the target media asset in the to-be-recommended data set corresponding to the second-stage task through a pre-trained multi-task recommendation model, and determine whether to recommend the target media asset based on the predicted probability.
[0090] Among them, the multi-task recommendation model can be a network model obtained by performing transfer learning of the second-stage tasks on the pre-trained model obtained through the first-stage task training.
[0091] In some embodiments, the first stage tasks include predicting whether the user will watch and whether the user will pay, so that the pre-trained model obtained through the first stage task training can predict the probability of the user watching and paying for the source domain training samples corresponding to the pre-trained model, such as the first sample media asset, and then generate a recommendation probability for the first sample media asset based on the probability of watching and paying for the first sample media asset. For example, the probability of watching and paying for the first sample media asset is weightedly summed to obtain the recommendation probability of the first sample media asset. The higher the recommendation probability, the higher the probability of the user watching and paying for the first sample media asset.
[0092] It should be noted that the first sample media assets may be free media assets or paid media assets. The probability of performing a payment operation on the first sample media assets refers to the probability that the user jumps from the details page of the first sample media assets to the paid page. After the user completes the payment operation, the paid media assets can be viewed. If the payment operation is not completed, the free media assets can still be viewed. Since the details page of some first sample media assets can display the media assets associated with the first sample media assets, and these media assets may be paid media assets, in order to watch these paid media assets, the user may perform a payment operation. Therefore, when the server recommends free media assets to the user, the user has a certain probability of performing a payment operation. Among them, the media assets associated with the first sample refer to the media assets that have a mapping relationship with the first sample media assets, such as media assets of the same type, media assets with the same starring actors, and other media assets.
[0093] The first sample media may include media that the user has viewed in the past and media associated with the media. Among these first sample media, the number of media for which the user has made payment operations in the past may be relatively small compared to the media that the user has viewed in the past. This will cause the prediction probability obtained by the pre-trained model to have a relatively high accuracy in representing the probability that the user will view the first sample media, and a relatively low accuracy in representing the probability that the user will make payment, making it difficult to meet the needs of balancing the user's media preference and member conversion rate.
[0094] To solve this technical problem, transfer learning of the second-stage tasks can be performed on the pre-trained model.
[0095] In some embodiments, the second stage task includes a task of predicting whether the user will pay, so that the multi-task recommendation model obtained through the second stage task training can improve the accuracy of predicting the probability of the user paying for the target domain training sample, such as the second sample media asset, compared with the pre-trained model, and the predicted probability of the second sample media asset corresponding to the second stage task can be generated according to the probability of the user paying for the second sample media asset. The second sample media asset may include the first sample media asset, or the second sample media asset may also include media assets other than the first sample media asset, so as to improve the transfer learning effect.
[0096] Since the multi-task recommendation model is obtained through transfer learning based on the pre-trained model, when the predicted probability obtained by the multi-task recommendation model is high, the recommendation probability obtained based on the predicted probability will exceed the recommendation probability threshold, indicating that the probability of the user watching the second sample media and the probability of paying for the second sample media are both high, thereby achieving a balance between the user's media preference and the member conversion rate.
[0097] Step S103: obtaining the recommendation probability of the target media asset according to the predicted probability.
[0098] In some embodiments, the second stage tasks include multiple tasks, and based on the predicted probabilities corresponding to the multiple tasks, a comprehensive probability score is calculated as the recommendation probability of the target media asset.
[0099] Exemplarily, a weighted sum of multiple predicted probabilities may be performed to obtain a recommendation probability of a target media asset.
[0100] Exemplarily, the recommendation probability of the target media asset may be obtained by averaging multiple predicted probabilities.
[0101] Step S104: determining the to-be-recommended media asset corresponding to the target user from the target media assets according to the recommendation probability.
[0102] In some embodiments, after respectively calculating the recommendation probabilities of the target media assets in the to-be-recommended data set, the target media assets may be sorted from large to small according to the recommendation probabilities, and the target media assets with the highest sorting levels may be determined as the to-be-recommended media assets corresponding to the target user.
[0103] It can be seen from the above embodiments that the multi-task model provided in the embodiments of the present application is a network model obtained by transfer learning of the second-stage tasks through a pre-trained model obtained by training the first-stage tasks. The first-stage tasks include the task of predicting whether the user will watch and the task of predicting whether the user will pay, so that the media recommended by the pre-trained model has a higher probability of user viewing and payment. The second-stage tasks include the task of predicting whether the user will pay, so that the media recommended by the multi-task recommendation model obtained after transfer learning, on the basis of having a higher probability of user viewing, further increases the probability of user payment, thereby improving the effect of media recommendation that takes into account the user's media preferences and member conversion rate.
[0104] To further illustrate the media resource recommendation method provided in the embodiment of the present application, the training process of the multi-task recommendation model is introduced below. Figure 7 , the training process of the multi-task recommendation model may include the following steps:
[0105] Step S201: training the preset recommendation model for the first phase of the task using source domain training samples.
[0106] In some embodiments, the training process of the multi-task recommendation model includes a pre-training stage and a transfer learning stage, wherein the pre-training stage is the first training stage and the transfer learning stage is the second training stage. In the pre-training stage, the preset recommendation model is trained for the first stage task through the source domain training samples, and in the transfer learning stage, the preset recommendation model is trained for the second stage task through the target domain training samples.
[0107] In some embodiments, the set of all tasks in the first and second stages is T, T = {t1, t2, ..., t5}, |T| = 5, indicating that all tasks include 5 tasks. The 5 tasks are: task t1 for predicting whether to perform a video-on-demand operation, task t2 for predicting whether the viewing time exceeds a viewing time threshold, task t3 for predicting whether to enter a paid page, task t4 for predicting whether the display time of the paid page exceeds a paid time threshold, and task t5 for predicting whether the paid operation is completed.
[0108] Among them, if the viewing time exceeds the viewing time threshold, it is determined that the user has performed effective viewing. If the viewing time does not exceed the viewing time threshold, it is determined that the user has not performed effective viewing. Effective viewing can indicate that the user likes the media. In different scenarios, the viewing time threshold may be different. For example, in the TV drama scenario, since the plot progresses relatively slowly, the user may determine whether he likes the media after watching for a long time. Therefore, the viewing time threshold is 10 minutes. In the movie scenario, since the plot progresses relatively quickly, the user may be able to determine whether he likes the media after watching for a short time. Therefore, the viewing time threshold can be 5 minutes.
[0109] The payment page refers to the cashier page. On the payment page, the user may eventually complete the payment operation, or may not complete the payment operation due to reasons such as weak willingness to pay. If the display time of the payment page exceeds the payment time threshold, it indicates that the user has a strong willingness to pay. If the display time of the payment page does not exceed the payment time threshold, it indicates that the user has a weak willingness to pay.
[0110] The first stage task is the source domain task T s , T s ={t1,t2,t3},|T s |=3, indicating that the first stage tasks include 3 tasks. The second stage tasks are the target domain tasks T τ , T τ ={t3,t4,t5},|T τ |=3, indicating that the second stage includes 3 tasks. T=T s ∪T τ .
[0111] In some embodiments, the set of training samples can be represented by D, D = {(x1, y1), (x2, y2), ... (x i ,y i ),…}, training samples can usually be extracted from the system log data, and each training sample includes feature data x and label data y.
[0112] Feature data x includes user data x u , the media asset data x of the first sample media assetv and the context data x of the first sample media asset uv , that is: x=[x u ,x v ,x uv ].
[0113] The user data may include the user's attribute data and the user's playback behavior data in various scenarios. The attribute data may include information such as the user's age, gender, region, TV model, TV screen size, whether the user is a member, and the user's time preference for watching media. The playback behavior data may include statistical information such as the user's time preference for watching media in various scenarios, such as s1 scenario, s2 scenario, ..., sk scenario, statistical information on scene preference, statistical information on actor preference, and statistical information on category preference for watching content. For example, s1 scenario may be a TV drama scenario, and s2 may be a movie scenario.
[0114] Media asset data includes attribute data of the media asset and statistical data of user behaviors corresponding to the media asset. Attribute data may include information such as director, actor, category, release time, language, etc., and statistical data may include information such as the number of users who have watched the media asset and the average playback time of the media asset.
[0115] The context data includes the media data of the previous media before the user watched the media, the media data of the next media after watching the media, and the time information when the media was exposed to the user, the user's geographical information when the media was exposed to the user, etc. For example, a first sample media is media B, and when the user watched media A in the past, he jumped from the details page of media A to the details page of media B, and then jumped from the details page of media B to the details page of media C. Then, the context data corresponding to media B includes the media data of media A and the media data of media C.
[0116] The label data y represents the user's behavioral feedback after the media asset is exposed to the user, y = [y t |t∈T]. For example, after the media asset v is exposed to user u, user u performs a video-on-demand operation on the media asset v, the viewing time exceeds the viewing time threshold, and enters the payment page, then in the pre-training stage, for the above five tasks, the sample label is: y={1,1,1,0,0}, where 1 indicates that the user performs the operation corresponding to the task, and 0 indicates that the user does not perform the operation corresponding to the task; if after the media asset v is exposed to user u, user u does not perform the operations corresponding to the above five tasks, then the sample label is: y={0,0,0,0,0}.
[0117] The set of source domain training samples is available as D s express, The number of samples is n s , the label of the sample is: ys =[y t |t∈T s ]=[y 1 ,y 2 ,y 3 ].
[0118] The set of target domain training samples can be used as D τ express, The number of samples is n τ , the label of the sample is: y τ =[y t |t∈T τ ]=[y 4 ,y 5 ,y 3 ]. This ensures that the labels of the source domain task and the target domain task are aligned on task t3. The source domain training samples and the target domain training samples are consistent in feature data x.
[0119] In some embodiments, the preset recommendation model may include an MMOE (Multi-gate Mixture-of-Experts, multi-task learning model) model, see Figure 8 , the preset recommendation model may include an input layer, an embedding layer, a feature layer, an expert model layer and an output layer connected in sequence.
[0120] In some embodiments, the input layer is used to input source domain training samples D s :
[0121]
[0122] x=[x u ,x v ,x uv ]
[0123] In some embodiments, the embedding layer is used to convert sparse data into dense data, and the input of the embedding layer is the source domain training sample input by the input layer.
[0124] The embedding layer may include multiple vector units, which are calculated based on the data input by the input layer to obtain the source domain training sample D s The corresponding sample feature vector Emb:
[0125] Emb=lookup(x,E).
[0126] The essence of the embedding layer is a lookup table E, which is used to find the sample feature vector of the source domain training sample in the lookup table E according to the input.
[0127] In some embodiments, the feature layer is used to calculate the scene preference feature vector that characterizes the user's media asset preference characteristics in each recommendation scene based on the sample feature vector, and also provides input data for the expert model layer. The feature layer can calculate based on the sample feature vector output by the embedding layer to obtain the user's scene preference feature vector in multiple scenes. The calculation formula is as follows:
[0128] Fea=relu(g(Emb))
[0129] Among them, Fea is the user's scene preference feature vector, g(·) represents the deep neural network (DNN), and the function relu is the activation function. Through the feature layer, the sample feature vector is preliminarily processed.
[0130] In some embodiments, the expert model layer is used to extract feature diversity and output a feature map based on the extracted features. The expert model layer may include multiple expert networks for extracting feature diversity from the above sample feature vectors and scene preference feature vectors, such as 6 expert networks, each of which may output a feature map, and the formula of the feature map is as follows:
[0131] FM j =relu(g(Fea)),j∈{1,2,3,4,5,6}
[0132] Among them, FM j Represents the feature map output by the j-th expert network. The function g(·) can be expressed by a deep neural network (DNN), and relu is the activation function.
[0133] In some embodiments, the output of the expert model layer is FM, which is obtained by concatenating the outputs of six expert networks:
[0134] FM={FM1,FM2,FM3,FM4,FM5,FM6}
[0135] In some embodiments, the task tower layer is used to predict the task and output the features of the corresponding task. The task tower layer may include multiple task towers. In the pre-training stage, the output layer is set with 3 task towers, corresponding to 3 source domain tasks T s , namely t1, t2, and t3. Among them, task t1 predicting whether to perform on-demand operation and task t2 predicting whether the viewing time exceeds the viewing time threshold belong to the task of predicting whether the user will watch, and task t3 predicting whether to enter the payment page belongs to the task of predicting whether the user will pay.
[0136] Each task tower is a neural network. The task tower layer can control the weight of each expert network input to the task tower through the gating network, that is:
[0137] gate t =softmax(g(Fea)),t∈T s
[0138] Among them, softmax(·) indicates that the final task output activation function is softmax.
[0139] gate t ={gate tj |j={1,2,3,4,5,6}, represents the weight of each expert network. Its size is a vector of length 6, which is consistent with the number of expert networks. Each task corresponds to a gate output gate of an expert network. t , gate t By taking a weighted sum with the eigenvalues of the expert network, we can get the output features of each task tower:
[0140] FT t =FM*gate t In some embodiments, the output layer includes a neural network structure for outputting the predicted probability p corresponding to each task tower according to the features output by the task tower. t :
[0141] p t =sigmoid(g(FT t ))
[0142] Among them, FT t As the output of task tower t, after passing through the neural network structure of the output layer, the predicted probability p corresponding to task t of each task tower is obtained. t .
[0143] Since the tasks in the first stage are all CTR (click through rate) estimation, which are all 0 / 1 binary classification problems, the log loss function can be used as the loss function, that is:
[0144]
[0145] Among them, |D s |=n s , Ω is a regular term, which can be selected as L1 regular term, a is a hyperparameter, Represents the label data of task t.
[0146] Step S202: training the pre-trained model for the second stage task using target domain training samples.
[0147] In some embodiments, after the pre-trained model is obtained through the first training stage, the pre-trained model can be trained for the second stage task using target domain training samples to obtain a multi-model recommendation model.
[0148] See also Fig. 9 , is a flow chart of a transfer learning method according to some embodiments, such as Fig. 9 As shown, the method may include the following steps:
[0149] Step S301: construct target domain training samples.
[0150] In some embodiments, the target domain training sample may include user data, media asset data of the second sample media asset, and context data of the second sample media asset.
[0151] The user data may be the same as the user data in the source domain training samples.
[0152] The second sample media may include samples with a label probability of 0 corresponding to the task of predicting whether to enter the paid page, which have been deleted from the first sample media. Since the transfer learning stage needs to exceed the purpose of improving the member conversion rate, and this part of the sample with a label probability of 0 indicates that the user will not perform a payment operation for the media corresponding to the sample, which is not conducive to improving the member conversion rate, therefore, deleting this part of the samples can improve the transfer learning effect. After deleting this part of the samples from the first sample media, the number of remaining samples may be small. In order to improve the transfer learning effect, the time span of sample selection can be expanded to increase the number of samples. For example, the second sample media may include the media corresponding to the user in the last month. The media can be called newly added sample media. The first sample media does not include the media in the last month, that is, the second sample media includes the newly added sample media in addition to the first sample media. The time attribute of the newly added sample media is different from that of the first sample media. The time attribute may include the time when the media becomes the media corresponding to the user, such as the time when the user has watched the media in history.
[0153] Compared with the source domain training samples, the target domain training samples have deleted some of the media asset data of the first sample media asset, and the context data corresponding to this part of the first sample media asset also needs to be deleted. The target domain training samples have added some of the media asset data of the sample media asset, and the context data corresponding to this part of the sample media asset also needs to be added.
[0154] In some embodiments, in the transfer learning stage, the label probability corresponding to the first stage task in the second sample media asset can be deleted, and the label probability of the second sample media asset can be set to the label probability corresponding to the second stage task, so that after the pre-trained model is input with the target domain training sample, the task tower of the output layer is updated to the target domain task T τ, namely t3, t4, t5. In some embodiments, both the transfer learning stage and the pre-training stage include the task t3 of predicting whether to enter the paid page. This task is an intermediate task that takes into account the user's media resource preference and the member conversion rate, and can improve the transfer learning effect.
[0155] In some embodiments, after obtaining the target domain training samples, the target domain training samples can be input into the pre-training model for training to achieve transfer learning for the second stage tasks.
[0156] Step S302: Set the network parameters of the embedding layer and the feature layer to fixed parameters.
[0157] In some embodiments, during the transfer learning phase, the pre-trained model can be initialized. Fig.10 Before inputting the target domain training samples into the pre-training model, the network parameters of the embedding layer and the feature layer can be set to fixed parameters, so that the network parameters of the embedding layer and the feature layer are frozen, which can ensure that the network parameters of the embedding layer and the feature layer do not participate in the gradient descent process during the entire transfer learning phase, so as to achieve the purpose of stabilizing the feature extraction performance of the pre-training model.
[0158] Step S303: setting the network parameters of one of the expert networks to zero in turn, and setting the weight of the expert network set to zero based on the loss function.
[0159] In some embodiments, before inputting the target domain training samples into the pre-training model, in order to make full use of the expert network in the pre-training model that plays an important role in the prediction results of the second-stage tasks, and to retrain the expert network whose prediction results of the second-stage tasks are invalid or poor, the expert network can be adapted by adjusting the weight of the expert network, wherein the weight of the expert network is the weight of the expert network in each task tower, and the larger the weight, the greater the effect of the output of the expert network on the prediction effect of the task tower.
[0160] By setting the network parameters of one of the expert networks to zero and setting the weight of the expert network to a function of the change in the loss function of the pre-trained model, the weight of the expert network can be automatically adjusted according to the update of the loss function, that is, the weight update of the expert network is indicated by the loss function. After the network parameters of the expert network are set to zero, if the loss value output by the loss function increases by a large margin, it means that the expert network has a greater role in the second-stage task and its weight needs to be increased. If the loss value output by the loss function increases by a small margin, it means that the expert network has a smaller role in the second-stage task and its weight needs to be reduced.
[0161] The weights of the expert network can be set to be updated according to the following calculation formula:
[0162]
[0163] Among them, z represents the pre-training model in the pre-training stage, θ * Represents the model parameters of the pre-training model in the pre-training stage, that is, the neuron parameters, θ *\j represents the model parameters of the pre-trained model when the neuron parameters of the jth expert network are set to zero and the model parameters of other expert networks remain consistent with the original model in the pre-training stage. * )=[p 1 ,p 2 ,p 3 ],z(x,θ * ) represents the output of the pre-training model in the pre-training phase on the training samples in the target domain. The output is a vector with a dimension of 3, because the number of tasks in the target domain and the source domain are both 3. τ =[y 4 ,y 5 ,y 3 ], in y τ Putting task t3 at the end of the training process ensures that the knowledge in the pre-training phase can be accurately transferred to the tasks in the target domain.
[0164] The loss function L(·) remains consistent with the loss function in the pre-training stage. *\j ),y τ ) represents the loss function value of the supervised attention mechanism. Here, the neuron parameters of the jth expert network are set to zero, and the pre-trained model is retrained on the training samples of the target domain. Without loss of generality, only one epoch model needs to be trained to obtain L(z(x,θ *\j ),y τ ) is the loss function value on the validation set of the target domain. Similarly, keeping the model parameters consistent with the pre-training model in the pre-training phase, training the model for one epoch on the training samples of the target domain, we can get L(z(x,θ * ),y τ ) is the loss function value on the validation set of the target domain.
[0165] Represents the weight of the jth expert network. The calculation logic of the expert network uses the softmax function to normalize the weights of all expert networks to 1, while also ensuring that the weight of each expert network is not less than zero. Expert network
[0166] Based on this supervised attention mechanism, more attention can be provided to the expert network with greater performance improvement in the second-stage tasks, which means that such expert networks are better adapted to the second-stage tasks.
[0167] Step S304: adding feature map regularization loss and gated network regularization loss to the loss function.
[0168] In some embodiments, in order to improve the transfer learning effect, before training the pre-trained model with the target domain training samples, the feature map regularization loss can be added to the loss function of the pre-trained model to optimize the network parameters of the expert network, so that the network parameters of the expert network that has a greater improvement in the performance of the second-stage task are kept consistent with the original model as much as possible. On the contrary, the expert network that has no effect or poor effect on the performance of the second-stage task has its network parameters changed greatly from the original model. The calculation formula of the feature map regularization loss is as follows:
[0169]
[0170] Wherein, Ω′ is the feature graph regularization loss, θ represents the model parameters of the pre-trained model in the transfer learning stage, and N represents the number of expert networks. In the embodiment of the present application, the value of N can be 6. FM j (z,θ,x) is the output value of the jth expert network in the transfer learning phase, FM j (z,θ * ,x) is the output value of the pre-trained model in the jth expert network during the pre-training phase. The feature map regularization loss is added to ensure that as much knowledge learned in the source domain as possible can be retained during the migration process of the pre-trained model.
[0171] In some embodiments, in order to improve the transfer learning effect, before training the pre-trained model with the target domain training samples, a gated network loss may be added to the loss function of the pre-trained model to optimize the network parameters of the expert network and solve the problem of expert collapse, that is, the problem that some expert networks are basically ineffective in improving the model performance. The calculation formula of the gated network loss is as follows:
[0172]
[0173] Among them, Ω″ is the feature map regularization loss.
[0174] In some embodiments, the expert collapse problem can also be solved by increasing the loss rate of the gating network.
[0175] Based on the above embodiment, the loss function of the pre-trained model can be updated as follows:
[0176]
[0177] Among them, b and c are hyperparameters.
[0178] Step S305: Perform model training using target domain training samples.
[0179] In some embodiments, after the loss function is updated, the updated pre-trained model can be trained with the target domain training samples to obtain a multi-task recommendation model. During the model training process, the optimizer uses Adam (adaptive moment estimation), and the initial value of the learning rate is 0.001, and it decays at a rate of 0.9 every 10 complete trainings.
[0180] Through the above steps, after the pre-trained model is transferred and learned to obtain a multi-task recommendation model, the user data of the target user, the media data of the target media and the context data of the target media are input into the multi-task recommendation model. The multi-task recommendation model can obtain the prediction probability of each second-stage task through the output layer corresponding to the second-stage task. After weighted control of the multiple prediction probabilities, the recommendation probability of the target media can be output. The higher the recommendation probability, the higher the probability that the target user watches the media and makes a payment, thereby achieving the purpose of taking into account the user's media preference and the member conversion rate.
[0181] Among them, the weighted control may include the following calculation formula:
[0182]
[0183] In the above formula, w t Represents the weight of each second-stage task, which will change in different business scenarios and different business stages, and its value can be adjusted according to business experience. According to the above formula, the comprehensive probability score of each target media asset can be obtained, and the comprehensive probability score represents the recommendation probability of the target media asset. The top k media assets can be extracted and recommended to users according to the ranking from high to low based on the comprehensive probability score, where the value of k can be determined according to actual needs. It can be seen from the above embodiments that the embodiments of the present application propose a multi-task migration solution to solve the problem of deeper user behavior modeling in multiple scenarios. By freezing the embedding layer and the feature layer, the stability of feature generation can be guaranteed; through the expert adaptation strategy of the supervised attention mechanism, the effective expert network on the second-stage task is retained, and at the same time, the experts who are invalid or have poor results for the second-stage task can be fully trained to increase the utilization efficiency of the expert network; through feature map adaptation, the network parameters of the expert network are optimized to improve the prediction effect of the second-stage task; the gated network adaptation effectively avoids the expert collapse problem; by retaining the same task in the pre-training stage and the transfer learning stage, and the same task is a strategy for the intermediate link of users watching media and paying, it can achieve the purpose of taking into account users' media preferences and member conversion rates, and can improve the transfer learning effect.
[0184] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
[0185] For the convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.
Claims
1. A server, characterized in that: The server is configured to: Acquire a data set to be recommended corresponding to a target user, wherein the data set to be recommended includes media asset data of a plurality of target media assets; Input the dataset to be recommended into a multi-task recommendation model, and obtain the predicted probability of the target media asset corresponding to the second-stage task output by the multi-task recommendation model, wherein the multi-task recommendation model is a network model obtained by performing transfer learning of the second-stage task on a pre-trained model, and the pre-trained model is a network model obtained by training the first-stage task, the first-stage task includes the task of predicting whether the user will watch and the task of predicting whether the user will pay, and the second-stage task includes the task of predicting whether the user will pay; Obtaining a recommendation probability of the target media asset according to the predicted probability; According to the recommendation probability, the to-be-recommended media asset corresponding to the target user is determined from the target media assets.
2. The server according to claim 1, characterized in that: The pre-trained model includes an input layer, an embedding layer, a feature layer, an expert model layer and an output layer connected in sequence, wherein the embedding layer is used to calculate a sample feature vector, and the feature layer is used to calculate a scene preference feature vector representing the user's media asset preference features in each recommendation scene based on the sample feature vector; performing transfer learning of the second stage task on the pre-trained model includes: Constructing a target domain training sample, wherein the target domain training sample includes media asset data of a second sample media asset, and the media asset data of the second sample media asset includes a label probability corresponding to the second stage task; Setting the network parameters of the embedding layer and the feature layer to fixed parameters; The target domain training sample is input into the pre-training model in which the fixed parameters are set, so as to obtain the recommendation probability of the target domain training sample.
3. The server according to claim 2, characterized in that: The source domain training sample corresponding to the pre-training model includes media asset data of a first sample media asset, the media asset data of the first sample media asset includes label probabilities corresponding to the first stage task, and the constructing of the target domain training sample includes: In the source domain training samples, the first sample media asset corresponding to the task of predicting whether the user pays is deleted, and the second sample media asset includes the first sample media asset retained by the source domain training samples; The label probability corresponding to the first-stage task in the second sample media asset is deleted, and the label probability of the second sample media asset is set to the label probability corresponding to the second-stage task.
4. The server according to claim 3, characterized in that: The constructing of the target domain training sample further includes: A newly added sample media asset having a time attribute different from that of the first sample media asset is obtained, and the second sample media asset also includes the newly added sample media asset.
5. The server according to claim 2, characterized in that: The expert model layer includes a plurality of expert networks for outputting feature maps based on the sample feature vectors and the scene preference feature vectors, and the transfer learning of the second stage task on the pre-trained model also includes: Before the target domain training sample is input into the pre-training model with the fixed parameters set, the weight of the expert network is also set as a function of the change amount of the loss function of the pre-training model, and the network parameters of one of the expert networks are set to zero.
6. The server according to claim 5, characterized in that: The transfer learning of the second stage task of the pre-trained model also includes: Before inputting the target domain training sample into the pre-training model in which the fixed parameters are set, the feature map regularization loss is added to the loss function of the pre-training model.
7. The server according to claim 5, characterized in that: The expert model layer includes a gating network corresponding to the expert network, and the transfer learning of the second stage task on the pre-trained model also includes: Before inputting the target domain training sample into the pre-training model in which the fixed parameters are set, the gated network regularization loss is added to the loss function of the pre-training model.
8. The server according to claim 1, characterized in that: The task of predicting whether the user will watch includes the task of predicting whether to perform a on-demand operation and the task of predicting whether the viewing time exceeds the viewing time threshold. The task of predicting whether the user will pay in the first stage tasks includes the task of predicting whether to enter the payment page. The task of predicting whether the user will pay in the second stage tasks includes the task of predicting whether to enter the payment page, the task of predicting whether the display time of the payment page exceeds the payment time threshold, and the task of predicting whether the payment operation is completed.
9. The server according to claim 1, characterized in that: The data set to be recommended also includes user data of the target user and context data of the target media asset. The target media asset includes media asset determined for media asset recommendation based on a user profile of the target user, and the context data includes media asset data of the previous media asset before the target user watched the target media asset and media asset data of the next media asset after the target user watched the target media asset.
10. A media resource recommendation method, characterized in that: include: Acquire a data set to be recommended corresponding to a target user, wherein the data set to be recommended includes media asset data of a plurality of target media assets; Input the dataset to be recommended into a multi-task recommendation model, and obtain the predicted probability of the target media asset corresponding to the second-stage task output by the multi-task recommendation model, wherein the multi-task recommendation model is a network model obtained by performing transfer learning of the second-stage task on a pre-trained model, and the pre-trained model is a network model obtained by training the first-stage task, the first-stage task includes the task of predicting whether the user will watch and the task of predicting whether the user will pay, and the second-stage task includes the task of predicting whether the user will pay; Obtaining a recommendation probability of the target media asset according to the predicted probability; According to the recommendation probability, the to-be-recommended media asset corresponding to the target user is determined from the target media assets.
Citation Information
Patent Citations
Multi-task learning method and device, electronic device and storage medium
CN110796513A
Display device, server and media asset recommendation method
CN111770370A
Task recommendation method
CN115204949A
Display device and server
WO2022012271A1
Resource recommendation method, and multi-target fusion model training method and apparatus
WO2023040494A1
