Systems, computer-implemented methods, and non-transitory computer-readable media for multi-objective ranking

By using multi-door expert hybrid layers and soft actor critic algorithms in the video recommendation system, the problems of multi-objective optimization and selection bias are solved, more effective video recommendations are achieved, and the performance of user participation and recommendation systems is improved.

CN114190102BActive Publication Date: 2024-09-06BAIDU COM TIMES TECH (BEIJING) CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080005171.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-15
Publication Date
2024-09-06
Estimated Expiration
2040-07-15

Smart Images

  • Figure CN114190102B
    Figure CN114190102B
Patent Text Reader

Abstract

In this paper, an implementation of a large-scale multi-objective ranking system based on reinforcement learning is described. The implementation of this system can be used to optimize short video recommendations on video sharing platforms. Multiple competing ranking objectives and implicit selection bias in user feedback are major challenges in real-world platforms. To address these challenges, a multi-gate mixture of experts (MMoE) and a soft actor critic (SAC) are integrated together as an MMoE_SAC system. Experimental results show that the implementation of the MMoE_SAC system can significantly reduce the loss function compared to systems based on only a single policy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure generally relates to systems and methods for computer learning that can provide improved computer performance, features, and uses. More specifically, the present disclosure relates to systems and methods for computer learning for video recommendations. Background Art

[0002] Deep neural networks have achieved great success in fields such as computer vision, natural language processing, and recommendation systems.

[0003] With the rise of short video applications, various short video recommendation systems have been built to increase user engagement. Typically, conventional recommendation systems involve a two-stage design with candidate generation and ranking. In both stages, a good ranking strategy is directly related to user behavior and therefore plays an essential role in keeping users watching videos. The ranking strategy first attempts to attract users to click on short videos, and then, after they have finished watching, secondly attract users to click on videos recommended to them. In this stage, the recommender has multiple candidates retrieved via candidate generation, and a large-capacity model is applied to the ranking. Finally, it recommends the user to select one or several videos at the top. There are two main challenges in recommendation systems. First, the objectives to be optimized are usually different and may even be conflicting because users have different preferences. Second, the system often has implicit selection biases. For example, a user may have clicked and watched a video simply because it was ranked first rather than because he really liked it. How to effectively and efficiently solve these problems is the key to a successful recommendation system.

[0004] Therefore, what are needed are systems and methods for computer learning for video recommendations. Summary of the invention

[0005] Embodiments of the present disclosure provide a computer-implemented method for multi-objective ranking, a system for multi-objective ranking, and a non-transitory computer-readable medium or media.

[0006] According to a first aspect, some embodiments of the present disclosure provide a computer-implemented method for multi-objective ranking, the method comprising: receiving, at a multi-gate mixture of experts (MMoE) layer comprising multiple experts and a gating network, a hidden embedding corresponding to one or more states and one or more actions; generating a prediction based on the hidden embedding by each of the multiple experts using a soft actor critic (SAC), each prediction comprising one or more prediction parameters corresponding to the one or more actions, respectively; obtaining a weighted sum of the multiple expert predictions according to a weight generated by the gating network for each expert; and generating an MMoE layout output from the MMoE layer based on the weighted sum.

[0007] According to a second aspect, some embodiments of the present disclosure provide a system for multi-objective ranking, the system comprising: one or more processors; and a non-transitory computer-readable medium or medium, which comprises one or more sets of instructions, which, when executed by at least one of the one or more processors, causes the following steps to be performed, the steps comprising: converting features from one or more data sources into hidden embeddings; receiving the hidden embeddings at a multi-gate mixture of experts (MMoE) layer comprising multiple experts and a gating network; generating predictions based on the hidden embeddings by each of multiple experts using a soft actor critic (SAC), each prediction comprising one or more prediction parameters corresponding to one or more actions respectively; obtaining a weighted sum of multiple expert predictions based on weights generated by the gating network for each expert; and generating an MMoE layout output from the MMoE layer based on the weighted sum.

[0008] According to a third aspect, some embodiments of the present disclosure provide a non-transitory computer-readable medium or medium comprising one or more instruction sequences, which, when executed by at least one processor, cause steps for multi-objective ranking, the steps comprising: converting features from one or more data sources into hidden embeddings; receiving the hidden embeddings at a multi-gate mixture of experts (MMoE) layer comprising multiple experts and a gating network; generating predictions based on the hidden embeddings by each of multiple experts using a soft actor critic (SAC), each prediction comprising one or more prediction parameters corresponding to one or more actions, respectively; obtaining a weighted sum of multiple expert predictions based on weights generated by the gating network for each expert; and generating an MMoE layout output from the MMoE layer based on the weighted sum.

