Object sorting method based on search scene and training method of object sorting model

CN118897848APending Publication Date: 2024-11-05TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310493376.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-04
Publication Date
2024-11-05

AI Technical Summary

Technical Problem

The prior art fails to effectively consider the connection between different display scenarios when sorting objects, resulting in inefficiency and inability to balance information differences between different display scenarios, affecting the accuracy and personalized effect of sorting.

Method used

By obtaining the personalized characteristics and general attribute characteristics of the search operation, performing feature transformation processing, combining behavioral characteristics and scene characteristics, calculate the sorting scores of each object in the general and personalized display scenarios, and realize cross-scene knowledge transfer and information complementarity. Optimize the display order of objects.

Benefits of technology

It improves the accuracy and personalization of object sorting, provides a better search experience, reduces the use of computer equipment resources, and avoids the high cost of modeling and training different scenarios separately.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118897848A_ABST
    Figure CN118897848A_ABST
Patent Text Reader

Abstract

The invention relates to an object sorting method based on a search scene and a training method of an object sorting model. The object sorting method based on the search scene comprises the following steps: in response to a search operation, obtaining personalized features of a trigger object of the search operation and universal attribute features of a to-be-displayed object obtained based on the search operation; performing feature transformation processing on the general attribute features to obtain at least one behavior feature and a plurality of scene features; determining a first sorting score corresponding to a first preset sorting index according to scene features and behavior features corresponding to the general display scene; determining a second sorting score corresponding to a second preset sorting index according to a scene feature corresponding to the personalized display scene, each behavior feature and the personalized feature; and according to the first sorting score and the second sorting score, determining a display sequence of the to-be-displayed object in the general display scene and the personalized display scene. By adopting the method, various display scenes can be combined for efficient sorting.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an object sorting method based on a search scenario and a training method for an object sorting model. Background Art

[0002] When a user enters a keyword to search for an object, the background obtains multiple objects by searching based on the keyword, and sorts the multiple objects in a certain order, so as to display the objects arranged in order as search results to the user.

[0003] Usually, the way to sort multiple objects is often based on pre-set rules. For example, taking the object as a video, the way to sort multiple videos is usually to sort them from high to low according to the click-through rate, like rate or forwarding rate of each video. For another example, taking the object as a commodity, the way to sort multiple commodities is usually to sort them according to the price, transaction volume or return rate of each commodity. For another example, taking the object as an article, the way to sort multiple articles is usually to sort them according to the title, word count or click-through rate of each article.

[0004] However, the above methods do not consider the order of objects in different display scenarios. For example, the results page generally displays the brief information of each object in order. When an object is selected, it switches to the details page to display the details of the selected object; the user browses the next object by sliding up and down on the details page.

[0005] Traditional technology requires sorting the objects displayed in the result page and the objects displayed in the detail page separately, which fails to take into account the inherent connections between different display scenarios and is inefficient. Summary of the invention

[0006] Based on this, it is necessary to provide an object sorting method, device, computer equipment, computer-readable storage medium and computer program product based on search scenarios that can improve search efficiency, as well as an object sorting method, device, computer equipment, computer-readable storage medium and computer program product based on search scenarios in order to address the above-mentioned technical problems.

[0007] In one aspect, the present application provides a method for sorting objects based on a search scenario. The method comprises:

[0008] In response to a search operation, obtaining personalized features of an object that triggers the search operation and common attribute features of each of a plurality of objects to be displayed obtained based on the search operation;

[0009] For each of the multiple objects to be displayed, performing feature transformation processing on the common attribute features of the targeted object to be displayed to obtain behavior features corresponding to at least one preset display behavior and scene features corresponding to multiple preset display scenes;

[0010] Determining, according to the scene feature corresponding to the general display scene and each of the behavior features, a first ranking score of the targeted to-be-displayed object corresponding to at least one first preset ranking indicator in the general display scene;

[0011] Determine, according to the scene feature corresponding to the personalized display scene, each of the behavior features and the personalized feature, a second ranking score of the targeted to-be-displayed object corresponding to at least one second preset ranking indicator in the personalized display scene;

[0012] According to at least one first ranking score and at least one second ranking score of each of the multiple objects to be displayed, a display order of each of the multiple objects to be displayed in the general display scene and the personalized display scene is determined.

[0013] On the other hand, the present application also provides an object sorting device based on a search scenario. The device comprises:

[0014] An acquisition module, configured to acquire, in response to a search operation, personalized features of an object that triggers the search operation and common attribute features of each of a plurality of objects to be displayed obtained based on the search operation;

[0015] A processing module, configured to perform feature transformation processing on the common attribute features of each of the plurality of objects to be displayed, so as to obtain behavior features corresponding to at least one preset display behavior and scene features corresponding to a plurality of preset display scenes;

[0016] A determination module, configured to determine, according to a scene feature corresponding to a common display scene and each of the behavior features, a first ranking score of the targeted object to be displayed corresponding to at least one first preset ranking indicator in the common display scene;

[0017] The determination module is further configured to determine, based on the scene feature corresponding to the personalized display scene, each of the behavior features and the personalized feature, a second ranking score of the targeted object to be displayed corresponding to at least one second preset ranking indicator in the personalized display scene;

[0018] The sorting module is used to determine the display order of each of the multiple objects to be displayed in the general display scene and the personalized display scene according to at least one first sorting score and at least one second sorting score of each of the multiple objects to be displayed.

[0019] On the other hand, the present application further provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above-mentioned object sorting method based on the search scene when executing the computer program.

[0020] On the other hand, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the above-mentioned object sorting method based on the search scenario are implemented.

[0021] On the other hand, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned object sorting method based on the search scene are implemented.

[0022] The above-mentioned object sorting method, device, computer equipment, storage medium and computer program product based on search scenarios obtain personalized features of the triggering object of the search operation in response to the search operation, and obtain the common attribute features of each of the multiple objects to be displayed obtained based on the search operation. For each object to be displayed, its common attribute features are subjected to feature transformation processing to obtain behavior features corresponding to at least one preset display behavior and scene features corresponding to multiple preset display scenarios, thereby performing joint prediction based on the behavior features and scene features to achieve sorting prediction based on various behaviors in different scenarios; wherein, for the common display scenario, according to the scene features corresponding to the common display scenario and each behavior feature, it is determined that the object to be displayed corresponds to at least one first preset sorting The first ranking score of the indicator; for the personalized display scenario, according to the scenario characteristics, various behavioral characteristics and personalized characteristics corresponding to the personalized display scenario, determine the second ranking score of the object to be displayed corresponding to at least one second preset ranking indicator; by considering the respective characteristics in different display scenarios, cross-scenario knowledge transfer can be achieved; then, according to at least one first ranking score and at least one second ranking score of each object to be displayed, determine the display order of each object to be displayed in the general display scenario and the personalized display scenario, respectively, which can balance the information differences between different display scenarios while fully considering the different display situations in personalized scenarios and non-personalized scenarios, thereby mutually improving the accuracy of sorting and personalization effects, and providing a better search experience.

[0023] On the other hand, the present application also provides a method for training an object sorting model. The method comprises:

[0024] Acquire sample personalized features of a triggering object of a historical search operation and sample universal attribute features of each of a plurality of historical display objects obtained based on the historical search operation;

[0025] For each of the plurality of historical display objects, performing feature transformation processing on the common attribute features of the historical display object to obtain sample behavior features corresponding to at least one preset display behavior and sample scene features corresponding to a plurality of preset display scenes;

[0026] Determine, according to the sample scene feature corresponding to the general display scene and each of the sample behavior features, a first prediction score of the historical display object corresponding to at least one first preset ranking indicator in the general display scene;

[0027] Determine, according to the sample scene feature corresponding to the personalized display scene, each of the sample behavior features and the sample personalized feature, a second prediction score of the historical display object corresponding to at least one second preset ranking indicator in the personalized display scene;

[0028] constructing a loss function based on a first difference between the first predicted score and the first standard score, and a second difference between the second predicted score and the second standard score;

[0029] The object sorting model is trained based on the loss function to obtain a trained object sorting model; the object sorting model is used to sort multiple objects to be displayed obtained based on the search operation.

[0030] On the other hand, the present application also provides a training device for an object sorting model. The device comprises:

[0031] An acquisition module, used to acquire sample personalized features of a triggering object of a historical search operation and sample common attribute features of each of a plurality of historical display objects obtained based on the historical search operation;

[0032] a processing module, configured to perform feature transformation processing on the common attribute features of each of the plurality of historical display objects, so as to obtain sample behavior features corresponding to at least one preset display behavior and sample scene features corresponding to a plurality of preset display scenes;

[0033] A prediction module, configured to determine, based on sample scene features corresponding to the general display scene and each of the sample behavior features, a first prediction score of the historical display object corresponding to at least one first preset ranking indicator in the general display scene;

[0034] The prediction module is further used to determine, based on the sample scene feature corresponding to the personalized display scene, each of the sample behavior features and the sample personalized feature, a second prediction score of the historical display object corresponding to at least one second preset ranking indicator in the personalized display scene;

[0035] a loss module for constructing a loss function based on a first difference between the first predicted score and the first standard score and a second difference between the second predicted score and the second standard score;

[0036] A training module is used to train the object sorting model based on the loss function to obtain a trained object sorting model; the object sorting model is used to sort multiple objects to be displayed obtained based on the search operation.

[0037] On the other hand, the present application further provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the training method of the above-mentioned object sorting model when executing the computer program.

[0038] On the other hand, the present application also provides a computer-readable storage medium having a computer program stored thereon, which implements the steps of the training method of the above-mentioned object sorting model when executed by a processor.

[0039] On the other hand, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the training method of the above-mentioned object sorting model are implemented.

[0040] The training method, apparatus, computer equipment, storage medium and computer program product of the above-mentioned object sorting model obtain sample personalized features of the triggering object of the historical search operation and sample common attribute features of each of the multiple historical display objects obtained based on the historical search operation, and perform feature transformation processing on the common attribute features of any historical display object to obtain sample behavior features corresponding to at least one preset display behavior and sample scene features corresponding to multiple preset display scenes. In order to realize the joint modeling of personalized display scenes and non-personalized display scenes, on the one hand, according to the sample scene characteristics and each sample behavior characteristics corresponding to the general display scene, the first prediction score of the historical display object corresponding to at least one first preset sorting index in the general display scene is determined; on the other hand, according to the sample scene characteristics, each sample behavior characteristics and sample personalized characteristics corresponding to the personalized display scene, the second prediction score of the historical display object corresponding to at least one second preset sorting index in the personalized display scene is determined, and the information of another display scene is taken into account in different display scenes, so that the information complementarity and balance between different display scenes are realized, and the improvement of the prediction effect can be mutually promoted; finally, based on the first difference between the first prediction score and the first standard score, and the second difference between the second prediction score and the second standard score, a loss function is constructed, and then training is performed based on the loss function, thereby obtaining a trained object sorting model, thereby realizing the joint modeling of different display scenes, and through the feature sharing and joint learning in different display scenes, the generalization ability of the model is greatly improved, and the iteration efficiency of the model is improved, and there is no need to model and train different display scenes separately, thereby reducing the occupation of computer equipment resources. In addition, by completely modeling the object behaviors in different display scenarios through preset sorting indicators, we can fully learn the user's behavior patterns and effectively improve the sorting effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 A diagram of an application environment of an object ranking method based on a search scenario in some embodiments;

[0042] Figure 2 A schematic diagram of a process of a user searching for a video in a video client in some embodiments;

[0043] Figure 3A A schematic diagram of a result page in some embodiments;

[0044] Figure 3B Schematic diagram of a result page in some other embodiments;

[0045] Figure 4A A schematic diagram of a page for switching to an immersive page to play a video in some embodiments;

[0046] Figure 4B A schematic diagram of a page for switching to an immersive page to play a video in some other embodiments;

[0047] Figure 5 A schematic diagram of a flow chart of a method for sorting objects based on a search scenario in some embodiments;

[0048] Figure 6 A schematic diagram of the modular principle of the object sorting method based on the search scenario in some embodiments;

[0049] Figure 7 A schematic diagram of the modular principle of the feature transformation processing steps in some embodiments;

[0050] Figure 8 A schematic diagram of the principle of feature processing for introducing personalized features in some embodiments;

[0051] Fig. 9 A schematic diagram of the causal relationship between various ranking indicators in a general display scenario in some embodiments;

[0052] Fig.10 It is a schematic diagram of the principle of feature fusion in a general display scene in some embodiments;

[0053] Fig.11 To provide a causal relationship between various ranking indicators in a common display scenario in other embodiments;

[0054] Fig.12 A schematic diagram of the principle of feature fusion in a general display scene in other embodiments;

[0055] Fig.13 To personalize the causal relationship between various ranking indicators in some embodiments;

[0056] Fig.14 A schematic diagram of the principle of feature fusion in a personalized display scene in some embodiments;

[0057] Fig.15 is a schematic diagram of the principles of a method for sorting objects based on a search scenario in some embodiments;

[0058] Fig.16 is a schematic diagram of the principle of a video ranking method based on video search in some embodiments;

[0059] Fig.17 A flowchart of a method for training an object ranking model in some embodiments;

[0060] Fig.18 is a structural block diagram of an object sorting device based on a search scenario in some embodiments;

[0061] Fig.19 is a structural block diagram of a training device for an object sorting model in some embodiments;

[0062] Fig. 20 1 is a diagram of the internal structure of a computer device in some embodiments. DETAILED DESCRIPTION

[0063] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0064] The object sorting method based on search scenarios provided in the embodiments of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 is connected to the server 104 for communication. The terminal 102 and the server 104 can be directly or indirectly connected by wired or wireless communication, and this application does not limit this. The data storage system can store data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other servers.

