Live broadcast recommendation method, device, electronic device and storage medium
By correlating user characteristics and behavioral data, determining the time window of streaming samples and inputting into the multi-objective fusion model, it solves the problem of complex and ineffective existing live broadcast recommendation models, improves the click-through rate and viewing rate of live broadcast recommendations, and improves User experience.
Patent Information
- Application Number
- CN202211733795.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-30
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2042-12-30
AI Technical Summary
The implementation process of existing live broadcast recommendation models is complicated and the click rate and viewing rate are limited, resulting in poor results.
By obtaining user characteristic data and behavioral data, performing correlation operations, determining the time window of the streaming sample data, and inputting it into the multi-objective fusion model for processing, to determine the estimated recommendation rate, and thus make live broadcast recommendations.
It optimizes the live broadcast recommendation effect, improves user clicking, viewing and interactive experience, and solves the problems of poor user experience and difficult live broadcast marketing.
Smart Images

Figure CN116248903B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of Internet technology, and in particular to a live broadcast recommendation method, device, electronic device and storage medium. Background Art
[0002] Live broadcasting is a highly instant and interactive form of content presentation. During the live broadcast, the anchor can interact with the audience while conveying the content to them, thereby meeting the business needs of users seeking companionship, entertainment, killing time, and gaining attention. By recommending live broadcasts, major platforms can attract a wider user group and obtain higher live broadcast click-through rates.
[0003] Among them, live broadcast recommendation is a typical multi-target scenario. In a user's behavior path, there may be behaviors such as clicking, watching, following and liking. Different behaviors occur in a certain order and dependency relationship. Each behavior can become a target in the multi-target model. For example, when a user is on the song playback page, if he clicks the live broadcast entrance in the upper right corner, a click behavior occurs. After clicking, he will enter the live broadcast room, which will generate a viewing behavior. After watching for a period of time, there is a certain probability that various interactive behaviors will occur, and so on.
[0004] In the prior art, models such as the ESMM model, the ESMM+FM model, and the GradNorm-based Loss fusion model can be used for live broadcast recommendation. However, the implementation process of the above live broadcast recommendation models is relatively complicated, and the live broadcast click-through rate and effective viewing rate that can be brought by the determined recommended live broadcast are limited, so the effect of live broadcast recommendation is not good. Summary of the invention
[0005] The present disclosure provides a live broadcast recommendation system, method, device, electronic device and storage medium to at least solve the problem that the implementation process of the live broadcast recommendation model in the related art is relatively complicated, and the live broadcast click rate and effective viewing rate that the determined live broadcast to be recommended can bring are limited, so the effect of live broadcast recommendation is not good. The technical solution of the present disclosure is as follows:
[0006] According to a first aspect of an embodiment of the present disclosure, a live broadcast recommendation method is provided, comprising:
[0007] Obtain user characteristic data and behavior data for each live stream;
[0008] Associating the user feature data with the behavior data to obtain streaming sample data;
[0009] Performing a correlation operation on any two stream sample data to determine a time window between the stream sample data;
[0010] Intercepting the streaming sample data according to the time window, inputting the interception result into the multi-objective fusion model for processing, and determining the estimated recommendation rate of the streaming sample data;
[0011] According to the estimated recommendation rate, a sample to be recommended is determined from the streaming sample data, and a live stream corresponding to the sample to be recommended is recommended.
[0012] Optionally, associating the user feature data with the behavior data to obtain streaming sample data includes:
[0013] Obtain user feature data and behavior data of each live stream, and store the user feature data and the behavior data in a key-value pair database;
[0014] Based on the preset burying point, obtain the burying point sample, and associate the burying point sample with the key-value pair database;
[0015] Acquire a backup sample from the feature cluster, and associate the backup sample with the key-value pair database;
[0016] After obtaining the exposure sample, query whether the exposure sample has the corresponding conversion behavior; if so, discard the exposure sample; if not, mark the exposure sample as a negative sample;
[0017] The acquired conversion sample is marked as a positive sample; the streaming sample data includes the positive sample and the negative sample.
[0018] Optionally, performing an association operation on any two streaming sample data to determine a time window between the streaming sample data includes:
[0019] Perform correlation operations on any two streaming sample data in different time ranges in an offline manner;
[0020] When the correlation ratio is greater than a preset threshold, the minimum value of the time range is used as the time window between the streaming sample data.
[0021] Optionally, the step of intercepting the streaming sample data according to the time window, inputting the interception result into a multi-objective fusion model for processing, and determining the estimated recommendation rate of the streaming sample data includes:
[0022] For minute-level streaming sample data, the streaming sample data is intercepted according to the time window, and the intercepted results are input into the multi-target fusion model for incremental training to update the target fusion model.
[0023] Optionally, intercepting the streaming sample data according to the time window, inputting the interception result into a multi-objective fusion model for processing, and determining an estimated recommendation rate of the streaming sample data includes:
[0024] Based on preset access rules, the streaming sample data intercepted according to the time window is screened;
[0025] The screening results are input into a multi-objective fusion model for processing to determine the estimated recommendation rate of the streaming sample data.
[0026] Optionally, the multi-objective fusion model includes multiple expert networks, each expert network includes a feedforward neural network and a trainable gating network, and each expert network corresponds to a user behavior.
[0027] According to a second aspect of an embodiment of the present disclosure, a live broadcast recommendation device is provided, comprising:
[0028] The acquisition module is used to obtain user characteristic data and behavior data of each live stream;
[0029] An association module, used to associate the user feature data with the behavior data to obtain streaming sample data;
[0030] A determination module, used for performing a correlation operation on any two stream sample data to determine a time window between the stream sample data;
[0031] A processing module, used for intercepting the streaming sample data according to the time window, inputting the interception result into the multi-objective fusion model for processing, and determining the estimated recommendation rate of the streaming sample data;
[0032] A recommendation module is used to determine a sample to be recommended from the streaming sample data according to the estimated recommendation rate, and recommend a live stream corresponding to the sample to be recommended.
[0033] Optionally, the acquisition module is used to:
[0034] Obtain user feature data and behavior data of each live stream, and store the user feature data and the behavior data in a key-value pair database;
[0035] Based on the preset burying point, obtain the burying point sample, and associate the burying point sample with the key-value pair database;
[0036] Acquire a backup sample from the feature cluster, and associate the backup sample with the key-value pair database;
[0037] After obtaining the exposure sample, query whether the exposure sample has the corresponding conversion behavior; if so, discard the exposure sample; if not, mark the exposure sample as a negative sample;
[0038] The acquired conversion sample is marked as a positive sample; the streaming sample data includes the positive sample and the negative sample.
[0039] Optionally, the determining module is used to:
[0040] Perform correlation operations on any two streaming sample data in different time ranges in an offline manner;
[0041] When the correlation ratio is greater than a preset threshold, the minimum value of the time range is used as the time window between the streaming sample data.
[0042] Optionally, the determining module is used to:
[0043] For minute-level streaming sample data, the streaming sample data is intercepted according to the time window, and the intercepted results are input into the multi-target fusion model for incremental training to update the target fusion model.
[0044] Optionally, the processing module is used to:
[0045] Based on preset access rules, the streaming sample data intercepted according to the time window is screened;
[0046] The screening results are input into a multi-objective fusion model for processing to determine the estimated recommendation rate of the streaming sample data.
[0047] Optionally, the multi-objective fusion model includes multiple expert networks, each expert network includes a feedforward neural network and a trainable gating network, and each expert network corresponds to a user behavior.
[0048] According to a third aspect of an embodiment of the present disclosure, there is provided a live broadcast recommendation electronic device, including:
[0049] processor;
[0050] a memory for storing instructions executable by the processor;
[0051] Wherein, the processor is configured to execute the instructions to implement any one of the live broadcast recommendation methods described above.
[0052] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of a live broadcast recommendation electronic device, the live broadcast recommendation electronic device is enabled to perform any one of the live broadcast recommendation methods described above.
[0053] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, including a computer program / instruction, which implements any one of the live broadcast recommendation methods when executed by a processor.
[0054] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:
[0055] Obtain user feature data and behavior data for each live stream; associate user feature data with behavior data to obtain streaming sample data; perform association operations on any two streaming sample data to determine the time window between the streaming sample data; intercept the streaming sample data according to the time window, input the interception result into the multi-objective fusion model for processing, and determine the estimated recommendation rate of the streaming sample data; according to the estimated recommendation rate, determine the samples to be recommended from the streaming sample data, and recommend the live streams corresponding to the samples to be recommended.
[0056] In this way, a live broadcast real-time recommendation system based on MMoE multi-objective fusion is proposed to solve the difficulties in live broadcast marketing such as poor user experience, users only watching but not buying, and users not watching for a long time in optimizing user clicks, views, gifts and comments in live broadcast scenarios.
[0057] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.
[0059] Figure 1 The figure is a flow chart of a live broadcast recommendation method according to an exemplary embodiment.
[0060] Figure 2 This is an architecture diagram of a real-time recommendation system based on Flink+Kafka in an embodiment of the present invention.
[0061] Figure 3 The figure is a block diagram of a live broadcast recommendation device according to an exemplary embodiment.
[0062] Figure 4 The figure is a block diagram of an electronic device for live broadcast recommendation according to an exemplary embodiment.
[0063] Figure 5 The invention is a block diagram of a device for live broadcast recommendation according to an exemplary embodiment. DETAILED DESCRIPTION
[0064] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.
[0065] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0066] Figure 1 is a flow chart of a live broadcast recommendation method according to an exemplary embodiment. Figure 1 As shown, the live broadcast recommendation method includes:
[0067] In step S11, user characteristic data and behavior data of each live stream are obtained.
[0068] Live broadcasting is a highly instant and interactive form of content presentation. During the live broadcast, the anchor can interact with the audience while conveying the content to them, thereby meeting the business needs of users seeking companionship, entertainment, killing time, and gaining attention. By recommending live broadcasts, major platforms can attract a wider user group and obtain higher live broadcast click-through rates.
[0069] Among them, live broadcast recommendation is a typical multi-target scenario. In a user's behavior path, there may be behaviors such as clicking, watching, following and liking. Different behaviors occur in a certain order and dependency relationship. Each behavior can become a target in the multi-target model. For example, when a user is on the song playback page, if he clicks the live broadcast entrance in the upper right corner, a click behavior occurs. After clicking, he will enter the live broadcast room, which will generate a viewing behavior. After watching for a period of time, there is a certain probability that various interactive behaviors will occur, and so on.
[0070] In this application, user feature data and behavior data can be divided into three granularities according to timeliness:
[0071] (a) Millisecond-level features: rely on the client to fill in context features such as time, location, and scene during the request process;
[0072] (b) Second / minute level features: Relying on streaming computing, we can perform some simple statistical feature calculations and aggregate user behavior feedback data, such as counting the number of clicks of the anchor in a certain time window.
[0073] (c) Hourly features: Relying on offline computing, higher-order feature combinations can be performed, such as counting the conversion rate distribution of users to anchor tags in a certain time window.
[0074] In step S12, the user feature data is associated with the behavior data to obtain streaming sample data.
[0075] In one implementation, user feature data is associated with behavior data to obtain streaming sample data, including:
[0076] Obtain user feature data and behavior data for each live stream, and store the user feature data and behavior data in a key-value database; obtain point-of-sale samples based on preset points, and associate the point-of-sale samples with the key-value database; obtain backup samples from the feature cluster, and associate the backup samples with the key-value database; after obtaining the exposure sample, query whether the exposure sample has the corresponding conversion behavior; if so, discard the exposure sample, if not, mark the exposure sample as a negative sample; mark the obtained conversion sample as a positive sample; the streaming sample data includes positive and negative samples.
[0077] Specifically, in this step, the real-time recommendation system architecture diagram based on Flink+Kafka can be used to produce streaming samples for the entire live real-time recommendation system. The overall business process is as follows:
[0078] (1) The original features used for online estimation requests are dumped and stored in Kafka in the bypass environment. After being parsed by Flink, they are written into KV (Key-value database, a database that stores data in key-value pairs) in a certain format.
[0079] (2) Flink Task 1: Join the tracking point with the snapshot (database table snapshot), join the traceid, userid, itemid and exposure conversion (exposure is 0, converted to 1) into a key and write it to Redis for the subsequent positive and negative sample labeling. Use exposure and conversion to associate the snapshot in the KV, write the results that can be associated to the Kafka of the successful splicing, and write the results that cannot be associated to the Kafka of the failed splicing.
[0080] Among them, the database table snapshot function can create snapshots for data tables at certain time points, protect the data at the snapshot time point from being modified, and quickly restore the snapshot point data as needed, thereby achieving efficient and reliable data backup and recovery capabilities.
[0081] (3) Flink Task 2: Perform backup sample splicing. Consume the Kafka where the splicing snapshot failed, go to the feature tail cluster to get the corresponding features to generate a snapshot, and write the result to the Kafka where the splicing succeeded.
[0082] (4) Flink Task 3: Perform positive and negative sample splicing. Consume the successfully spliced Kafka and process the data with a delay of M minutes. Here, M is set by sample attribution, and the current tuning result is M=20. When an exposure sample comes, you can check whether there is a corresponding conversion behavior in Redis. If it can be found, the current exposure sample is discarded, otherwise the current exposure sample is marked as a negative sample (label=0). When a conversion sample comes, it is directly marked as a positive sample (label=1).
[0083] In addition, in order to solve the problem of repeated reporting of tracking points, the following methods can be used:
[0084] When an exposure sample comes, traceid_userid_itemid_0 is used to search for the key in Redis to determine whether the corresponding value is 1. If it is, the sample is filtered out, otherwise its value is changed to 1. The same is true for the conversion sample. Finally, the above spliced data is written to Kafka.
[0085] (5) Flink Task 4: Consume sample data from Kafka, perform feature extraction, format processing, and write to HDFS.
[0086] In step S13, a correlation operation is performed on any two streaming sample data to determine the time window between the streaming sample data.
[0087] In this application, in order to solve the real-time and accuracy issues in the process of streaming sample attribution, that is, delayed feedback, for example, Flink can be used for delay processing. First, the time window associated with the two data streams is determined, and the two data are joined in different time ranges in an offline manner to determine the time window required online.
[0088] For example, if the minimum correlation ratio accepted by the business is 95%, and offline testing confirms that 95% of the data in two data streams can be correlated within 20 minutes, then 20 minutes can be used as the time window. The correlation ratio and window time here are a trade-off between accuracy and real-time performance.
[0089] In one implementation, performing a correlation operation on any two streaming sample data to determine a time window between the streaming sample data includes:
[0090] An offline correlation operation is performed on any two streaming sample data in different time ranges; when the correlation ratio is greater than a preset threshold, the minimum value of the time range is used as the time window between the streaming sample data.
[0091] In step S14, the streaming sample data is intercepted according to the time window, and the interception result is input into the multi-objective fusion model for processing to determine the estimated recommendation rate of the streaming sample data.
[0092] In one implementation, the streaming sample data is intercepted according to the time window, and the intercepted result is input into the multi-objective fusion model for processing. Before determining the estimated recommendation rate of the streaming sample data, the following steps are included:
[0093] For minute-level streaming sample data, the streaming sample data is intercepted according to the time window, and the intercepted results are input into the multi-target fusion model for incremental training to update the target fusion model.
[0094] Among them, incremental training does not mean continuous incremental training, but is combined with full training. If the incremental model is used all the time, certain deviations will occur over time, and the cumulative effect of the deviation will affect the online effect. Therefore, it is necessary to correct it through regular full updates.
[0095] For minute-level streaming samples, the model can be updated incrementally through training; or, the model can be fully updated through all samples. In addition, when low-frequency features enter the model training, the model estimation results will be unreliable. In this case, it is necessary to set access rules for the features, set the feature frequency to filter low-frequency features, or apply a relatively large regularization term to low-frequency features. The continuous growth of feature scale will also put pressure on online estimation performance and machine memory. This can be solved by eliminating features that have not been updated for a long time.
[0096] In one implementation, streaming sample data is intercepted according to a time window, and the intercepted results are input into a multi-objective fusion model for processing to determine an estimated recommendation rate of the streaming sample data, including:
[0097] Based on the preset access rules, the streaming sample data intercepted according to the time window is screened; the screening results are input into the multi-objective fusion model for processing to determine the estimated recommendation rate of the streaming sample data.
[0098] In one implementation, the multi-objective fusion model includes multiple expert networks, each expert network includes a feedforward neural network and a trainable gating network, and each expert network corresponds to a user behavior.
[0099] In step S15, based on the estimated recommendation rate, a sample to be recommended is determined from the streaming sample data, and the live stream corresponding to the sample to be recommended is recommended.
[0100] In this application, live broadcast recommendation is a typical multi-target scenario. In a user's behavior path, there will be processes such as clicking, watching, following and rewarding, and the occurrence of different behaviors has a sequence and dependency relationship. Each behavior of the user can become a target in the multi-target model. Therefore, this patent embodiment adopts joint modeling, that is, multiple targets are trained at the same time through one model, and multi-target fusion is performed online.
[0101] From the above, it can be seen that the technical solution provided by the embodiments of the present disclosure proposes a live broadcast real-time recommendation system based on MMoE multi-objective fusion, which is used to solve the difficulties in live broadcast marketing such as poor user experience in optimizing user clicks, viewing, gift giving and comments in live broadcast scenarios, users only watching but not buying, and users watching for a short time.
[0102] The following is a specific example to illustrate the method in the embodiment of the present invention. In this example, the live broadcast real-time recommendation system based on MMoE multi-objective fusion is mainly composed of two parts: a real-time recommendation system and multi-objective fusion. The multi-objective fusion is performed in the recommendation ranking stage of the recommendation system. Multiple models are used to compare the impact of multi-objective fusion on the entire recommendation system, and CTR (estimated click-through rate) and CTCVR (estimated conversion rate) are used to determine the robustness of the model. The main steps are as follows:
[0103] Step 1: Flow samples. Figure 2 This is the architecture diagram of the real-time recommendation system based on Flink+Kafka in the embodiment of the present invention, which is used to produce streaming samples for the entire live real-time recommendation system. Figure 2 As shown, the overall business process is as follows:
[0104] (1) The original features used for online estimation requests are dumped and stored in Kafka in the bypass environment. After being parsed by Flink, they are written into KV (Key-value database, a database that stores data in key-value pairs) in a certain format.
[0105] (2) Flink Task 1: Concatenate the trace points with the snapshots, concatenate the traceid, userid, itemid and exposure conversion (exposure is 0, converted to 1) into a key and write it to Redis for the subsequent positive and negative sample labeling. Use exposure and conversion to associate the snapshots in the KV, write the results that can be associated to the Kafka where the concatenation succeeds, and write the results that cannot be associated to the Kafka where the concatenation fails.
[0106] (3) Flink Task 2: Perform backup sample splicing. Consume the Kafka where the splicing snapshot failed, go to the feature tail cluster to get the corresponding features to generate a snapshot, and write the result to the Kafka where the splicing succeeded.
[0107] (4) Flink Task 3: Perform positive and negative sample splicing. Consume the successfully spliced Kafka and process the data with a delay of M minutes. Here, M is set by sample attribution, and the current tuning result is M = 20. When an exposure sample comes, we go to Redis to find out whether there is a corresponding conversion behavior. If it can be found, the current exposure sample is discarded, otherwise the current exposure sample is marked as a negative sample (label = 0). When a conversion sample comes, it is directly marked as a positive sample (label = 1).
[0108] In addition, in order to solve the problem of repeated reporting of tracking points, this patent adopts the following method: when an exposure sample comes, traceid_userid_itemid_0 is used to search for the key in Redis to determine whether the corresponding value is 1. If it is, the sample is filtered out, otherwise its value is modified to 1; the same is true for the conversion sample. Finally, the above spliced data is written to Kafka.
[0109] (5) Flink Task 4: Consume sample data from Kafka, perform feature extraction, format processing, and write to HDFS.
[0110] Step 2: Sample attribution. In the embodiment of the present invention, Flink is used for delay processing. First, the time window for the association of the two data streams must be determined, and the two copies of the data must be joined in different time ranges in an offline manner to determine the time window required online. For example, if the minimum association ratio accepted by the business is 95%, and it is confirmed through offline testing that 95% of the data in the two data streams can be associated within 20 minutes, then 20 minutes can be used as the time window. The association ratio and window time here are a trade-off between accuracy and real-time performance.
[0111] Step 3: Incremental training. Incremental training does not mean continuous incremental training, but rather full training. If the incremental model is used all the time, it will produce certain deviations over time, and the cumulative effect of the deviation will affect the online effect. Therefore, regular full update is necessary for correction.
[0112] In addition, when low-frequency features enter the model training, the model estimation results will be unreliable. In this case, it is necessary to set access rules for the features, set the feature frequency to filter low-frequency features, or apply a relatively large regularization term to low-frequency features. The continuous growth of feature scale will also put pressure on online estimation performance and machine memory. This can be solved by eliminating features that have not been updated for a long time.
[0113] Step 4: Multi-target fusion. Live broadcast recommendation is a typical multi-target scenario. In a user's behavior path, there will be processes such as clicking, watching, following and rewarding, and different behaviors have a sequence and dependency relationship. Each user's behavior can become a target in the multi-target model. Therefore, the embodiment of this patent adopts joint modeling, that is, multiple targets are trained simultaneously through one model, and multi-target fusion is performed online.
[0114] MoE neural network structure:
[0115] MoE consists of many "experts", each of which has a simple feedforward neural network and a trainable gating network that selects a sparse combination of "experts" to process each input. It can automatically allocate parameters to capture information that can be shared by multiple tasks or information that is specific to a task without adding many new parameters for each task, and all parts of the network can be trained together through backpropagation.
[0116] MTL's Shared-Bottom DNN network structure:
[0117] The Shared-Bottom network is located at the bottom, represented by function f, and multiple tasks share this layer. K subtasks correspond to a tower network, represented by h k , the output y of each subtask k =h k (f(x)).
[0118] The Shared-Bottom function f is replaced by a neural network structure composed of a group of expert networks. Each "expert" here is a feedforward neural network, and a gating network is added to form an MTL model of MoE structure, also called OMoE structure.
[0119] The MoE model can be formally expressed as
[0120]
[0121] Among them, f i(i=1,...,n) are n expert (export) networks, and g is the gating network that combines the export results.
[0122] The MMOE network structure uses multiple gated networks based on OMoE.
[0123] MMoE can be formally expressed as
[0124] y k =h k (f k (x)
[0125]
[0126] Among them, g k (x) = softmax(W gk x), the input is the input feature, and the output is the weight on Experts.
[0127] From the above, it can be seen that the technical solution provided by the embodiments of the present disclosure proposes a live broadcast real-time recommendation system based on MMoE multi-objective fusion, which is used to solve the difficulties in live broadcast marketing such as poor user experience in optimizing user clicks, viewing, gift giving and comments in live broadcast scenarios, users only watching but not buying, and users watching for a short time.
[0128] Figure 3 The present invention is a block diagram of a live broadcast recommendation device according to an exemplary embodiment, including:
[0129] Acquisition module 201, used to acquire user characteristic data and behavior data of each live stream;
[0130] An association module 202, configured to associate the user feature data with the behavior data to obtain streaming sample data;
[0131] A determination module 203 is used to perform a correlation operation on any two stream sample data to determine a time window between the stream sample data;
[0132] A processing module 204 is used to intercept the streaming sample data according to the time window, input the interception result into the multi-objective fusion model for processing, and determine the estimated recommendation rate of the streaming sample data;
[0133] The recommendation module 205 is used to determine the sample to be recommended from the streaming sample data according to the estimated recommendation rate, and recommend the live stream corresponding to the sample to be recommended.
[0134] Optionally, the acquisition module 201 is used to:
[0135] Obtain user feature data and behavior data of each live stream, and store the user feature data and the behavior data in a key-value pair database;
[0136] Based on the preset burying point, obtain the burying point sample, and associate the burying point sample with the key-value pair database;
[0137] Acquire a backup sample from the feature cluster, and associate the backup sample with the key-value pair database;
[0138] After obtaining the exposure sample, query whether the exposure sample has the corresponding conversion behavior; if so, discard the exposure sample; if not, mark the exposure sample as a negative sample;
[0139] The acquired conversion sample is marked as a positive sample; the streaming sample data includes the positive sample and the negative sample.
[0140] Optionally, the determining module 203 is used to:
[0141] Perform correlation operations on any two streaming sample data in different time ranges in an offline manner;
[0142] When the correlation ratio is greater than a preset threshold, the minimum value of the time range is used as the time window between the streaming sample data.
[0143] Optionally, the determining module 203 is used to:
[0144] For minute-level streaming sample data, the streaming sample data is intercepted according to the time window, and the intercepted results are input into the multi-target fusion model for incremental training to update the target fusion model.
[0145] Optionally, the processing module 204 is used to:
[0146] Based on preset access rules, the streaming sample data intercepted according to the time window is screened;
[0147] The screening results are input into a multi-objective fusion model for processing to determine the estimated recommendation rate of the streaming sample data.
[0148] Optionally, the multi-objective fusion model includes multiple expert networks, each expert network includes a feedforward neural network and a trainable gating network, and each expert network corresponds to a user behavior.
[0149] From the above, it can be seen that the technical solution provided by the embodiments of the present disclosure proposes a live broadcast real-time recommendation system based on MMoE multi-objective fusion, which is used to solve the difficulties in live broadcast marketing such as poor user experience in optimizing user clicks, viewing, gift giving and comments in live broadcast scenarios, users only watching but not buying, and users watching for a short time.
[0150] Figure 4 The figure is a block diagram of an electronic device for live broadcast recommendation according to an exemplary embodiment.
[0151] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided, such as a memory including instructions, and the instructions can be executed by a processor of an electronic device to complete the method. Optionally, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0152] In an exemplary embodiment, a computer program product is also provided. When the computer program product is executed on a computer, the computer implements the live broadcast recommendation method.
[0153] From the above, it can be seen that the technical solution provided by the embodiments of the present disclosure proposes a live broadcast real-time recommendation system based on MMoE multi-objective fusion, which is used to solve the difficulties in live broadcast marketing such as poor user experience in optimizing user clicks, viewing, gift giving and comments in live broadcast scenarios, users only watching but not buying, and users watching for a short time.
[0154] Figure 5 It is a block diagram of a device 800 for live broadcast recommendation according to an exemplary embodiment.
[0155] For example, apparatus 800 may be a mobile phone, a computer, a digital broadcast electronic device, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0156] Reference Figure 5 , the device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .
[0157] The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the described method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0158] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0159] The power supply component 807 provides power to the various components of the device 800. The power supply component 807 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.
[0160] The multimedia component 808 includes a screen that provides an output interface between the device 800 and the account. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the account. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0161] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the device 800 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0162] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
[0163] The sensor assembly 814 includes one or more sensors for providing various aspects of the status assessment of the device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect the position change of the device 800 or a component of the device 800, the presence or absence of contact with the device 800, the orientation or acceleration / deceleration of the device 800, and the temperature change of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0164] The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G or 5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0165] In an exemplary embodiment, the apparatus 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to execute the methods described in the first and second aspects.
[0166] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, which can be executed by a processor 820 of the device 800 to complete the method. Alternatively, for example, the storage medium can be a non-transitory computer-readable storage medium, for example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0167] In an exemplary embodiment, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute the live broadcast recommendation method described in any one of the embodiments.
[0168] From the above, it can be seen that the technical solution provided by the embodiments of the present disclosure proposes a live broadcast real-time recommendation system based on MMoE multi-objective fusion, which is used to solve the difficulties in live broadcast marketing such as poor user experience in optimizing user clicks, viewing, gift giving and comments in live broadcast scenarios, users only watching but not buying, and users watching for a short time.
[0169] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0170] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A live broadcast recommendation method, It is characterized in that include: Obtain user characteristic data and behavior data for each live stream; Associating the user feature data with the behavior data to obtain streaming sample data; Performing a correlation operation on any two stream sample data to determine a time window between the stream sample data; Intercepting the streaming sample data according to the time window, inputting the interception result into the multi-objective fusion model for processing, and determining the estimated recommendation rate of the streaming sample data; Determine a sample to be recommended from the streaming sample data according to the estimated recommendation rate, and recommend the live stream corresponding to the sample to be recommended; The associating the user feature data with the behavior data to obtain streaming sample data includes: Obtain user feature data and behavior data of each live stream, and store the user feature data and the behavior data in a key-value pair database; Based on the preset burying point, a burying point sample is obtained, and the burying point sample is associated with the key-value pair database, including: splicing the burying point sample with a database table snapshot of the key-value pair database, writing the spliced result to the Kafka of successful splicing, and writing the unspliceable result to the Kafka of failed splicing; wherein the burying point sample includes an exposure sample and a conversion sample; Obtain a backup sample from the feature cluster, and associate the backup sample with the key-value pair database, including: consuming the Kafka that failed to be spliced, splicing it with the backup sample, and writing the result to the Kafka that succeeded in splicing; wherein the feature cluster is a feature tair cluster, and the backup sample is a snapshot of a database table generated for the feature corresponding to the Kafka that failed to be spliced; After obtaining the exposure sample, query whether the exposure sample has the corresponding conversion behavior; if so, discard the exposure sample; if not, mark the exposure sample as a negative sample; Marking the acquired conversion sample as a positive sample; the streaming sample data includes the positive sample and the negative sample; The performing an association operation on any two streaming sample data to determine a time window between the streaming sample data includes: Performing an association operation on any two streaming sample data in different time ranges in an offline manner, including: performing a Join operation on the any two streaming sample data in different time ranges in an offline manner, so as to determine the time window required online; In the case where the correlation ratio is greater than a preset threshold, the minimum value of the time range is used as the time window between the streaming sample data; wherein the time window is the time range of the correlation between the streaming sample data; The streaming sample data is generated based on the live broadcast real-time recommendation system of Flink+Kafka.
2. The live broadcast recommendation method according to claim 1, It is characterized in that The method of intercepting the streaming sample data according to the time window, inputting the interception result into the multi-objective fusion model for processing, and determining the estimated recommendation rate of the streaming sample data includes: For minute-level streaming sample data, the streaming sample data is intercepted according to the time window, and the intercepted results are input into the multi-target fusion model for incremental training to update the target fusion model.
3. The live broadcast recommendation method according to claim 1, It is characterized in that The step of intercepting the streaming sample data according to the time window, inputting the interception result into the multi-objective fusion model for processing, and determining the estimated recommendation rate of the streaming sample data includes: Based on preset access rules, the streaming sample data intercepted according to the time window is screened; The screening results are input into a multi-objective fusion model for processing to determine the estimated recommendation rate of the streaming sample data.
4. The live broadcast recommendation method according to claim 1, It is characterized in that The multi-objective fusion model includes multiple expert networks, each expert network includes a feedforward neural network and a trainable gating network, and each expert network corresponds to a user behavior.
5. A live broadcast recommendation device, It is characterized in that include: The acquisition module is used to obtain user characteristic data and behavior data of each live stream; An association module, used to associate the user feature data with the behavior data to obtain streaming sample data; A determination module, used for performing a correlation operation on any two stream sample data to determine a time window between the stream sample data; A processing module, used for intercepting the streaming sample data according to the time window, inputting the interception result into the multi-objective fusion model for processing, and determining the estimated recommendation rate of the streaming sample data; A recommendation module, configured to determine a sample to be recommended from the streaming sample data according to the estimated recommendation rate, and recommend a live stream corresponding to the sample to be recommended; The acquisition module is used to: Obtain user feature data and behavior data of each live stream, and store the user feature data and the behavior data in a key-value pair database; Based on the preset burying point, a burying point sample is obtained, and the burying point sample is associated with the key-value pair database, including: splicing the burying point sample with a database table snapshot of the key-value pair database, writing the spliced result to the Kafka of successful splicing, and writing the unspliceable result to the Kafka of failed splicing; wherein the burying point sample includes an exposure sample and a conversion sample; Obtain a backup sample from the feature cluster, and associate the backup sample with the key-value pair database, including: consuming the Kafka that failed to be spliced, splicing it with the backup sample, and writing the result to the Kafka that succeeded in splicing; wherein the feature cluster is a feature tair cluster, and the backup sample is a snapshot of a database table generated for the feature corresponding to the Kafka that failed to be spliced; After obtaining the exposure sample, query whether the exposure sample has the corresponding conversion behavior; if so, discard the exposure sample; if not, mark the exposure sample as a negative sample; Marking the acquired conversion sample as a positive sample; the streaming sample data includes the positive sample and the negative sample; The determining module is used to: Performing an association operation on any two streaming sample data in different time ranges in an offline manner, including: performing a Join operation on the any two streaming sample data in different time ranges in an offline manner, so as to determine the time window required online; In the case where the correlation ratio is greater than a preset threshold, the minimum value of the time range is used as the time window between the streaming sample data; wherein the time window is the time range of the correlation between the streaming sample data; The streaming sample data is generated based on the live broadcast real-time recommendation system of Flink+Kafka.
6. The live broadcast recommendation device according to claim 5, It is characterized in that The determining module is used to: For minute-level streaming sample data, the streaming sample data is intercepted according to the time window, and the intercepted results are input into the multi-target fusion model for incremental training to update the target fusion model.
7. The live broadcast recommendation device according to claim 5, It is characterized in that The processing module is used for: Based on preset access rules, the streaming sample data intercepted according to the time window is screened; The screening results are input into a multi-objective fusion model for processing to determine the estimated recommendation rate of the streaming sample data.
8. The live broadcast recommendation device according to claim 5, It is characterized in that The multi-objective fusion model includes multiple expert networks, each expert network includes a feedforward neural network and a trainable gating network, and each expert network corresponds to a user behavior.
9. An electronic device, It is characterized in that include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the live broadcast recommendation method as described in any one of claims 1 to 4.
10. A computer-readable storage medium, It is characterized in that When the instructions in the computer-readable storage medium are executed by a processor of the live broadcast recommendation electronic device, the live broadcast recommendation electronic device is enabled to execute the live broadcast recommendation method as described in any one of claims 1 to 4.
11. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the live broadcast recommendation method according to any one of claims 1 to 4 is implemented.