[0009] According to a fourth aspect, some embodiments of the present disclosure provide a computer program product, comprising a computer program, which, when executed by a processor, implements a method for multi-objective ranking, the method comprising: receiving, at a multi-gate mixture of experts (MMoE) layer comprising multiple experts and a gating network, a hidden embedding corresponding to one or more states and one or more actions; generating a prediction based on the hidden embedding by each of a plurality of experts using a soft actor critic (SAC), each prediction comprising one or more prediction parameters corresponding to the one or more actions, respectively; obtaining a weighted sum of the plurality of expert predictions according to a weight generated by the gating network for each expert; and generating an MMoE layout output from the MMoE layer based on the weighted sum. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Reference will be made to embodiments of the present disclosure, examples of which may be shown in the accompanying drawings. These drawings are illustrative and non-restrictive. Although the present disclosure is generally described in the context of these embodiments, it should be understood that it is not intended to limit the scope of the present disclosure to these specific embodiments. The items in the drawings may not be drawn to scale.

[0011] Figure 1 A soft actor-critic based framework according to an embodiment of the present disclosure is described, where the soft actor-critic has multiple actions learned by a mixture of multiple experts.

[0012] Figure 2 A process for implementing a multi-gate mixture of experts (MMoE) network according to an embodiment of the present disclosure is described.

[0013] Figure 3 A process for generating feature embeddings according to an embodiment of the present disclosure is described.

[0014] Figure 4 A soft actor-critic (SAC) process for action prediction according to an embodiment of the present disclosure is described.

[0015] Figure 5 FIG. 1 illustrates the losses of a recommendation system based on deep Q-learning, SAC, and MMoE_SAC according to an embodiment of the present disclosure.

[0016] Figure 6 A simplified block diagram depicting a computing device / information processing system in accordance with an embodiment of the present disclosure. DETAILED DESCRIPTION

[0017] In the following description, for the purpose of explanation, specific details are set forth in order to provide an understanding of the present disclosure. However, it will be apparent to those skilled in the art that the present disclosure may be practiced without these details. In addition, those skilled in the art will recognize that the embodiments of the present disclosure described below may be implemented in various ways (e.g., processes, devices, systems, equipment, or methods) on a tangible computer-readable medium.

[0018] The components or modules shown in the drawings are exemplary illustrations of embodiments of the present disclosure and are intended to avoid obscuring the present disclosure. It should also be understood that throughout this discussion, components may be described as separate functional units (which may include subunits), but those skilled in the art will recognize that various components or portions thereof may be divided into separate components, or may be integrated together (including, for example, integrated into a single system or component). It should be noted that the functions or operations discussed herein may be implemented as components. Components may be implemented in software, hardware, or a combination thereof.

[0019] In addition, the connections between the components or systems in the drawings are not intended to be limited to direct connections. On the contrary, the data between these components can be modified, reformatted, or otherwise changed by the intermediate components. In addition, additional or fewer connections can be used. It should also be noted that the terms "connect", "connect", "communicatively connected", "engage", "interface" or any of their derivatives should be understood to include direct connections, indirect connections carried out through one or more intermediate devices, and wireless connections. It should also be noted that any communication (such as a signal, response, reply, confirmation, message, inquiry, etc.) may include one or more information exchanges.

[0020] References in this specification to "one or more embodiments", "preferred embodiments", "embodiments", "multiple embodiments", etc. indicate that the specific features, structures, characteristics, or functions described in conjunction with the embodiments are included in at least one embodiment of the present disclosure, and may be included in more than one embodiment. In addition, the appearance of the above-mentioned phrases in various places in this specification does not necessarily all refer to the same embodiment or multiple identical embodiments.

[0021] The use of certain terms in various places in this specification is intended to be illustrative and should not be construed as limiting. Services, functions, or resources are not limited to a single service, a single function, or a single resource; the use of these terms may refer to a distributable or aggregated grouping of related services, functions, or resources. The terms "include," "comprises," "includes," and "includes" should be understood as open terms, and any listings thereafter are examples and are not intended to be limited to the listed items. A "layer" may include one or more operations. The words "best," "optimize," "optimize," and the like refer to improvements to results or processes, and do not require that the specified results or processes have reached an "optimal" or peak state. Memory, database, information base, data storage, table, hardware, cache, etc., as used in this article, may be used to refer to one or more system components that can input information or otherwise record information.

[0022] In one or more embodiments, the stopping conditions may include: (1) a set number of iterations have been performed; (2) a certain amount of processing time has been reached; (3) convergence (e.g., the difference between consecutive iterations is less than a first threshold); (4) divergence (e.g., performance degradation); (5) an acceptable result has been achieved.

[0023] Those skilled in the art will recognize that: (1) certain steps may be performed optionally; (2) the steps may not be limited to the specific order described herein; (3) certain steps may be performed in a different order; and (4) certain steps may be performed simultaneously.

[0024] Any headings used herein are for organizational purposes only and should not be used to limit the scope of the specification or claims.Each reference / document mentioned in this patent document is incorporated herein by reference in its entirety.

[0025] It should be noted that any experiments and results provided herein are provided in an illustrative manner and were performed under specific conditions using specific embodiments; therefore, these experiments and their results should not be used to limit the scope of the disclosure of the current patent document.