[0065] In some embodiments, the terminal 102 or the server 104 obtains the personalized features of the triggering object of the search operation and the general attribute features of each of the multiple objects to be displayed obtained based on the search operation in response to the search operation. For each of the multiple objects to be displayed, the terminal 102 or the server 104 performs feature transformation processing on the general attribute features of the object to be displayed, and obtains behavior features corresponding to at least one preset display behavior and scene features corresponding to multiple preset display scenes. The terminal 102 or the server 104 determines the first ranking score of the object to be displayed corresponding to at least one first preset ranking index in the general display scene according to the scene features and each behavior feature corresponding to the general display scene, and determines the second ranking score of the object to be displayed corresponding to at least one second preset ranking index in the personalized display scene according to the scene features, each behavior feature and the personalized feature corresponding to the personalized display scene. Thus, the terminal 102 or the server 104 can determine the display order of each of the multiple objects to be displayed in the general display scene and the personalized display scene according to the at least one first ranking score and the at least one second ranking score of each of the multiple objects to be displayed.

[0066] The terminal 102 may be, but is not limited to, one or more of various desktop computers, laptop computers, smart phones, tablet computers, IoT devices, or portable wearable devices, etc. The IoT devices may be one or more of smart speakers, smart TVs, smart air conditioners, or smart vehicle-mounted devices, etc. The portable wearable devices may be one or more of smart watches, smart bracelets, or head-mounted devices, etc.

[0067] Among them, server 104 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, as well as big data and artificial intelligence platforms.

[0068] In some embodiments, the terminal may be loaded with an APP (Application) application or an application with a video playback function, including traditional applications that need to be installed separately, and small program applications that can be used without downloading and installing, such as one or more browser clients, video clients, shopping clients, news clients, novel clients, or article clients.

[0069] In some embodiments, a user can watch a video through a video client. When a user searches for a video in the video client, the video client initiates a search service call to the server in response to the search operation, and receives video search results transmitted by the server. The user can browse the profile information of each video obtained by the search in the result page provided by the video client, and can also select a video to play the selected video in the immersive page.

[0070] In other embodiments, the user can browse products through the shopping client. When the user searches for products in the shopping client, the shopping client responds to the search operation, initiates a search service call to the server, and receives product search results transmitted by the server. The user can browse the brief information of each product obtained by the search in the result page provided by the shopping client, and can also select a product to view the detailed information of the selected product in the immersive page.

[0071] In other embodiments, the user can view news through a news client. When the user searches for news in the news client, the news client initiates a search service call to the server in response to the search operation, and receives news search results transmitted by the server. The user can browse the summary content of each searched news in the result page provided by the news client, and can also select a news to view the details of the selected news in the immersive page.

[0072] Exemplarily, each client has a built-in search engine, which can initiate a search service call to the server.

[0073] For example, a user searches for a video in a video client. The video can be a long video or a short video. Figure 2 As shown, the user first enters a search text (Query) in the video client. The search text can be one or more keywords or short sentences. The subsequent process can be executed by the video client itself, or by the video client and the server in collaboration. Taking the video client and the server in collaboration as an example, the video client sends the search text to the server, and the server understands the search text.

[0074] Usually, the server is deployed with a query understanding module (Query Understanding, QU), which is used to understand and process the search text to analyze the user's intention. Based on the processed search text, the query understanding module recalls videos related to the search text in the video library as candidates, and successively screens the candidate videos through rough sorting, fine sorting, and re-sorting stages, thereby obtaining the final number of videos to be presented to the user as search results.

[0075] For example, the object sorting method based on search scenarios provided in the embodiments of the present application can be applied to the fine sorting stage. Then, the video client displays the videos included in the search results in the page in the order corresponding to each other according to the obtained search results. For example, after the user enters a keyword to search for a video, the video client obtains multiple videos related to the keyword and displays them as follows: Figure 3A The result page shown in FIG. 1 shows the brief information of each video in the form of cards. Alternatively, the video client can also display the following information: Figure 3B The result page shown displays the brief information of each video in a list.

[0076] In the result page displayed by the video client, users can view search results by swiping up or down. Figure 4A and Figure 4BAs shown, the user can select a video in the result page by clicking, touching, long pressing, etc., and the video client switches to the immersive page for display and plays the selected video in the immersive page. The user can also exit the immersive page and return to the result page to select the next video to watch. Alternatively, the user can also view the next video directly in the immersive page by swiping up or down. Among them, the result page is a general display scene (i.e., a non-personalized display scene), and the immersive page is a personalized display scene. The display order of each video in the general display scene and the personalized display scene may be the same or different.

[0077] It is easy to understand that the above-mentioned search scenarios for videos are only examples, and can be appropriately adjusted according to actual conditions in specific application scenarios. For example, the video client can be replaced by one or more of a browser client, a video client, a shopping client, a news client, a novel client, or an article client, and the user can search for corresponding objects in these clients. The pages displayed by the client can have different page names, page forms, or interaction methods. Those skilled in the art should be aware that, based on the personalized display scenarios and non-personalized display scenarios provided by the client, reasonable deformations and appropriate adjustments made to the above examples are within the scope of protection of this application.

[0078] In some embodiments, Figure 5 As shown, a method for sorting objects based on search scenarios is provided, which can be applied to a terminal or a server, or can be performed by a terminal and a server in collaboration. The following is an example of the method being applied to a computer device, which can be a terminal or a server. The method includes the following steps:

[0079] Step S502: in response to a search operation, obtaining personalized features of an object that triggers the search operation and common attribute features of a plurality of objects to be displayed obtained based on the search operation.

[0080] The search operation includes but is not limited to one or more of a video search operation, a product search operation or a text search operation. Accordingly, the search operation is used to indicate a search for objects such as videos, products or texts. The types of texts include but are not limited to one or more of news, novels, articles or scripts. The objects to be displayed obtained through the search operation include but are not limited to one or more of videos to be displayed, products to be displayed or texts to be displayed. For the convenience of description, the following description is based on the example that the search operation is a video search operation and the object to be displayed is a video to be displayed.

[0081] Among them, personalized features are data features related to user characteristics, and each user's personalized features can be used to reflect the personality differences between other users. Personalized features include, but are not limited to, features extracted based on the search text entered by the user (such as word vectors after word segmentation), or features extracted based on the user's personal information, etc. One or more.

[0082] The general attribute features are data features that are not related to user characteristics, and are usually the data of the video to be displayed obtained by searching. For example, the general attribute features can be obtained by extracting the relevant data of the video to be displayed obtained by searching. The relevant data of the video to be displayed includes but is not limited to one or more of the video title, video duration, video click-through rate, or number of comments.

[0083] When the computer device is a terminal, the user can search for videos through the client installed on the terminal. For example, the user can input the search text through text or voice, and the user triggers the search operation as a trigger video. After the terminal detects the search operation, it responds to the search operation and searches based on the search text input by the search operation to obtain multiple videos to be displayed. Among them, the terminal searches based on the search text input by the search operation to obtain multiple videos to be displayed, including: sending a search request to the server and calling a search service or search engine to search, and receiving multiple videos to be displayed returned by the server. The terminal obtains the personalized characteristics of the user; for multiple videos to be displayed, the terminal obtains the common attribute characteristics of each video to be displayed.

[0084] When the computer device is a server, the server responds to the search request sent by the terminal and searches based on the search text carried in the search request, thereby obtaining multiple videos to be displayed. The search request is used to indicate a search operation based on the search text, and the search request may carry one or more of, for example, the search text or a user ID. The server extracts the common attribute features of each video to be displayed based on the multiple videos to be displayed obtained through the search. The server may obtain the personalized features of the user indicated by the user ID based on the user ID carried in the search request.

[0085] In some embodiments, since the object sorting method based on the search scenario provided in the embodiments of the present application is applied to the fine sorting stage, the computer device can perform feature extraction based on the results obtained in the previous stage (for example, the rough sorting stage) to obtain corresponding personalized features and / or common attribute features, or the computer device can directly obtain the personalized features and / or common attribute features transmitted in the previous stage.

[0086] Step S504: for each of the multiple objects to be displayed, perform feature transformation processing on the common attribute features of the object to be displayed to obtain behavior features corresponding to at least one preset display behavior and scene features corresponding to multiple preset display scenes.

[0087] The computer device performs the same processing on each object to be displayed. The following description takes one of the objects to be displayed as an example. Specifically, for each of the multiple objects to be displayed, the computer device performs feature transformation processing on the common attribute features of the object to be displayed to obtain at least one behavior feature and multiple scene features.

[0088] The feature transformation process refers to performing feature transformation based on the input features to convert one input feature into multiple features for output. During the feature transformation process, the computer device performs one or more operations such as convolution, concat or element-wise product.

[0089] Among them, at least one behavior feature corresponds to at least one preset display behavior. The preset display behavior refers to the behavior of the object to be displayed being triggered to display in the display scene. Taking the object to be displayed as a video to be displayed as an example, the preset display behavior includes but is not limited to one or more of click, play, fast swipe (for example, a playback time of more than 3 seconds is a fast swipe) or completion (for example, a playback time of more than 90% of the total duration is a completion). Correspondingly, the behavior characteristics obtained by the computer device include click behavior characteristics, play behavior characteristics, fast swipe behavior characteristics or completion behavior characteristics. For another example, for the goods to be displayed, the preset display behavior includes but is not limited to one or more of click, add to shopping cart, favorite or purchase. For another example, for the text to be displayed, the preset display behavior includes but is not limited to one or more of click, comment or forward.

[0090] Among them, multiple scene features correspond one-to-one to multiple preset display scenes. In the embodiment of the present application, the preset display scenes include general display scenes and personalized display scenes, and the scene features include scene features corresponding to the general display scenes and scene features corresponding to the personalized display scenes.

[0091] It is easy to understand that the embodiments of the present application combine personalized display scenarios and non-personalized display scenarios, but it does not mean that it is limited to two scenarios. Appropriate adjustments can be made according to actual conditions in specific application scenarios. For example, in addition to the result page (corresponding to the non-personalized display scenario) and the immersive page (personalized display scenario) in the above embodiment, other display scenarios can also be set, and the scene features can also include scene features corresponding to other display scenarios. Those skilled in the art should be aware that, without departing from the inventive concept of the present application, reasonable deformations and appropriate adjustments made to the above examples are within the scope of protection of the present application.

[0092] Step S506: determining, according to the scene features and the behavior features corresponding to the general display scene, first ranking scores of the to-be-displayed objects corresponding to at least one first preset ranking index in the general display scene.

[0093] Among them, for each object to be displayed, the computer device needs to determine its display order in the general display scene and its display order in the personalized display scene. The computer device needs to preset corresponding sorting indicators in the general display scene and the personalized display scene respectively, as a measurement standard for sorting each object to be displayed.

[0094] Among them, the sorting index can be determined according to the type of object. For example, for the video to be displayed, the sorting index can be one or more of the play sub-index, the satisfactory play sub-index or the completion index. Exemplarily, the play sub-index is used to measure the probability of the video being played. The satisfactory play sub-index is used to measure the probability that the video is not fast-swiped (or the probability of the video being fast-swiped is measured by the unsatisfactory play sub-index). The completion index is used to measure the probability that the video is played completely. For another example, for the goods to be displayed, the sorting index can be one or more of the add-to-cart index, the purchase index or the collection index. For another example, for the text to be displayed, the sorting index can be one or more of the comment index, the collection index, the forwarding index, and the like.

[0095] For the purpose of distinction, the sorting index preset in the general display scenario is referred to as the first preset sorting index, and the sorting index preset in the personalized display scenario is referred to as the second preset sorting index.

[0096] The above-mentioned terms, the first preset sorting index and the second preset sorting index described below, are used in this application to describe the sorting indexes preset in different display scenarios, and the first preset sorting index and the second preset sorting index have a corresponding relationship. In some embodiments, the first preset sorting index and the second preset sorting index are both used to describe the same measurement standard. For example, taking the object to be displayed as the video to be displayed as an example, the playback sub-indicator in the general display scenario is the first preset sorting index, and the playback sub-indicator in the personalized display scenario is the second preset sorting index. In other embodiments, the first preset sorting index and the second preset sorting index are different but describe the positive and negative situations of the same measurement standard. For example, a satisfactory playback sub-indicator is set in the general display scenario, and an unsatisfactory playback sub-indicator is set in the personalized display scenario, and so on.

[0097] In some embodiments, at least one first preset sorting index in the general display scene corresponds to at least one preset display behavior. For example, taking the to-be-displayed object as a to-be-displayed video as an example, the play sub-index in the general display scene corresponds to the play behavior in the general display scene, the satisfactory play sub-index corresponds to the fast-swiping behavior, the completion index corresponds to the completion behavior, etc. Similarly, at least one second preset sorting index in the personalized display scene corresponds to at least one preset display behavior.

[0098] Furthermore, based on the correspondence between the behavior characteristics and the preset display behavior, and the correspondence between the preset display behavior and the first preset sorting index, the computer device can determine the correspondence between the behavior characteristics and the first preset sorting index. For example, taking the to-be-displayed object as the to-be-displayed video, the preset display behavior includes, for example, playback behavior, fast-swiping behavior, and end-of-broadcast behavior, and the behavior characteristics corresponding to the preset display behavior include playback behavior characteristics, fast-swiping behavior characteristics, and end-of-broadcast behavior characteristics. The first preset sorting index includes a playback sub-indicator, a satisfactory playback sub-indicator, and an end-of-broadcast index. The computer device determines that the playback behavior characteristics correspond to the playback sub-indicator, the fast-swiping behavior characteristics correspond to the satisfactory playback sub-indicator, and the end-of-broadcast behavior characteristics correspond to the end-of-broadcast index.

[0099] Specifically, for each object to be displayed, the computer device determines the scene feature corresponding to the general display scene of the object to be displayed from multiple scene features, and performs feature processing in combination with the scene feature corresponding to the general display scene and each behavior feature of the object to be displayed, and performs prediction based on the final feature obtained by the feature processing, thereby obtaining a first ranking score of the object to be displayed corresponding to at least one first preset ranking indicator in the general display scene. The feature processing method includes but is not limited to one or more of convolution, fusion or element product.

[0100] Among them, for each first preset sorting indicator, the computer device determines the behavioral feature corresponding to the first preset sorting indicator from each behavioral feature, and performs feature processing based on the determined behavioral feature and the scene feature corresponding to the general display scene, to obtain the final feature corresponding to the first preset sorting indicator, thereby jointly predicting the general display scene and the personalized display scene to obtain the first sorting score corresponding to the first preset sorting indicator.

