A real-time scheduling system and method for live broadcast products based on deep reinforcement learning
The real-time scheduling system for live broadcast products through deep reinforcement learning combined with statistical models solves the accuracy and efficiency problems of product scheduling strategies in e-commerce live broadcasts, achieves effective response to audience interaction, and improves live broadcast sales performance.
Patent Information
- Application Number
- CN202311813583.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-27
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2043-12-27
AI Technical Summary
The existing product scheduling strategy lacks the ability to respond to real-time audience interaction during e-commerce live broadcasts, resulting in low accuracy and efficiency in product sales order. It also relies too much on the anchor's personal judgment and fails to make full use of community interaction information.
Adopt a real-time scheduling system for live broadcast commodities based on deep reinforcement learning, combine real-time interactive data and historical sales data, optimize the scheduling strategy of commodity categories through deep reinforcement learning networks and statistical models, use reward mechanisms to evaluate and adjust strategies, and achieve real-time decision-making and dynamics renew.
It improves the accuracy and efficiency of product scheduling, enhances the sense of community interaction in e-commerce live broadcasts, reduces the reliance on the anchor's personal judgment, can quickly respond to market changes, increases sales and praise rates, and reduces return rates.
Smart Images

Figure CN117788108B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of product recommendation, and in particular to a real-time scheduling system and method for live broadcast products based on deep reinforcement learning. Background Art
[0002] In the field of e-commerce live streaming, there are two main types of product scheduling strategies: one is the pre-arranged order of product sales, and the other is dependent on the host's immediate adjustment during the live broadcast. Although the former can ensure the structure and coherence of the live broadcast content, it lacks the ability to respond to the audience's real-time interaction, thus failing to maximize the impact of audience participation on the order of product sales. On the contrary, although the latter increases interactivity to some extent, it relies too much on the host's personal judgment, which may limit the accuracy and efficiency of product scheduling.
[0003] After searching, it was found that the Chinese invention patent with application number CN202311050735.0 disclosed a product recommendation system and method based on deep learning, which specifically disclosed the following contents: first, through the monitoring module, the live broadcast voice of the anchor is obtained in real time, and further through the intention recognition module, the key information of the live broadcast voice is recognized, and the recognition result is obtained, and finally the recommendation content corresponding to the live broadcast voice is determined according to the intelligent recommendation neural network. However, the problems with the above patents are: first, when determining the order of commodity sales scheduling in the live broadcast room, the system still relies on the personal judgment of the anchor, and the accuracy and efficiency are not high; second, the system does not fully consider the importance of community interaction in e-commerce live broadcasts, especially ignoring the impact of the interaction between the audience and the anchor and between the audience on the adjustment of the order of commodity sales. Therefore, how to provide a multi-category e-commerce live broadcast commodity scheduling system and scheduling method thereof to improve the scheduling efficiency and accuracy of the commodity sales order, while enhancing the sense of community interaction in e-commerce live broadcasts, has become an important technical problem and a problem that technicians in this field need to solve urgently. Summary of the invention
[0004] One object of the present invention is to propose a real-time scheduling system and method for live broadcast commodities based on deep reinforcement learning. The present invention introduces deep reinforcement learning and statistical models, and realizes real-time scheduling of multiple categories of commodities during the live broadcast process by analyzing real-time live broadcast interaction data and historical sales data.
[0005] A real-time scheduling system for live broadcast products based on deep reinforcement learning according to an embodiment of the present invention includes:
[0006] Live broadcast data acquisition and preprocessing module, used for real-time data collection and processing, and extracting interaction and sales features;
[0007] Historical database management module, used for data storage and query;
[0008] The decision-making strategy construction and evaluation module is used to create a product category selection strategy framework and evaluate the effectiveness of the strategy through a reward mechanism;
[0009] Deep reinforcement learning network module for data feature analysis and strategy optimization;
[0010] The intelligent decision-making module combines statistical model analysis and reinforcement learning network model output to execute product category decisions and action selection;
[0011] Online learning and model dynamic update modules are used to respond to market changes and continuously improve decision-making quality.
[0012] Based on the above scheme, the combined statistical model analysis and reinforcement learning network model output specifically include:
[0013] Statistical models analyze historical live broadcast sales data to identify the product categories with the largest sales volume each month, and based on this, determine the first products sold in the live broadcast room every day of the month;
[0014] The deep reinforcement learning network model learns in real time during the live broadcast process and responds to environmental changes. It also evaluates the current sales environment and predicts the potential sales effect of each product category, and schedules the sales categories of the live broadcast room under the guidance of the reward function.
[0015] A real-time scheduling method for live broadcast products based on deep reinforcement learning, comprising the following steps:
[0016] S1. Obtain real-time data of the live broadcast room through the API interface of the live broadcast platform;
[0017] S2, performing preliminary processing operations on the collected live broadcast room real-time data to construct an original data set;
[0018] S3, performing deep processing on the original data set, wherein the deep processing includes direct feature extraction, derived feature calculation and text data deep feature extraction;
[0019] S4. Connect and integrate the original data sets after deep processing, and perform data cleaning, outlier processing, format conversion and normalization on the integrated data sets;
[0020] S5, centrally processing the data in S4, wherein the processed data includes the environmental feature data and the corresponding timestamp generated after each live broadcast sales activity of a single commodity is completed, and storing the data in a historical database;
[0021] S6. Encode actions and construct action space based on the decision-making process of product categories in live e-commerce;
[0022] S7. According to the action coding result of S6, the action parameters involved in each live sales process of a single commodity will be encoded and stored in a historical database in accordance with the environmental feature data and corresponding timestamps described in S5;
[0023] S8. Establish a reward function to measure the effect of the action strategy, wherein the reward function includes an immediate reward, a delayed reward, and a comprehensive reward;
[0024] S9, corresponding to the timestamp, aligning the reward value, environmental feature data and action parameters, and storing them in the historical database. At the same time, the new environmental feature data generated by the action parameters is also recorded in the historical database of this timestamp;
[0025] S10. Build Deep Q-Network model network;
[0026] S11, using multiple comprehensive reward time difference error values to add a loss function to the Deep Q-Network model in S10;
[0027] S12, use the historical database in S9 to train the DQN network;
[0028] S13, deploy the DQN network trained in S12 to the live broadcast room;
[0029] S14. Build a historical sales data statistical model, and determine the first-selling product category in the live broadcast room every day of each month based on the historical sales data statistical model;
[0030] S15. Use the trained Deep Q-Network model network to perform actual scheduling. The network outputs the action strategy that maximizes the value in the current environment, that is, the next product category that the live broadcast room should promote most;
[0031] S16. Use online learning strategies and instant rewards to update and adjust the DQN network model in real time;
[0032] S17. Retrain the DQN network model, and select the comprehensive reward as the reward function.
[0033] Based on the above solution, the derived feature calculation in S3 specifically includes the user stickiness index and the live broadcast conversion index for a specific age group:
[0034] Among them, the user stickiness index in the derived feature calculation is expressed as:
[0035]
[0036] Among them, ρ is the user stickiness index, n e The total number of viewers who remain when a certain category of goods is sold out, n irepresents the total number of viewers corresponding to the i-th timestamp data, and m represents the total number of data recorded during the product display and sales period;
[0037] Among them, the live broadcast conversion index of a specific age group in the derived feature calculation is expressed as:
[0038]
[0039] Among them, σ is the purchase rate of a certain age group, s is the total number of people in this age group who purchase the product category, and c is the total number of viewers in this age group at a certain moment during the product sales period.
[0040] Based on the above scheme, the environmental feature data in S5 includes the category of the current product being sold, the total number of audience likes during the sales period, the gender ratio of the audience, the ratio of the number of people in each age group to the total number of people, the total number of interactions between the audience, the user stickiness index, the live broadcast conversion index for a specific age group, the number of positive and negative comments, the number of audience comments that match the keywords in the product introduction, and the total number of effective interactions between the anchor and the audience.
[0041] Based on the above solution, the action coding in S6 is specifically expressed as:
[0042] The next item to be sold is scheduled as clothing as action 1, beauty products as action 2, electronic products as action 3, household items as action 4, food and beverages as action 5, books and educational materials as action 6, and multiple areas of sports and outdoor activities as action 7.
[0043] Based on the above scheme, the reward function in S8 includes immediate reward, delayed reward and comprehensive reward:
[0044] Among them, the immediate reward is expressed as:
[0045]
[0046] Among them, R1 is the immediate reward, v i-cur represents the conversion index generated by viewers in the ith age group when switching to the currently sold product category during the live broadcast, v i-pre represents the conversion index generated by viewers in the i-th age group when switching to the previous category of products during the live broadcast, w i-cur is the annual sales of the current commodity category in the i-th age group, w cur It represents the one-year sales of the current product category in all age groups;
[0047] Among them, the delayed reward is expressed as:
[0048] R2=(BR-AR)+PR;
[0049] Among them, R2 is the delayed reward, BR is the benchmark return rate of the scheduled product category, AR is the actual return rate of the scheduled product after the live broadcast room is sold, and PR is the positive feedback rate of the scheduled product after the live broadcast room is sold;
[0050] Among them, the comprehensive reward is expressed as:
[0051] R3=R1+R2;
[0052] Among them, R3 is the comprehensive reward, R1 is the immediate reward, and R2 is the delayed reward.
[0053] Based on the above scheme, S11 uses multiple comprehensive reward time difference error values to add a loss function to the DQN network model:
[0054] Among them, the time difference error value of multiple comprehensive rewards is expressed as:
[0055]
[0056] Among them, Loss w is the time difference error value of multiple comprehensive rewards, that is, the DQN network loss value, Q * (s t ,a;w) is the maximum estimate of the network's Q value for the current state and all possible actions, max a Q * (s t+3 ,a;w) is the state s of the network after 3 steps t+3 The maximum estimate of the Q-value of all possible actions, computed using the network parameters w.
[0057] On the basis of the above scheme, the historical sales data statistical model in S14 performs statistical analysis based on the total sales of each category of goods sold in each live broadcast room each month, thereby obtaining the cumulative total sales of each category of goods each month.
[0058] Based on the above plan, the cumulative sales amount of each category of goods each month will be the category with the highest cumulative sales amount each month as the first category of goods sold in the live broadcast room every day of that month.
[0059] The beneficial effects of the present invention are:
[0060] The system and method provided by the present invention combine a deep reinforcement learning network with a statistical model to analyze historical live broadcast sales data, and use the reinforcement learning network to make decisions on actions that maximize the value of the environmental state during the live broadcast. This method of combining historical data analysis and real-time decision-making enables the reinforcement learning network to start from a high-efficiency starting point, improving the accuracy and response speed of decision-making. It also solves the problems of insufficient real-time response and low decision-making efficiency in real-time live broadcast commodity scheduling in traditional methods, and improves the accuracy and efficiency of commodity scheduling strategies.
[0061] The reward mechanism of the present invention adopts a dual design of instant reward and comprehensive reward. In the regular training stage, the system mainly adopts a comprehensive reward mechanism to ensure that sales are increased while improving the rate of favorable comments and reducing the rate of returns. In the online learning process of the model, the reward is turned to an instant reward mechanism to quickly adapt to the immediate needs and changes of the market. The application of this dual reward mechanism balances the needs of long-term stability and real-time responsiveness, that is, it ensures the continuous optimization of business performance in the long term and improves market competitiveness in the short term.
[0062] The present invention fully extracts the real-time features of the live broadcast room, including audience comments and their timestamps, total number of likes, audience gender and age distribution, number of @ interactions between audiences, and host voice. The TextBlob database is used to perform sentiment analysis on audience comments, i.e., the overall atmosphere of the live broadcast room. A large language model is used to analyze the product keywords in the host's voice and match them with audience comments to quantitatively evaluate audience interest. The system can also recognize audience questions through a large model and analyze the interaction frequency between the host and the audience. Compared with traditional features, these real-time features extracted from real-time data in the live broadcast room can more accurately guide sales strategies and improve the accuracy of multi-category product scheduling in personalized live broadcast rooms.
[0063] The present invention adopts a clear modular design, directly extracts data from the live broadcast software API interface, and extracts high-order features by combining simple formulas and large models. The overall design has the characteristics of fast calculation speed and easy construction.
[0064] In terms of scheduling the sale of multi-category goods, the present invention is different from the traditional method that mainly relies on rules and similarity calculations, but uses a reinforcement learning network to schedule and recommend goods. It has the advantage of being highly tolerant to data inaccuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0066] Figure 1This is a flow chart of a real-time scheduling system and method for live broadcast commodities based on deep reinforcement learning proposed by the present invention;
[0067] Figure 2 A line graph of the annual sales data of each commodity category of a company in different months in an embodiment of a real-time scheduling system and method for live broadcast commodities based on deep reinforcement learning proposed by the present invention. DETAILED DESCRIPTION
[0068] The present invention will now be described in further detail with reference to the accompanying drawings. These drawings are simplified schematic diagrams, which only illustrate the basic structure of the present invention in a schematic manner, and therefore only show the components related to the present invention.
[0069] refer to Figure 1 , a real-time scheduling system and method for live broadcast products based on deep reinforcement learning, comprising
[0070] Live broadcast data acquisition and preprocessing module: used for real-time data collection, preliminary processing and in-depth processing, extracting key features of live broadcast interaction and sales, and providing a data basis for the decision-making module.
[0071] Historical database management module: used for storage, query and maintenance of historical data, supporting data reliability and instant access.
[0072] Strategy building and evaluation module: used to create a policy framework for product category selection, evaluate the effectiveness of the strategy through a reward mechanism, and guide product scheduling.
[0073] Reinforcement learning network module: used to build a reinforcement learning network, perform data feature analysis and strategy optimization, and output commodity scheduling decisions.
[0074] Intelligent decision-making module: used to combine statistical model analysis and reinforcement learning network model output to execute product category decisions and action selection, and optimize the live sales process.
[0075] Online learning and model dynamic update module: used for online learning and model update, responding to market changes, and continuously improving decision-making quality.
[0076] In this implementation, the statistical model and the reinforcement learning network model specifically include:
[0077] Statistical models analyze historical live broadcast sales data to identify the product categories with the largest sales volume each month, and based on this, determine the first products sold in the live broadcast room every day of the month;
[0078] The deep reinforcement learning network model learns in real time during the live broadcast and responds to environmental changes. It also evaluates the current sales environment and predicts the potential sales effect of each product category, and schedules the sales categories of the live broadcast room under the guidance of the reward function;
[0079] A real-time scheduling system and method for live broadcast products based on deep reinforcement learning, comprising the following method steps:
[0080] S1. Obtain real-time data of the live broadcast room through the API interface of the live broadcast platform;
[0081] Real-time data includes: during the sales period of a certain product category, the comments of the audience in the live broadcast room and their corresponding timestamps, the total number of audience likes, the gender and age of each audience, the total number of viewers at each timestamp, the host’s voice, the current product category on sale, and the total number of transactions;
[0082] S2. Perform preliminary processing operations on the collected live broadcast room real-time data, aiming to construct a data set suitable for in-depth analysis;
[0083] In this implementation, the preliminary processing includes the following: First, the timestamps in all captured data are standardized and uniformly converted to ISO 8601 format to ensure the consistency of time data and accuracy in the analysis process; Next, the gender ratio and age distribution of the audience in the live broadcast room are counted, and the age data are classified and counted according to the predetermined age groups "18-25 years old", "26-35 years old", "36-45 years old", and "over 45 years old"; Finally, the Amazon Transcribe speech recognition model trained and optimized with e-commerce related data sets is used to convert the host's voice content into text format in real time, and the converted text is associated with the corresponding timestamp. All of this data is stored in the live broadcast data analysis database;
[0084] S3. Further, the real-time data of the live broadcast room after preliminary processing is deeply processed.
[0085] In this embodiment, the step of deep processing the live broadcast room real-time data is intended to extract accurate and specific feature sets from the complex data stream. The processing process includes the following steps:
[0086] S3.1, direct feature extraction;
[0087] Extract basic information from the live broadcast data, including the total number of likes by viewers during the current product category sales period, gender ratio, proportion of each age group in the total number, frequency of interaction between viewers (the total number of times viewers tag others via @), and the categories of products sold during the current live broadcast;
[0088] S3.2, derived feature calculation;
[0089] Conduct in-depth analysis of basic data to calculate user stickiness index and live broadcast conversion index for specific age groups;
[0090] First, calculate the user stickiness index:
[0091]
[0092] Among them, ρ is the user stickiness index, n e The total number of viewers who remain when a certain category of goods is sold out, n i represents the total number of viewers corresponding to the i-th timestamp data, and m represents the total number of data recorded during the product display and sales period.
[0093] Next, we calculate the live broadcast conversion index for a specific age group. This process independently examines four predetermined age groups (18-25 years old, 26-35 years old, 36-45 years old, and over 45 years old) and calculates the product conversion rate for each age group:
[0094]
[0095] Among them, σ is the purchase rate of a certain age group, s is the total number of people in this age group who purchase the product category, and c is the total number of viewers in this age group at a certain moment during the product sales period.
[0096] S3.3, deep feature extraction of text data;
[0097] The TextBlob database is used to conduct sentiment analysis on all real-time comments from viewers in the live broadcast room, distinguish between positive and negative comments, and conduct quantitative statistics.
[0098] At the same time, a large language model is used to analyze the text transcribed from the host's voice, extract the keywords used by the host to introduce the product, match them with the audience's comments, and count the number of all audience comments involving the keywords.
[0099] In addition, all the audience comments in the database are analyzed through a large language model to identify the interrogative sentences. For each identified interrogative sentence, the large language model is used to automatically analyze the host's text within 20 seconds after the corresponding timestamp. When the host's text shows a high semantic correlation with the interrogative audience comments, it is determined to be an effective interaction, and the total number of effective interactions between the host and the audience during the entire sales period of the product category is counted.
[0100] S4, centrally process the feature data after deep processing in S3;
[0101] First, the data obtained from steps S3.1 to S3.3 are integrated through data connection to form a comprehensive data set. This includes the categories of the current products sold, the total number of audience likes during the sales period, the gender ratio of the audience, the ratio of the number of people in each age group to the total number of people, the total number of interactions between viewers, the user stickiness index, the live broadcast conversion index of a specific age group, the number of positive and negative comments, the number of audience comments matching the keywords of the product introduction, and the total number of effective interactions between the anchor and the audience. Then, preprocessing operations are performed on the integrated data set, including data cleaning, outlier processing, format conversion and normalization, to ensure data consistency and accuracy of analysis;
[0102] S5, storing the data processed centrally in S4;
[0103] The historical live broadcast room data set preprocessed by S4 is stored in the historical database. Specifically, after each live broadcast sales activity of a single product ends, the generated environmental feature data will be entered into the historical database and accurately marked with the corresponding timestamp. In addition, in the database, a unique identifier is assigned to each major category of goods to facilitate the distinction and management of data sets of different product categories.
[0104] S6. Construct action space based on the decision-making process of product category selection in live e-commerce;
[0105] In the context of live e-commerce, after completing the live sale of a product, the team faces the critical decision of choosing the next category to display and promote the product. This decision involves multiple major categories of goods, including clothing, beauty, electronic products, household goods, food and beverages, books and educational materials, sports and outdoor areas. In order to integrate this selection process into the reinforcement learning network, the action space is first clearly defined. In this space, each type of product is given a specific code: the clothing category is defined as action 1, beauty is action 2, electronic products are action 3, household goods are defined as action 4, food and beverages are action 5, books and educational materials are action 6, and multiple fields of sports and outdoor are action 7;
[0106] S7. According to the action coding result of S6, the action parameters involved in each live sales process of a single commodity will be encoded and stored in a historical database in accordance with the environmental feature data and corresponding timestamps described in S5;
[0107] S8. Establish a reward function to measure the effectiveness of the action strategy;
[0108] In this embodiment, the reward function is subdivided into three types: immediate reward, delayed reward and comprehensive reward. The immediate reward is evaluated based on the change of the live broadcast conversion index of a specific age group; the delayed reward is based on the return rate and the praise rate; the comprehensive reward is the sum of the immediate reward and the delayed reward.
[0109] In the embodiment, referring to Table 1 below, in order to characterize the conversion potential of different commodity categories in specific age groups, the present invention shows the historical sales data of various commodity categories in different age groups of a certain company in one year. It can be seen that different age groups have local tendencies for commodity categories.
[0110] Table 1 One-year sales data of each product category of a company in different age groups
[0111]
[0112] Calculate instant rewards:
[0113]
[0114] Among them, R1 is the immediate reward, v i-cur represents the conversion index generated by viewers in the ith age group when switching to the currently sold product category during the live broadcast, v i-pre represents the conversion index generated by viewers in the i-th age group when switching to the previous category of products during the live broadcast, w i-cur is the annual sales of the current commodity category in the i-th age group, w cur Represents the one-year sales of the current product category in all age groups.
[0115] In the embodiment, referring to Table 2, the present invention shows the benchmark return rate of each commodity category under the general live broadcast room sales order. This data serves as an important criterion for evaluating the effectiveness of the commodity scheduling strategy. In practical applications, if the return rate of a certain commodity category is lower than this benchmark, it indicates that the scheduling strategy for the sale of commodities in the live broadcast room has achieved results. On the contrary, if the actual return rate is higher than the benchmark, it means that the scheduling strategy may need to be adjusted and optimized.
[0116] Table 2 Benchmark return rates for each product category in the general live broadcast sales order
[0117] Product categories Benchmark return rate clothing 30% Beauty 12% Electronics 10% Home Furnishings 18% Food and Beverages 5% Books and educational materials 6% Sports and Outdoors 20%
[0118] Next, calculate the delayed reward
[0119] R2=(BR-AR)+PR
[0120] Among them, R2 is the delayed reward, BR is the benchmark return rate of the scheduled product category, AR is the actual return rate of the scheduled product feedback after the sale in the live broadcast room, and PR is the positive rate of the scheduled product feedback after the sale in the live broadcast room.
[0121] Finally, the comprehensive reward R3 is obtained by adding the immediate reward R1 and the delayed reward R2:
[0122] R3=R1+R2
[0123] S9. Align the reward value, environmental feature data and action parameters with the corresponding timestamp and store them in the historical database. At the same time, the new environmental feature data generated by the action parameters is also recorded in the historical database of this timestamp. This process collects a total of 65,000 data sets, including environmental feature data before taking an action, the action code number taken, the comprehensive reward value generated after taking an action, the immediate reward value and the environmental feature data after taking an action (s t ,a t ,r t-1 ,r t-2 ,s t+1 ), s t is the environmental characteristic data before taking action, a t is the action code number taken, r t-1 is the comprehensive reward value generated after taking the action, r t-2 is the immediate reward value after taking the action, s t+1 The environmental feature data after the action is taken. These data will be divided into training set and test set in a ratio of 7 to 3;
[0124] S10. Build a Deep Q-Network model network. The network architecture is a four-layer fully connected network with 128 neurons in each layer. The activation function uses ReLU. The number of neurons in the input layer is 16, which is the number of environmental feature categories. The learning rate is set to 0.001, the reward discount factor is set to 0.9, and the experience replay pool is set to 20,000.
[0125] S11, using multiple comprehensive reward time difference error values to add loss function to the Deep Q-Network model in S10:
[0126]
[0127] Among them, Loss w is the time difference error value of multiple comprehensive rewards, that is, the DQN network loss value, Q * (s t ,a;w) is the maximum estimate of the network's Q value for the current state and all possible actions, max a Q * (s t+3 ,a;w) is the state s of the network after 3 steps t+3 The maximum estimate of the Q value of all possible actions, calculated using the network parameters w;
[0128] S12, use the historical database in S9 to train the DQN network. During training, the training and test parameters will be selected according to the specified content in S9. Specifically, whether in the training phase or the test phase, the reward value used is r t-1 The training phase is considered complete when the DQN network training on the training set is completed and the average value of its cumulative rewards is lower than the corresponding value of the test set;
[0129] S13, deploy the DQN network trained in S12 to the live broadcast room;
[0130] S14, in the embodiment, reference Figure 2 ,The present invention displays the sales data of each commodity category of a company in different months for one year, and forms a historical sales data statistical model.
[0131] Based on the historical sales data statistical model, determine the first product category sold in the live broadcast room every day of each month. The specific method is to analyze Table 3 to identify the product category with the largest sales volume each month, and then use this category as the first product sold in the live broadcast room every day of that month. This strategy aims to use the previous sales data to maximize the audience appeal at the beginning of the live broadcast and provide a higher data-driven starting point for the subsequent scheduling of the DQN network;
[0132] In S15 and S14, by analyzing the historical sales data statistical model, the product category with the largest sales volume each month is selected as the first product category at the beginning of the live broadcast of that month, which forms the initial action a1 in the reinforcement learning network, and then collects the remaining environmental feature data, including the total number of audience likes, gender ratio, the proportion of people in each age group to the total number of people, the frequency of interaction between audiences, user stickiness index, live broadcast conversion index for a specific age group, the number of positive and negative comments, the total number of audience comments matching the product introduction keywords, and the total number of effective interactions between the anchor and the audience. Finally, the first complete environmental feature view is provided for the DQN network, which includes the current product sales types, the total number of audience likes, gender ratio, the proportion of people in each age group to the total number of people, the frequency of interaction between audiences, user stickiness index, live broadcast conversion index for a specific age group, the number of positive and negative comments, the total number of audience comments matching the product introduction keywords, and the total number of effective interactions between the anchor and the audience. This comprehensive information is input into the DQN network, and the network then outputs the action strategy that maximizes the value in the current environment, that is, the next product category that the live broadcast room should promote the most. This product category also forms a complete environmental state for the next strategy.
[0133] S16. In this implementation, an online learning strategy is adopted for the current DQN network, and the reward function focuses on immediate rewards, that is, the change in the live broadcast conversion index of a specific age group after the product is replaced. The purpose of this is to maintain the continuous update of the network and strategy adjustment, and ensure that a specific product category shows a high sales conversion rate in a short period of time.
[0134] S17. After S16 is updated with online learning of 20,000 immediate reward data, the model will enter the retraining phase. At this point, the choice of reward function will be changed to comprehensive reward. After the model has adapted to the immediate reward, its learning scope is further expanded to ensure that the model can comprehensively consider the immediate and delayed effects.
[0135] Embodiment 1:
[0136] During the Double Eleven period, the live broadcast room used three different strategies to dispatch and sell goods;
[0137] The team pre-arranged the order of product sales based on historical sales data, as shown in Table 3 below:
[0138] Table 3 Order of commodity sales
[0139]
[0140]
[0141] The anchor arranges the order of product sales in real time based on experience and interaction in the live broadcast room, as shown in Table 4 below:
[0142] Table 4 Arrange the order of commodity sales in real time
[0143] commodity Sales amount Sales Scheduling Order Food and Beverages 16.4 1 Food and Beverages 9 2 Food and Beverages 3 3 Electronics 16 4 Electronics 9 5 Beautiful condition 14 6 Food and Beverages 15 7 clothing 11 8 Beautiful condition 14 9 Sports and Outdoors 10 10 Furniture 4 11 Food and Beverages 4 12 Books and educational materials 5 13
[0144] Based on deep reinforcement learning, multiple categories of live broadcast rooms are carried out, as shown in Table 5 below:
[0145] Table 5 Multi-category live broadcast room based on deep reinforcement learning
[0146] commodity Sales amount Sales Scheduling Order Food and Beverages 15.9 1 Electronics 16 2 Electronics 15 3 Food and Beverages 16 4 Beauty 17 5 Food and Beverages 12 6 clothing 13 7 Sports and Outdoors 13 8 Food and Beverages 18 9 Beauty 19 10 Electronics 20 11 Food and Beverages 14 12 Beauty 13 13
[0147] In Table 3, the company developed a model based on historical sales data to determine the order of sales of live broadcast products in November. In terms of sales volume, the order is: food and beverages, electronic products, beauty products, home furnishings, clothing, sports and outdoor products, books and educational materials. This strategy is designed to ensure the smooth realization of overall expectations and the completeness of the types of goods sold. However, this sales scheduling order may cause sensory fatigue to the audience. For example, when selling food and beverages continuously, the subsequent sales of this type of goods dropped sharply, resulting in sluggish overall sales in the live broadcast room.
[0148] The order of merchandise sales scheduling in Table 4 is decided by the anchor based on the real-time feedback from the live broadcast room, which basically follows the model in Table 3. When the anchor observes that the attention to a certain category of merchandise is decreasing (such as fewer comments from viewers, lower sales, etc.), they will adjust the next merchandise category to be sold based on their experience. This method improves the flexibility of merchandise sales scheduling, but it relies too much on personal experience, and when there are a large number of viewers, the error rate of human judgment is high.
[0149] Table 5 shows a multi-category scheduling and sales strategy for live broadcast rooms based on deep reinforcement learning. With this method, the sales order of live broadcast room products is efficiently scheduled, and the sales amount is 1.88 times higher than the statistical model using historical sales data, and 1.38 times higher than the scheduling decision based on the anchor's experience. This strategy not only optimizes sales efficiency, but also reduces dependence on personal experience, improving the overall performance of live broadcast sales.
[0150] It can be seen from the above embodiments that:
[0151] The present invention realizes the commodity scheduling of colleges and universities in the live e-commerce environment by combining deep reinforcement learning network with statistical model. The system can collect and process the real-time data of the live broadcast room, extract the interaction and sales features, and store them in the historical database. Create action space based on commodity categories, and reward feedback for actions based on the conversion index, praise rate and return rate of specific age groups. Combined with statistical models, it provides a highly data-driven starting point for the deep reinforcement learning network, thereby enhancing the scheduling effect. Online learning and dynamic model updates ensure the market sensitivity of the model, improve decision-making efficiency and sales effectiveness.
[0152] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A real-time scheduling method for live broadcast products based on deep reinforcement learning, characterized in that: include Live broadcast data acquisition and preprocessing module, used for real-time data collection and processing, and extracting interaction and sales features; Historical database management module, used for data storage and query; The decision-making strategy construction and evaluation module is used to create a product category selection strategy framework and evaluate the effectiveness of the strategy through a reward mechanism; Deep reinforcement learning network module for data feature analysis and strategy optimization; The intelligent decision-making module combines statistical model analysis and reinforcement learning network model output to execute product category decisions and action selection; Online learning and model dynamic update module, used to respond to market changes and continuously improve decision-making quality; The method comprises the following steps: S1. Obtain real-time data of the live broadcast room through the API interface of the live broadcast platform; S2, performing preliminary processing operations on the collected live broadcast room real-time data to construct an original data set; S3, performing deep processing on the original data set, wherein the deep processing includes direct feature extraction, derived feature calculation and text data deep feature extraction; S4. Connect and integrate the original data sets after deep processing, and perform data cleaning, outlier processing, format conversion and normalization on the integrated data sets; S5, centrally processing the data in S4, wherein the processed data includes the environmental feature data and the corresponding timestamp generated after each live broadcast sales activity of a single commodity is completed, and storing the data in a historical database; S6. Encode actions and construct action space based on the decision-making process of product categories in live e-commerce; S7. According to the action coding result of S6, the action parameters involved in each live sales process of a single commodity will be encoded and stored in a historical database in accordance with the environmental feature data and corresponding timestamps described in S5; S8. Establish a reward function to measure the effect of the action strategy, wherein the reward function includes an immediate reward, a delayed reward, and a comprehensive reward; S9, corresponding to the timestamp, aligning the reward value, environmental feature data and action parameters, and storing them in the historical database. At the same time, the new environmental feature data generated by the action parameters is also recorded in the historical database of this timestamp; S10. Build Deep Q-Network model network; S11, using multiple comprehensive reward time difference error values to add a loss function to the Deep Q-Network model in S10; S12, use the historical database in S9 to train the DQN network; S13, deploy the DQN network trained in S12 to the live broadcast room; S14. Build a historical sales data statistical model, and determine the first-selling product category in the live broadcast room every day of each month based on the historical sales data statistical model; S15. Use the trained Deep Q-Network model network to perform actual scheduling. The network outputs the action strategy that maximizes the value in the current environment, that is, the next product category that the live broadcast room should promote most; S16. Use online learning strategies and instant rewards to update and adjust the DQN network model in real time; S17. Retrain the DQN network model, and select the comprehensive reward as the reward function.
2. According to claim 1, a real-time scheduling method for live broadcast commodities based on deep reinforcement learning is characterized in that: The combined statistical model analysis and reinforcement learning network model output specifically includes Statistical model, analyze historical live sales data, identify the product categories with the largest sales volume each month, and determine the first product sold in the live broadcast room every day of each month based on the product categories with the largest sales volume each month; The deep reinforcement learning network model learns in real time during the live broadcast process, responds to environmental changes, and schedules the sales categories of goods in the live broadcast room under the guidance of the reward function by evaluating the current sales environment and predicting the potential sales effects of each product category.
3. According to claim 2, a real-time scheduling method for live broadcast commodities based on deep reinforcement learning is characterized in that: The derived feature calculation in S3 specifically includes the user stickiness index and the live broadcast conversion index for a specific age group: Among them, the user stickiness index in the derived feature calculation is expressed as: Among them, ρ is the user stickiness index, n e The total number of viewers who remain when a certain category of goods is sold out, n i represents the total number of viewers corresponding to the i-th timestamp data, and m represents the total number of data recorded during the product display and sales period; Among them, the live broadcast conversion index of a specific age group in the derived feature calculation is expressed as: Among them, σ is the purchase rate of a certain age group, s is the total number of people in this age group who purchase the product category, and c is the total number of viewers in this age group at a certain moment during the product sales period.
4. According to claim 3, a real-time scheduling method for live broadcast commodities based on deep reinforcement learning is characterized in that: The environmental feature data in S5 include the category of the current product being sold, the total number of audience likes during the sale, the audience gender ratio, the ratio of the number of people in each age group to the total number of people, the total number of interactions between audiences, the user stickiness index, the live broadcast conversion index for a specific age group, the number of positive and negative comments, the number of audience comments that match the product introduction keywords, and the total number of effective interactions between the anchor and the audience.
5. According to claim 3, a real-time scheduling method for live broadcast commodities based on deep reinforcement learning is characterized in that: The action coding in S6 is specifically expressed as: The next item to be sold is scheduled as clothing as action 1, beauty products as action 2, electronic products as action 3, household items as action 4, food and beverages as action 5, books and educational materials as action 6, and multiple areas of sports and outdoor activities as action 7.
6. According to claim 3, a real-time scheduling method for live broadcast commodities based on deep reinforcement learning is characterized in that: The reward function in S8 includes immediate reward, delayed reward and comprehensive reward: Among them, the immediate reward is expressed as: Among them, R1 is the immediate reward, v i-cur represents the conversion index generated by viewers in the ith age group when switching to the currently sold product category during the live broadcast, v i-pre represents the conversion index generated by viewers in the i-th age group when switching to the previous category of products during the live broadcast, w i-cur is the annual sales of the current commodity category in the i-th age group, w cur It represents the one-year sales of the current product category in all age groups; Among them, the delayed reward is expressed as: R2=(BR-AR)+PR Among them, R2 is the delayed reward, BR is the benchmark return rate of the scheduled product category, AR is the actual return rate of the scheduled product after the live broadcast room is sold, and PR is the positive feedback rate of the scheduled product after the live broadcast room is sold; Among them, the comprehensive reward is expressed as: R3=R1+R2 Among them, R3 is the comprehensive reward, R1 is the immediate reward, and R2 is the delayed reward.
7. According to claim 3, a real-time scheduling method for live broadcast commodities based on deep reinforcement learning is characterized in that: In S11, multiple comprehensive reward time difference error values are used to add a loss function to the DQN network model: Among them, the time difference error value of multiple comprehensive rewards is expressed as: Among them, Loss w is the time difference error value of multiple comprehensive rewards, that is, the DQN network loss value, Q * (s t ,a;w) is the maximum estimate of the network's Q value for the current state and all possible actions, max a Q * (s t+3 ,a;w) is the state s of the network after 3 steps t+3 The maximum estimate of the Q-value of all possible actions, computed using the network parameters w.
8. According to claim 3, a real-time scheduling method for live broadcast commodities based on deep reinforcement learning is characterized in that: The historical sales data statistical model in S14 performs statistical analysis based on the total sales of each category of goods sold in each live broadcast room each month, thereby obtaining the cumulative total sales of each category of goods each month.
9. A method for real-time scheduling of live broadcast commodities based on deep reinforcement learning according to claim 8, characterized in that: The cumulative sales amount of each category of goods each month will be the category with the highest cumulative sales amount each month as the first category of goods sold in the live broadcast room every day of that month.
Citation Information
Patent Citations
Commodity recommendation system and method based on deep learning
CN117078342A
Online live shopping platform data analysis processing method, system and device, and computer storage medium
CN113191845A
Multi-cluster live video system scheduling method combining data value and information age
CN116156654A
Live broadcast goods-carrying service scheduling recommendation method and system
CN116528010A
Adaptive-learning intelligent scheduling unified computing frame and system for industrial personalized customized production
US20220413455A1