[0026] It should also be noted that although the embodiments described herein may be within the context of video recommendations, aspects of the present disclosure are not limited thereto. Therefore, aspects of the present disclosure may be applied or adapted for use in other environments, including but not limited to audio recommendations, multimedia recommendations, etc.

[0027] A. General Introduction

[0028] With the rise of short video applications, various short video recommendation systems have been built to increase user engagement. Typically, conventional recommendation systems involve a two-stage design with candidate generation and ranking. In both stages, a good ranking strategy is directly related to user behavior and therefore plays an essential role in keeping users watching videos. The ranking strategy first attempts to attract users to click on short videos, and then, after finishing watching, to attract users to continue clicking on videos recommended to them. In the ranking stage, the recommender has multiple candidates retrieved via candidate generation, and a large-capacity model is applied to the ranking. Finally, it recommends the user to choose one or several videos at the top. There are two main challenges in recommendation systems. First, the objectives to be optimized are usually different and may even be conflicting because users have different preferences. Second, the system often has implicit selection biases. For example, a user may have clicked and watched a video simply because it was ranked first rather than because he really liked it. How to solve these problems effectively and efficiently is the key to a successful recommendation system. In essence, multi-task learning can be used to model multiple ranking objectives. Some people have explored a variety of soft parameter sharing techniques, including multi-gate expert mixture (MMoE) to optimize the ranking objective. First, multiple goals are grouped into two categories: engagement goals and satisfaction goals. Then MMoE is used to automatically learn parameters to share potentially conflicting goals. In addition, shallow towers are added to reduce selection bias. This architecture decomposes the labels in the training data into unbiased user utilities and estimated propensity scores. Experiments have shown that this framework brings improvements to the entire recommendation system.

[0029] Nevertheless, this approach focuses on estimating immediate user engagement without considering the long-term impact of recommendations on user behavior. Reinforcement learning (RL) methods offer the potential to optimize recommendations for long-term user engagement. User click and view behaviors are parameterized as rewards, and recommendations are parameterized as actions. However, since users are often presented with plates of multiple items (which may have interactive effects on their choices), methods are needed to cope with the combinatorial nature of RL action spaces. To address the challenge of optimizing long-term values ​​using RL, some have proposed plate-based deep Q-learning.

[0030] However, Q-learning has its limitations in handling large-scale continuous domains. Therefore, Deep Deterministic Policy Gradient (DDPG) is extended to make up for the shortcomings of Deep Q-learning. By adding parameterized policy gradients, DDPG extends Deep Q-learning to a composite network of actors (policy network) and critics (value network). It brings improvements compared to Deep Q-learning. However, DDPG learns deterministic policies, which limits the exploration of DDPG.

[0031] In contrast, Soft Actor Critic (SAC), an off-policy maximum entropy actor-critic algorithm, provides sample-efficient learning and stability. More significantly, it scales to very complex high-dimensional tasks, such as the Humannoid benchmark with 21 action dimensions. Unlike the usual RL framework that maximizes the expected reward sum, SAC introduces a more general maximum entropy objective by adding the expected entropy of the policy on the state boundary of the trajectory distribution caused by the policy. This design motivates the policy to explore more extensively and capture multiple modes of near-optimal behavior.

[0032] Although SAC has done a good job in modeling complex high-dimensional tasks, multiple competing ranking objectives and implicit selection biases still pose a big challenge in some tasks. In the speculation that MMoE can greatly increase the limits that SAC can handle when MMoE and SAC are embedded in a reasonable architecture, the present disclosure proposes an implementation for a user recommendation (e.g., video recommendation) framework based on SAC with multiple actions using multi-expert hybrid learning (abbreviated as MMoE_SAC). In one or more experiments, it was found that a more effective learning curve can be formed while the performance remains improved.

[0033] B. Implementation of Multi-Expert Hybrid Soft Actor Critic

[0034] Figure 1 The MMoE_SAC framework for user recommendation according to one or more embodiments of the present disclosure is described. One or more embodiments of the MMoE_SAC framework may be applied to video recommendation.

[0035] like Figure 1As shown in the figure, the MMoE_SAC framework forms a transition from state t1 to state t n Each state 110 may include a deep neural network, with an MMoE layer 114 in the middle between an input layer 112 and an output layer 116. In one or more embodiments, the MMoE layer 114 includes a plurality of experts 126 and a gating network 124. The experts and the gating network interact with each other through k gates and ultimately generate an MMoE layer output y, where y represents one or more weights learned by one or more actions. In one or more embodiments, the one or more actions include click-through rate (ctr), play length (pl), continuous ctr (cctr), continuous play length (cpl), such as Figure 1 In one or more embodiments, each of the multiple experts themselves is a neural network using the SAC method. In one or more embodiments, the input layer 112 or the output layer 116 can be a recurrent neural network (RNN) layer, a convolutional neural network (CNN) layer, or a long-term memory (LSTM) layer.