[0101] In some embodiments, the computer device performs feature processing based on a certain behavior feature and a scene feature corresponding to the general display scene, including: fusing the behavior feature with the scene feature corresponding to the general display scene, and transforming and processing based on the fused feature. For example, the computer device inputs the fused feature into a deep neural network for processing, thereby outputting the final feature. The feature fusion method includes but is not limited to one or more of splicing, superposition, or vector product.

[0102] Step S508: Determine, according to the scene features, behavior features and personal features corresponding to the personalized display scene, a second ranking score of the to-be-displayed object corresponding to at least one second preset ranking indicator in the personalized display scene.

[0103] Similarly, for each object to be displayed, the computer device determines the scene feature corresponding to the personalized display scene of the object to be displayed from multiple scene features, and performs feature processing in combination with the scene feature corresponding to the personalized display scene and the various behavioral features of the object to be displayed, and performs prediction based on the final features obtained by the feature processing, thereby obtaining a second ranking score of the object to be displayed corresponding to at least one second preset ranking index in the personalized display scene. The difference is that for the personalized display scene, the computer device also performs feature processing in combination with the personalized features during the process of performing feature processing in combination with the scene feature corresponding to the personalized display scene and the various behavioral features of the object to be displayed.

[0104] Taking any second preset sorting indicator as an example, the computer device determines the behavioral features corresponding to the second preset sorting indicator from various behavioral features, and performs feature processing based on the determined behavioral features, the scene features corresponding to the personalized display scene, and the personalized features to obtain the final features corresponding to the second preset sorting indicator, thereby jointly predicting the personalized display scene and the general display scene to obtain a second sorting score corresponding to the second preset sorting indicator.

[0105] It should be noted that the ranking score corresponding to the first preset ranking index in the general display scenario is called the first ranking score, and the ranking score corresponding to the second preset ranking index in the personalized display scenario is called the second ranking score, but these ranking scores should not be limited by these terms. These terms are only used to distinguish one ranking score from another ranking score. For example, the first ranking score can be called the second ranking score, and similarly, the second ranking score can be called the first ranking score without departing from the scope of the various described embodiments, but unless the context clearly indicates otherwise, they are not the same ranking score. Similar situations also include the first intermediate feature and the second intermediate feature, etc.

[0106] In some embodiments, the computer device performs feature processing based on a certain behavior feature, a scene feature corresponding to a personalized display scene, and a personalized feature, including: fusing the behavior feature, the scene feature corresponding to a common display scene, and the personalized feature, and transforming and processing based on the fused feature. For example, the computer device inputs the fused feature into a deep neural network for processing, thereby outputting the final feature.

[0107] In other embodiments, the computer device performs feature processing based on a certain behavioral feature, a scene feature corresponding to a personalized display scene, and a personalized feature, including: fusing the behavioral feature with the scene feature corresponding to the general display scene, and inputting the fused feature into a deep neural network for processing, during which weights are adjusted based on the personalized feature, or feature fusion is performed with the personalized feature once or more, thereby outputting the final feature.

[0108] Step S510: Determine the display order of each of the multiple objects to be displayed in the general display scene and the personalized display scene according to at least one first ranking score and at least one second ranking score of each of the multiple objects to be displayed.

[0109] Specifically, for each object to be displayed, the computer device determines the first ranking score of the object to be displayed corresponding to each first preset ranking index, and the second ranking score of the object to be displayed corresponding to each second preset ranking index. Then, the computer device can determine the display order of the object to be displayed in the general display scene and the personalized display scene according to at least one first ranking score and at least one second ranking score.

[0110] In some embodiments, the ranking of objects to be displayed in the general display scene is based on a first ranking score corresponding to a first preset ranking indicator in the general display scene, and the ranking of objects to be displayed in the personalized display scene is based on a second ranking score corresponding to a second preset ranking indicator in the personalized display scene.

[0111] That is, for each object to be displayed, the computer device will score-fuse all the first ranking scores corresponding to the object to be displayed to obtain the fused scores of each object to be displayed. Alternatively, the computer device screens out part of the first ranking scores from the first ranking scores corresponding to the object to be displayed, and performs score fusion based on the screened first ranking scores to obtain the fused scores of each object to be displayed. Furthermore, the computer device sorts the fused scores of each object to be displayed according to the size of the scores, thereby determining the display order corresponding to each object to be displayed in the general display scene. Among them, the score fusion method is usually a numerical operation of multiple ranking scores, including but not limited to one or more of summation, weighted summation or averaging.

[0112] Similarly, for each object to be displayed, the computer device merges all the second ranking scores corresponding to the object to be displayed to obtain the merged score of each object to be displayed. Alternatively, the computer device selects part of the second ranking scores from the second ranking scores corresponding to the object to be displayed, and performs score fusion based on the selected second ranking scores to obtain the merged score of each object to be displayed. Then, the computer device sorts the merged scores of each object to be displayed according to the size of the scores, thereby determining the display order corresponding to each object to be displayed in the personalized display scene.

[0113] Exemplarily, for any object to be displayed, the computer device determines the ranking score s of the object to be displayed corresponding to the i-th ranking index. i , the formula for obtaining the final score through score fusion is as follows:

[0114]

[0115] Among them, S is the set of ranking scores corresponding to each ranking indicator. i and β i is the weight parameter, which can be tuned through heuristic search, random search, grid search, or Bayesian optimization.

[0116] In other embodiments, the ranking of objects to be displayed in the general display scene or the personalized display scene combines a first ranking score corresponding to a first preset ranking indicator in the general display scene and a second ranking score corresponding to a second preset ranking indicator in the personalized display scene.

[0117] That is, for each object to be displayed, the computer device filters out part of the first ranking scores from each first ranking score corresponding to the object to be displayed, and filters out part of the second ranking scores from each second ranking score corresponding to the object to be displayed. Then, the computer device performs score fusion according to the filtered first ranking scores and the filtered second ranking scores to obtain the fused scores of each object to be displayed. Thus, the computer device sorts the fused scores of each object to be displayed according to the size of the scores, thereby determining the corresponding display order of each object to be displayed in the general display scene or the personalized display scene. Among them, the first ranking score or the second ranking score filtered out when sorting the general display scene may be different from the first ranking score or the second ranking score filtered out when sorting the personalized display scene.

[0118] Thus, after obtaining the display order of each object to be displayed in the general display scene and the personalized display scene, the computer device can display each object to be displayed in different display scenes in sequence. For example, when the computer device is a terminal, a list of objects to be displayed in order is displayed in the result page according to the display order of each object to be displayed in the general display scene. Alternatively, in an immersive page, when the user flips to the next object, the computer device displays the next object according to the display order of each object to be displayed in the personalized display scene.

[0119] In the above-mentioned object sorting method based on search scenarios, by responding to a search operation, the personalized features of the triggering object of the search operation are obtained, and the common attribute features of each of the multiple objects to be displayed obtained based on the search operation are obtained. For each object to be displayed, its common attribute features are subjected to feature transformation processing to obtain behavior features corresponding to at least one preset display behavior and scene features corresponding to multiple preset display scenarios, thereby performing joint prediction based on the behavior features and scene features to achieve sorting prediction based on various behaviors in different scenarios; wherein, for the common display scenario, the first sorting score of the object to be displayed corresponding to at least one first preset sorting indicator is determined according to the scene features corresponding to the common display scenario and each behavior feature; For personalized display scenarios, the second ranking scores of the objects to be displayed corresponding to at least one second preset ranking index are determined based on the scenario features, behavioral features and personalized features corresponding to the personalized display scenarios; by considering the respective characteristics in different display scenarios, cross-scenario knowledge transfer can be achieved; and then, based on at least one first ranking score and at least one second ranking score of each object to be displayed, the display order of each object to be displayed in the general display scenario and the personalized display scenario is determined, which can balance the information differences between different display scenarios while fully considering the different display situations in personalized scenarios and non-personalized scenarios, thereby mutually improving the accuracy of the sorting and the personalization effect, and providing a better search experience.

[0120] In some embodiments, a computer device performs feature transformation processing on common attribute features of an object to be displayed to obtain behavior features corresponding to at least one preset display behavior and scene features corresponding to multiple preset display scenes, including: performing an initial feature transformation on the common attribute features of the object to be displayed to obtain initial behavior features and initial scene features; performing a first feature transformation on the initial behavior features to obtain behavior features corresponding to at least one preset display behavior; performing a second feature transformation on the initial scene features to obtain scene features corresponding to a common display scene, and scene features corresponding to a personalized display scene.

[0121] Specifically, for each object to be displayed, the computer device first performs an initial feature transformation on the general attribute features of the object to be displayed to obtain an initial behavior feature and an initial scene feature. The computer device performs a first feature transformation on the initial behavior feature based on at least one preset display behavior to obtain a behavior feature corresponding to each preset display behavior. Similarly, the computer device performs a second feature transformation on the initial scene feature based on multiple preset display scenes to obtain a scene feature corresponding to each display scene.

[0122] Since the preset display scenes in the embodiment of the present application take the general display scene and the personalized display scene as examples, the computer device obtains the scene features corresponding to the general display scene and the scene features corresponding to the personalized display scene by performing a second feature transformation on the initial scene features.

[0123] The initial feature transformation, the first feature transformation and the second feature transformation can be implemented by the same feature transformation processing flow. In some embodiments, the initial feature transformation, the first feature transformation and the second feature transformation are respectively processed by corresponding feature transformation networks, and the network structures of the feature transformation networks are the same but the network parameters are different.

[0124] For example, Figure 6 As shown, the computer device performs an initial feature transformation on the common attribute features of the object to be displayed to obtain an initial behavior feature and an initial scene feature. The computer device then performs a first feature transformation on the initial behavior feature to obtain each behavior feature 1, behavior feature 2...behavior feature N. Each behavior feature corresponds to at least one preset display behavior. For example, behavior feature 1 corresponds to the playback behavior, behavior feature 2 corresponds to the fast swipe behavior, and so on. At the same time, the computer device performs a second feature transformation on the initial scene feature to obtain scene feature 1 and scene feature 2, wherein scene feature 1 corresponds to the general display scene, and scene feature 2 corresponds to the personalized display scene.

[0125] In the above embodiment, the common attribute features are transformed by multi-layer processing, and the behavior features corresponding to various display behaviors are split from the hierarchical structure when multiple preset display behaviors are set, so as to avoid the exponential increase in the amount of data for parallel processing when a large number of preset display behaviors are set, thereby simplifying the structure and improving processing efficiency.

[0126] In some embodiments, a computer device performs a first feature transformation on an initial behavior feature to obtain a behavior feature corresponding to at least one preset display behavior, including: performing multiple feature transformations on the initial behavior feature to obtain multiple first intermediate features; determining a gating weight corresponding to at least one preset display behavior; for each of the at least one preset display behavior, performing feature fusion on the multiple first intermediate features according to the gating weight corresponding to the preset display behavior to obtain a behavior feature corresponding to the preset display behavior.

[0127] Specifically, the computer device performs multiple feature transformations on the initial behavior features in a parallel processing manner to obtain multiple first intermediate features. For these first intermediate features, the computer device needs to fuse them so that the output features correspond to at least one preset display behavior. Then the computer device determines the gating weights corresponding to at least one preset display behavior, and for any preset display behavior, according to the gating weights corresponding to the preset display behavior, the multiple first intermediate features are feature-fused to obtain the behavior features corresponding to the preset display behavior.

[0128] The number of feature transformations performed by the computer device on the initial behavior features and the number of gating weights can be set according to actual conditions.

[0129] In some embodiments, the step of performing a first feature transformation on the initial behavior feature by the computer device is performed and implemented by a feature transformation network, wherein the function of the feature transformation network is to input a feature vector and output multiple feature vectors with the same dimension.

[0130] For example, the internal structure of the feature transformation network (Switcher) based on the MFH (Multi-Faceted Hierarchical, multi-level) multi-task model can be as follows Figure 7 As shown. The feature transformation network includes multiple gate networks (Gate) and expert networks (Expert Deep-Learning Neural Network, Expert DNN). Specifically, each expert network in the feature transformation network transforms and processes the input feature vector through its network structure to generate multiple intermediate vectors. Each gate network determines the gate weight of each expert network according to the input feature vector to determine the gate weight corresponding to each intermediate vector. Finally, the feature transformation network fuses the multiple intermediate vectors according to the gate weights determined by each gate network, and generates several fused feature vectors as the output of the feature transformation network. The number of outputs of the feature transformation network corresponds to at least one preset display behavior, for example, output 1, output 2...output N correspond to preset display behavior 1, preset display behavior 2...preset display behavior N respectively. Among them, the number of expert networks and the number of gate networks in the feature transformation network can be determined according to actual conditions.

[0131] It is easy to understand that the internal structure of the above-mentioned feature transformation network is only an example, and it can be appropriately adjusted according to the actual situation in the specific application scenario. For example, the feature transformation network can also adopt network structures such as Share-Bottom (bottom sharing), MMoE (Multi-gate Mixture-of-Experts), PLE (Progressive Layered Extraction), SNR (Sub-Network Routing) or CGC (Customized Gate Control). Alternatively, the computer device can also replace the DNN in the expert network (Expert DNN) with DeepFM (A Factorization-Machine Based Neural Network For CTR Prediction, a neural network for click-through rate prediction based on a factorization machine), DCN (Deep & Cross Network) or an attention network (Attention Network). Those skilled in the art should be aware that, under the premise of realizing the role of the feature transformation network, reasonable deformation and appropriate adjustments made to the internal structure of the feature transformation network are within the scope of protection of this application.

[0132] In the above embodiment, multiple feature transformations are performed on the initial behavior features to obtain multiple first intermediate features, and then the multiple first intermediate features are fused according to the gating weights corresponding to each preset display behavior to obtain corresponding behavior features. This enables learning the connections between the input features and the various preset display behaviors in the general display scenario, thereby improving the sorting effect.

