Object sorting and model training method and device, equipment, medium and product
The navigation routes are sorted through a multi-scenario unified model, which solves the problem that the routes recommended by the navigation server are not suitable for the current scene, and achieves personalized route recommendations and higher route planning accuracy.
Patent Information
- Application Number
- CN202310365377.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2024-10-15
AI Technical Summary
When existing navigation servers recommend routes for users, differences in sorting environments lead to the recommended first route not being suitable for the current scenario, making it impossible to achieve personalized and most appropriate route recommendations.
A multi-scenario unified model is used to sort recommended objects, and the main evaluation results of the object ranking sequence are obtained through collaborative prediction through the shared network and scene sub-networks, and the recommended routes are reordered based on the evaluation results so that the most suitable route is ranked first.
It achieves personalized recommendation of the most appropriate first route for users in the current scenario, improves the accuracy of route planning and user experience, and model training is fast and simple, and maintenance is easy.
Smart Images

Figure CN118779509A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of navigation technology, and in particular to an object sorting and model training method, device, equipment, medium and product thereof. Background Art
[0002] With the increasing popularity and rapid development of intelligent transportation systems, the application of map navigation services in intelligent transportation systems is becoming more and more extensive and in-depth, and the personalized demand for map navigation services is also increasing. Recommending driving routes to users is one of the personalized demands of map navigation services.
[0003] In the prior art, when a navigation server recommends a route for a user, it will roughly sort and finely sort a large number of recalled routes, and then obtain three recommended routes and send them to the user. A large number of users will choose the first recommended route for navigation. In this way, it is critical which route is ranked first. However, the ranking of the three routes recommended by the navigation server for the user is obtained by finely sorting the large number of recalled routes, and the user chooses a navigation route from these three recommended routes. The large number of finely sorted routes are different from the three routes actually seen by the user. This difference in sorting environment will result in the first recommended route of the three recommended routes sent by the navigation server may not be the most suitable route among the three recommended routes for the current scenario. Therefore, personalized recommendation of the most suitable first route for the user in the current scenario has become a technical problem that needs to be solved urgently. Summary of the invention
[0004] In order to solve the problems in the related art, the embodiments of the present disclosure provide a method, device, equipment, medium and product for object sorting and model training thereof.
[0005] In a first aspect, an object sorting method is provided in an embodiment of the present disclosure.
[0006] Specifically, the object sorting method includes:
[0007] Sorting a predetermined number of recommended objects to obtain a plurality of object sorting sequences;
[0008] For any object sorting sequence, acquiring feature data corresponding to the object sorting sequence, wherein the feature data corresponding to the object sorting sequence includes a scene identifier, recommended object feature data, and user feature data corresponding to the object sorting sequence;
[0009] Inputting feature data corresponding to the object sorting sequence into a pre-trained multi-scenario unified model, executing the multi-scenario unified model, and obtaining a main evaluation result of the object sorting sequence output by the multi-scenario unified model, wherein the multi-scenario unified model includes a shared network and multiple scene sub-networks, different scene sub-networks correspond to different scene identifiers one by one, and the main evaluation result is collaboratively predicted by the shared network and the scene sub-network identified by the scene identifier corresponding to the object sorting sequence;
[0010] The ranking of the recommended objects is determined according to the main evaluation results of the multiple object ranking sequences.
[0011] In a second aspect, an embodiment of the present disclosure provides an object sorting model training method, which includes:
[0012] Acquire training sample data, wherein the training sample data includes feature data and label results corresponding to the training sample object sorting sequence; the feature data corresponding to the training sample object sorting sequence includes scene identification, recommended object feature data and user feature data corresponding to the training sample object sorting sequence;
[0013] An object sorting model is obtained by training using the training sample data, wherein the object sorting model includes a multi-scene unified model, and the multi-scene unified model is used to determine a main evaluation result of the object sorting sequence according to feature data corresponding to the object sorting sequence, and the multi-scene unified model includes a shared network and multiple scene sub-networks, different scene sub-networks correspond one-to-one to different scene identifiers, and the main evaluation result is collaboratively predicted by the shared network and the scene sub-network identified by the scene identifier of the object sorting sequence.
[0014] In a third aspect, an object sorting device is provided in an embodiment of the present disclosure.
[0015] Specifically, the object sorting device comprises:
[0016] A sorting module is configured to sort a predetermined number of recommended objects to obtain a plurality of object sorting sequences;
[0017] A feature acquisition module is configured to acquire feature data corresponding to any object sorting sequence, wherein the feature data corresponding to the object sorting sequence includes a scene identifier, recommended object feature data and user feature data corresponding to the object sorting sequence;
[0018] A main evaluation module is configured to input feature data corresponding to the object sorting sequence into a pre-trained multi-scenario unified model, execute the multi-scenario unified model, and obtain a main evaluation result of the object sorting sequence output by the multi-scenario unified model, wherein the multi-scenario unified model includes a shared network and multiple scene sub-networks, different scene sub-networks correspond to different scene identifiers one by one, and the main evaluation result is collaboratively predicted by the shared network and the scene sub-network identified by the scene identifier corresponding to the object sorting sequence;
[0019] The ranking determination module is configured to determine the ranking of the recommended objects according to the main evaluation results of the plurality of object ranking sequences.
[0020] In a fourth aspect, an object sorting device is provided in an embodiment of the present disclosure, comprising:
[0021] The sample acquisition module is configured to acquire training sample data, wherein the training sample data includes feature data and label results corresponding to the training sample object sorting sequence; the feature data corresponding to the training sample object sorting sequence includes scene identification, recommended object feature data and user feature data corresponding to the training sample object sorting sequence;
[0022] A model training module is configured to use the training sample data to train an object sorting model, wherein the object sorting model includes a multi-scene unified model, and the multi-scene unified model is used to determine the main evaluation result of the object sorting sequence according to the feature data corresponding to the object sorting sequence. The multi-scene unified model includes a shared network and multiple scene sub-networks, different scene sub-networks correspond to different scene identifiers one by one, and the main evaluation result is collaboratively predicted by the shared network and the scene sub-network identified by the scene identifier of the object sorting sequence.
[0023] In a fifth aspect, an embodiment of the present disclosure provides an electronic device, comprising a memory and a processor, wherein the memory is used to store one or more computer instructions, and wherein the one or more computer instructions are executed by the processor to implement a method as described in any one of the first aspect or the second aspect.
[0024] In a sixth aspect, a computer-readable storage medium is provided in an embodiment of the present disclosure, on which computer instructions are stored. When the computer instructions are executed by a processor, a method as described in any one of the first aspect or the second aspect is implemented.
[0025] In a seventh aspect, a computer program product is provided in an embodiment of the present disclosure, comprising computer instructions, which, when executed by a processor, implement the method steps as described in any one of the first aspect or the second aspect.
[0026] According to the technical solution provided by the embodiment of the present disclosure, a predetermined number of recommended objects can be sorted to obtain a plurality of object sorting sequences, and characteristic data corresponding to the object sorting sequences can be obtained, wherein the characteristic data corresponding to the object sorting sequences include the scene identification corresponding to the object sorting sequences, the recommended object characteristic data and the user characteristic data; then the object sorting sequence can be evaluated using a multi-scene unified model to obtain a main evaluation result, so that the main evaluation result of a plurality of object sorting sequences can be obtained, and the object sorting sequence that ranks first from high to low in the main evaluation results can be determined as the sorting of the recommended objects. The predetermined number of recommended objects recommended upstream are re-sorted, and the sorted objects are the objects actually recommended by the user. Through this consistent environmental information, the recommended object that best suits the current scene can be put in the front, providing users with better recommendation services. Compared with the prior art in which three recommended routes are directly selected and sent to users in the order of the selected routes, the present embodiment can re-order the three recommended routes selected by the selected routes. The re-ordered routes are the routes truly recommended to users. The recommended route that best suits the current scenario can be ordered as the first route, thereby achieving the goal of personalized recommendation of the most suitable first route for the current scenario to users. When users habitually use the first route as the navigation route, they will use the route that best suits the current scenario and obtain better route planning services.
[0027] In addition, this solution adaptively learns the common behaviors between scenes and specific behaviors within the scene in the feature data corresponding to the object sorting sequence through the shared network and the corresponding scene sub-network in the multi-scene unified model, and outputs the main evaluation result of the object sorting sequence. In this way, by training and maintaining a multi-scene unified model, the evaluation of object sorting sequences in multiple scenarios can be achieved. The evaluation results are accurate, the training is quick and simple, and the model maintenance is easy.
[0028] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Other features, objectives and advantages of the present disclosure will become more apparent through the following detailed description of non-limiting embodiments in conjunction with the accompanying drawings. In the accompanying drawings:
[0030] Figure 1 A flowchart showing a method for sorting objects according to an embodiment of the present disclosure is shown;
[0031] Figure 2 A sorting flow chart of object sorting according to an embodiment of the present disclosure is shown;
[0032] Figure 3 A flowchart showing an object sorting model training method according to an embodiment of the present disclosure is shown;
[0033] Figure 4 A schematic diagram showing the structure of a multi-scenario unified model according to an embodiment of the present disclosure is shown;
[0034] Figure 5 A schematic diagram showing an application of an embodiment of the present disclosure in a scenario of sorting recommended routes;
[0035] Figure 6 A structural block diagram of an object sorting device according to an embodiment of the present disclosure is shown;
[0036] Figure 7 A structural block diagram of an object sorting model training device according to an embodiment of the present disclosure is shown;
[0037] Figure 8 A structural block diagram of an electronic device according to an embodiment of the present disclosure is shown;
[0038] Fig. 9 A schematic diagram showing the structure of a computer system suitable for implementing the method according to an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0039] Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. In addition, for the sake of clarity, parts not related to the description of the exemplary embodiments are omitted in the accompanying drawings.
[0040] In the present disclosure, it should be understood that terms such as "include" or "have" are intended to indicate the presence of features, numbers, steps, behaviors, components, parts, or a combination thereof disclosed in the present specification, and are not intended to exclude the possibility that one or more other features, numbers, steps, behaviors, components, parts, or a combination thereof exist or are added.
[0041] It should also be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0042] It should be noted that the user information (including but not limited to user device information, user personal 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 the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0043] As mentioned above, with the increasing popularity and rapid development of intelligent transportation systems, the application of map navigation services in intelligent transportation systems is becoming more and more extensive and in-depth, and the personalized demand for map navigation services is also increasing. Recommending driving routes to users is one of the personalized demands of map navigation services.
[0044] In the prior art, when a navigation server recommends a route for a user, it will roughly sort and finely sort a large number of recalled routes, and then obtain three recommended routes and send them to the user. A large number of users will choose the first recommended route for navigation. In this case, it is critical which route is ranked first. However, the ranking of the three routes recommended by the navigation server for the user is obtained by finely sorting the large number of recalled routes, and the user chooses a navigation route from these three recommended routes. The large number of finely sorted routes are different from the three routes actually seen by the user. This difference in sorting environment will result in the first recommended route sent by the navigation server may not be the most suitable route among the three recommended routes for the current scenario. Therefore, personalized recommendation of the most suitable first route for the user in the current scenario has become a technical problem that needs to be solved urgently.
[0045] The present disclosure provides an object sorting method. After obtaining a predetermined number of recommended objects, the method can use the multi-scenario unified model to evaluate the arrangement order of these recommended objects to obtain a main evaluation result of multiple object sorting sequences, and the object sorting sequence that ranks first in the main evaluation results from high to low can be determined as the sorting of the recommended objects, so that the predetermined number of recommended objects recommended upstream are re-sorted, and the sorted objects are the objects actually recommended by the user. Through this consistent environmental information, the recommended object that best suits the current scene can be sorted at the front, providing the user with better recommendation services; when the recommended object is a recommended route, the recommended route that best suits the current scene can be sorted as the first route, achieving the goal of personalized recommendation of the most suitable first route in the current scene to the user. When the user habitually uses the first route as the navigation route, the route that best suits the current scene will be used, thereby obtaining a better route planning service.
[0046] Moreover, this method adaptively learns the common behaviors between scenes and specific behaviors within the scene in the feature data corresponding to the object sorting sequence through the shared network and the corresponding scene sub-network in the multi-scene unified model, and outputs the main evaluation result of the object sorting sequence. In this way, the evaluation of the object sorting sequence in each scene can be realized through a multi-scene unified model. The evaluation result is accurate, the training is quick and simple, and the model maintenance is easy.
[0047] Figure 1 FIG. 1 is a flowchart of an object sorting method according to an embodiment of the present disclosure. Figure 1 As shown, the object sorting method includes the following steps S101-S104:
[0048] In step S101, a predetermined number of recommended objects are sorted to obtain a plurality of object sorting sequences;
[0049] In step S102, for any object sorting sequence, feature data corresponding to the object sorting sequence is acquired, wherein the feature data corresponding to the object sorting sequence includes a scene identifier, recommended object feature data, and user feature data corresponding to the object sorting sequence;
[0050] In step S103, the feature data corresponding to the object sorting sequence is input into a pre-trained multi-scenario unified model, and the multi-scenario unified model is executed to obtain a main evaluation result of the object sorting sequence output by the multi-scenario unified model, wherein the multi-scenario unified model includes a shared network and multiple scene sub-networks, and different scene sub-networks correspond to different scene identifiers one by one, and the main evaluation result is collaboratively predicted by the shared network and the scene sub-networks identified by the scene identifier corresponding to the object sorting sequence;
[0051] In step S104, the ranking of the recommended objects is determined according to the main evaluation results of the multiple object ranking sequences.
[0052] In a possible implementation, the object sorting method is applicable to a computer, a computing device, a server, a server cluster, or other device capable of executing object sorting.
[0053] In a possible implementation, the recommendation object refers to various products, services, etc. recommended to the user for the user to choose. For example, the recommendation object may be a recommended route or a recommended commodity.
[0054] In a possible implementation, the object ranking method evaluates the order of the recommended objects, obtains the evaluation results of multiple object ranking sequences, and can determine the object ranking sequence that ranks first from high to low in the evaluation results as the ranking of the recommended objects. As is known to all, the more recommended objects there are, the more kinds of rankings there are for these recommended objects. If various rankings are evaluated one by one, more computing resources and time will be spent. Therefore, the object ranking method is mainly used to sort a small number of recommended objects. The predetermined number is used to limit the number of recommended objects for the user to select. Preferably, the predetermined number has a value range of 2-5.
[0055] In a possible implementation, the object sorting sequence refers to a sequence of recommended objects sorted in a certain order. After sorting a predetermined number of recommended objects, multiple object sorting sequences can be obtained, and each object sorting sequence is different. For example, assuming that the predetermined number of recommended objects are three recommended routes, namely r1, r2 and r3, after sorting these three recommended routes, 6 route sorting sequences as shown in Table 1 can be obtained:
[0056] First recommended route Recommended route 2 Recommended route 3 The first route sorting sequence r1 r2 r3 The second route sorting sequence r1 r3 r2 The third route sorting sequence r2 r1 r3 The fourth route sorting sequence r2 r3 r1 The fifth route sorting sequence r3 r1 r2 The sixth route sorting sequence r3 r2 r1
[0057] Table 1
[0058] In one possible implementation, for each object sorting sequence, feature data corresponding to the object sorting sequence can be obtained, including scene identification, recommended object feature data and user feature data corresponding to the object sorting sequence; it should be noted that, for these multiple object sorting sequences, the scene identification and user feature data corresponding to each object sorting sequence are the same, and the recommended object feature data corresponding to the object sorting sequence includes unique data of the predetermined number of recommended objects under the object sorting sequence and common data of the predetermined number of recommended objects under different object sorting sequences, and different object sorting sequences correspond to different unique data.
[0059] In a possible implementation, the scene identifier corresponding to the object sorting sequence refers to the identifier of the recommended scene where a predetermined number of recommended objects are located. The user's demand for objects is different in different scenarios, and the scene identifier can be used to identify such differences. For example, when the recommended object is a recommended route, the recommended scene may include different scenes such as the default recommended scene, the highway priority scene, the congestion avoidance scene, and the fastest speed scene. Different scenes can be identified using different scene identifiers. It should be noted here that the scene identifiers corresponding to different types of object sorting sequences for the same recommended object are the same. For example, the scene identifiers corresponding to the six types of route sorting sequences shown in Table 1 are the same, and are all scene identifiers of the recommended scenes for the three recommended routes currently recommended.
[0060] In a possible implementation, the user feature data corresponding to the object sorting sequence includes user historical behavior data. In other implementations, the user feature data may also include user's inherent attribute data, such as user ID, user's device information, etc. The user historical behavior data includes user historical preference data and user behavior statistics data. For example, when the recommended object is a recommended route, the user historical preference data includes feature data of the routes that the user has traveled in the past, and the user behavior statistics data includes the user's historical navigation times, etc.
[0061] In a possible implementation, the specific data of the predetermined number of recommended objects under the object sorting sequence refers to the relevant feature data when the predetermined number of recommended objects are sorted according to the object sorting sequence, for example, it may be the difference data between the first recommended object and other recommended objects arranged thereafter when sorted according to the object sorting sequence, etc. For example, the feature data of the recommended objects corresponding to the first route sorting sequence in Table 1 may be the feature data of the first fork between the first route r1 and the second recommended route r2 (such as the type of the link corresponding to the fork, the road grade, etc.), and the feature data of the first fork between the first route r1 and the third recommended route r3.
[0062] In a possible implementation, the common data of the predetermined number of recommended objects under different object sorting sequences include feature data of the recommended objects, scenario data of the recommended objects, and historical operation data of the user on the recommended objects, etc. For example, when the recommended object is a recommended route, the feature data of the recommended object includes route feature data of each recommended route, including the ETA (Estimated Time of Arrival) of the route, the number of traffic lights, the type of roads in the route, the length of the route, and other data that can reflect the route characteristics. The scenario data of the recommended object can be the recommended time data (such as morning rush hour, evening rush hour, holidays, etc.), the location data of the recommended route (such as downtown, suburbs, etc.), and other scenario data. The historical operation data of the user on the recommended object can be the number of times the user has passed the recommended route in the historical period, the proportion of roads that the user has passed in the recommended route (i.e., the proportion of familiar roads), and so on.
[0063] In a possible implementation, the multi-scenario unified model includes a shared network and multiple scene sub-networks, and different scene sub-networks correspond to different scene identifiers one by one. Through a multi-scenario unified model, object sorting sequence evaluation services can be provided for different scenes. Different users use different strategies when recommending objects, which can be regarded as different scenes. Different scenes have user differences. Even for the same user, the mindset in different scenes is different. These differences are directly reflected in the distribution of feature data, so that the feature data of different scenes have obvious differences in distribution. The multi-scenario unified model can adaptively learn the common behaviors between scenes in the feature data corresponding to the object sorting sequence through the shared network, learn the scene-specific behaviors in the feature data through the scene sub-network identified by the scene identifier of the object sorting sequence, and analyze the common behaviors and scene-specific behaviors in the feature data corresponding to the object sorting sequence, and output the main evaluation result of the object sorting sequence. In this way, the use of a multi-scenario unified model can solve the problem of strategic tendency in various scenes and achieve a win-win situation in multiple scenes.
[0064] In a possible implementation, the main evaluation result is an evaluation index value of an object sorting sequence. For example, when the recommended object is a recommended route, the evaluation index value of the sorting sequence of the recommended route is the actual walking coverage rate of the first route. The actual walking coverage rate of the first route refers to the ratio of the length of the overlapping part between the first route in the recommended route and the route actually walked by the user to the length of the actual walking route. The larger the value of the index, the better the first route.
[0065] In a possible implementation, for each object sorting sequence, the feature data corresponding to the object sorting sequence can be input into a pre-trained multi-scenario unified model, and the multi-scenario unified model is executed to obtain the main evaluation result of the object sorting sequence output by the multi-scenario unified model, so that the main evaluation results of the above-mentioned multiple object sorting sequences can be obtained, so that the object sorting sequence with the first main evaluation result ranked from high to low can be determined as the sorting of the recommended object. Here, the recommended object is still taken as an example for explanation. The object sorting sequence of the recommended route is 6 as shown in Table 1. The main evaluation results of the 6 route sorting sequences, that is, the actual walking coverage of the first route, are 0.87, 0.85, 0.71, 0.74, 0.90, and 0.86 respectively. The actual walking coverage of the first route is the highest 0.90 corresponding to the fifth route sorting sequence, so the sorting of the recommended route can be obtained as the sorting in the fifth route sorting sequence, that is, the sorting of the recommended route is r3→r1→r2, and the recommended route can be displayed to the user in the sorting of r3→r1→r2. Compared with the prior art which directly uses the sorting of recommended routes issued by the refined sorting model, this implementation method re-sorts the issued recommended routes, so that the actual coverage rate of the first route is greatly improved.
[0066] This embodiment obtains multiple object sorting sequences by sorting a predetermined number of recommended objects, and obtains feature data corresponding to the object sorting sequences, wherein the feature data corresponding to the object sorting sequences include the scene identification, recommended object feature data and user feature data corresponding to the object sorting sequences; then the object sorting sequence can be evaluated using a multi-scene unified model to obtain a main evaluation result, so that the main evaluation results of multiple object sorting sequences can be obtained, and the object sorting sequence that ranks first in the main evaluation results from high to low can be determined as the sorting of the recommended objects. Re-sorting a predetermined number of recommended objects recommended upstream can put the most suitable recommended object for the current scene at the front, providing users with better recommendation services.
[0067] Compared with the prior art in which the three recommended routes are directly selected and sent to the user in the order of the selected routes, the present embodiment can re-sort the three recommended routes selected by the selected routes, and sort the recommended route that best suits the current scenario as the first route, thereby achieving the goal of personalized recommendation of the most suitable first route for the current scenario to the user. When the user habitually uses the first route as the navigation route, the route that best suits the current scenario will be used, thereby obtaining better route planning services.
[0068] In addition, this implementation adaptively learns the common behaviors between scenes and specific behaviors within the scene in the feature data corresponding to the object sorting sequence through the shared network and the corresponding scene sub-network in the multi-scene unified model, and outputs the main evaluation result of the object sorting sequence. In this way, by training and maintaining a multi-scene unified model, the evaluation of object sorting sequences in multiple scenarios can be achieved. The evaluation results are accurate, the training is quick and simple, and the model maintenance is easy.
[0069] In a possible implementation manner, the object sorting method may further include the following steps:
[0070] Obtaining scene segmentation data corresponding to the object sorting sequence;
[0071] Inputting the scene segmentation data into a pre-trained scene auxiliary model, executing the scene auxiliary model, and obtaining an auxiliary evaluation result of the scene auxiliary model outputting the object sorting sequence;
[0072] The step of determining the ranking of the recommended objects according to the main evaluation results of the plurality of object ranking sequences comprises:
[0073] Determining a comprehensive evaluation result of the object sorting sequence according to a primary evaluation result of the object sorting sequence and a secondary evaluation result of the object sorting sequence;
[0074] The ranking of the recommended objects is determined based on the comprehensive evaluation results of the various object ranking sequences.
[0075] In this embodiment, Figure 2 FIG. 4 shows a sorting flow chart of an object sorting according to an embodiment of the present disclosure. Figure 2 As shown, in addition to the multi-scene unified model 201, the object sorting model also includes a pre-trained scene auxiliary model 202. The scene auxiliary model 202 mainly assists in evaluating the object sorting sequence by learning scene segmentation data. The input of the scene auxiliary model 202 is the scene segmentation data corresponding to the object sorting sequence, and the output is the auxiliary evaluation result of the object sorting sequence.
[0076] In this implementation, the scene segmentation data refers to data of some segmented scenes under the large scene identified by the scene identifier, such as time scene data, location scene data, user scene data, etc. For example, when the recommendation object is a recommended route, there are segmented scenes such as familiar road scene, commuting scene, night road scene, station scene, etc. in the large scenes such as default recommendation, high-speed priority, avoiding congestion, and fastest speed. At this time, the user scene data in the scene segmentation data can be the familiar road data of the user in the recommended route, whether it is a commuting route, etc. The time scene data can be the time feature data corresponding to the recommended time, such as whether it is a night road, whether it is rush hour in the morning or evening, holidays, etc. The location scene data can be whether the location of the recommended route is a place familiar to the user, located in a downtown area or in the suburbs, etc.
[0077] In this implementation, the main evaluation result of the object sorting sequence and the auxiliary evaluation result of the object sorting sequence may be fused according to a predetermined rule to obtain a comprehensive evaluation result of the object sorting sequence. For example, the main evaluation result and the auxiliary evaluation result may be dot-producted to obtain a comprehensive evaluation result, or the main evaluation result and the auxiliary evaluation result may be summed to obtain a comprehensive evaluation result, and so on.
[0078] In this embodiment, comprehensive evaluation results of multiple object sorting sequences can be obtained through the above operation, and the order of the predetermined number of recommended objects can be determined by the order of the object sorting sequence that ranks first in the comprehensive evaluation results from high to low.
[0079] This implementation method cleverly integrates more fine-grained scene segmentation data into the entire ranking model by fusing the evaluation results of the scene-assisted model and the multi-scene unified model, thereby removing the restrictions on the segmented scenes within the strategy. Specifically, the scene-assisted model introduces scene segmentation data for modeling, and the fusion operation of the evaluation results is equivalent to the weighting degree of the main evaluation results of the multi-scene unified model under the influence of the scene segmentation data. It can also be understood as an attention operation, which facilitates the multi-scene unified model to distinguish valid information. The reason for adopting this method is that on the one hand, the correlation of multi-layer scenes can be captured, and the expression of important information can be strengthened through attention-like expressions. On the other hand, the fusion operation of the evaluation results is relatively easy to calculate, and there is no need to worry about performance issues.
[0080] In a possible implementation, Figure 2 As shown, the multi-scenario unified model includes a partition normalization PN layer 2011, and the PN layer 2011 is used to perform separate normalization processing on the feature data of different scene identifiers.
[0081] In this implementation, the distribution of feature data of different scenes is different. Therefore, the training of each scene sub-network is the feature data of different scenes, but the feature data learned by the same scene sub-network belongs to the same scene. The problem of independent distribution between scenes is solved by partitioned normalization (partitioned normalization, PN) which is different from Batch Normalization (Batch Normalization, BN). The PN layer is used to perform separate normalization processing on the feature data of different scene identifiers.
[0082] In this implementation, the PN layer can perform separate normalization processing on the feature data corresponding to the object sorting sequence, and input the data into the shared network and the corresponding scene sub-network in the multi-scene unified model for collaborative evaluation to obtain the main evaluation result.
[0083] Figure 3 FIG. 1 is a flowchart of an object sorting model training method according to an embodiment of the present disclosure. Figure 3 As shown, the object sorting model training method includes the following steps S301-S302:
[0084] In step S301, training sample data is obtained, wherein the training sample data includes feature data and label results corresponding to the training sample object sorting sequence; the feature data corresponding to the training sample object sorting sequence includes scene identification, training sample object feature data and user feature data corresponding to the training sample object sorting sequence;
[0085] In step S302, an object sorting model is trained using the training sample data, wherein the object sorting model includes a multi-scene unified model, and the multi-scene unified model is used to determine the main evaluation result of the object sorting sequence according to the feature data corresponding to the object sorting sequence. The multi-scene unified model includes a shared network and multiple scene sub-networks, different scene sub-networks correspond one-to-one to different scene identifiers, and the main evaluation result is collaboratively predicted by the shared network and the scene sub-network identified by the scene identifier of the object sorting sequence.
[0086] In a possible implementation, the object sorting model training method is applicable to computers, computing devices, servers, server clusters and other devices that can train object sorting models.
[0087] In a possible implementation, the training sample object refers to a historical recommended object, including various products and services recommended to users for selection during a historical period, and the sorting sequence of the training sample objects is the sorting sequence of the historical recommended objects. For example, the training sample object may be a historically recommended route or a historically recommended commodity, and the sorting sequence of the training sample objects refers to the sorting sequence of historically recommended routes or the sorting sequence of historically recommended commodities. It should be noted here that the sorting sequence of the training sample objects is the sorting of recommended objects that has been actually displayed to users in the real world. This is the order that users actually see, and users have subsequent actual operations based on this order. According to the actual operations of users, the label results corresponding to the sorting sequence of the training sample objects can be statistically obtained. Therefore, each piece of training sample data has a historically existing sorting sequence and label results of training sample objects.
[0088] In a possible implementation, feature data corresponding to the training sample object sorting sequence can be obtained, and the feature data corresponding to the training sample object sorting sequence includes a scene identifier corresponding to the training sample object sorting sequence, training sample object feature data, and user feature data. The scene identifier corresponding to the training sample object sorting sequence refers to the identifier of the recommended scene where the training sample object is located. Users have different needs for objects in different scenes, and the scene identifier can be used to identify such differences. For example, when the recommended object is a recommended route, the recommended scene can have different scenes such as the default recommendation scene, the high-speed priority scene, the congestion avoidance scene, and the fastest speed scene. Different scenes can be identified using different scene identifiers.
[0089] In a possible implementation, the user feature data corresponding to the training sample object sorting sequence includes user historical behavior data. In other implementations, the user feature data may also include user's inherent attribute data, such as user ID, user's device information, etc. The user historical behavior data includes user historical preference data and user behavior statistics data.
[0090] In a possible implementation, the training sample object feature data corresponding to the training sample object sorting sequence includes the unique data of the training sample object under the training sample object sorting sequence and the common data of the training sample object under different sortings, and different sortings correspond to different unique data. The unique data of the training sample object under the training sample object sorting sequence includes the relevant feature data of the training sample object when it is in accordance with the training sample object sorting sequence, for example, it may be the difference data between the first recommended object and other recommended objects arranged thereafter when sorted according to the training sample object sorting sequence, etc. The common data of the training sample object under different sortings includes the feature data of the training sample object, the scene data of the training sample object, and the historical operation data of the user on the training sample object, etc.
[0091] In one possible implementation, the training sample data can be used to train a multi-scenario unified model, wherein the multi-scenario unified model includes a shared network and multiple scene sub-networks, wherein different scene sub-networks correspond one-to-one to different scene identifiers, and the training sample data used for training includes various scene identifiers. The shared network can learn the common behaviors in the training sample data of the different scene identifiers, and the corresponding scene sub-networks can learn the scene-specific behaviors in the training sample data of the corresponding scene identifiers. In this way, the multi-scenario unified model can analyze the common behaviors and scene-specific behaviors in the feature data corresponding to the object sorting sequence, and evaluate the object sorting sequence to obtain the main evaluation result of the object sorting sequence.
[0092] In a possible implementation, the main evaluation result is an evaluation index value of an object sorting sequence. For example, when the recommended object in the object sorting sequence is a recommended route, the evaluation index value of the sorting sequence of the recommended route is the actual walking coverage rate of the first route. The actual walking coverage rate of the first route refers to the ratio of the length of the overlapping part between the first route in the recommended route and the route actually walked by the user to the length of the actual walking route. The larger the value of the index, the better the first route.
[0093] This implementation method can jointly model multiple scenes and train a unified model for multiple scenes. The shared network in the unified model can learn the common behaviors in the training sample data of the different scene identifiers, and the corresponding scene sub-network can learn the scene-specific behaviors in the training sample data of the corresponding scene identifiers. In this way, the trained unified model for multiple scenes can analyze the common behaviors and scene-specific behaviors in the feature data corresponding to the object sorting sequence used for prediction, accurately evaluate the object sorting sequence to obtain the main evaluation result of the object sorting sequence, and provide evaluation services for object sorting sequences in different scenes. The evaluation results are accurate, the training is quick and simple, and the model maintenance is easy.
[0094] In a possible implementation, the object sorting model further includes a scene auxiliary model and an output layer, the training sample data further includes sample scene segmentation data corresponding to the training sample object sorting sequence; and the object sorting model is obtained by training using the training sample data, including:
[0095] The feature data corresponding to the training sample object sorting sequence is input into the initial multi-scene unified model, and the sample scene segmentation data corresponding to the training sample object sorting sequence is input into the scene auxiliary model, and the model parameters in the multi-scene unified model and the scene auxiliary model are continuously updated until the accuracy of the comprehensive evaluation result output by the output layer reaches a predetermined value compared with the label result, so as to obtain a trained object sorting model, wherein the input of the output layer is the main evaluation result output by the multi-scene unified model and the auxiliary evaluation result output by the scene auxiliary model, and the output of the output layer is the comprehensive evaluation result.
[0096] In this embodiment, in addition to the above-mentioned multi-scene unified model, the object sorting model also includes a scene auxiliary model. The multi-scene unified model and the scene auxiliary model in the object sorting model are trained together end-to-end. The scene auxiliary model mainly assists in evaluating the object sorting sequence by learning scene segmentation data. The input of the scene auxiliary model is the scene segmentation data corresponding to the object sorting sequence, and the output is the auxiliary evaluation result of the object sorting sequence.
[0097] In this embodiment, the object sorting model also includes an output layer, the input of which is the main evaluation result output by the multi-scene unified model and the auxiliary evaluation result output by the scene auxiliary model. The output layer is used to perform a fusion operation on the main evaluation result and the auxiliary evaluation result to output a comprehensive evaluation result.
[0098] In this embodiment, the sample scene segmentation data corresponding to the training sample object sorting sequence refers to data of some segmented scenes under the large scene identified by the scene identifier, such as time scene data, location scene data, user scene data, etc.
[0099] In this embodiment, the feature data corresponding to the training sample object sorting sequence can be input into the initial multi-scene unified model, and the sample scene segmentation data corresponding to the training sample object sorting sequence can be input into the scene auxiliary model, and the model parameters in the multi-scene unified model and the scene auxiliary model are continuously updated until the comprehensive evaluation result output by the output layer reaches a predetermined value such as 97% in accuracy compared with the label result, so that a trained object sorting model can be obtained.
[0100] This implementation method cleverly integrates more fine-grained scene segmentation data into the entire object sorting model by fusing the evaluation results of the scene-assisted model and the multi-scene unified model. Specifically, the scene-assisted model introduces scene segmentation data for modeling, and the fusion operation of the evaluation results is equivalent to the weighted degree of the main evaluation results of the multi-scene unified model under the influence of the scene segmentation data. It can also be understood as an attention operation, which facilitates the multi-scene unified model to distinguish valid information. The reason for adopting this method is that on the one hand, the correlation of multiple layers of scenes can be captured, and the expression of important information can be strengthened through attention-like expressions. On the other hand, the fusion operation of the evaluation results is relatively easy to calculate, and there is no need to worry about performance issues.
[0101] In a possible implementation, the multi-scenario unified model includes a partition normalization PN layer, and the PN layer is used to perform separate normalization processing on feature data of different scene identifiers.
[0102] In this implementation, the distribution of feature data of different scenes is different. Therefore, the training of each scene sub-network is the feature data of different scenes, but the feature data learned by the same scene sub-network belongs to the same scene. The problem of independent distribution between scenes is solved by partitioned normalization (partitioned normalization, PN) which is different from Batch Normalization (Batch Normalization, BN). The PN layer is used to perform separate normalization processing on the feature data of different scene identifiers.
[0103] In a possible implementation, the model parameters in the multi-scene unified model include shared parameters in the shared network and scene-private parameters in the scene sub-network. When training the object sorting model, the shared parameters in the shared network and the scene-private parameters in the scene sub-network identified by the scene identifier of the training sample object sorting sequence are updated according to the training sample data where the scene identifier of the training sample object sorting sequence is located. Each time, the scene-private parameters are obtained by multiplying the shared parameters updated this time by the scene-private parameters updated this time.
[0104] In this embodiment, Figure 4 A schematic diagram of the structure of a multi-scenario unified model according to an embodiment of the present disclosure is shown, as Figure 4As shown, the multi-scene unified model 400 includes a shared network 401 and multiple scene sub-networks 402. The shared network 401 may include multiple layers of fully connected layers, and the scene sub-network 402 may also include multiple layers of fully connected layers. The parameters in the shared network 401 are shared parameters, and the parameters in the scene sub-network 402 are scene-private parameters. When training the object sorting model, the shared parameters can be updated by various training sample data to learn the scene commonalities of the training sample data of these different scenes, and the scene-private parameters can be updated by the training sample data where the scene identifier corresponding to the scene sub-network is located to learn the scene characteristics of the specific scene. The two are jointly learned and complement each other.
[0105] In this implementation, after each learning update obtains the shared parameters and the scene-private parameters, the updated shared parameters and the updated scene-private parameters are fused (such as multiplication, addition, etc.) to obtain the final scene-private parameters in the scene sub-network.
[0106] The disclosed embodiment also discloses a navigation service, wherein an electronic map is produced based on the point cloud data aligned by the above point cloud data processing method, and a navigation guidance service of a corresponding scene is provided for the carrier. The corresponding scene is one or a combination of AR navigation, elevated navigation, or main and auxiliary road navigation.
[0107] The disclosed embodiment also discloses a navigation method, wherein a navigation route calculated at least based on a starting point, an end point and road conditions is obtained based on an electronic map, and navigation guidance is performed on the carrier based on the navigation route. The navigation route is a route selected based on the ranking of the recommended objects obtained by any of the above methods, and the recommended objects are recommended routes.
[0108] Figure 5 FIG. 1 is a schematic diagram showing an application of an embodiment of the present disclosure in a scenario of sorting recommended routes. Figure 5As shown, when the user uses the navigation client 501 carried on the vehicle for route navigation, the user can send a corresponding navigation request to the navigation server 502, and the navigation server 502 can recall a large number of routes that meet the navigation request, and obtain three recommended routes after rough sorting and fine sorting of the recalled large number of routes, and then use the object sorting method in the above implementation to re-sort the three recommended routes, and send the re-sorted recommended routes to the navigation client 501, and the navigation client 501 can display the three recommended routes to the user in the re-sorted order, and the user can choose the first route ranked first for navigation. Compared with the prior art, the re-sorting process is added, so that the order of the three recommended routes seen by the user is the order after the comprehensive comparison of the three recommended routes, and the consistency difference of the environment is repaired, so that the first recommended route sent by the navigation server is the most suitable route for the current scene among the three recommended routes, and the goal of personalized recommendation of the most suitable first route for the current scene is achieved, and a better route planning service is provided for the user.
[0109] For example, in order to sort the recommended routes, the present disclosure designs a set of general sorting models, such as Figure 2 The system is divided into two modules, namely a multi-scenario unified model and a scenario auxiliary model. The multi-scenario unified model adaptively learns specific behaviors within a scene and common behaviors between scenes through a shared network and multiple scenario sub-networks, while the scenario auxiliary model uses factors such as time, place, and people to capture more fine-grained scene segmentation information. The main evaluation result of the route sorting sequence can be obtained through collaborative prediction of the shared network in the multi-scenario unified model and the scene sub-network identified by the scene identifier corresponding to the route sorting sequence. The auxiliary evaluation result corresponding to the route sorting sequence can be obtained through the scene auxiliary model. The main evaluation result and the auxiliary evaluation result of the route sorting sequence are calculated by point multiplication, so as to obtain a comprehensive evaluation result of the route sorting sequence. The route sorting sequence with the first comprehensive evaluation result from high to low among the multiple route sorting sequences is determined as the recommended route sequence.
[0110] The above sorting scheme mainly involves the following three modules:
[0111] 1. Sample construction
[0112] There are many sorting models for different scenarios. Different from other sorting models, the sorting of the recall set is inconsistent with the actual environment seen by the user. In order to fix this difference in environmental consistency, the sorting disclosed in this disclosure only sorts the recommended routes (up to 3 routes) that have been issued.
[0113] For each navigation, the route sorting sequence sent will affect what the user sees and will also affect the final actual walk. It is worth mentioning that, unlike the traditional method, the sample construction in the training and test phases of this disclosure is slightly different. Taking the sorting sequence of the three recommended routes sent as r1, r2, and r3 as an example, in the training phase, we only use the features composed of the original sorting sequence r1, r2, and r3 combined with other features as training samples, and then use the model to fit the first actual walk coverage. This is because the user in the training sample has actually walked based on the three recommended routes. The user sees this order, and the actual walk coverage of each route is based on this order, so there is no need to arrange and combine the route sequence. In the test phase or online prediction, the three recommended routes will be arranged and combined to construct 6 possible sorting sequences (such as the order in Table 1) to predict the user's first actual walk coverage in different sorting sequences. Different sorting sequences will produce different first routes, and the above-mentioned feature combinations based on the first route will also be different, so as to construct samples. This permutation and combination enumeration method is just in line with the route recommendation scenario, thanks to the fact that when making route recommendations, there are only 3 recommended routes at most.
[0114] 2. Unified model for multiple scenarios
[0115] Figure 4 It demonstrates the joint modeling of multiple scenarios with the star network as the core, and the commonalities and differences of the scenarios. For one scenario, unlike the traditional method of mixed training of all data, the unified model of multiple scenarios considers that the data distribution of different scenarios is different. Therefore, the training of each scenario is different scene data, but the data in the scene belongs to the same scene. The problem of independent distribution between scenes is solved by Partitioned Normalization, which is different from Batch Normalization, and the PN layer is used to perform separate normalization processing on the feature data corresponding to different scene identifiers.
[0116] The network structure of the multi-scenario unified model is as follows Figure 4 As shown, it is distributed in a star shape, with a shared network at the center, which includes multiple fully connected layers. In addition, there are multiple scene-independent scene sub-networks, each of which also includes multiple fully connected layers. Through this implementation method, the shared parameters of the self-network in the multi-scene unified model are updated by the gradient of sample data of different scenes to learn the commonality of scenes, while the scene-private parameters in the scene sub-network are only updated by the sample data of the scene corresponding to the scene sub-network to model the difference of the scene. The two are jointly learned and complement each other. When updating the scene-private parameters, the final scene-private parameters in the scene sub-network are obtained by multiplying the shared parameters updated this time and the scene-private parameters updated this time.
[0117] 3. Scene-assisted model
[0118] Simply put, more fine-grained scene information is cleverly integrated into the model by taking the dot product of the auxiliary evaluation results output by the scene-assisted model and the main evaluation results output by the multi-scene unified model. Specifically, the scene-assisted model introduces effective scene segmentation data such as users, locations, and times for model training. The fusion operation of the main evaluation results and the auxiliary evaluation results is equivalent to the weighting degree of the main evaluation results of the multi-scene unified model under the influence of the scene segmentation data. It can also be understood as an attention operation, which facilitates the multi-scene unified model to distinguish valid information. The reason for adopting this method is that on the one hand, the correlation of multi-layer scenes can be captured, and the expression of important information can be strengthened through attention-like expressions. On the other hand, the fusion operation of the evaluation results is relatively easy to calculate, and there is no need to worry about performance issues.
[0119] This implementation can repair the consistency differences in the environment and analyze the strategy tendencies to achieve "win-win cooperation" in multiple scenarios. By training a multi-scenario unified model and a scenario-assisted model to evaluate the recommended routes and obtain a ranking of the recommended routes, various recommendation evaluation indicators are significantly improved, which also verifies the correctness and effectiveness of this solution.
[0120] Figure 6 FIG. 1 is a block diagram showing a structure of an object sorting device according to an embodiment of the present disclosure. The device can be implemented as part or all of an electronic device through software, hardware, or a combination of both. Figure 6 As shown, the object sorting device includes:
[0121] A sorting module 601 is configured to sort a predetermined number of recommended objects to obtain a plurality of object sorting sequences;
[0122] The feature acquisition module 602 is configured to acquire feature data corresponding to any object sorting sequence, wherein the feature data corresponding to the object sorting sequence includes a scene identifier, recommended object feature data and user feature data corresponding to the object sorting sequence;
[0123] The main evaluation module 603 is configured to input the feature data corresponding to the object sorting sequence into a pre-trained multi-scenario unified model, execute the multi-scenario unified model, and obtain a main evaluation result of the object sorting sequence output by the multi-scenario unified model, wherein the multi-scenario unified model includes a shared network and multiple scene sub-networks, different scene sub-networks correspond to different scene identifiers one by one, and the main evaluation result is collaboratively predicted by the shared network and the scene sub-network identified by the scene identifier corresponding to the object sorting sequence;
[0124] The ranking determination module 604 is configured to determine the ranking of the recommended objects according to the main evaluation results of the plurality of object ranking sequences.
[0125] In a possible implementation, the device further includes:
[0126] A segmentation data acquisition module is configured to acquire scene segmentation data corresponding to the object sorting sequence;
[0127] an auxiliary evaluation module, configured to input the scene segmentation data into a pre-trained scene auxiliary model, execute the scene auxiliary model, and obtain an auxiliary evaluation result of the scene auxiliary model outputting the object sorting sequence;
[0128] The ranking determination module is configured to:
[0129] Determining a comprehensive evaluation result of the object sorting sequence according to a primary evaluation result of the object sorting sequence and a secondary evaluation result of the object sorting sequence;
[0130] The ranking of the recommended objects is determined based on the comprehensive evaluation results of the various object ranking sequences.
[0131] In a possible implementation, the multi-scenario unified model includes a partition normalization PN layer, and the PN layer is used to perform separate normalization processing on feature data of different scene identifiers.
[0132] In a possible implementation, the recommended object includes a recommended route.
[0133] Figure 7 The structure block diagram of the object sorting model training device according to the embodiment of the present disclosure is shown. The device can be implemented as part or all of the electronic device through software, hardware or a combination of both. Figure 7 As shown, the object sorting model training device includes:
[0134] The sample acquisition module 701 is configured to acquire training sample data, wherein the training sample data includes feature data and label results corresponding to the training sample object sorting sequence; the feature data corresponding to the training sample object sorting sequence includes the scene identification, training sample object feature data and user feature data corresponding to the training sample object sorting sequence;
[0135] The model training module 702 is configured to use the training sample data to train an object sorting model, wherein the object sorting model includes a multi-scene unified model, and the multi-scene unified model is used to determine the main evaluation result of the object sorting sequence according to the feature data corresponding to the object sorting sequence. The multi-scene unified model includes a shared network and multiple scene sub-networks, different scene sub-networks correspond to different scene identifiers one by one, and the main evaluation result is collaboratively predicted by the scene sub-network identified by the shared network and the scene identifier of the object sorting sequence.
[0136] In a possible implementation, the object sorting model further includes a scene auxiliary model and an output layer, the training sample data further includes sample scene segmentation data corresponding to the training sample object sorting sequence; and the model training module is configured as follows:
[0137] The feature data corresponding to the training sample object sorting sequence is input into the initial multi-scene unified model, and the sample scene segmentation data corresponding to the training sample object sorting sequence is input into the scene auxiliary model, and the model parameters in the multi-scene unified model and the scene auxiliary model are continuously updated until the accuracy of the comprehensive evaluation result output by the output layer reaches a predetermined value compared with the label result, so as to obtain a trained object sorting model, wherein the input of the output layer is the main evaluation result output by the multi-scene unified model and the auxiliary evaluation result output by the scene auxiliary model, and the output of the output layer is the comprehensive evaluation result.
[0138] In a possible implementation, the multi-scenario unified model includes a partition normalization PN layer, and the PN layer is used to perform separate normalization processing on feature data corresponding to different scene identifiers.
[0139] In a possible implementation, the model parameters in the multi-scene unified model include shared parameters in the shared network and scene-private parameters in the scene sub-network. When training the object sorting model, the shared parameters in the shared network and the scene-private parameters in the scene sub-network identified by the scene identifier of the training sample object sorting sequence are updated according to the training sample data where the scene identifier of the training sample object sorting sequence is located. The final scene-private parameters in the scene sub-network are obtained based on the shared parameters updated this time and the scene-private parameters updated this time.
[0140] The technical terms and technical features mentioned in the implementation manner of this device are the same or similar. For the explanation and description of the technical terms and technical features involved in this device, reference may be made to the explanation and description of the implementation manner of the above-mentioned method, which will not be repeated here.
[0141] The present disclosure also discloses an electronic device, Figure 8A structural block diagram of an electronic device according to an embodiment of the present disclosure is shown.
[0142] like Figure 8 As shown, the electronic device 800 includes a memory 801 and a processor 802, wherein the memory 801 is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor 802 to implement the method according to an embodiment of the present disclosure.
[0143] Fig. 9 A schematic diagram showing the structure of a computer system suitable for implementing the method according to an embodiment of the present disclosure is shown.
[0144] like Fig. 9 As shown, the computer system 900 includes a processing unit 901, which can perform various processes in the above-mentioned embodiments according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage part 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the computer system 900 are also stored. The processing unit 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0145] The following components are connected to the I / O interface 905: an input section 906 including a keyboard, a mouse, etc.; an output section 907 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage section 908 including a hard disk, etc.; and a communication section 909 including a network interface card such as a LAN card, a modem, etc. The communication section 909 performs communication processing via a network such as the Internet. A drive 910 is also connected to the I / O interface 905 as needed. A removable medium 911, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 910 as needed, so that a computer program read therefrom is installed into the storage section 908 as needed. Among them, the processing unit 901 can be implemented as a processing unit such as a CPU, a GPU, a TPU, an FPGA, an NPU, etc.
[0146] In particular, according to an embodiment of the present disclosure, the method described above can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes computer instructions, and the computer instructions are executed by a processor to implement the method steps described above. In such an embodiment, the computer program product can be downloaded and installed from a network through the communication part 909, and / or installed from a removable medium 911.
[0147] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0148] The units or modules involved in the embodiments described in the present disclosure may be implemented by software or programmable hardware. The units or modules described may also be set in a processor, and the names of these units or modules do not constitute limitations on the units or modules themselves in some cases.
[0149] As another aspect, the present disclosure further provides a computer-readable storage medium, which may be a computer-readable storage medium included in the electronic device or computer system in the above embodiment; or a computer-readable storage medium that exists independently and is not assembled into a device. The computer-readable storage medium stores one or more programs, and the programs are used by one or more processors to execute the method described in the present disclosure.
[0150] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present disclosure is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other.
Claims
1. A method for sorting objects, include: Sorting a predetermined number of recommended objects to obtain a plurality of object sorting sequences; For any object sorting sequence, acquiring feature data corresponding to the object sorting sequence, wherein the feature data corresponding to the object sorting sequence includes a scene identifier, recommended object feature data, and user feature data corresponding to the object sorting sequence; Inputting feature data corresponding to the object sorting sequence into a pre-trained multi-scenario unified model, executing the multi-scenario unified model, and obtaining a main evaluation result of the object sorting sequence output by the multi-scenario unified model, wherein the multi-scenario unified model includes a shared network and multiple scene sub-networks, different scene sub-networks correspond to different scene identifiers one by one, and the main evaluation result is collaboratively predicted by the shared network and the scene sub-network identified by the scene identifier corresponding to the object sorting sequence; The ranking of the recommended objects is determined according to the main evaluation results of the multiple object ranking sequences.
2. The method according to claim 1, in, The method further comprises: Obtaining scene segmentation data corresponding to the object sorting sequence; Inputting the scene segmentation data into a pre-trained scene auxiliary model, executing the scene auxiliary model, and obtaining an auxiliary evaluation result of the scene auxiliary model outputting the object sorting sequence; The step of determining the ranking of the recommended objects according to the main evaluation results of the plurality of object ranking sequences comprises: Determining a comprehensive evaluation result of the object sorting sequence according to a primary evaluation result of the object sorting sequence and a secondary evaluation result of the object sorting sequence; The ranking of the recommended objects is determined based on the comprehensive evaluation results of the various object ranking sequences.
3. The method according to claim 1, in, The multi-scenario unified model includes a partition normalization PN layer, and the PN layer is used to perform separate normalization processing on feature data where different scene identifiers are located.
4. The method according to any one of claims 1 to 3, in, The recommended object includes a recommended route.
5. A method for training an object sorting model, in, include: Acquire training sample data, wherein the training sample data includes feature data and label results corresponding to the training sample object sorting sequence; the feature data corresponding to the training sample object sorting sequence includes a scene identifier, training sample object feature data, and user feature data corresponding to the training sample object sorting sequence; An object sorting model is obtained by training using the training sample data, wherein the object sorting model includes a multi-scene unified model, and the multi-scene unified model is used to determine a main evaluation result of the object sorting sequence according to feature data corresponding to the object sorting sequence, and the multi-scene unified model includes a shared network and multiple scene sub-networks, different scene sub-networks correspond one-to-one to different scene identifiers, and the main evaluation result is collaboratively predicted by the shared network and the scene sub-network identified by the scene identifier of the object sorting sequence.
6. The method according to claim 5, in, The object sorting model further includes a scene auxiliary model and an output layer, and the training sample data further includes sample scene segmentation data corresponding to the training sample object sorting sequence; and the object sorting model is obtained by training the training sample data, including: The feature data corresponding to the training sample object sorting sequence is input into the initial multi-scene unified model, and the sample scene segmentation data corresponding to the training sample object sorting sequence is input into the scene auxiliary model, and the model parameters in the multi-scene unified model and the scene auxiliary model are continuously updated until the accuracy of the comprehensive evaluation result output by the output layer reaches a predetermined value compared with the label result, so as to obtain a trained object sorting model, wherein the input of the output layer is the main evaluation result output by the multi-scene unified model and the auxiliary evaluation result output by the scene auxiliary model, and the output of the output layer is the comprehensive evaluation result.
7. The method according to claim 5, in, The multi-scenario unified model includes a partition normalization PN layer, and the PN layer is used to perform separate normalization processing on feature data corresponding to different scene identifiers.
8. The method according to any one of claims 5 to 7, in, The model parameters in the multi-scene unified model include shared parameters in the shared network and scene-private parameters in the scene sub-network. When training the object sorting model, the shared parameters in the shared network and the scene-private parameters in the scene sub-network identified by the scene identifier of the training sample object sorting sequence are updated according to the training sample data where the scene identifier of the training sample object sorting sequence is located. The final scene-private parameters in the scene sub-network are obtained based on the shared parameters updated this time and the scene-private parameters updated this time.
9. An object sorting device, include: A sorting module is configured to sort a predetermined number of recommended objects to obtain a plurality of object sorting sequences; A feature acquisition module is configured to acquire feature data corresponding to any object sorting sequence, wherein the feature data corresponding to the object sorting sequence includes a scene identifier, recommended object feature data and user feature data corresponding to the object sorting sequence; A main evaluation module is configured to input feature data corresponding to the object sorting sequence into a pre-trained multi-scenario unified model, execute the multi-scenario unified model, and obtain a main evaluation result of the object sorting sequence output by the multi-scenario unified model, wherein the multi-scenario unified model includes a shared network and multiple scene sub-networks, different scene sub-networks correspond to different scene identifiers one by one, and the main evaluation result is collaboratively predicted by the shared network and the scene sub-network identified by the scene identifier corresponding to the object sorting sequence; The ranking determination module is configured to determine the ranking of the recommended objects according to the main evaluation results of the plurality of object ranking sequences.
10. An object sorting model training device, in, include: The sample acquisition module is configured to acquire training sample data, wherein the training sample data includes feature data and label results corresponding to the training sample object sorting sequence; the feature data corresponding to the training sample object sorting sequence includes scene identification, training sample object feature data and user feature data corresponding to the training sample object sorting sequence; A model training module is configured to use the training sample data to train an object sorting model, wherein the object sorting model includes a multi-scene unified model, and the multi-scene unified model is used to determine the main evaluation result of the object sorting sequence according to the feature data corresponding to the object sorting sequence. The multi-scene unified model includes a shared network and multiple scene sub-networks, different scene sub-networks correspond to different scene identifiers one by one, and the main evaluation result is collaboratively predicted by the shared network and the scene sub-network identified by the scene identifier of the object sorting sequence.
11. An electronic device comprising a memory and a processor; in, The memory is used to store one or more computer instructions, and the one or more computer instructions are executed by the processor to implement the method steps described in any one of claims 1 to 8.
12. A computer-readable storage medium having computer instructions stored thereon, in, When the computer instructions are executed by a processor, the method according to any one of claims 1 to 8 is implemented.
13. A computer program product, comprising computer instructions, which, when executed by a processor, implement the method steps of any one of claims 1 to 8.
14. A navigation method, in, A navigation route is obtained based on an electronic map and calculated based on at least a starting point, an end point and road conditions, and navigation guidance is performed based on the navigation route. The navigation route is a route selected based on the ranking of recommended objects obtained by any one of the methods of claims 1 to 4, and the recommended object is a recommended route.