[0036] 1. Implementation of MMoE network

[0037] In one or more embodiments, the implementation of the MMoE network follows multi-layer perception with RELU activations. Figure 2 A process for MMoE implementation according to one or more embodiments of the present disclosure is described.

[0038] For a given state (e.g. Figure 1 ), the MMoE layer 114 receives (205) input from the input layer 112. In one or more embodiments, the input includes one or more feature embeddings.

[0039] Given M tasks and K experts, each expert 126 generates (210) predictions Given the predictions 128 from each expert, according to the weights generated for each expert by the gating network 124 Get the weighted sum of the predictions of (215)K experts 125. Use the last hidden layer 127, the following equation can be used to generate (220) the MMoE layer output y based on the weighted sum i .

[0040] y i =h i (f i (x)) (1) where i is the number of actions, k is the number of experts, and x∈R dis a low-level shared hidden embedding. In one or more embodiments, x may be a randomly sampled embedding assigned to the K experts for training. In one or more embodiments, x may include a state embedding and an action embedding.

[0041] Figure 3 A process for generating feature embeddings according to embodiments of the present disclosure is described. In one or more embodiments, certain features may relate to different data sources, such as user profiles, video IDs, and log data. The input features are first divided (305) into categorical features and numerical features. Then, a common dynamic feature embedding dictionary is defined to map or project (310) the categorical features and numerical features into a unified embedding space. In one or more embodiments, during the mapping or projection of the input features, each embedding lookup for the categorical feature is first performed using a one-hot or multi-hot vector e i (For example, the i-th position is 1, and the other positions are 1, where i corresponds to the i-th category). Get the embedded row vector, where W is the transformation weight matrix In this way, the classification features can be transformed from sparse features to dense features.

[0042] In one or more embodiments, the gating network outputs g of expert k k ,in is the kth entry, and is the prediction of the kth expert for task i. In one or more embodiments, the gating network applies a linear transformation of the input with a softmax layer:

[0043]

[0044] in, is the weight of the linear transformation, and a is the predicted action from the expert In one or more embodiments, the weight Can be trained during the training process. Figure 1 In the embodiment shown in , the output from the expert includes one or more prediction parameters, for example, ctr_param, cctr_param, pl_param, and cpl_param for actions ctr, cctr, pl, and cpl, respectively.

[0045] 2. Implementation of SAC for Action Prediction

[0046] In one or more embodiments, the function f used for prediction deployed by each expert is i(x) Using SAC method. In one or more embodiments, each expert is a deep neural network (DNN) combined with SAC algorithm, such as Figure 1 As shown in box 126 in .

[0047] As shown in block 126, for an expert at a certain state, these are the input, hidden layer, and output of the DNN. In one or more embodiments, the input to the DNN may include the state corresponding to the hidden layer. t and action a t The features corresponding to the states are used as input to each expert, while the embeddings corresponding to the actions can be used as labels for training. In one or more embodiments, the action values ​​of the labels are used to calculate the loss during training.

[0048] Figure 4 A SAC process for action prediction according to an embodiment of the present disclosure is described. In one or more embodiments, each action (e.g., each of the four actions ctr, cctr, pl, and cpl) is considered (405) as a task for an expert. In one or more embodiments, during training of the expert, although the four actions are related to each other, the loss calculation for each action is performed independently. Feature embeddings can be shared between actions to control interactions between actions.

[0049] One of the key points in this framework is predicting actions. In one or more embodiments, actions include actions in multiple categories, such as ctr, cctr, p1, and cp1 corresponding to the above four weights. These categories form a mixture of discrete and continuous action spaces. In one or more embodiments, continuous values ​​are assigned to all actions because SAC works better in continuous domains.

[0050] In one or more embodiments, an entropy regularization term is added (410) to the reward term of the policy function for each action with a weight of α, thereby obtaining an entropy bonus reward for the action estimate at each time step, as shown below.

[0051]

[0052] Among them, the reward item r(s t ,a t ,s t+1 )=p π (a t ,s t )Q π (s t ,a t ), p π is the probability function, Q π It has s t and a tThe soft Q-function of the input. is an entropy regularization term added to the policy function π*. In one or more embodiments, the probability function is used to soften the classification state (or discontinuous state). The entropy term includes the value function V(s t+1 ), which is used to calculate the action value in the next time step.

[0053] In one or more embodiments, in order to learn the optimal maximum entropy policy with convergence guarantee, a soft policy iteration is derived (415) to alternately repeat soft policy evaluation and soft policy improvement. In one or more embodiments, the value function (3) for the next time step (t+1) is updated to include the entropy bonus reward from the current time step (t):

[0054]

[0055] Likewise, in one or more embodiments, Q π Can be updated to:

[0056]

[0057] In one or more embodiments, these two equations may be connected to form the Bellman equation as follows.

[0058]

[0059] Where P is the density function of the input feature x.