[0133] In some embodiments, a computer device performs a second feature transformation on an initial scene feature to obtain a scene feature corresponding to a general display scene and a scene feature corresponding to a personalized display scene, including: performing multiple feature transformations on the initial scene feature to obtain multiple second intermediate features; respectively determining a gating weight corresponding to the general display scene and a gating weight corresponding to the personalized display scene; performing feature fusion on the multiple second intermediate features according to the gating weight corresponding to the general display scene to obtain a scene feature corresponding to the general display scene; performing feature fusion on the multiple second intermediate features according to the gating weight corresponding to the personalized display scene to obtain a scene feature corresponding to the personalized display scene.

[0134] Similar to the above embodiment, the computer device performs multiple feature transformations on the initial scene features in a parallel processing manner to obtain multiple second intermediate features. For these second intermediate features, the computer device needs to fuse them so that the output features correspond to multiple preset display scenes. Then the computer device determines the gating weights corresponding to the multiple preset display scenes respectively.

[0135] Since the preset display scenes in the embodiment of the present application include general display scenes and personalized display scenes, the computer device determines the gating weight corresponding to the general display scene and the gating weight corresponding to the personalized display scene respectively.

[0136] Furthermore, the computer device performs feature fusion on the plurality of second intermediate features according to the gating weight corresponding to the general display scene to obtain the scene feature corresponding to the general display scene. Similarly, the computer device performs feature fusion on the plurality of second intermediate features according to the gating weight corresponding to the personalized display scene to obtain the scene feature corresponding to the personalized display scene.

[0137] In some embodiments, the step of performing a second feature transformation on the initial scene features by the computer device is also performed and implemented by a feature transformation network. The feature transformation network used here has the same network structure as the feature transformation network used in the above embodiments, and has different network parameters after training.

[0138] In the above embodiment, multiple feature transformations are performed on the initial scene features to obtain multiple second intermediate features, and the feature fusion steps of the first intermediate features are performed respectively according to the gating weights corresponding to the general display scene and the personalized display scene, thereby obtaining scene features corresponding to the general display scene and scene features corresponding to the personalized display scene, respectively. This makes it possible to learn the connections between the input features and different display scenes, thereby improving the sorting effect.

[0139] In some embodiments, a computer device determines a first ranking score of an object to be displayed in a general display scene corresponding to at least one first preset ranking indicator, based on scene features and behavioral features corresponding to the general display scene, including: for each of the at least one first preset ranking indicator, performing feature fusion on the scene features corresponding to the general display scene and the behavioral features corresponding to the first preset ranking indicator to obtain a first intermediate feature corresponding to the first preset ranking indicator; performing multi-layer feature processing on the first intermediate feature corresponding to the first preset ranking indicator to obtain a first indicator feature corresponding to the first preset ranking indicator; and determining a first ranking score of the object to be displayed in the general display scene corresponding to the first preset ranking indicator based on the first indicator feature corresponding to the first preset ranking indicator.

[0140] Specifically, for each first preset sorting index, the computer device performs feature fusion on the scene feature corresponding to the general display scene and the behavior feature corresponding to the first preset sorting index to obtain a first intermediate feature corresponding to the first preset sorting index. The feature fusion here is, for example, that the computer device splices the scene feature corresponding to the general display scene and the behavior feature corresponding to the first preset sorting index.

[0141] The computer device performs multi-layer feature processing on the first intermediate feature corresponding to the first preset sorting index to obtain the first indicator feature corresponding to the first preset sorting index. The multi-layer feature processing refers to performing multiple feature processing on the feature in sequence, and the result of the previous feature processing output is used as the input of the next feature processing. Exemplarily, the computer device can perform multi-layer feature processing on the first intermediate feature through a multi-layer neural network.

[0142] Furthermore, the computer device determines the first ranking score of the object to be displayed corresponding to the first preset ranking indicator in the general display scenario based on the first indicator feature corresponding to the first preset ranking indicator. Exemplarily, the computer device may convert the first indicator feature through a fully connected layer to obtain the first ranking score. The fully connected layer may be, for example, a FC (Fully Connected Layers) layer or a DL (Dense Layer) layer.

[0143] In the above embodiment, for any first preset sorting indicator, by performing feature fusion on the scene features corresponding to the general display scene and the behavior features corresponding to the first preset sorting indicator, the information differences between different scenes are fully considered and the information between different scenes is balanced; and the first intermediate features corresponding to the first preset sorting indicator are subjected to multi-layer feature processing to obtain the first indicator features corresponding to the first preset sorting indicator, and feature learning is continuously performed through multi-layer feature processing to further highlight the differences between different indicators; finally, based on the first indicator features corresponding to the first preset sorting indicator, the first sorting score of the object to be displayed corresponding to the first preset sorting indicator in the general display scene is determined, thereby achieving a better sorting effect.

[0144] Similarly, in some embodiments, the computer device determines a second ranking score corresponding to at least one second preset ranking indicator for the object to be displayed in the personalized display scene based on the scene features, various behavioral features and personalized features corresponding to the personalized display scene, including: for each of the at least one second preset ranking indicator, performing an initial feature fusion on the scene features corresponding to the personalized display scene, the behavioral features and the personalized features corresponding to the second preset ranking indicator to obtain an initial second intermediate feature; performing a second feature fusion based on the initial second intermediate feature and the personalized feature to obtain a new second intermediate feature; the new second intermediate feature is used as the initial second intermediate feature in the next feature fusion; the second intermediate feature obtained by the last feature fusion is used as the second indicator feature corresponding to the second preset ranking indicator; based on the second indicator feature corresponding to the second preset ranking indicator, determining the second ranking score of the object to be displayed corresponding to the second preset ranking indicator in the personalized display scene.

[0145] Specifically, for each second preset sorting index, the computer device performs initial feature fusion on the scene features corresponding to the personalized display scene, the behavior features corresponding to the second preset sorting index, and the personalized features to obtain an initial second intermediate feature. The computer device performs initial feature fusion on the scene features corresponding to the personalized display scene, the behavior features corresponding to the second preset sorting index, and the personalized features, which can be: the computer device splices the scene features corresponding to the personalized display scene and the behavior features corresponding to the second preset sorting index, and then fuses the spliced ​​features with the personalized features. Based on the initial second intermediate feature, the computer device performs feature fusion with the personalized feature again to obtain a new second intermediate feature; the new second intermediate feature is used as the initial second intermediate feature in the next feature fusion. The number of times of multiple feature fusions with the personalized feature can be determined according to actual conditions.

[0146] Finally, the computer device uses the second intermediate feature obtained by the last feature fusion as the second indicator feature corresponding to the second preset sorting index. Thus, the computer device can determine the second sorting score of the object to be displayed corresponding to the second preset sorting index in the personalized display scene based on the second indicator feature corresponding to the second preset sorting index. Exemplarily, the computer device can convert the second indicator feature through a fully connected layer to obtain the second sorting score.

[0147] In some embodiments, the computer device introduces personalized features through the PPNet (Parameter Personlized Network) structure. The PPNet structure has two parts, including a conventional multi-layer DNN network for forward transmission of information; and a set of gated networks, including multiple gated units, each of which is used to generate the weight of a layer of DNN, and the output of each layer of DNN needs to be adjusted by the gated unit before it can be input into the next layer of DNN. Exemplarily, the DNN used in the embodiment of the present application is an upper tower network (TowerDNN) in a network structure based on the MFH multi-task model, and the input of the gated unit is a feature vector after the fusion of general attribute features and personalized features. By adopting the PPNet structure, the personalized features can be controlled to act only on the personalized display scene. Therefore, when the input is a non-personalized feature, TowerDNN does not use the weight output by the gated unit, that is, it degenerates into an ordinary DNN structure. As a result, the model complexity can be reduced and automatic adjustment of network parameters can be achieved.

[0148] Taking any second preset sorting indicator as an example, illustratively, Figure 8 As shown, the computer device processes the scene features corresponding to the personalized display scene, the behavior features corresponding to the second preset sorting index, and the personalized features through a deep neural network. Among them, the rectangular block filled with oblique lines represents the personalized features, and the deep neural network is illustrated by taking the network structure of three fully connected layers as an example. The computer device first splices the scene features corresponding to the personalized display scene, the behavior features corresponding to the second preset sorting index, and the personalized features to obtain the initial second intermediate features. Then, the computer device inputs the initial second intermediate features into the first fully connected layer for feature processing, and the output of the first fully connected layer is again feature fused with the personalized features to obtain a new second intermediate feature. The computer device then inputs the new second intermediate features into the second fully connected layer for feature processing, and the output of the second fully connected layer is again feature fused with the personalized features to obtain the final second intermediate features. Then the computer device processes the final second intermediate features through the fully connected layer to obtain the second indicator features corresponding to the second preset sorting index. Among them, each time the feature is fused with the personalized features, the weight corresponding to the personalized features used in the feature fusion process is adjusted by the gating unit.

[0149] In the above embodiments, for any second preset sorting indicator, by integrating the scene features corresponding to the personalized display scene, the behavioral features corresponding to the second preset sorting indicator, and the personalized features, the unique features under the personalized display scene are fully considered, and the behavioral features under the general display scene are fully considered, so as to achieve a balance of information between different scenes and improve the sorting effect.

[0150] In actual scenarios, different preset sorting indicators can also have information that can be used for reference. For example, in the scenario where a user searches for a video, the user first needs to click on the video and then watch it. After watching it for a certain length of time, the user can determine whether to fast-forward or whether it has finished playing. In other words, there is a causal relationship between different preset sorting indicators, or one preset sorting indicator may be affected by another preset sorting indicator.

[0151] To this end, in some embodiments, based on the first indicator feature corresponding to the first preset sorting indicator, determining the first sorting score of the object to be displayed corresponding to the first preset sorting indicator in the general display scenario, includes: determining a first target indicator that has an impact on the first preset sorting indicator; the first target indicator includes at least one first preset sorting indicator other than the first preset sorting indicator in the first preset sorting indicator; performing a first feature fusion on the first indicator feature corresponding to the first target indicator and the first indicator feature corresponding to the first preset sorting indicator to obtain a first fused feature corresponding to the first preset sorting indicator; based on the first fused feature corresponding to the first preset sorting indicator, determining the first sorting score of the object to be displayed corresponding to the first preset sorting indicator in the general display scenario.

[0152] Specifically, for any first preset ranking indicator, the computer device determines, based on each other first preset ranking indicator except the first preset ranking indicator, a ranking indicator that has an impact on the first preset ranking indicator as the first target indicator. In other words, the first target indicator includes at least one first preset ranking indicator except the first preset ranking indicator targeted.

[0153] Furthermore, the computer device fuses the features of the influencers and the affected persons according to the influence relationship between each first preset sorting indicator, so as to consider the causal relationship between different behaviors of users in the general display scenario when sorting.

[0154] That is, for any first preset ranking indicator, the computer device performs a first feature fusion on the first indicator feature corresponding to the first target indicator that affects the first preset ranking indicator and the first indicator feature corresponding to the first preset ranking indicator to obtain a first fusion feature corresponding to the first preset ranking indicator. The computer device then determines the first ranking score of the object to be displayed corresponding to the first preset ranking indicator in the general display scenario based on the first fusion feature.

[0155] Taking the to-be-displayed object as a video to be displayed as an example, in a general display scenario, a list consisting of various videos is displayed on a result page. For example, Fig. 9 As shown, the playback sub-indicators in the general display scenario affect the satisfactory playback indicator and the completion indicator respectively. Based on such an influence relationship, for the satisfactory playback indicator, the computer device determines that the first target indicator that affects it is the playback sub-indicator; for the completion indicator, the computer device determines that the first target indicator that affects it is the playback sub-indicator.

[0156] Furthermore, if Fig.10 As shown, the computer device performs a first feature fusion on the playback index feature corresponding to the playback sub-index and the satisfactory playback index feature corresponding to the satisfactory playback index to obtain a first fusion feature corresponding to the satisfactory playback index. The computer device then processes the first fusion feature corresponding to the satisfactory playback index through a fully connected layer to obtain a first ranking score corresponding to the satisfactory playback index of the object to be displayed in the general display scene. Similarly, the computer device performs a first feature fusion on the playback index feature corresponding to the playback sub-index and the completed broadcast index feature corresponding to the completed broadcast index to obtain a first fusion feature corresponding to the completed broadcast index. The computer device then processes the first fusion feature corresponding to the completed broadcast index through a fully connected layer to obtain a first ranking score corresponding to the completed broadcast index of the object to be displayed in the general display scene.

[0157] In the above embodiment, by considering the influence relationship between the first preset sorting indicators, the indicator features are further integrated according to the mutual influence relationship, so that the final features can better reflect the characteristics of the sorting indicators, and simulate the influence relationship between the objects to be displayed based on various user behaviors in the general display scenario, thereby improving the sorting effect.

[0158] Taking the video to be displayed as an example, by considering the influence relationship between the preset sorting indicators, it is possible to fully simulate a series of user behaviors from initiating search, browsing, playing, sliding down, to exiting viewing in the display scenario, so that the sorting is more in line with the behavioral patterns related to the object display, and can provide users with a better experience.

[0159] In some embodiments, the preset display behaviors in the above embodiments are all triggered by triggering display behaviors. Triggering display behaviors include but are not limited to one or more of click, touch, or long press. For example, the user needs to click on the video before entering the playback, and subsequent playback-related behaviors are affected by the click behavior.

[0160] For example, Fig.11 As shown, in the general display scenario, the play sub-indicator, the satisfactory play index and the completion index are all affected by the click index, and the play sub-indicator has an impact on the satisfactory play index and the completion index. Based on such an impact relationship, for the play sub-indicator, the computer device determines that the first target index that affects it is the click index; for the satisfactory play index, the computer device determines that the first target index that affects it is the click index and the play sub-indicator; for the completion index, the computer device determines that the first target index that affects it is the click index and the play sub-indicator.

[0161] To this end, in some embodiments, the first preset ranking indicator in the general display scenario also includes a triggering display behavior indicator, and the triggering display behavior indicator corresponds to the triggering display behavior in the general display scenario. For any first preset ranking indicator, when considering other first preset ranking indicators that have an impact on the first preset ranking indicator, the triggering display behavior indicator can also be taken into account. That is, the first target indicator also includes the triggering display behavior indicator.

[0162] In some embodiments, the computer device performs feature transformation processing according to the general attribute features of the object to be displayed to obtain the behavior features corresponding to the triggering display behavior.

[0163] Among them, the first indicator feature corresponding to the triggering display behavior indicator is obtained by performing multi-layer feature processing on the behavior feature corresponding to the triggering display behavior. That is, the computer device obtains the behavior feature corresponding to the triggering display behavior, and performs multi-layer feature processing on it, so as to obtain the first indicator feature corresponding to the triggering display behavior indicator. Exemplarily, the computer device can perform multi-layer feature processing on the behavior feature corresponding to the triggering display behavior through a multi-layer neural network. For example, the computer device performs multi-layer feature processing based on the behavior feature corresponding to the click behavior to obtain the click indicator feature corresponding to the click indicator.

[0164] Furthermore, if Fig.12 As shown, the computer device performs a first feature fusion on the click indicator feature corresponding to the click indicator and the playback indicator feature corresponding to the playback sub-indicator to obtain a first fused feature corresponding to the playback sub-indicator. The computer device then processes the first fused feature corresponding to the playback sub-indicator through a fully connected layer to obtain a first ranking score corresponding to the playback sub-indicator of the object to be displayed in the general display scene.

[0165] Similarly, the computer device performs a first feature fusion on the click index feature corresponding to the click index, the playback index feature corresponding to the playback sub-index, and the satisfactory playback index feature corresponding to the satisfactory playback index to obtain a first fused feature corresponding to the satisfactory playback index. The computer device then processes the first fused feature corresponding to the satisfactory playback index through a fully connected layer to obtain a first ranking score of the object to be displayed corresponding to the satisfactory playback index in the general display scenario.

[0166] Similarly, the computer device performs a first feature fusion on the click indicator feature corresponding to the click indicator, the playback indicator feature corresponding to the playback sub-indicator, and the completion indicator feature corresponding to the completion indicator to obtain a first fused feature corresponding to the completion indicator. The computer device then processes the first fused feature corresponding to the completion indicator through a fully connected layer to obtain a first ranking score of the object to be displayed corresponding to the completion indicator in the general display scenario.

[0167] In the above embodiment, by considering the influence relationship between different ranking indicators generated by various user behaviors of the object to be displayed in the general display scenario, the final ranking score can better reflect the characteristics of the ranking indicator, can conform to the behavioral patterns related to the object display, and provide a good user experience.

[0168] The personalized display scenario is similar to the general display scenario. In some embodiments, based on the second indicator feature corresponding to the second preset sorting indicator, determining the second sorting score of the object to be displayed corresponding to the second preset sorting indicator in the personalized display scenario includes: determining a second target indicator that has an impact on the second preset sorting indicator; the second target indicator includes at least one second preset sorting indicator other than the second preset sorting indicator; performing feature fusion on the second indicator feature corresponding to the second target indicator and the second indicator feature corresponding to the second preset sorting indicator to obtain a second fusion feature corresponding to the second preset sorting indicator; based on the second fusion feature corresponding to the second preset sorting indicator, determining the second sorting score of the object to be displayed corresponding to the second preset sorting indicator in the personalized display scenario.

[0169] Specifically, for any second preset ranking indicator, the computer device determines, based on each other second preset ranking indicator except the second preset ranking indicator, a ranking indicator that has an impact on the second preset ranking indicator as the second target indicator. In other words, the second target indicator includes at least one second preset ranking indicator except the second preset ranking indicator targeted.

[0170] Furthermore, the computer device fuses the features of the influencers and the affected persons according to the influence relationship between each second preset sorting indicator, so as to consider the causal relationship between different behaviors of users in the personalized display scenario when sorting.

[0171] That is, for any second preset ranking indicator, the computer device performs a second feature fusion on the second indicator feature corresponding to the second target indicator that affects the second preset ranking indicator and the second indicator feature corresponding to the second preset ranking indicator to obtain a second fused feature corresponding to the second preset ranking indicator. The computer device then determines the second ranking score of the object to be displayed corresponding to the second preset ranking indicator in the personalized display scene based on the second fused feature.

[0172] Taking the video to be displayed as an example, the video is displayed to the user through an immersive page in the personalized display scenario, and the user can switch the video viewing by sliding up and down in the immersive page. In some embodiments, in the personalized display scenario, for example, after the user slides up and down, the next object to be displayed is switched to play after the user clicks or touches it. In this case, the personalized display scenario also includes triggering display behavior, and triggering display indicators are set accordingly; the influence relationship between each second preset sorting indicator can refer to the above embodiment.

[0173] In other embodiments, unlike the general display scene, in the personalized display scene, for example, the user slides up and down to switch the object to be displayed, and the display scene is played after the user slides up and down to switch. Therefore, in this case, the triggering display behavior may not be considered in the personalized display scene. Fig.13 As shown, the playback sub-indicators in the personalized display scenario affect the satisfactory playback indicator and the completion indicator respectively. Based on such an influence relationship, for the satisfactory playback indicator, the computer device determines that the second target indicator that affects it is the playback sub-indicator; for the completion indicator, the computer device determines that the second target indicator that affects it is the playback sub-indicator.

[0174] Furthermore, if Fig.14As shown, the computer device performs a second feature fusion on the playback index feature corresponding to the playback sub-index and the satisfactory playback index feature corresponding to the satisfactory playback index to obtain a second fused feature corresponding to the satisfactory playback index. The computer device then processes the second fused feature corresponding to the satisfactory playback index through a fully connected layer to obtain a second ranking score corresponding to the satisfactory playback index of the object to be displayed in the personalized display scene. Similarly, the computer device performs a second feature fusion on the playback index feature corresponding to the playback sub-index and the completed broadcast index feature corresponding to the completed broadcast index to obtain a second fused feature corresponding to the completed broadcast index. The computer device then processes the second fused feature corresponding to the completed broadcast index through a fully connected layer to obtain a second ranking score corresponding to the completed broadcast index of the object to be displayed in the personalized display scene.

[0175] In the above embodiment, by considering the influence relationship between the preset second sorting indicators, the indicator characteristics are further integrated according to the mutual influence relationship, so that the final characteristics can better reflect the characteristics of the sorting indicators, and simulate the influence relationship between the objects to be displayed based on various user behaviors in the personalized display scene, thereby improving the sorting effect.

[0176] In the above embodiment, the computer device can simulate the influence relationship between various indicators through Bayesian causal relationship modeling. Of course, it is not limited to this. The computer device can also automatically model the causal relationship through the Bayesian causal relationship of the directed graph structure, or the information fusion module based on the Attention model or the Transformer (translation model) structure.

[0177] In some embodiments, in combination Fig.11 As shown, combined with the Bayesian formula, the causal relationship between each first preset ranking indicator in the general display scenario is defined as follows:

[0178] P(t clk , t play , t sat , t full |x,H)

[0179] =P(t clk |x,H)P(t play |t clk ,x,H)P(t sat |t play , t clk ,x,H)P(t full |t play , t clk , x, H)

[0180] In some embodiments, in combination Fig.13As shown, the causal relationship between the first preset sorting indicators in the general display scenario is defined as follows:

[0181] P(t play , t sat , t full |x,H)=P(t play |x,H)P(t sat |t play ,x,H)P(t full |t play , x, H)

[0182] Where x is the input behavior feature, and H represents the object ranking model used to predict the ranking scores of the objects to be displayed. clk Indicates the click indicator, t play Indicates the playback index, t sat Indicates satisfactory playback index, t full P(*|x) indicates the predicted probability of the corresponding indicator when the behavior feature x is input to the object sorting model H.

[0183] Generally speaking, click indicators, satisfactory playback indicators and completion indicators are all binary indicators, with a value of 1 if the corresponding behavior exists, and 0 if it does not. Among them, the satisfactory playback indicator can be set to consider a satisfactory playback if the playback time is greater than 3 seconds, otherwise it is an unsatisfactory playback. The completion indicator can be set to consider a playback time of more than 90% of the total time as a completion, otherwise it is an incomplete playback. The playback sub-indicator is a regression indicator, which is usually standardized according to the video length and playback time to obtain a standardized score.

[0184] For example, the definition of each indicator can be as follows:

[0185]

[0186] t play = logNorm(T play )

[0187]

[0188]

[0189] Among them, since the duration of each video varies greatly, some videos are only a few seconds long, while some videos are hundreds of minutes long, so the duration needs to be standardized. In some embodiments, the computer device sorts the videos in the video set according to the duration based on the pre-selected video set, and divides the video set into several buckets by percentile bucketing, each bucket containing multiple videos. The computer device standardizes the video playback duration in each bucket to obtain a playback score.

[0190] Exemplarily, the formula for normalizing the duration of a computer device is as follows:

[0191] logT i =ln(T i +1)

[0192]

[0193] Among them, V is the subset of all videos in the current bucket, T i is the video playback time of the current video, Avg indicates the average value calculated based on all videos in the current bucket, and Std indicates the standard deviation calculated based on all videos in the current bucket.

[0194] In some embodiments, according to at least one first ranking score and at least one second ranking score of each of the multiple objects to be displayed, determining the display order of each of the multiple objects to be displayed in the general display scene and the personalized display scene, respectively, includes: for each of the multiple objects to be displayed, from at least one first ranking score and at least one second ranking score of the object to be displayed, screening out at least one first candidate ranking score of the object to be displayed in the general display scene and at least one second candidate ranking score of the object to be displayed in the personalized display scene; performing score fusion based on the at least one first candidate ranking score of the object to be displayed to obtain a first target ranking score corresponding to the object to be displayed and the general display scene; determining the display order of the object to be displayed in the general display scene according to the first target ranking score; performing score fusion based on the at least one second candidate ranking score of the object to be displayed to obtain a second target ranking score corresponding to the object to be displayed and the personalized display scene; and determining the display order of the object to be displayed in the personalized display scene according to the second target ranking score.

[0195] Specifically, for each of the multiple objects to be displayed, the computer device filters out at least one first candidate ranking score for the object to be displayed in a general display scenario and at least one second candidate ranking score for the object to be displayed in a personalized display scenario from at least one first ranking score and at least one second ranking score for the object to be displayed.

[0196] For example, from the click index, playback sub-indicator, satisfactory playback index, and completion index in the general display scenario, and the playback sub-indicator, satisfactory playback index, and completion index in the personalized display scenario, select the click index, playback sub-indicator in the general display scenario, and the playback sub-indicator in the personalized display scenario as at least one first candidate ranking score for the object to be displayed in the general display scenario, and so on.

[0197] Furthermore, the computer device performs score fusion based on at least one first candidate ranking score of the object to be displayed to obtain a first target ranking score corresponding to the object to be displayed and the general display scene. Thus, the computer device can determine the display order of each object to be displayed in the general display scene according to the first target ranking score corresponding to each object to be displayed.

[0198] Similarly, the computer device performs score fusion based on at least one second candidate ranking score for the object to be displayed to obtain a second target ranking score corresponding to the object to be displayed and the personalized display scene. Thus, the computer device can determine the display order of each object to be displayed in the personalized display scene according to the second target ranking score corresponding to each object to be displayed.

[0199] In the above embodiment, the display order of each object to be displayed in the general display scene and the personalized display scene is determined according to at least one first ranking score and at least one second ranking score of each object to be displayed. This can balance the information differences between different display scenes while fully considering the different display situations in personalized scenes and non-personalized scenes, thereby improving the accuracy of sorting and personalization effects, and providing a better search experience.

[0200] In some embodiments, before the computer device obtains the personalized characteristics of the trigger object of the search operation and the common attribute characteristics of each of the multiple objects to be displayed obtained based on the search operation, the object sorting method based on the search scenario provided by the embodiment of the present application also includes: in response to the search operation, obtaining the search text input by the trigger object of the search operation; searching in the object library based on the search text to obtain at least one object to be displayed.

[0201] Specifically, the computer device obtains the search text input by the trigger object of the search operation in the client in response to the search operation. Then, the computer device can search in the object library based on the input search text by calling a search engine, etc., so as to obtain at least one object to be displayed.

[0202] Recombination Figure 2As shown, the computer device can recall the search in the video library based on the search text entered by the user in the client, and after a rough sorting stage, apply the object sorting method based on the search scenario provided in the embodiment of the present application in the fine sorting stage.

[0203] Furthermore, after the computer device determines the display order of multiple objects to be displayed in the general display scene and the personalized display scene respectively, the object sorting method based on the search scene provided in the embodiment of the present application also includes: displaying each object to be displayed in the general display scene in sequence according to the display order of the multiple objects to be displayed in the general display scene; and displaying each object to be displayed in sequence in the personalized display scene according to the display order of the multiple objects to be displayed in the personalized display scene.

[0204] Specifically, for each object to be displayed obtained by the search, after determining the display order corresponding to each object to be displayed, the computer device sequentially displays each object to be displayed in the general display scene according to the display order of each object to be displayed in the general display scene. Similarly, in the personalized display scene, the computer device sequentially displays each object to be displayed in the personalized display scene according to the display order of each object to be displayed in the personalized display scene.

[0205] In the above embodiment, by responding to the search operation and sorting and displaying the various objects to be displayed obtained based on the search operation, the different display situations in personalized scenarios and non-personalized scenarios are fully considered, thereby providing users with a good search experience.

[0206] In some embodiments, a computer device displays each object to be displayed in the personalized display scene in sequence according to the display order of the multiple objects to be displayed in the personalized display scene, including: in response to an object selection operation on the multiple objects to be displayed displayed by the general display scene, taking the object to be displayed indicated by the object selection operation as the target display object; switching the general display scene to the personalized display scene, and displaying the target display object in the personalized display scene; in response to the object switching operation for the personalized display scene, displaying the next object to be displayed adjacent to the target display object in the personalized display scene according to the display order of the multiple objects to be displayed in the personalized display scene.

[0207] Specifically, after the computer device displays multiple objects to be displayed in the general display scene, the user can browse each object to be displayed by sliding, or can select one of the objects to be displayed for viewing. The computer device detects the object selection operation of the user for any object to be displayed in the general display scene, determines the object to be displayed indicated by the object selection operation, and uses the indicated object to be displayed as the target display object. Then, the computer device switches the general display scene to the personalized display scene, and displays the target display object in the personalized display scene.