[0060] Therefore, the soft Q-function parameters can be trained or learned (420) by minimizing the soft Bellman residual:

[0061]

[0062] Among them, Q θ is a soft Q-function Q parameterized by θ.

[0063] In one or more embodiments, the policy function parameters may be obtained by making the policy function π t+1 (·|s t ) and the quotient obtained by dividing the exponential of the soft Q-function by the partition function The following expected Kullback-Leibler (KL) divergence between them is minimized to learn (425):

[0064]

[0065] Among them, Φ(Q(s t ,·))=∑π t+1 (·|s t )exp(Q(st ,·)) represents the allocation function. In one or more embodiments, the soft actor network can be differentiated into a deterministic policy gradient (DPG).

[0066] In one or more embodiments, to mitigate the positive bias in the policy improvement step, multiple soft Q-functions are used during soft policy iteration, such as the clipped Double-Q trick in double-delay DDPG (TD3), and the minimum Q-value of the multiple soft Q-functions is used for each soft policy improvement step.

[0067] In one or more embodiments of the present disclosure, with one or more changes to the policy update rules, the SAC may be upgraded to handle discrete action spaces or a mixture of discrete and continuous action spaces.

[0068] C. Experimental Results

[0069] This section describes how to conduct experiments with the MMoE_SAC ranking system. In one or more experimental settings, implicit feedback provided by the short video sharing platform is used to train ranking model implementations and conduct offline and live experiments. As mentioned earlier, the platform provides users with multiple ways to interact with recommended videos. Log data, ctr, cctr, pl, and cpl are used as tags, while likes or abandons, user profiles, and video content are used as features.

[0070] It should be noted that these experiments and results are provided by way of illustration and were performed under specific conditions using one or more specific embodiments; therefore, these experiments and their results should not be used to limit the scope of the disclosure of this patent document.

[0071] 1. Evaluation Metrics

[0072] In one or more experiments, four evaluation metrics were employed. The first evaluation metric was simply the loss between the Q-value estimated from the state value of the selected action and the target state value computed from different feature embeddings.

[0073]

[0074] in, In fact, the second term of equation (6) is are the second and third terms of equation (7).

[0075] Collect one or more experimental datasets from online video viewing logs. The logs include click-through rate (ctr), play length (pl), continuous ctr (cctr), continuous play length (cpl). In addition, the log data is organized by day, and a sliding window size of 7 days is used. The model trained from the previous day is used to predict the action of the day. Then, the loss is defined as the difference between the actual action and the predicted action of the day.

[0076] The second evaluation metric is called the Direct Method (DM), which aims to estimate the reward function from the given data and use this estimate instead of the actual reward to evaluate the policy value on a set of contexts. It is estimated as follows:

[0077]

[0078] in, and |D| is the dataset size. The problem with this evaluation is There may be deviations.

[0079] A third evaluation metric called the inverse propensity score (IPS) uses importance weights to assess the proportion of correct and incorrect answers in historical data.

[0080]

[0081] It is not prone to bias. However, it has the problem of large variance.

[0082] In one or more embodiments, taking into account the shortcomings of these two methods, a fourth estimation metric called doubly robust (DR) estimation is included to obtain a more comprehensive evaluation.

[0083]

[0084] 2. Implementation of loss and action prediction

[0085] Figure 5 The losses of the recommendation systems based on deep Q-learning (called "deepQ") (505), SAC (510), and MMoE_SAC (515) are listed respectively. All losses are calculated using Equation 9, i.e., the expected loss between the Q-value estimated from the state value of the selected action and the target state value. It is obvious that SAC and MMoE_SAC have a higher decline trend compared to deep-Q learning, and both also have lower starting loss values. After about 5000 iterations, all three seem to converge to some minimum values. But deep Q-learning fluctuates around 5, while the other two fluctuate around 2. Among SAC and MMoE_SAC, the latter has even lower losses. This seems to indicate that the mixture of expert strategies has an effect.

[0086] 3. Model accuracy from IPS, DM and DR

[0087] In this section, one or more experimental results are reported. For comparison, results from deepQ and SAC are also listed. In addition to loss, DM, IPS, and DR, results for action prediction are also reported.

[0088] Table 1: Model accuracy evaluated with IPS, DM, and DR.

[0089]

[0090] Table 1 lists the model accuracy values ​​of the deepQ, SAC, and MMoE_SAC models evaluated with IPS, DM, and DR. The values ​​reported in Table 1 are averages for all 10,000 steps. In general, the score reflects how accurately the model predicts the action. As long as these scores are within a reasonable range for all four actions, the model can be considered to have good performance. In order to compare between models, smaller scores mean more stable performance. In one or more settings, the experiment runs for more than 10,000 steps, and all three metrics are evaluated at each step. Then, their averages are taken for each action. Some trends can be observed from these results. First, most of the DR results of the three models are lower than DM. Compared with IPS, some of the DR and DM results are higher, while some of the results are lower. As mentioned above, IPS has a larger variance. In addition, it seems that the DM scores of SAC and MMoE_SAC are very similar to each other, although those of SAC are high for all four actions. In contrast, the DM scores of deepQ are quite different from each other.