[0208] The user can view the target display object in the personalized display scene. When the user wants to switch to the next object to be displayed, the user can exit the personalized display scene and reselect an object to be displayed in the general display scene.

[0209] Alternatively, the user may also switch directly in the personalized display scene. For example, the user performs an operation such as sliding up or sliding down in the personalized display scene. The computer device detects the user's object switching operation in the personalized display scene, and in response to the object switching operation, displays the next object to be displayed that is adjacent to the target display object in the personalized display scene according to the display order of the multiple objects to be displayed in the personalized display scene.

[0210] For example, after the user swipes down, the computer device switches to the first video to be displayed after the target video in the personalized display scene. For another example, after the user swipes up, the computer device switches to the last video to be displayed before the target video in the personalized display scene.

[0211] In the above embodiment, by combining the interactive logic in the personalized display scene and according to the predetermined display order of each object to be displayed, when the user performs different operations, the next object to be displayed is switched to display, thereby providing the user with a good viewing experience.

[0212] In some embodiments, Fig.15 As shown, the computer device performs feature transformation processing on the general attribute features to obtain multiple behavior features and multiple scene features. The behavior features correspond to various display behaviors preset in the general display scene, including behavior feature 1, behavior feature 2... behavior feature N. The scene features correspond to multiple preset display scenes, including scene feature 1 corresponding to the general display scene and scene feature 2 corresponding to the personalized display scene. For the personalized display scene, the computer device also inputs the personalized features to perform feature learning of personalized characteristics.

[0213] Among them, each behavior feature corresponds to a first preset ranking index set based on various display behaviors. That is, the computer device predicts a first ranking score 1 corresponding to the first preset ranking index 1 based on behavior feature 1, predicts a first ranking score 2 corresponding to the first preset ranking index 2 based on behavior feature 2, ..., predicts a first ranking score N corresponding to the first preset ranking index N based on behavior feature N.

[0214] The present application also provides an application scenario, which applies the above-mentioned object sorting method based on the search scenario. Specifically, the application of the object sorting method based on the search scenario in the application scenario is as follows: the computer device responds to the video search operation, obtains the personalized features of the user who triggers the search operation and the common attribute features of the multiple videos to be displayed obtained based on the search operation. For each of the multiple videos to be displayed, the computer device performs feature transformation processing on the common attribute features of the video to be displayed, and obtains behavior features corresponding to at least one preset display behavior, scene features corresponding to the general display scene, and scene features corresponding to the personalized display scene. The computer device determines the first ranking score of the video to be displayed in the general display scene corresponding to at least one first preset sorting index, according to the scene features corresponding to the general display scene and each of the behavior features, and determines the second ranking score of the video to be displayed in the personalized display scene corresponding to at least one second preset sorting index, according to the scene features corresponding to the personalized display scene, each of the behavior features and the personalized features. Furthermore, the computer device determines the display order of each of the multiple videos to be displayed in the general display scenario and the personalized display scenario according to at least one first ranking score and at least one second ranking score of each of the multiple videos to be displayed.

[0215] Of course, it is not limited to this. The above embodiment takes the joint modeling of the general playback scene and the personalized playback scene in the video search scene as an example for explanation, but the present application can also be applied to similar application scenarios that include the combination of personalized display scenes and non-personalized display scenes. For example, "product search + product recommendation", "live broadcast search + live broadcast recommendation" or "news search + news recommendation", etc. The sorting indicators set in different display scenarios can also be changed according to actual business needs. For example, it can also be a predicted completion rate, conversion rate, weighted conversion rate, or replace the standardized playback time with the viewing time after numerical transformation, and define satisfactory playback as the number of playback seconds with different thresholds.

[0216] Taking the to-be-displayed object as a to-be-displayed video as an example, the to-be-displayed video is displayed through a result page (corresponding to a general display scenario) and played through an immersive page (corresponding to a personalized display scenario). Fig.16 As shown, the computer device extracts sparse features (SpareEmbedding) and dense features (Dense Feature) in response to various data generated by the search operation, and splices the sparse features and dense features as general attribute features for subsequent processing. At the same time, the computer device obtains personalized features based on the user's relevant data.

[0217] The computer device processes the general attribute features through a multi-layer feature transformation network to obtain various behavioral features such as the playback sub-vector, fast-stroke vector, and completion vector. These behavioral features correspond to the playback sub-index, satisfactory playback index, and completion index, respectively. At the same time, the computer device processes the general attribute features through a multi-layer feature transformation network and obtains two scene features, the result page vector and the immersion flow vector. In addition, through the underlying feature transformation network, the computer device also obtains an additional click vector, which corresponds to the click index in the result page.

[0218] The computer device performs multi-layer feature processing on each behavior feature through the Tower DNN, and when processing each behavior feature in the result page, simultaneously introduces the result page vector corresponding to the result page for joint processing; and when processing each behavior feature of the immersive page, simultaneously introduces the immersive flow vector corresponding to the immersive page for joint processing, and introduces personalized features in the process of joint processing, and performs feature learning of personalized characteristics through personalized features. Thus, the computer device obtains the indicator features corresponding to each ranking indicator.

[0219] Then, the computer device fuses the indicator features according to the causal relationship between the various ranking indicators, and converts the features into prediction scores through a fully connected layer. Thus, the computer device can determine the display order of each video to be displayed according to the ranking scores corresponding to each ranking indicator.

[0220] In a specific example, the object sorting method based on search scenarios provided in an embodiment of the present application includes the following steps: a computer device responds to a search operation, obtains personalized features of the triggering object of the search operation and common attribute features of multiple objects to be displayed obtained based on the search operation.

[0221] For each of the multiple objects to be displayed, the computer device performs an initial feature transformation on the common attribute features of the object to be displayed to obtain an initial behavior feature and an initial scene feature, and performs multiple feature transformations on the initial behavior feature to obtain multiple first intermediate features. At the same time, the computer device determines the gating weights corresponding to at least one preset display behavior. Thus, for each of the at least one preset display behavior, the computer device performs feature fusion on the multiple first intermediate features according to the gating weight corresponding to the preset display behavior to obtain a behavior feature corresponding to the preset display behavior.

[0222] Similarly, the computer device performs multiple feature transformations on the initial scene features to obtain multiple second intermediate features, and respectively determines the gating weights corresponding to the general display scene and the gating weights corresponding to the personalized display scene. Thus, the computer device performs feature fusion on the multiple second intermediate features according to the gating weights corresponding to the general display scene to obtain the scene features corresponding to the general display scene, and performs feature fusion on the multiple second intermediate features according to the gating weights corresponding to the personalized display scene to obtain the scene features corresponding to the personalized display scene.

[0223] For each of at least one first preset sorting index, the computer device performs feature fusion on the scene feature corresponding to the general display scene and the behavior feature corresponding to the first preset sorting index to obtain the first intermediate feature corresponding to the first preset sorting index. The computer device performs multi-layer feature processing on the first intermediate feature corresponding to the first preset sorting index to obtain the first indicator feature corresponding to the first preset sorting index. The computer device determines the first target index that has an impact on the first preset sorting index, and performs first feature fusion on the first indicator feature corresponding to the first target index and the first indicator feature corresponding to the first preset sorting index to obtain the first fused feature corresponding to the first preset sorting index. Furthermore, based on the first fused feature corresponding to the first preset sorting index, the computer device determines the first ranking score of the object to be displayed in the general display scene corresponding to the first preset sorting index.

[0224] For each of the at least one second preset sorting index, the computer device performs a first feature fusion on the scene feature corresponding to the personalized display scene, the behavior feature corresponding to the second preset sorting index, and the personalized feature to obtain an initial second intermediate feature, and performs a second feature fusion based on the initial second intermediate feature and the personalized feature to obtain a new second intermediate feature. Thus, the computer device uses the second intermediate feature obtained by the last feature fusion as the second index feature corresponding to the second preset sorting index.

[0225] The computer device determines a second target indicator that has an impact on the second preset ranking indicator, and fuses the second indicator feature corresponding to the second target indicator with the second indicator feature corresponding to the second preset ranking indicator to obtain a second fused feature corresponding to the second preset ranking indicator. Furthermore, the computer device determines a second ranking score corresponding to the second preset ranking indicator of the to-be-displayed object in the personalized display scene based on the second fused feature corresponding to the second preset ranking indicator.

[0226] For each of the multiple objects to be displayed, the computer device screens out at least one first candidate ranking score for the object to be displayed in a general display scenario and at least one second candidate ranking score for the object to be displayed in a personalized display scenario from at least one first ranking score and at least one second ranking score for the object to be displayed, and performs score fusion based on the at least one first candidate ranking score for the object to be displayed to obtain a first target ranking score for the object to be displayed corresponding to the general display scenario.

[0227] Thus, the computer device can determine the display order of the objects to be displayed in the general display scene according to the first target ranking score, and perform score fusion based on at least one second candidate ranking score of the objects to be displayed to obtain the second target ranking score corresponding to the objects to be displayed and the personalized display scene.

[0228] Similarly, the computer device determines the display order of the objects to be displayed in the personalized display scene according to the second target ranking score, and displays each object to be displayed in the general display scene in sequence according to the display order of the multiple objects to be displayed in the general display scene, and displays each object to be displayed in sequence in the personalized display scene according to the display order of the multiple objects to be displayed in the personalized display scene.

[0229] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0230] Generally speaking, the videos in general display scenarios and personalized display scenarios come from different business links, and there are large differences in the browsing, clicking, playing, sliding or exiting of videos in different display scenarios. The industry mainly uses multi-task models for cross-scenario modeling, but these multi-task models are only applicable to the same or similar display scenarios. The difference in data between personalized display scenarios and non-personalized display scenarios will increase significantly, making it difficult to conduct joint modeling for training, and it is easy to seesaw or negative transfer. Training personalized display scenarios and non-personalized display scenarios separately is costly and inefficient.

[0231] In view of this, based on the same inventive concept, in some embodiments, the present application also provides a training method for an object sorting model, which can be applied to a terminal or a server, or can be executed collaboratively by a terminal and a server. The following is an example of the method being applied to a computer device, which can be a terminal or a server. Fig.17 As shown, the method comprises the following steps:

[0232] Step 1702 , obtaining sample personalized features of the triggering object of the historical search operation and sample common attribute features of each of the plurality of historical display objects obtained based on the historical search operation.

[0233] The historical search operation is a search operation that occurred at a historical moment. The computer device can obtain various objects obtained based on the historical search operation, that is, the historical display object. Correspondingly, the sample personalized features and sample common attribute features are personalized features and common attribute features used as samples for training.

[0234] For example, for a general display scenario, the computer device may select all videos that have been exposed to the user as training samples. For a personalized display scenario, the computer device may select all videos that have been played as training samples.

[0235] Step 1704 , for each of the multiple historical display objects, perform feature transformation processing on the common attribute features of the historical display object to obtain sample behavior features corresponding to at least one preset display behavior and sample scene features corresponding to multiple preset display scenes.

[0236] The computer device performs the same processing on each historical display object. The following description takes one of the historical display objects as an example. Specifically, for each of the multiple historical display objects, the computer device performs feature transformation processing on the sample common attribute features of the historical display object to obtain at least one sample behavior feature and multiple sample scene features.

[0237] Step 1706: Determine, based on the sample scene features and each sample behavior feature corresponding to the general display scene, a first prediction score of the historical display object corresponding to at least one first preset ranking indicator in the general display scene.

[0238] Specifically, for each historical display object, the computer device determines the sample scene feature corresponding to the general display scene of the historical display object from multiple sample scene features, and performs feature processing in combination with the sample scene feature corresponding to the general display scene and each sample behavior feature of the historical display object, and performs prediction based on the final feature obtained by the feature processing, thereby obtaining the first prediction score of the historical display object corresponding to at least one first preset ranking indicator in the general display scene. The feature processing method includes but is not limited to one or more of convolution, fusion, or element product.

[0239] Step 1708, determining a second prediction score corresponding to at least one second preset sorting index for the historical display object in the personalized display scenario according to the sample scenario characteristics, each sample behavior characteristic and the sample personalized characteristic corresponding to the personalized display scenario.

[0240] Similarly, for each historical display object, the computer device determines the sample scene feature corresponding to the personalized display scene of the historical display object from multiple sample scene features, and performs feature processing in combination with the sample scene feature corresponding to the personalized display scene and each sample behavior feature of the historical display object, and performs prediction based on the final feature obtained by the feature processing, thereby obtaining a second prediction score of the historical display object corresponding to at least one second preset ranking indicator in the personalized display scene. The difference is that for the personalized display scene, the computer device also performs feature processing in combination with the sample personalized feature in the process of performing feature processing in combination with the sample scene feature corresponding to the personalized display scene and each sample behavior feature of the historical display object.

[0241] Step 1710, constructing a loss function based on a first difference between the first predicted score and the first standard score, and a second difference between the second predicted score and the second standard score.

[0242] Specifically, the computer device determines, for each of at least one first preset ranking indicator, a first difference between a first prediction score under the first preset ranking indicator and a first standard score under the first preset ranking indicator. Wherein, when the first preset ranking indicator corresponds to a binary classification task, the first standard score under the first preset ranking indicator is 0 or 1. Wherein 1 represents a positive sample, and 0 represents a negative sample. For example, a video clicked by a user is taken as a positive sample, and a video that has been exposed to the user but not clicked by the user is taken as a negative sample. When the first preset ranking indicator corresponds to a regression task, the first standard score under the first preset ranking indicator is a preset value, for example, it may be a standardized duration score, etc.

[0243] Similarly, the computer device determines, for each of at least one second preset ranking indicator, a second difference between a second predicted score under the second preset ranking indicator and a second standard score under the second preset ranking indicator.

[0244] Furthermore, the computer device constructs a loss function according to a first difference between the first prediction score and the first standard score, and a second difference between the second prediction score and the second standard score. Exemplarily, the computer device constructs a loss function of the model according to the loss functions corresponding to each of the first difference and the second difference.

[0245] Step 1712: Train the object sorting model based on the loss function to obtain a trained object sorting model; the object sorting model is used to sort the multiple objects to be displayed obtained based on the search operation.

[0246] Specifically, the computer device trains the object sorting model according to the constructed loss function. For example, the computer device updates the parameters of the model by back propagation. When the training termination condition is reached, the computer device stops training and obtains the trained object sorting model. Among them, the training termination condition includes but is not limited to one or more of the training time reaching a preset value, the number of training times reaching a preset value, or the loss function satisfying the minimum loss condition. Thus, the computer device can use the object sorting model to sort multiple objects to be displayed obtained based on the search operation.

[0247] It should be noted that when modeling causal relationships, the part of feature fusion based on causal relationships does not participate in back propagation. That is, for each causal relationship chain, the directed edge from the influencing ranking indicator to the affected ranking indicator is implemented as a vector concatenation without back propagation.

[0248] The training method of the above-mentioned object sorting model obtains the sample personalized features of the triggering object of the historical search operation and the sample common attribute features of each of the multiple historical display objects obtained based on the historical search operation, and performs feature transformation processing on the common attribute features of any historical display object to obtain sample behavior features corresponding to at least one preset display behavior and sample scene features corresponding to multiple preset display scenes. In order to realize the joint modeling of personalized display scenes and non-personalized display scenes, on the one hand, according to the sample scene characteristics and each sample behavior characteristics corresponding to the general display scene, the first prediction score of the historical display object corresponding to at least one first preset sorting index in the general display scene is determined; on the other hand, according to the sample scene characteristics, each sample behavior characteristics and sample personalized characteristics corresponding to the personalized display scene, the second prediction score of the historical display object corresponding to at least one second preset sorting index in the personalized display scene is determined, and the information of another display scene is taken into account in different display scenes, so that the information complementarity and balance between different display scenes are realized, and the improvement of the prediction effect can be mutually promoted; finally, based on the first difference between the first prediction score and the first standard score, and the second difference between the second prediction score and the second standard score, a loss function is constructed, and then training is performed based on the loss function, thereby obtaining a trained object sorting model, thereby realizing the joint modeling of different display scenes, and through the feature sharing and joint learning in different display scenes, the generalization ability of the model is greatly improved, and the iteration efficiency of the model is improved, and there is no need to model and train different display scenes separately, thereby reducing the occupation of computer equipment resources. In addition, by completely modeling the behaviors of objects in different display scenarios through preset sorting indicators, we can fully learn the user's behavior patterns and effectively improve the sorting effect.

[0249] In some embodiments, based on a first difference between a first prediction score and a first standard score, and a second difference between a second prediction score and a second standard score, a loss function is constructed, including: for each of at least one first preset ranking indicator, determining a first difference between a first prediction score under the first preset ranking indicator and a first standard score under the first preset ranking indicator, and determining a first indicator loss corresponding to the first preset ranking indicator based on the first difference; for each of at least one second preset ranking indicator, determining a second difference between a second prediction score under the second preset ranking indicator and a second standard score under the second preset ranking indicator, and determining a second indicator loss corresponding to the second preset ranking indicator based on the second difference; and constructing a loss function by combining the first indicator loss corresponding to at least one first preset ranking indicator and the second indicator loss corresponding to at least one second preset ranking indicator.

[0250] Specifically, for each of the at least one first preset ranking indicator, the computer device determines a first difference between a first prediction score under the first preset ranking indicator and a first standard score under the first preset ranking indicator. For example, the computer device uses the difference between the first prediction score and the first standard score as the first difference corresponding to the first preset ranking indicator.

[0251] Similarly, the computer device determines a first indicator loss corresponding to the first preset ranking indicator based on the first difference, and determines a second difference between a second prediction score under the second preset ranking indicator and a second standard score under the second preset ranking indicator.

[0252] Thus, the computer device constructs a first indicator loss corresponding to the corresponding first preset sorting indicator according to the first difference corresponding to each first preset sorting indicator. And, the computer device constructs a second indicator loss corresponding to the corresponding second preset sorting indicator according to the second difference corresponding to each second preset sorting indicator. Exemplarily, when the preset sorting indicator corresponds to a binary classification task, the corresponding indicator loss is a cross entropy loss. When the preset sorting indicator corresponds to a regression task, the corresponding indicator loss is a square error loss, and so on.

[0253] Furthermore, the computer device can construct a loss function by combining the first indicator loss corresponding to at least one first preset ranking indicator and the second indicator loss corresponding to at least one second preset ranking indicator. Exemplarily, the computer device constructs the overall loss of the model based on the weighted sum of the indicator losses of each preset ranking indicator.

[0254] For another example, the computer device constructs the loss in the general display scenario based on the weighted sum of the indicator losses of each first preset ranking indicator in the general display scenario; and constructs the loss in the personalized display scenario based on the weighted sum of the indicator losses of each second preset ranking indicator in the personalized display scenario. Furthermore, the computer device constructs the overall loss of the model based on the weighted sum of the loss in the general display scenario and the loss in the personalized display scenario.

[0255] In the above embodiment, the overall loss is constructed by combining the indicator losses in different scenarios, which fully considers the differences between different scenarios and realizes the joint modeling of different display scenarios. By sharing and learning features in different display scenarios, the generalization ability of the model is greatly improved, and the iteration efficiency of the model is improved. There is no need to model and train different display scenarios separately, which reduces the occupation of computer equipment resources.

[0256] Based on the same inventive concept, the embodiment of the present application also provides a search scene-based object sorting device for implementing the search scene-based object sorting method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the one or more search scene-based object sorting device embodiments provided below can refer to the above limitations on the search scene-based object sorting method, and will not be repeated here.

[0257] In some embodiments, Fig.18 As shown, a search scene-based object sorting device 1800 is provided, comprising: an acquisition module 1801 , a processing module 1802 , a determination module 1803 and a sorting module 1804 .

[0258] in:

[0259] An acquisition module 1801 is used to acquire, in response to a search operation, personalized features of a triggering object of the search operation and common attribute features of each of a plurality of objects to be displayed obtained based on the search operation;

[0260] The processing module 1802 is used to perform feature transformation processing on the common attribute features of each of the multiple objects to be displayed, so as to obtain behavior features corresponding to at least one preset display behavior and scene features corresponding to multiple preset display scenes;

[0261] The determination module 1803 is used to determine, according to the scene characteristics and each behavior characteristic corresponding to the general display scene, a first ranking score of the to-be-displayed object corresponding to at least one first preset ranking indicator in the general display scene;

[0262] The determination module 1803 is further configured to determine, according to the scene features, the behavior features and the personalized features corresponding to the personalized display scene, a second ranking score of the to-be-displayed object corresponding to at least one second preset ranking indicator in the personalized display scene;

[0263] The sorting module 1804 is used to determine the display order of each of the multiple objects to be displayed in the general display scene and the personalized display scene according to at least one first sorting score and at least one second sorting score of each of the multiple objects to be displayed.

[0264] In some embodiments, the processing module is also used to perform an initial feature transformation on the common attribute features of the object to be displayed to obtain initial behavior features and initial scene features; perform a first feature transformation on the initial behavior features to obtain behavior features corresponding to at least one preset display behavior; perform a second feature transformation on the initial scene features to obtain scene features corresponding to the common display scene, and scene features corresponding to the personalized display scene.

[0265] In some embodiments, the processing module is also used to perform multiple feature transformations on the initial behavior features to obtain multiple first intermediate features; determine the gating weights corresponding to at least one preset display behavior; for each of the at least one preset display behavior, according to the gating weight corresponding to the preset display behavior, perform feature fusion on the multiple first intermediate features to obtain the behavior features corresponding to the preset display behavior.

[0266] In some embodiments, the processing module is also used to perform multiple feature transformations on the initial scene features to obtain multiple second intermediate features; respectively determine the gating weights corresponding to the general display scene and the gating weights corresponding to the personalized display scene; perform feature fusion on the multiple second intermediate features according to the gating weights corresponding to the general display scene to obtain scene features corresponding to the general display scene; perform feature fusion on the multiple second intermediate features according to the gating weights corresponding to the personalized display scene to obtain scene features corresponding to the personalized display scene.

[0267] In some embodiments, at least one preset display behavior corresponds to at least one first preset sorting indicator in the general display scene. The determination module is also used to perform feature fusion on the scene feature corresponding to the general display scene and the behavior feature corresponding to the first preset sorting indicator for each of the at least one first preset sorting indicator to obtain a first intermediate feature corresponding to the first preset sorting indicator; perform multi-layer feature processing on the first intermediate feature corresponding to the first preset sorting indicator to obtain a first indicator feature corresponding to the first preset sorting indicator; based on the first indicator feature corresponding to the first preset sorting indicator, determine the first sorting score of the object to be displayed in the general display scene corresponding to the first preset sorting indicator.

[0268] In some embodiments, the determination module is also used to determine a first target indicator that has an impact on the first preset sorting indicator; the first target indicator includes at least one first preset sorting indicator other than the first preset sorting indicator; the first indicator feature corresponding to the first target indicator and the first indicator feature corresponding to the first preset sorting indicator are fused with the first feature to obtain the first fused feature corresponding to the first preset sorting indicator; based on the first fused feature corresponding to the first preset sorting indicator, determine the first ranking score of the object to be displayed in the general display scenario corresponding to the first preset sorting indicator.

[0269] In some embodiments, the first target indicator also includes a triggering display behavior indicator, which corresponds to the triggering display behavior in the general display scenario; the first indicator feature corresponding to the triggering display behavior indicator is obtained by performing multi-layer feature processing on the behavior feature corresponding to the triggering display behavior by the processing module.

[0270] In some embodiments, at least one preset display behavior corresponds to at least one second preset sorting index in the personalized display scene. The determination module is also used to perform initial feature fusion on the scene feature corresponding to the personalized display scene, the behavior feature corresponding to the second preset sorting index, and the personalized feature for each of the at least one second preset sorting index to obtain an initial second intermediate feature; perform feature fusion again based on the initial second intermediate feature and the personalized feature to obtain a new second intermediate feature; the new second intermediate feature is used as the initial second intermediate feature in the next feature fusion; the second intermediate feature obtained by the last feature fusion is used as the second indicator feature corresponding to the second preset sorting index; based on the second indicator feature corresponding to the second preset sorting index, determine the second sorting score of the object to be displayed corresponding to the second preset sorting index in the personalized display scene.

[0271] In some embodiments, the determination module is also used to determine a second target indicator that has an impact on a second preset sorting indicator; the second target indicator includes at least one second preset sorting indicator other than the second preset sorting indicator; the second indicator feature corresponding to the second target indicator and the second indicator feature corresponding to the second preset sorting indicator are feature fused to obtain a second fused feature corresponding to the second preset sorting indicator; based on the second fused feature corresponding to the second preset sorting indicator, determine a second ranking score corresponding to the second preset sorting indicator for the object to be displayed in the personalized display scene.

[0272] In some embodiments, the sorting module is further used to screen out, for each of a plurality of objects to be displayed, at least one first candidate sorting score for the object to be displayed in a general display scenario and at least one second candidate sorting score for the object to be displayed in a personalized display scenario from at least one first sorting score and at least one second sorting score for the object to be displayed; perform score fusion based on at least one first candidate sorting score for the object to be displayed to obtain a first target sorting score for the object to be displayed corresponding to the general display scenario; determine a display order for the object to be displayed in the general display scenario according to the first target sorting score; perform score fusion based on at least one second candidate sorting score for the object to be displayed to obtain a second target sorting score for the object to be displayed corresponding to the personalized display scenario; determine a display order for the object to be displayed in the personalized display scenario according to the second target sorting score.

[0273] In some embodiments, the above-mentioned device also includes a search module, which is used to obtain the search text input by the trigger object of the search operation in response to the search operation; search in the object library based on the search text to obtain at least one object to be displayed.

[0274] In some embodiments, the above-mentioned device also includes a display module, which is used to display each object to be displayed in the general display scene in sequence according to the display order of the multiple objects to be displayed in the general display scene; and to display each object to be displayed in sequence in the personalized display scene according to the display order of the multiple objects to be displayed in the personalized display scene.

[0275] In some embodiments, the display module is also used to respond to an object selection operation on multiple objects to be displayed displayed in a general display scene, and use the object to be displayed indicated by the object selection operation as a target display object; switch the general display scene to a personalized display scene, and display the target display object in the personalized display scene; in response to the object switching operation on the personalized display scene, display the next object to be displayed adjacent to the target display object in the personalized display scene according to the display order of the multiple objects to be displayed in the personalized display scene.

[0276] Each module in the above-mentioned object sorting device based on search scenes can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.

[0277] Based on the same inventive concept, the embodiment of the present application also provides a training device for an object sorting model for implementing the training method for the object sorting model involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of the training device for one or more object sorting models provided below can refer to the limitations of the training method for the object sorting model above, and will not be repeated here.

[0278] In some embodiments, Fig.19 As shown, a training device 1900 for an object sorting model is provided, comprising: an acquisition module 1901, a processing module 1902, a prediction module 1903, a loss module 1904 and a training module 1905. Among them:

[0279] The acquisition module 1901 is used to acquire sample personalized features of the triggering object of the historical search operation and sample common attribute features of each of the multiple historical display objects obtained based on the historical search operation.

[0280] The processing module 1902 is used to perform feature transformation processing on the common attribute features of each of the multiple historical display objects to obtain sample behavior features corresponding to at least one preset display behavior and sample scene features corresponding to multiple preset display scenes.

[0281] The prediction module 1903 is used to determine a first prediction score corresponding to at least one first preset ranking indicator in the general display scene for the historical display object according to the sample scene characteristics and each sample behavior characteristic corresponding to the general display scene.

[0282] The prediction module 1903 is also used to determine a second prediction score corresponding to at least one second preset sorting indicator for the historical display object in the personalized display scene according to the sample scene characteristics, each sample behavior characteristic and the sample personalized characteristics corresponding to the personalized display scene.

[0283] The loss module 1904 is used to construct a loss function based on a first difference between the first predicted score and the first standard score, and a second difference between the second predicted score and the second standard score.

[0284] The training module 1905 is used to train the object sorting model based on the loss function to obtain a trained object sorting model; the object sorting model is used to sort multiple objects to be displayed obtained based on the search operation.