[0091] D. Some conclusions

[0092] In the present disclosure, an MMoE_SAC-based implementation for short video recommendation is proposed. In one or more embodiments, a soft actor critic is used to perform recommendation work in combination with MMoE. MMoE_SAC can fully utilize the advantages of expert mixture and entropy-based offline policy algorithms. It enables the recommender to handle a large number of continuous actions, and also encourages the implementation of the MMoE_SAC model to explore a larger space to discover more relevant videos for users. MMoE_SAC performs well in generating useful features from sparse high-dimensional feature spaces using historical logs. Experiments show that the performance of MMoE_SAC is better than that of deepQ-based systems and single SAC-based systems, and MMoE_SAC converges to the lowest loss. One or more embodiments of MMoE_SAC can be further extended to effectively handle combinations of classified actions and continuous actions.

[0093] E. Computing System Implementation

[0094] In one or more embodiments, aspects of the present patent document may relate to, may include, or may be implemented on one or more information processing systems / computing systems. An information processing system / computing system may include any means or combination of means operable to calculate, compute, determine, classify, process, transmit, receive, retrieve, initiate, route, exchange, store, display, communicate, visualize, detect, record, reproduce, process, or utilize any form of information, intelligence, or data. For example, a computing system may be or may include a personal computer (e.g., a laptop), a tablet computer, a mobile device (e.g., a personal digital assistant (PDA), a smartphone, a tablet phone, a tablet, etc.), a smart watch, a server (e.g., a blade server or a rack server), a network storage device, a camera, or any other suitable device, and may vary in size, shape, performance, functionality, and price. A computing system may include random access memory (RAM), one or more processing resources (such as a central processing unit (CPU) or hardware or software control logic), read-only memory (ROM), and / or other types of memory. Additional components of the computing system may include one or more disk drives, one or more network ports for communicating with external devices, and various input and output (I / O) devices (e.g., keyboard, mouse, stylus, touch screen, and / or video display). The computing system may also include one or more buses operable to transmit communications between the various hardware components.

[0095] Figure 6 A simplified block diagram of an information processing system (or computing system) according to an embodiment of the present disclosure is described. It should be understood that the computing system may be configured differently and include different components, including, for example, Figure 6 Although fewer or more components may be shown in , it should be understood that the functionality shown for system 600 is operable to support various embodiments of computing systems.

[0096] like Figure 6 As shown, the computing system 600 includes one or more central processing units (CPUs) 601, which provide computing resources and control the computer. The CPU 601 can be implemented with a microprocessor, etc., and can also include one or more graphics processing units (GPUs) 602 and / or floating-point coprocessors for mathematical calculations. In one or more embodiments, one or more GPUs 602 can be incorporated into a display controller 609, such as part of one or more graphics cards. The system 600 can also include a system memory 619, which can include a random access memory (RAM), a read-only memory (ROM), or both.

[0097] like Figure 6As shown in , multiple controllers and peripherals may also be provided. Input controller 603 represents an interface to various input devices 604, such as a keyboard, a mouse, a touch screen, and / or a stylus. The computing system 600 may also include a storage controller 607, which is used to interface with one or more storage devices 608, each of which includes a storage medium (such as a tape or disk) or an optical medium (which can be used to record a program of instructions for operating systems, utilities, and applications, which may include implementations of programs that implement various aspects of the present disclosure). The storage device 608 may also be used to store processed data or data to be processed according to the present disclosure. The system 600 may also include a display controller 609, which is used to provide an interface for a display device 611, which may be a cathode ray tube (CRT) display, a thin film transistor (TFT) display, an organic light emitting diode, an electroluminescent panel, a plasma panel, or any other type of display. The computing system 600 may also include one or more peripheral device controllers or interfaces 605 for one or more peripheral devices 606. Examples of peripheral devices may include one or more printers, scanners, input devices, output devices, sensors, etc. The communication controller 614 may interface with one or more communication devices 615, which enables the system 600 to connect to remote devices via any of a variety of networks, including the Internet, cloud resources (e.g., Ethernet cloud, Fibre Channel over Ethernet (FCoE) / Data Center Bridging (DCB) cloud, etc.), local area network (LAN), wide area network (WAN), storage area network (SAN), or via any suitable electromagnetic carrier signal (including infrared signals). As shown in the depicted embodiment, the computing system 600 includes one or more fans or fan trays 618 and one or more cooling system controllers 617, which monitor the thermal temperature of the system 600 (or its components) and operate the fans / fan trays 618 to help regulate the temperature.