[0285] In some embodiments, the loss module is also used to determine, for each of at least one first preset ranking indicator, a first difference between a first prediction score under the first preset ranking indicator and a first standard score under the first preset ranking indicator, and determine the first indicator loss corresponding to the first preset ranking indicator based on the first difference; for each of at least one second preset ranking indicator, determine a second difference between a second prediction score under the second preset ranking indicator and a second standard score under the second preset ranking indicator, and determine the second indicator loss corresponding to the second preset ranking indicator based on the second difference; and construct a loss function by combining the first indicator loss corresponding to at least one first preset ranking indicator and the second indicator loss corresponding to at least one second preset ranking indicator.

[0286] Each module in the training device of the above-mentioned object sorting model can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.

[0287] In some embodiments, a computer device is provided, which may be a terminal or a server. The following description takes the computer device as a server as an example, and its internal structure diagram may be as follows: Fig. 20 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store video data or feature data, etc. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for sorting objects based on a search scene or a method for training an object sorting model is implemented.

[0288] Those skilled in the art will understand that Fig. 20The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0289] In some embodiments, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.

[0290] In some embodiments, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0291] In some embodiments, a computer program product is provided, including a computer program, which implements the steps in the above-mentioned method embodiments when executed by a processor.

[0292] It should be noted that the user information (including but not limited to user personalized information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0293] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0294] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0295] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for sorting objects based on a search scenario, characterized in that: The method comprises: In response to a search operation, obtaining personalized features of an object that triggers the search operation and common attribute features of each of a plurality of objects to be displayed obtained based on the search operation; For each of the multiple objects to be displayed, performing feature transformation processing on the common attribute features of the targeted object to be displayed to obtain behavior features corresponding to at least one preset display behavior and scene features corresponding to multiple preset display scenes; Determining, according to the scene feature corresponding to the general display scene and each of the behavior features, a first ranking score of the targeted to-be-displayed object corresponding to at least one first preset ranking indicator in the general display scene; Determine, according to the scene feature corresponding to the personalized display scene, each of the behavior features and the personalized feature, a second ranking score of the targeted to-be-displayed object corresponding to at least one second preset ranking indicator in the personalized display scene; According to at least one first ranking score and at least one second ranking score of each of the multiple objects to be displayed, a display order of each of the multiple objects to be displayed in the general display scene and the personalized display scene is determined.

2. The method according to claim 1, characterized in that The step of performing feature transformation processing on the common attribute features of the target object to be displayed to obtain behavior features corresponding to at least one preset display behavior and scene features corresponding to multiple preset display scenes includes: Performing initial feature transformation on the common attribute features of the object to be displayed to obtain initial behavior features and initial scene features; Performing a first feature transformation on the initial behavior feature to obtain behavior features corresponding to at least one preset display behavior; A second feature transformation is performed on the initial scene feature to obtain a scene feature corresponding to a general display scene and a scene feature corresponding to a personalized display scene.

3. The method according to claim 2, characterized in that The performing a first feature transformation on the initial behavior feature to obtain behavior features corresponding to at least one preset display behavior includes: Performing multiple feature transformations on the initial behavior feature to obtain multiple first intermediate features; Determining a gating weight corresponding to each of the at least one preset display behavior; For each of the at least one preset display behavior, the plurality of first intermediate features are feature fused according to a gating weight corresponding to the preset display behavior to obtain a behavior feature corresponding to the preset display behavior.

4. The method according to claim 2, characterized in that: The performing a second feature transformation on the initial scene feature to obtain a scene feature corresponding to a general display scene and a scene feature corresponding to a personalized display scene includes: Performing multiple feature transformations on the initial scene features to obtain multiple second intermediate features; respectively determining a gating weight corresponding to the general display scenario and a gating weight corresponding to the personalized display scenario; According to the gating weight corresponding to the general display scene, the plurality of second intermediate features are subjected to feature fusion to obtain a scene feature corresponding to the general display scene; According to the gating weight corresponding to the personalized display scene, the multiple second intermediate features are feature fused to obtain a scene feature corresponding to the personalized display scene.

5. The method according to claim 1, characterized in that The at least one preset display behavior corresponds to at least one first preset ranking index in the general display scene respectively; the determining, according to the scene feature corresponding to the general display scene and each of the behavior features, a first ranking score of the targeted object to be displayed corresponding to the at least one first preset ranking index in the general display scene respectively comprises: For each of the at least one first preset sorting indicator, a scene feature corresponding to the general display scene and a behavior feature corresponding to the first preset sorting indicator are subjected to feature fusion to obtain a first intermediate feature corresponding to the first preset sorting indicator; Performing multi-layer feature processing on the first intermediate feature corresponding to the first preset sorting index to obtain a first index feature corresponding to the first preset sorting index; Based on a first indicator feature corresponding to the targeted first preset sorting indicator, a first sorting score of the targeted object to be displayed corresponding to the targeted first preset sorting indicator in the general display scenario is determined.

6. The method according to claim 5, characterized in that The determining, based on the first indicator feature corresponding to the targeted first preset sorting indicator, a first sorting score of the targeted object to be displayed corresponding to the targeted first preset sorting indicator in the general display scenario includes: Determine a first target indicator that has an impact on the targeted first preset ranking indicator; the first target indicator includes a first preset ranking indicator other than the targeted first preset ranking indicator among the at least one first preset ranking indicator; Performing a first feature fusion on the first indicator feature corresponding to the first target indicator and the first indicator feature corresponding to the first preset ranking indicator, so as to obtain a first fused feature corresponding to the first preset ranking indicator; Based on the first fusion feature corresponding to the targeted first preset sorting index, a first sorting score of the targeted object to be displayed in the general display scene corresponding to the targeted first preset sorting index is determined.

7. The method according to claim 6, characterized in that The first target indicator also includes a triggering display behavior indicator, which corresponds to the triggering display behavior in the general display scenario; the first indicator feature corresponding to the triggering display behavior indicator is obtained by performing multi-layer feature processing on the behavior feature corresponding to the triggering display behavior.

8. The method according to claim 1, characterized in that The at least one preset display behavior corresponds to at least one second preset ranking indicator in the personalized display scene respectively; the determining, according to the scene feature corresponding to the personalized display scene, each of the behavior features and the personalized feature, a second ranking score of the targeted object to be displayed corresponding to the at least one second preset ranking indicator in the personalized display scene respectively, comprises: For each of the at least one second preset sorting index, a scene feature corresponding to the personalized display scene, a behavior feature corresponding to the second preset sorting index, and the personalized feature are initially fused to obtain an initial second intermediate feature; Based on the initial second intermediate feature and the personalized feature, feature fusion is performed again to obtain a new second intermediate feature; the new second intermediate feature is used as the initial second intermediate feature in the next feature fusion; Using the second intermediate feature obtained by the last feature fusion as the second index feature corresponding to the second preset sorting index; Based on a second indicator feature corresponding to the targeted second preset sorting indicator, a second sorting score of the targeted object to be displayed corresponding to the targeted second preset sorting indicator in the personalized display scene is determined.

9. The method according to claim 8, characterized in that The determining, based on the second indicator feature corresponding to the targeted second preset sorting indicator, a second sorting score of the targeted object to be displayed corresponding to the targeted second preset sorting indicator in the personalized display scene includes: Determine a second target indicator that has an impact on the second preset ranking indicator; the second target indicator includes a second preset ranking indicator other than the second preset ranking indicator in the at least one second preset ranking indicator; Fusing the second indicator feature corresponding to the second target indicator and the second indicator feature corresponding to the second preset ranking indicator to obtain a second fused feature corresponding to the second preset ranking indicator; Based on the second fusion feature corresponding to the targeted second preset sorting index, a second sorting score of the targeted object to be displayed corresponding to the targeted second preset sorting index in the personalized display scene is determined.

10. The method according to claim 1, characterized in that The determining, according to at least one first ranking score and at least one second ranking score of each of the plurality of objects to be displayed, a display order of each of the plurality of objects to be displayed in the general display scene and the personalized display scene, respectively, comprises: For each of the multiple objects to be displayed, screening out, from at least one first ranking score and at least one second ranking score of the targeted object to be displayed, at least one first candidate ranking score of the targeted object to be displayed in the general display scenario and at least one second candidate ranking score of the targeted object to be displayed in the personalized display scenario; Performing score fusion based on at least one first candidate ranking score of the targeted object to be displayed to obtain a first target ranking score corresponding to the targeted object to be displayed and the general display scenario; Determining, according to the first target ranking score, a display order of the targeted objects to be displayed in the general display scene; Performing score fusion based on at least one second candidate ranking score of the object to be displayed, to obtain a second target ranking score corresponding to the object to be displayed and the personalized display scenario; According to the second target ranking score, a display order of the targeted objects to be displayed in the personalized display scene is determined.

11. The method according to claim 1, characterized in that: Before obtaining the personalized features of the triggering object of the search operation and the common attribute features of each of the plurality of objects to be displayed obtained based on the search operation, the method further includes: In response to the search operation, obtaining a search text input by a triggering object of the search operation; Searching in the object library based on the search text to obtain at least one object to be displayed; After determining the display order of each of the plurality of objects to be displayed in the general display scene and the personalized display scene, the method further includes: Displaying each object to be displayed in the general display scene in sequence according to the display order of the multiple objects to be displayed in the general display scene; According to the display order of the multiple objects to be displayed in the personalized display scene, each object to be displayed is displayed in sequence in the personalized display scene.

12. The method according to claim 10, characterized in that The step of sequentially displaying the objects to be displayed in the personalized display scene according to the display order of the multiple objects to be displayed in the personalized display scene includes: In response to an object selection operation on a plurality of objects to be displayed displayed in the general display scene, taking the object to be displayed indicated by the object selection operation as a target display object; Switching the general display scene to the personalized display scene, and displaying the target display object in the personalized display scene; In response to the object switching operation for the personalized display scene, the next object to be displayed that is adjacent to the target display object is displayed in the personalized display scene according to the display order of the multiple objects to be displayed in the personalized display scene.

13. The method according to any one of claims 1 to 12, characterized in that The search operation includes at least one of a video search operation, a product search operation or a text search operation; the object to be displayed includes at least one of a video to be displayed, a product to be displayed or a text to be displayed.

14. A method for training an object sorting model, characterized in that: The method comprises: Acquire sample personalized features of a triggering object of a historical search operation and sample universal attribute features of each of a plurality of historical display objects obtained based on the historical search operation; For each of the plurality of historical display objects, performing feature transformation processing on the common attribute features of the historical display object to obtain sample behavior features corresponding to at least one preset display behavior and sample scene features corresponding to a plurality of preset display scenes; Determine, according to the sample scene feature corresponding to the general display scene and each of the sample behavior features, a first prediction score of the historical display object corresponding to at least one first preset ranking indicator in the general display scene; Determine, according to the sample scene feature corresponding to the personalized display scene, each of the sample behavior features and the sample personalized feature, a second prediction score of the historical display object corresponding to at least one second preset ranking indicator in the personalized display scene; constructing a loss function based on a first difference between the first predicted score and the first standard score, and a second difference between the second predicted score and the second standard score; The object sorting model is trained based on the loss function to obtain a trained object sorting model; the object sorting model is used to sort multiple objects to be displayed obtained based on the search operation.

15. The method according to claim 14, characterized in that The constructing a loss function based on a first difference between the first predicted score and the first standard score, and a second difference between the second predicted score and the second standard score, comprises: For each of at least one first preset ranking indicator, determining a first difference between a first prediction score under the first preset ranking indicator and a first standard score under the first preset ranking indicator, and determining a first indicator loss corresponding to the first preset ranking indicator according to the first difference; For each of at least one second preset ranking indicator, determining a second difference between a second predicted score under the second preset ranking indicator and a second standard score under the second preset ranking indicator, and determining a second indicator loss corresponding to the second preset ranking indicator according to the second difference; A loss function is constructed by combining first indicator losses respectively corresponding to the at least one first preset sorting indicator and second indicator losses respectively corresponding to the at least one second preset sorting indicator.

16. An object sorting device based on a search scenario, characterized in that: The device comprises: An acquisition module, configured to acquire, in response to a search operation, personalized features of an object that triggers the search operation and common attribute features of each of a plurality of objects to be displayed obtained based on the search operation; A processing module, configured to perform feature transformation processing on the common attribute features of each of the plurality of objects to be displayed, so as to obtain behavior features corresponding to at least one preset display behavior and scene features corresponding to a plurality of preset display scenes; A determination module, configured to determine, according to a scene feature corresponding to a common display scene and each of the behavior features, a first ranking score of the targeted object to be displayed corresponding to at least one first preset ranking indicator in the common display scene; The determination module is further configured to determine, based on the scene feature corresponding to the personalized display scene, each of the behavior features and the personalized feature, a second ranking score of the targeted object to be displayed corresponding to at least one second preset ranking indicator in the personalized display scene; The sorting module is used to determine the display order of each of the multiple objects to be displayed in the general display scene and the personalized display scene according to at least one first sorting score and at least one second sorting score of each of the multiple objects to be displayed.

17. A training device for an object sorting model, characterized in that: The device comprises: An acquisition module, used to acquire sample personalized features of a triggering object of a historical search operation and sample common attribute features of each of a plurality of historical display objects obtained based on the historical search operation; a processing module, configured to perform feature transformation processing on the common attribute features of each of the plurality of historical display objects, so as to obtain sample behavior features corresponding to at least one preset display behavior and sample scene features corresponding to a plurality of preset display scenes; A prediction module, configured to determine, based on sample scene features corresponding to the general display scene and each of the sample behavior features, a first prediction score of the historical display object corresponding to at least one first preset ranking indicator in the general display scene; The prediction module is further used to determine, based on the sample scene feature corresponding to the personalized display scene, each of the sample behavior features and the sample personalized feature, a second prediction score of the historical display object corresponding to at least one second preset ranking indicator in the personalized display scene; a loss module for constructing a loss function based on a first difference between the first predicted score and the first standard score and a second difference between the second predicted score and the second standard score; A training module is used to train the object sorting model based on the loss function to obtain a trained object sorting model; the object sorting model is used to sort multiple objects to be displayed obtained based on the search operation.

18. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 15 are implemented.

19. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 15 are implemented.

20. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 15 are implemented.