[0098] In the system shown, all major system components may be connected to bus 616, which may represent more than one physical bus. However, various system components may or may not be physically close to each other. For example, input data and / or output data may be remotely transmitted from one physical location to another physical location. In addition, programs that implement various aspects of the present disclosure may be accessed from a remote location (e.g., a server) via a network. Such data and / or programs may be transmitted via any of a variety of machine-readable media, including, for example: magnetic media such as hard disks, floppy disks, and tapes; optical media such as compact disks (CD-ROMs) and holographic devices; magneto-optical media; and hardware devices specifically configured to store or store and execute program code, such as application specific integrated circuits (ASICs), programmable logic devices (PLDs), flash memory devices, other non-volatile memory (NVM) devices (such as XPoint-based 3D devices), and ROM and RAM devices.

[0099] Aspects of the present disclosure may utilize instructions for one or more processors or processing units to perform steps encoded on one or more non-transient computer-readable media. It should be noted that one or more non-transient computer-readable media should include volatile memory and / or non-volatile memory. It should be noted that alternative implementations are possible, including hardware implementations or software / hardware implementations. The functions of hardware implementations can be implemented using ASICs, programmable arrays, digital signal processing circuits, etc. Therefore, the term "means" in any claim is intended to cover both software implementations and hardware implementations. Similarly, the term "computer-readable medium or medium" as used herein includes software and / or hardware or a combination thereof having an instruction program implemented thereon. With these alternative implementations contemplated, it should be understood that the accompanying drawings and accompanying descriptions provide those skilled in the art with functional information required to write program code (i.e., software) and / or manufacture circuits (i.e., hardware) to perform the desired processing.

[0100] It should be noted that embodiments of the present disclosure may also relate to computer products having non-transitory tangible computer-readable media having computer codes thereon for performing various computer-implemented operations. The media and computer codes may be those specially designed and constructed for the purposes of the present disclosure, or they may be known or available to those skilled in the relevant art. Examples of tangible computer-readable media include, for example: magnetic media such as hard disks, floppy disks, and tapes; optical media such as CD-ROMs and holographic devices; magneto-optical media; and hardware devices specially configured to store or store and execute program codes, such as application-specific integrated circuits (ASICs), programmable logic devices (PLDs), flash memory devices, other non-volatile memory (NVM) devices (such as XPoint-based 3D devices), and ROM and RAM devices. Examples of computer code include machine code (e.g., code generated by a compiler) and files containing higher-level code that can be executed by a computer using an interpreter. Embodiments of the present disclosure may be implemented in whole or in part as machine-executable instructions in program modules that can be executed by a processing device. Examples of program modules include libraries, programs, routines, objects, components, and data structures. In a distributed computing environment, program modules may be physically located in local, remote, or both local and remote locations.

[0101] Those skilled in the art will recognize that the computing system or programming language is not important to the practice of the present disclosure. Those skilled in the art will also recognize that a plurality of the above elements can be physically and / or functionally divided into modules and / or sub-modules or combined together.

[0102] Those skilled in the art will appreciate that the foregoing examples and implementations are exemplary and do not limit the scope of the present disclosure. It is intended to be noted that all, permutations, enhancements, equivalents, combinations or improvements of the present disclosure that will be apparent to those skilled in the art after reading this specification and studying the drawings are included within the true spirit and scope of the present disclosure. It should also be noted that the elements of any claim may be arranged differently, including having multiple dependencies, configurations and combinations.

Claims

1. A computer-implemented method for multi-objective ranking, include: At a multi-gate mixture of experts (MMoE) layer including a plurality of experts and a gating network, receiving a hidden embedding corresponding to one or more states and one or more actions; generating, by each of a plurality of experts using a soft actor-critic (SAC), predictions based on the hidden embeddings, each prediction comprising one or more prediction parameters corresponding to the one or more actions, respectively; Obtaining a weighted sum of the plurality of expert predictions based on the weights generated by the gating network for each expert; and Based on the weighted sum, an MMoE layout output is generated from the MMoE layer.

2. The computer-implemented method of claim 1, in, The hidden embedding is generated by the following steps: dividing the plurality of features of the one or more states and the one or more actions into categorical features and numerical features; as well as A universal dynamic feature embedding dictionary is defined to map or project the plurality of features into a unified embedding space for the latent embedding.

3. The computer-implemented method of claim 2, in, Defining a general dynamic feature embedding dictionary to map or project the plurality of features into a unified embedding space comprises: For each embedding lookup for a categorical feature, use a one-hot or multi-hot vector; and The classification features are transformed from sparse features to dense features using a transformation weight matrix.

4. The computer-implemented method of claim 1, in, Each expert is a trained deep neural network DNN that uses embeddings corresponding to one or more states as input to each expert and uses embeddings corresponding to one or more actions as labels for training.

5. The computer-implemented method of claim 4, in, During the training process, the loss calculations for each of the one or more actions are independent of each other.

6. The computer-implemented method of claim 5, in, The training process includes the following steps: Treat each action as a task; Add an entropy regularization term to the policy function used for each action; Exporting soft policy iterations to alternately repeat soft policy evaluation and soft policy improvement; learning the soft Q-function parameters by minimizing the soft Bellman residual; and The policy parameters are learned by minimizing the KL divergence between the policy function and a quotient obtained by dividing the exponential of the soft Q-function by the allocation function.

7. The computer-implemented method of claim 6, in, During the soft policy iteration, a soft Q-function having a minimum Q value among a plurality of soft Q-functions is adopted for each soft policy improvement step.

8. A system for multi-objective ranking, include: one or more processors; as well as A non-transitory computer readable medium or media comprising one or more sets of instructions which, when executed by at least one of the one or more processors, cause the following steps to be performed, the steps comprising: Convert features from one or more data sources into latent embeddings; receiving the hidden embedding at a multi-gate mixture of experts (MMoE) layer comprising a plurality of experts and a gating network; generating, by each of a plurality of experts using a soft actor-critic (SAC), predictions based on the hidden embeddings, each prediction comprising one or more prediction parameters corresponding to the one or more actions, respectively; Obtaining a weighted sum of the plurality of expert predictions based on the weights generated by the gating network for each expert; and Based on the weighted sum, an MMoE layout output is generated from the MMoE layer.

9. The system of claim 8, in, Converting features from one or more data sources into latent embeddings involves the following steps: dividing the features into categorical features and numerical features; and A universal dynamic feature embedding dictionary is defined to map or project the features into a unified embedding space for the latent embeddings.

10. The system of claim 9, in, Defining a general dynamic feature embedding dictionary to map or project features into a unified embedding space includes the following steps: For each embedding lookup for a categorical feature, use a one-hot or multi-hot vector; and The classification features are transformed from sparse features to dense features using a transformation weight matrix.

11. The system of claim 9, in, Each expert is a trained neural network that uses feature embeddings from one or more states as input and feature embeddings from one or more actions as labels for training during the training process.

12. The system according to claim 11, in, The non-transitory computer readable medium or media also includes one or more sets of instructions that, when executed by at least one of the one or more processors, cause the steps of training each of the experts to be performed, the steps comprising: Treat each action as a task; Add an entropy regularization term to the policy function used for each action; Exporting soft policy iterations to alternately repeat soft policy evaluation and soft policy improvement; learning the soft Q-function parameters by minimizing the soft Bellman residual; and The policy parameters are learned by minimizing the KL divergence between the policy function and a quotient obtained by dividing the exponential of the soft Q-function by the allocation function.

13. The system of claim 12, in, During the soft policy iteration, a soft Q-function having a minimum Q value among a plurality of soft Q-functions is adopted for each soft policy improvement step.

14. A non-transitory computer readable medium or media comprising one or more instruction sequences, which when executed by at least one processor cause steps for multi-objective sorting, the steps include: Convert features from one or more data sources into latent embeddings; receiving the hidden embedding at a multi-gate mixture of experts (MMoE) layer comprising a plurality of experts and a gating network; generating, by each of a plurality of experts using a soft actor-critic (SAC), predictions based on the hidden embeddings, each prediction comprising one or more prediction parameters corresponding to the one or more actions, respectively; Obtaining a weighted sum of the plurality of expert predictions based on the weights generated by the gating network for each expert; and Based on the weighted sum, an MMoE layout output is generated from the MMoE layer.

15. The non-transitory computer readable medium or media of claim 14, in, Converting features from one or more data sources into latent embeddings involves the following steps: dividing the plurality of features of the one or more states and the one or more actions into categorical features and numerical features; and A universal dynamic feature embedding dictionary is defined to map or project the plurality of features into a unified embedding space for the latent embedding.

16. The non-transitory computer readable medium or media of claim 15, in, Defining a general dynamic feature embedding dictionary to map or project features into a unified embedding space includes the following steps: For each embedding lookup for a categorical feature, use a one-hot or multi-hot vector; and The classification features are transformed from sparse features to dense features using a transformation weight matrix.

17. The non-transitory computer readable medium or media of claim 14, in, Each expert is a trained neural network that uses feature embeddings from one or more states as input and feature embeddings from one or more actions as labels for training during the training process.

18. The non-transitory computer readable medium or media of claim 17, in, During the training process, the loss calculations for each of the one or more actions are independent of each other.

19. The non-transitory computer readable medium or media of claim 17, further comprising one or more sets of instructions that, when executed by at least one of the one or more processors, cause the steps of training each of the experts to be performed, the steps include: Treat each action as a task; Add an entropy regularization term to the policy function used for each action; Exporting soft policy iterations to alternately repeat soft policy evaluation and soft policy improvement; The soft Q-function parameters are learned by minimizing the soft Bellman residual; as well as The policy parameters are learned by minimizing the KL divergence between the policy function and a quotient obtained by dividing the exponential of the soft Q-function by the allocation function.

20. The non-transitory computer readable medium or media of claim 19, in, in, During the soft policy iteration, a soft Q-function having a minimum Q value among a plurality of soft Q-functions is adopted for each soft policy improvement step.

21. A computer program product comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 7.