Navigation model updating method and device and server

Through incremental training and distillation learning technology, the problem of low update efficiency of the navigation model is solved, the efficient update of the navigation model and the improvement of the recommendation effect are achieved, ensuring the continuous optimization of the navigation model and user experience.

CN118730101APending Publication Date: 2024-10-01ALIBABA (CHINA) CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202310379612.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The update efficiency of existing navigation models is low, resulting in poor navigation recommendation results. Full training takes a long time and consumes a lot of GPU resources, making it impossible to achieve day-level updates.

Method used

By acquiring the newly added navigation data in the first historical period, incremental training is performed based on navigation request characteristics, user navigation characteristics and route characteristics, and the navigation model is updated. The teacher model and ADER adaptive sampling algorithm are used, combined with distillation learning, to gradually update the model. parameters to ensure that the navigation model learns the latest information and avoids forgetting.

Benefits of technology

It improves the update efficiency and recommendation effect of the navigation model, reduces the training time, saves GPU resources, and realizes daily-level updates and continuous optimization of the navigation model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118730101A_ABST
    Figure CN118730101A_ABST
Patent Text Reader

Abstract

The invention provides a navigation model updating method and device and a server, and the method comprises the steps: obtaining a plurality of navigation data newly added in a first historical time period, each navigation data comprising a navigation request feature, a user navigation feature and a route feature of a navigation route recommended by a navigation model, the navigation request features indicate start and end point positions of navigation and a navigation mode, and the route features comprise a plurality of track segment identifiers and route information features; acquiring an actual navigation route corresponding to each piece of navigation data; and updating the navigation model according to the plurality of pieces of navigation data and the actual navigation route corresponding to each piece of navigation data. The updating efficiency of the navigation model is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of navigation technology, and in particular to a method, device and server for updating a navigation model. Background Art

[0002] In the scenario of navigation service recommendation, since many new routes are added every day, the navigation model in the navigation system needs to be updated in a timely manner to improve the navigation recommendation effect.

[0003] Currently, the server can retrain a new navigation model every once in a while, so that the new navigation model can learn the route information of the newly added routes, thereby improving the navigation recommendation effect. For example, the server can collect navigation data within the past 90 days every 10 days, and then retrain a navigation model based on the navigation data within the past 90 days.

[0004] However, each time the navigation model is updated, the server needs to retrain a new navigation model based on a large amount of navigation data, which makes the training time of the navigation model longer, thereby resulting in low updating efficiency of the navigation model. Summary of the invention

[0005] The present application provides a navigation model updating method, device and server, which are used to solve the technical problem of low updating efficiency of the navigation model in the prior art.

[0006] In a first aspect, the present application provides a method for updating a navigation model, the method comprising:

[0007] Acquire multiple navigation data newly added in the first historical period, each navigation data includes a navigation request feature, a user navigation feature, and a route feature of a navigation route recommended by a navigation model, the navigation request feature indicates a start and end position of the navigation and a navigation mode, and the route feature includes multiple track segment identifiers and route information features;

[0008] Obtaining an actual navigation route corresponding to each navigation data;

[0009] The navigation model is updated according to the plurality of navigation data and an actual navigation route corresponding to each navigation data.

[0010] In a possible implementation, updating the navigation model according to the plurality of navigation data and an actual navigation route corresponding to each navigation data includes:

[0011] Processing the navigation request feature, the user navigation feature and the route feature in each navigation data according to the navigation model to obtain a first predicted navigation route corresponding to each navigation data;

[0012] The model parameters in the navigation model are updated according to the first predicted navigation route and the actual navigation route corresponding to each navigation data.

[0013] In a possible implementation, the navigation request feature, the user navigation feature, and the route feature in each navigation data are processed according to the navigation model to obtain a first predicted navigation route corresponding to each navigation data, including:

[0014] Acquire trajectory segment features corresponding to a plurality of trajectory segment identifiers in the route feature in the navigation data, and replace the plurality of trajectory segment identifiers in the route feature with the trajectory segment features to obtain a replaced route feature;

[0015] The navigation request feature, the user navigation feature and the replaced route feature are input into the navigation model to obtain the first predicted navigation route corresponding to the navigation data.

[0016] In a possible implementation, updating the model parameters in the navigation model according to the first predicted navigation route and the actual navigation route corresponding to each navigation data includes:

[0017] determining a first loss between the first predicted navigation route and the actual navigation route;

[0018] According to the first loss, model parameters in the navigation model are updated.

[0019] In a possible implementation, updating a model parameter in the navigation model according to the first loss includes:

[0020] Acquire multiple sample navigation data in a second historical period, each sample navigation data including a sample navigation request feature, a sample user navigation feature, and a sample route feature of a navigation route recommended by a navigation model, wherein the second historical period is a period before a start time of the first historical period;

[0021] Get the teacher model corresponding to the navigation model;

[0022] The model parameters of the navigation model are updated according to the teacher model, the plurality of sample navigation data and the first loss.

[0023] In a possible implementation, for any sample navigation data, updating the model parameters of the navigation model according to the teacher model, the plurality of sample navigation data and the first loss includes:

[0024] For any one of the plurality of sample navigation data;

[0025] Processing the sample navigation data according to the teacher model to obtain a second predicted navigation route;

[0026] Processing the sample navigation data according to the navigation model to obtain a third predicted navigation route;

[0027] The model parameters of the navigation model are updated according to the second predicted navigation route, the third predicted navigation route and the first loss.

[0028] In a possible implementation, updating the model parameters of the navigation model according to the second predicted navigation route, the third predicted navigation route and the first loss includes:

[0029] determining a second loss according to the second predicted navigation route and the third predicted navigation route;

[0030] The model parameters of the navigation model are updated according to the first loss and the second loss.

[0031] In a possible implementation, acquiring a plurality of sample navigation data within the second historical period includes:

[0032] Acquiring all historical navigation data within the second historical period;

[0033] The historical navigation data is screened to obtain the plurality of sample navigation data.

[0034] In a second aspect, the present application provides a navigation model updating device, the navigation model updating device comprising a first acquisition module, a second acquisition module and an update module, wherein:

[0035] The first acquisition module is used to acquire a plurality of navigation data newly added in the first historical period, each navigation data including a navigation request feature, a user navigation feature, and a route feature of a navigation route recommended by a navigation model, the navigation request feature indicating the start and end positions of the navigation and the navigation mode, and the route feature including a plurality of track segment identifiers and a route information feature;

[0036] The second acquisition module is used to acquire the actual navigation route corresponding to each navigation data;

[0037] The updating module is used for updating the navigation model according to the plurality of navigation data and the actual navigation route corresponding to each navigation data.

[0038] In a possible implementation manner, the update module is specifically used to:

[0039] Processing the navigation request feature, the user navigation feature and the route feature in each navigation data according to the navigation model to obtain a first predicted navigation route corresponding to each navigation data;

[0040] The model parameters in the navigation model are updated according to the first predicted navigation route corresponding to each navigation data and the actual navigation route corresponding to the navigation data.

[0041] In a possible implementation manner, the update module is specifically used to:

[0042] Acquire trajectory segment features corresponding to a plurality of trajectory segment identifiers in the route feature in the navigation data, and replace the plurality of trajectory segment identifiers in the route feature with the trajectory segment features to obtain a replaced route feature;

[0043] The navigation request feature, the user navigation feature and the replaced route feature are input into the navigation model to obtain the first predicted navigation route corresponding to the navigation data.

[0044] In a possible implementation manner, the update module is specifically used to:

[0045] determining a first loss between the first predicted navigation route and the actual navigation route;

[0046] According to the first loss, model parameters in the navigation model are updated.

[0047] In a possible implementation manner, the update module is specifically used to:

[0048] Acquire multiple sample navigation data in a second historical period, each sample navigation data including a sample navigation request feature, a sample user navigation feature, and a sample route feature of a navigation route recommended by a navigation model, wherein the second historical period is a period before a start time of the first historical period;

[0049] Get the teacher model corresponding to the navigation model;

[0050] The model parameters of the navigation model are updated according to the teacher model, the plurality of sample navigation data and the first loss.

[0051] In a possible implementation manner, the update module is specifically used to:

[0052] For any one of the plurality of sample navigation data;

[0053] Processing the sample navigation data according to the teacher model to obtain a second predicted navigation route;

[0054] Processing the sample navigation data according to the navigation model to obtain a third predicted navigation route;

[0055] The model parameters of the navigation model are updated according to the second predicted navigation route, the third predicted navigation route and the first loss.

[0056] In a possible implementation manner, the update module is specifically used to:

[0057] determining a second loss according to the second predicted navigation route and the third predicted navigation route;

[0058] The model parameters of the navigation model are updated according to the first loss and the second loss.

[0059] In a possible implementation manner, the update module is specifically used to:

[0060] Acquiring all historical navigation data within the second historical period;

[0061] The historical navigation data is screened to obtain the plurality of sample navigation data.

[0062] In a third aspect, the present application provides a server, including: a processor and a memory;

[0063] The memory stores computer-executable instructions;

[0064] The processor executes the computer-executable instructions stored in the memory, so that the processor performs the first aspect and various methods for updating the navigation model that may be involved in the first aspect.

[0065] In a fourth aspect, the present application provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the first aspect and various methods for updating the navigation model that may be involved in the first aspect.

[0066] The present application provides a method, device and server for updating a navigation model, wherein the server can obtain multiple navigation data newly added in a first historical period, wherein each navigation data may include navigation request features, user navigation features and route features of the navigation route recommended by the navigation model, wherein the navigation request features indicate the start and end positions of the navigation and the navigation mode, and the route features include multiple track segment identifiers and route information features, and obtain the actual navigation route corresponding to each navigation data, and update the navigation model according to the multiple navigation data and the actual navigation route corresponding to each navigation data. According to the above method, since the server can incrementally train the original navigation model based on the newly added navigation data, the server does not need to retrain the new navigation model through a large amount of navigation data, thereby reducing the training time of the navigation model and improving the updating efficiency of the navigation model. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application;

[0068] Figure 2 A flowchart of a method for updating a navigation model provided in an embodiment of the present application;

[0069] Figure 3 A schematic diagram of obtaining navigation request characteristics provided in an embodiment of the present application;

[0070] Figure 4 A schematic diagram of a user navigation feature provided in an embodiment of the present application;

[0071] Figure 5 A schematic diagram of a trajectory segment of a navigation route provided in an embodiment of the present application;

[0072] Figure 6 A schematic diagram of an actual navigation route provided in an embodiment of the present application;

[0073] Figure 7 A schematic diagram of an updating process of a first preset relationship provided in an embodiment of the present application;

[0074] Figure 8 A schematic diagram of a process for updating model parameters of a navigation model provided in an embodiment of the present application;

[0075] Fig. 9 A schematic diagram of a method for updating model parameters of a navigation model provided in an embodiment of the present application;

[0076] Fig.10 A process diagram of a method for updating a navigation model provided in an embodiment of the present application;

[0077] Fig.11A schematic diagram of the structure of a navigation model updating device provided in an embodiment of the present application;

[0078] Fig.12 A schematic diagram of the hardware structure of the server provided for this application. DETAILED DESCRIPTION

[0079] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0080] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0081] In the related art, since the road attributes of multiple routes change every day, the navigation model in the navigation system needs to be updated in a timely manner to improve the navigation recommendation effect. For example, in actual application scenarios, since the road attributes of multiple routes may change to route closure (such as road maintenance, etc.), and the road attributes of multiple routes may also change to route opening (such as new roads or road maintenance completion, etc.), the navigation model needs to learn new road attributes, thereby improving the navigation recommendation effect.

[0082] At present, the server can retrain a new navigation model at regular intervals. For example, if the update cycle of the navigation system is 10 days, the server can collect navigation data within the past 3 months every 10 days, and then retrain a new navigation model based on the navigation data within the past 3 months, and then replace the original navigation model in the navigation system with the navigation model, thereby updating the navigation model in the navigation system.

[0083] However, it takes a long time to retrain a new navigation model with a large amount of navigation data. For example, it takes a long time to fully train the navigation model with a large amount of navigation data, and it consumes a lot of GPU resources, so it is impossible to update the navigation model every day. This leads to low update efficiency of the navigation model.

[0084] In order to solve the technical problems in the related art, the embodiment of the present application provides a method for updating a navigation model, wherein the server can obtain multiple navigation data newly added in the first historical period, each navigation data includes a navigation request feature indicating the start and end position of the navigation and the navigation mode, a user navigation feature and a route feature of the navigation route constructed by the navigation model, obtain the actual navigation route corresponding to each navigation data, process the navigation data according to the navigation model, obtain a first predicted navigation route, determine a first loss according to the first predicted navigation route and the actual navigation route, and update the model parameters in the navigation model according to the first loss. In this way, since the navigation data may include multiple features associated with navigation, the training accuracy of the navigation model is high, and the navigation model can also learn the newly added route information through the route features, and since the server can perform incremental training on the original navigation model based on the newly added navigation data, the server does not need to retrain the new navigation model through a large amount of navigation data, thereby reducing the training time of the navigation model and improving the update efficiency of the navigation model.

[0085] It should be noted that the embodiments of the present application can utilize the deep learning modeling capabilities of link embedding to build a framework from offline training data collection, link vocabulary update, incremental training, and model online, providing update and iteration capabilities for large-scale complex deep learning models. The framework will first combine the user's historical navigation data to provide training samples for the incremental model, and update the link vocabulary in an appended form, and then load the pre-trained model parameters, and use the incremental data to further train the navigation model to learn the latest user representation and navigation route representation to better serve users. To ensure the lossless effect of the navigation model, and combined with the periodicity of the navigation scene, each training can trace back a period of historical data to avoid forgetting the navigation model, thereby achieving continuous optimization and updating of the navigation model.

[0086] Next, combine Figure 1 , the application scenarios of the embodiments of the present application are described.

[0087] Figure 1 This is a schematic diagram of an application scenario provided by the embodiment of this application. Figure 1, including: a server and an electronic device. Among them, the display page of the electronic device is a navigation page, the navigation start point-the navigation end point includes section A, section B and section C, and the navigation mode is a walking mode. Since section C is not opened, the navigation route recommended by the navigation model is the route of section A + section B. The navigation route is estimated to be 1 kilometer and the estimated time is 10 minutes. After section C is opened, the navigation model will not recommend a route including section C. Therefore, the server can collect multiple navigation data after the opening of section C, and perform incremental training on the original navigation model through multiple navigation data. After the navigation model converges, the server can send an updated navigation model to the electronic device.

[0088] See also Figure 1 When the electronic device receives a navigation request, if the start and end positions of the navigation remain unchanged and the navigation mode is walking, the navigation model in the electronic device recommends a navigation route of section A + section C, which is 0.5 kilometers long and takes 5 minutes. Compared with section A + section B, the route is shorter and takes less time. In this way, after the section is updated, the server can incrementally train the trained navigation model based on the newly added navigation data, without the need to retrain a new navigation model with a large amount of navigation data, thereby reducing the training time of the navigation model, improving the update efficiency of the navigation model, and improving the navigation recommendation effect and user experience.

[0089] It should be noted that Figure 1 The application scenarios of the embodiments of the present application are merely illustrative and are not intended to limit the application scenarios of the embodiments of the present application.

[0090] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0091] Figure 2 A flowchart of a method for updating a navigation model provided in an embodiment of the present application. Figure 2 , the method may include:

[0092] S201. Acquire a plurality of navigation data newly added in a first historical period.

[0093] The execution subject of the embodiment of the present application may be a server, or a navigation model updating device set in the server. The navigation model updating device may be implemented by software, or by a combination of software and hardware, which is not limited in the embodiment of the present application.

[0094] The plurality of navigation data may be navigation data within a first historical period. For example, the first historical period may be within 3 days, 7 days, or 10 days, etc., which is not limited in the present embodiment. For example, if the first historical period is within 3 days, the plurality of newly added navigation data may be all navigation data within 3 days.

[0095] Optionally, each navigation data may include navigation request features, user navigation features, and route features of the navigation route recommended by the navigation model. Optionally, the server may collect multiple navigation data in offline data. For example, after a user uses an electronic device for navigation, the electronic device may upload navigation data corresponding to this navigation to the server, and the navigation data may be stored in a database of the server. Therefore, the server may collect multiple navigation data in the database.

[0096] The navigation request feature may indicate the start and end positions of the navigation and the navigation mode. The start and end positions of the navigation may include the start and end points of the navigation. For example, when the server receives the navigation request, the server may determine the start and end positions of the navigation according to the navigation request.

[0097] Optionally, the navigation mode can be a mode used by the navigation application for navigation. For example, the navigation mode can include: a mode that gives priority to high-speed routes, a mode that gives priority to low-speed routes, a mode that gives priority to the least number of traffic lights, a mode that gives priority to the shortest distance, and a mode that gives priority to the shortest distance in time. It should be noted that the navigation mode can also include any other mode, which is not limited in the embodiments of the present application. For example, the navigation mode can be a default mode of the navigation application, or a mode set by the user. When the server receives a navigation request, the server can determine the navigation mode used for this navigation based on the navigation request.

[0098] Next, combine Figure 3 , explaining the characteristics of obtaining navigation requests.

[0099] Figure 3 A schematic diagram of obtaining navigation request characteristics provided in an embodiment of the present application. Figure 3 , including an electronic device. The display page of the electronic device is a navigation page. The input bar in the navigation page includes the text "target location", the map of the navigation page displays a map of the target location, and the window at the bottom of the navigation page indicates that the target location is 1 kilometer away from the current location.

[0100] See also Figure 3 When the user clicks the route control in the window at the bottom of the navigation page, the electronic device can determine that the navigation starting point indicated by the navigation request feature is the current location, the navigation end point is the target location, and the navigation mode is the default mode (such as walking mode, etc.). It should be noted that Figure 3 The illustrated embodiment merely illustrates the start and end points and the navigation mode through a display page of an electronic device, and does not limit the execution subject of the embodiment of the present application.

[0101] User navigation features can indicate the user's navigation habits. For example, for the same navigation starting point and navigation end point, different users may actually take different navigation routes, so each user has a corresponding user navigation feature. For example, the user's navigation habits may be to give priority to high-speed routes, routes with the least traffic lights, familiar routes, etc. It should be noted that the above examples are only illustrative examples of the user's navigation habits. In actual application, the user navigation features can indicate all the user's navigation habits, and the embodiments of the present application do not limit this.

[0102] Next, combine Figure 4 , describing the user navigation characteristics.

[0103] Figure 4 A schematic diagram of a user navigation feature provided by an embodiment of the present application. Figure 4 , including: an electronic device. Among them, the display page of the electronic device is a navigation page, the navigation starting point of the navigation page is position A, the navigation end point is position B, the navigation mode is walking, and the positions A and B include routes A and B. When the login user of the electronic device is user 1, since user 1 is accustomed to taking a long way, the navigation model gives priority to recommending route 1 to user 1. When the login user of the electronic device is changed from user 1 to user 2, since user 2 is accustomed to taking a short way, the navigation model gives priority to recommending route B to user 2. In this way, when different users use the navigation, although the starting and ending positions are the same, the routes recommended by the navigation are different. Since the navigation model learns the navigation user characteristics of different users, when different users use the navigation model, the navigation model can combine the navigation habits of the users and give priority to recommending the navigation routes that the users are accustomed to, thereby improving the recommendation effect of the navigation model.

[0104] It should be noted that Figure 4 The illustrated embodiment is merely an exemplary illustration of user navigation features learned by a navigation model and is not intended to limit the execution subject of the embodiment of the present application.

[0105] Optionally, the route features of the navigation route recommended by the navigation model may include multiple trajectory segment identifiers and route information features. For example, in actual application, the navigation model may recommend at least two navigation routes for a navigation request. Optionally, the route information feature is used to indicate the route information of the navigation route. For example, the route information of the navigation route may include information such as the number of traffic lights on the navigation route, the traffic volume on the navigation route, and the number of left turn lanes on the navigation route, which is not limited in the embodiments of the present application.

[0106] Optionally, the track segment identifier may indicate multiple track segments included in the navigation route. For example, in the process of map data collection, each track segment (which may be a route or a route between two intersections, which is not limited in the embodiments of the present application) may correspond to an identifier, and therefore, the route features of the navigation route may include track segment identifiers corresponding to all track segments in the navigation route. For example, if the navigation route includes track segment A, track segment B, and track segment C, the identifier of track segment A is ID1, the identifier of track segment B is ID2, and the identifier of track segment C is ID3, then the route features of the navigation route may include an identifier string of ID1-ID2-ID3.

[0107] Next, combine Figure 5 , describing the trajectory segments of the navigation route.

[0108] Figure 5 A schematic diagram of a navigation route provided in an embodiment of the present application. Figure 5 , including navigation maps.

[0109] The navigation map includes location A and location B. Location A and location B include route 1 and route 2. Route 1 consists of track segment 1 and track segment 2, and route 2 is the route of track segment 3. In the process of map acquisition, each route can be composed of at least one track segment, and each track segment has a corresponding identifier. In this way, any route can be represented by at least one track segment identifier, so that the navigation model can obtain the relationship between specific track segments through deep learning, thereby improving the navigation accuracy of the navigation model.

[0110] S202: Obtain the actual navigation route corresponding to each navigation data.

[0111] The actual navigation route may be the navigation route actually used by the user. For example, for a navigation request, the server may recommend three navigation routes to the user, and the user may select any one of the navigation routes as the actual navigation route. It should be noted that in actual application, the route actually selected by the user may be a route other than the three navigation routes.

[0112] Optionally, the server may obtain the actual navigation route based on the historical navigation data. For example, the historical navigation data is the actually generated navigation data, the navigation starting point of the navigation data is location A, the navigation end point is location B, the navigation recommended routes are route 1, route 2 and route 3, and the navigation route actually selected by the user is route 4. In this way, the server may determine that the actual navigation route corresponding to the navigation data is route 4.

[0113] It should be noted that when training the navigation model, the embodiment of the present application can sample incremental training samples based on the user's navigation log data in the most recent historical period, and mine high-frequency road information, and update the newly added link id to the vocabulary in an appended form. This ensures that the representation of the newly added link id continues to be learned without disrupting the historical knowledge that has been learned.

[0114] Next, combine Figure 6 , explaining the actual navigation route.

[0115] Figure 6 This is a schematic diagram of an actual navigation route provided in an embodiment of the present application. Figure 6 , including: an electronic device. Among them, the display page of the electronic device is a navigation page. The navigation starting point in the navigation page is position 1, the navigation end point is position 2, the navigation mode is walking mode, and the navigation routes between position 1 and position 2 recommended by the navigation model are route A and route B, and the navigation model preferentially recommends route A. However, in the process of the user moving from position 1 to position 2, the route actually taken by the user is route C which is not recommended by the navigation model. Therefore, for this navigation from position 1 to position 2, the navigation routes recommended by the navigation model include route A and route B, and the actual navigation route is route C.

[0116] S203: Update the navigation model according to the plurality of navigation data and the actual navigation route corresponding to each navigation data.

[0117] Optionally, the server may update the navigation model according to the following feasible implementation method: process the navigation request features, user navigation features and route features in each navigation data according to the navigation model to obtain a first predicted navigation route corresponding to each navigation data; and update the model parameters in the navigation model according to the first predicted navigation route and the actual navigation route corresponding to each navigation data.

[0118] Optionally, the navigation model may be trained based on navigation data in a period before the start time of the first historical period. For example, if the first historical period is within 7 days, the navigation model may be trained based on navigation data 7 days ago. The navigation model is not trained based on navigation data within 7 days, so the navigation model does not learn the newly added navigation data. The server needs to update the model parameters in the navigation model so that the navigation model learns the newly added navigation data, thereby improving the navigation effect of the navigation model.

[0119] Optionally, the navigation request feature, user navigation feature and route feature in each navigation data are processed according to the navigation model to obtain the first predicted navigation route corresponding to each navigation data, specifically: the trajectory segment features corresponding to the multiple trajectory segment identifiers in the route features in the navigation data are obtained, and the multiple trajectory segment identifiers in the route features are replaced with the trajectory segment features to obtain the replaced route features, and the navigation request feature, user navigation feature and replaced route feature are input into the navigation model to obtain the first predicted navigation route corresponding to the navigation data. For example, the navigation model can process the navigation request feature, user navigation feature and replaced route feature, and since the navigation model learns the relationship between the above features and the navigation route, the navigation model can output the first predicted navigation route based on the above features.

[0120] Optionally, since the navigation model can learn the relationship between feature vectors, before inputting the route features into the navigation model, it is necessary to replace the multiple trajectory segment identifiers in the route features with multiple trajectory segment features (which can be multi-dimensional feature vectors). In this way, the navigation model can learn the information of the multiple trajectory segments of the navigation route.

[0121] Optionally, the server may determine the trajectory segment features corresponding to the multiple trajectory segment identifiers in the route feature according to the following feasible implementation method: obtain a first preset relationship, and determine the trajectory segment features of the navigation route according to the trajectory segment identifiers in the route feature and the first preset relationship. The first preset relationship may include at least one trajectory segment identifier and the trajectory segment features corresponding to each trajectory segment identifier. For example, the first preset relationship may be as shown in Table 1:

[0122] Table 1

[0123] Track segment identification Track segment features Logo 1 Feature 1 Logo 2 Feature 2 Logo 3 Feature 3 …… ……

[0124] It should be noted that Table 1 is only an example to illustrate the first preset relationship, and is not a limitation to the first preset relationship.

[0125] For example, if the trajectory segment identifier in the route feature is identifier 1, then the trajectory segment feature corresponding to the trajectory segment identifier is feature 1; if the trajectory segment identifier in the route feature is identifier 2, then the trajectory segment feature corresponding to the trajectory segment identifier is feature 2; if the trajectory segment identifier in the route feature is identifier 3, then the trajectory segment feature corresponding to the trajectory segment identifier is feature 3.

[0126] Optionally, the electronic device can obtain the first preset relationship according to the neural network layer of the navigation model. For example, the first preset relationship can be multiple sets of key-value pairs, and each ID (trajectory segment identifier) ​​corresponds to a feature vector. For example, during the navigation model training process, each trajectory segment identifier is converted into a trajectory segment feature. When the navigation model converges, the trajectory segment feature corresponding to each trajectory segment identifier is fixed. When the navigation model is incrementally trained, the trajectory segment feature can continue to change.

[0127] It should be noted that since the track segment features stored in the navigation model are the features of the track segment before the start time of the first historical period, if there is a newly added track segment identifier in the first historical period, the navigation model can add the newly added track segment identifier in the first preset relationship, and in the process of updating the model parameters in the navigation model, the track segment features corresponding to the newly added track segment identifier will also be updated. In this way, by adding a new track segment identifier in the first preset relationship, the navigation model can be prevented from forgetting the previously learned information and the accuracy of the route recommendation of the navigation model can be prevented from being reduced.

[0128] Optionally, before adding a new trajectory segment identifier to the first preset relationship, the server may determine the frequency of occurrence of the trajectory segment identifier in the navigation data within the first historical period. If the frequency of occurrence of the trajectory segment identifier is greater than or equal to a preset threshold, the server may add the trajectory segment identifier to the first preset relationship. In this way, during the process of the server performing incremental training on the navigation model, since the trajectory segment identifier appears more times, the navigation model can learn more information about the trajectory segment corresponding to the trajectory segment identifier, thereby improving the training effect of the navigation model.

[0129] Next, combine Figure 7 , the updating process of the first preset relationship is explained.

[0130] Figure 7 A schematic diagram of the updating process of a first preset relationship provided in an embodiment of the present application. Figure 7, including a track segment vocabulary (first preset relationship). The track segment vocabulary includes 3 track segments, the track segment feature corresponding to track segment A is feature vector 1, the track segment feature corresponding to track segment B is feature vector 2, and the track segment feature corresponding to track segment C is feature vector 3. If the multiple navigation data obtained by the server include track segment D, the server determines that the newly added track segment is track segment D. Therefore, the server can add track segment D and feature vector 4 corresponding to track segment D to the track segment vocabulary.

[0131] It should be noted that during the training of the navigation model, the feature vector corresponding to each trajectory segment will be updated. When the navigation model converges, each trajectory segment can obtain the corresponding feature vector. Moreover, during the first incremental training of the navigation model, since trajectory segment D is a newly added trajectory segment (the navigation model has learned other trajectory segment information, so the feature vectors of other trajectory segments are known, but during the incremental training process, the feature vectors of other trajectory segments will also be updated), feature vector 4 can be a preset initial vector, which is updated as the navigation model is trained.

[0132] Optionally, the model parameters in the navigation model are updated according to the first predicted navigation route and the actual navigation route corresponding to each navigation data, specifically: a first loss between the first predicted navigation route and the actual navigation route is determined, and the model parameters in the navigation model are updated according to the first loss. For example, the server can determine the first loss according to the gap between the first predicted navigation route and the actual navigation route, and then update the model parameters in the navigation model according to the first loss.

[0133] Next, combine Figure 8 , the updating process of the model parameters of the navigation model is explained.

[0134] Figure 8 A schematic diagram of the updating process of the model parameters of a navigation model provided in an embodiment of the present application. For any navigation data, please refer to Figure 8 , including: a navigation model. The navigation request features, user navigation features and route features of the navigation data are input into the navigation model, and the navigation model can output a first predicted navigation route. According to the first predicted navigation route and the actual navigation route corresponding to the navigation data, the first loss of the navigation model is determined, and then the model parameters in the navigation model are updated according to the first loss. In this way, the server can perform incremental training on the original navigation model based on the incremental samples to improve the training efficiency of the navigation model, and after the navigation model converges, the navigation recommended route related to the actual navigation route can be output to improve the accuracy of the navigation model.

[0135] It should be noted that the use of incremental samples to iterate the link embedding navigation model in this application can be divided into three stages. In the first stage, the navigation model learns the representation of users and routes from a large number of historical trajectories through a large number of iterative training, and loads the structure and full parameters of the navigation model into the memory; in the second stage, combined with the ADER adaptive sampling algorithm, some samples are sampled from the navigation log data within a historical period; in the third stage, the sampled partial samples (incremental training samples) and the latest link vocabulary are used to continue to iteratively update the deep learning model (navigation model) using distillation learning to ensure that the training effect of the deep learning model is lossless; while the deep learning model remembers the historical knowledge learned, the learning effect of the deep learning model on the newly added routes is further improved, thereby expanding the capacity of the deep learning model.

[0136] Optionally, the training scenario of the above-mentioned deep learning model is offline training. After the model is trained offline, the deep learning model can be automatically predicted online to serve users and continuously optimize the user experience.

[0137] The updating method of the navigation model in the embodiment of the present application can realize the daily level update of the large-scale deep learning model, and then can adaptively learn the new route representation, and achieve the lossless effect of incremental training through ADER sampling and distillation learning, so that the navigation model can be continuously updated. While saving a lot of manpower and GPU computing resources, the accuracy of the route recommendation of the navigation model can be continuously optimized.

[0138] The embodiment of the present application provides a method for updating a navigation model, wherein a server can obtain multiple navigation data newly added in a first historical period, and obtain an actual navigation route corresponding to each navigation data, and process the navigation request feature, the user navigation feature and the route feature in the navigation data according to the navigation model to obtain a first predicted navigation route, wherein the track segment identifier in the route feature is replaced with the track segment feature, and a first loss is determined according to the first predicted navigation route and the actual navigation route, and the model parameters in the navigation model are updated according to the first loss. In this way, since the navigation data can include multiple features associated with navigation, and the navigation model can learn the features at the track segment level through the route features, the training accuracy of the navigation model is high, and the navigation model can learn the newly added route information. Since the server can perform incremental training on the original navigation model based on the newly added navigation data, although the amount of data at the track segment level is large, the server does not need to retrain the new navigation model through a large amount of navigation data, thereby reducing the training time of the navigation model, so that the server can update the navigation model on a daily basis, improving the update efficiency of the navigation model and the user experience.

[0139] exist Figure 2 Based on the embodiment shown below, combined with Fig. 9 In the above-mentioned method for updating the navigation model, a method for updating the model parameters in the navigation model according to the first loss is described in detail.

[0140] Fig. 9 A schematic diagram of a method for updating model parameters of a navigation model provided in an embodiment of the present application. Fig. 9 The method flow includes:

[0141] S901. Acquire a plurality of sample navigation data within a second historical period.

[0142] The second historical period is the period before the start time of the first historical period. For example, if the first historical period is within 3 days, the second historical period can be within 3 to 30 days; if the first historical period is within 7 days, the second historical period can be within 7 to 90 days.

[0143] Optionally, each sample navigation data includes a sample navigation request feature, a sample user navigation feature, and a sample route feature of a navigation route recommended by a navigation model. The sample navigation request feature may indicate the start and end locations and navigation mode of the navigation corresponding to the sample navigation data, the sample user navigation feature may indicate the user's navigation habits, and the sample route feature includes multiple track segment identifiers and sample route information features.

[0144] Optionally, the server may obtain multiple sample navigation data within the second historical period according to the following feasible implementation method: obtain all historical navigation data within the second historical period, and filter the historical navigation data to obtain the multiple sample navigation data. For example, after the server obtains all historical navigation data within the second historical period, some historical navigation data with low importance (such as the start and end positions with low frequency of occurrence, etc.) may be deleted, which can reduce the number of sample navigation data processed by the navigation model, thereby improving the update efficiency of the navigation model.

[0145] Optionally, the server may process all the historical navigation data according to an Adaptively Distilled Exemplar Replay (ADER) method to obtain a plurality of sample navigation data. For example, the server may perform mean processing on all the historical navigation data to obtain an average value of the historical navigation data, and if the absolute value of the difference between the value corresponding to any one of the historical navigation data and the average value is less than or equal to a first threshold, the server may determine that the historical navigation data is sample navigation data.

[0146] Optionally, the server may determine multiple sample navigation data according to a sampling model. For example, multiple historical navigation data are processed by a sampling model to obtain sample navigation data in the multiple historical navigation data. The sampling model may be obtained by training multiple groups of samples, and each group of samples may include multiple training navigation data and target navigation data marked in the multiple training navigation data.

[0147] It should be noted that the server may also filter a plurality of sample navigation data from all the historical navigation data within the second historical period based on any other feasible implementation manner, and this embodiment of the present application does not limit this.

[0148] S902: Obtain the teacher model corresponding to the navigation model.

[0149] Optionally, the teacher model can assist the navigation model in distillation learning. For example, since the navigation model is a converged model, when performing incremental training on the navigation model, the server can assist the navigation model training through the teacher model to avoid the navigation model losing learned features and improve the navigation accuracy of the navigation model.

[0150] Optionally, the teacher model may be a navigation model. For example, when performing incremental training on a navigation model, the server may use another identical navigation model as the teacher model. For example, when the navigation model is updated, the teacher model corresponding to the navigation model may be the navigation model that has not been updated. In this way, since the navigation accuracy of the teacher model is high, the teacher model may assist the navigation model in performing better incremental training and improve the accuracy of the navigation model update.

[0151] S903: Update the model parameters of the navigation model according to the teacher model, the plurality of sample navigation data and the first loss.

[0152] Specifically, for any one sample navigation data among multiple sample navigation data, the server may update the model parameters of the navigation model according to the following feasible implementation methods: processing the sample navigation data according to the teacher model to obtain a second predicted navigation route, processing the sample navigation data according to the navigation model to obtain a third predicted navigation route, and updating the model parameters of the navigation model according to the second predicted navigation route, the third predicted navigation route and the first loss.

[0153] Optionally, the teacher model may process sample navigation request features, sample user navigation features and sample route features of the navigation route recommended by the navigation model in the sample navigation data, and thereby obtain a second predicted navigation route corresponding to the sample navigation data.

[0154] Optionally, the navigation model may process sample navigation request features, sample user navigation features and sample route features of the navigation routes recommended by the navigation model in the sample navigation data, and thereby obtain a third predicted navigation route corresponding to the sample navigation data.

[0155] It should be noted that the sample route features include multiple trajectory segment identifiers. Therefore, before the teacher model and the navigation model process the sample navigation data, the server can replace the multiple trajectory segment identifiers in the sample route features of the sample navigation data with multiple trajectory segment features, and then process the sample navigation data through the teacher model and the navigation model.

[0156] Optionally, the server updates the model parameters of the navigation model according to the second predicted navigation route, the third predicted navigation route and the first loss, specifically: determining the second loss according to the second predicted navigation route and the third predicted navigation route, and updating the model parameters of the navigation model according to the first loss and the second loss. For example, the server can determine the second loss according to the gap between the second predicted navigation route and the third predicted navigation route, and then update the model parameters in the navigation model according to the first loss and the second loss.

[0157] It should be noted that since the teacher model is the model before the navigation model is updated, when the navigation model is trained, after the updated navigation model processes the sample navigation data, if the difference between the third predicted navigation route output by the updated navigation model and the second predicted navigation route output by the teacher model is smaller, it means that less information is lost during the update of the navigation model. Therefore, by updating the navigation model through the first loss and the second loss, the navigation model can not only learn the association relationship between the new navigation data, but also retain the association relationship between the learned navigation data. In this way, the navigation effect and navigation accuracy of the navigation model can be improved.

[0158] It should be noted that the server can automatically collect multiple navigation data and multiple sample navigation data, and then automatically perform offline training on the navigation model. After the incremental training of the navigation model converges, the server can also automatically go online to test the effectiveness of the navigation model. After the navigation model test passes, the server can send the navigation model to multiple electronic devices, thereby optimizing the user experience.

[0159] The embodiment of the present application provides a method for updating model parameters of a navigation model, wherein a server obtains a plurality of sample navigation data within a second historical period, obtains a teacher model corresponding to the navigation model, processes the sample navigation data according to the teacher model to obtain a second predicted navigation route, processes the sample navigation data according to the navigation model to obtain a third predicted navigation route, determines a second loss according to the second predicted navigation route and the third predicted navigation route, and updates the model parameters of the navigation model according to the first loss and the second loss. In this way, if the first loss is smaller, the navigation recommendation accuracy after the navigation model is updated is higher, and if the second loss is smaller, the less learned navigation information is lost after the navigation model is updated. Therefore, through the first loss and the second loss, the accuracy of the incremental training of the navigation model can be lost without loss, and the navigation model can be continuously and automatically updated, saving manpower and server computing resources, and improving the navigation accuracy and navigation effect of the navigation model.

[0160] Based on any of the above embodiments, Fig.10 , the process of updating the above navigation model is explained.

[0161] Fig.10 A process diagram of a navigation model update method provided in an embodiment of the present application. For any navigation data and sample navigation data, please refer to Fig.10 , including a navigation model and a teacher model corresponding to the navigation model. The navigation request feature, user navigation feature and route feature of the navigation data are input into the navigation model, and the navigation model can output a first predicted navigation route. According to the first predicted navigation route and the actual navigation route corresponding to the navigation data, a first loss of the navigation model is determined.

[0162] See also Fig.10 , input sample navigation request features, sample user navigation features and sample route features to the navigation model, and the navigation model can output a third predicted navigation route. Input sample navigation request features, sample user navigation features and sample route features to the teacher model, and the teacher model can output a second predicted navigation route. Determine a second loss based on the first predicted navigation route and the second predicted navigation route.

[0163] See also Fig.10 , the model parameters in the navigation model are updated according to the first loss and the second loss. In this way, the accuracy of the incremental training of the navigation model can be lost without loss through the first loss and the second loss. The navigation model can be continuously and automatically updated, saving manpower and server computing resources, and improving the navigation accuracy and navigation effect of the navigation model.

[0164] In an embodiment of the present application, the navigation model can be a large-scale complex deep learning model of link-level features, and the embodiment of the present application can provide a unified iterative update solution for sample collection, vocabulary update, and navigation model training, thereby continuously improving the capacity of the model. In addition, the ADER adaptive sampling technology and knowledge distillation are used in the embodiment of the present application to ensure that the effect of incremental training of the navigation model is lossless, thereby realizing continuous automatic incremental iteration.

[0165] Fig.11 A schematic diagram of a navigation model updating device provided in an embodiment of the present application. Fig.11 The updating device 110 of the navigation model includes a first acquisition module 111, a second acquisition module 112 and an updating module 113, wherein:

[0166] The first acquisition module 111 is used to acquire a plurality of navigation data newly added in the first historical period, each navigation data including a navigation request feature, a user navigation feature, and a route feature of a navigation route recommended by a navigation model, the navigation request feature indicating the start and end positions of the navigation and the navigation mode, and the route feature including a plurality of track segment identifiers and a route information feature;

[0167] The second acquisition module 112 is used to acquire the actual navigation route corresponding to each navigation data;

[0168] The updating module 113 is used for updating the navigation model according to the plurality of navigation data and the actual navigation route corresponding to each navigation data.

[0169] In a possible implementation, the updating module 113 is specifically configured to:

[0170] Processing the navigation request feature, the user navigation feature and the route feature in the navigation data according to the navigation model to obtain a first predicted navigation route;

[0171] Model parameters in the navigation model are updated according to the first predicted navigation route and the actual navigation route corresponding to the navigation data.

[0172] In a possible implementation, the updating module 113 is specifically configured to:

[0173] Determine the trajectory segment features corresponding to the multiple trajectory segment identifiers in the route feature, and replace the multiple trajectory segment identifiers in the route feature with the trajectory segment features to obtain a replaced route feature;

[0174] The navigation request feature, the user navigation feature and the replaced route feature are input into the navigation model to obtain the first predicted navigation route.

[0175] In a possible implementation, the updating module 113 is specifically configured to:

[0176] determining a first loss according to the first predicted navigation route and the actual navigation route;

[0177] According to the first loss, model parameters in the navigation model are updated.

[0178] In a possible implementation, the updating module 113 is specifically configured to:

[0179] Acquire a plurality of sample navigation data in a second historical period, each sample navigation data including a sample navigation request feature, a sample user navigation feature, and a sample route feature of a navigation route recommended by a navigation model, wherein the second historical period is a period before the first historical period;

[0180] Get the teacher model corresponding to the navigation model;

[0181] The model parameters of the navigation model are updated according to the teacher model, the plurality of sample navigation data and the first loss.

[0182] In a possible implementation, the updating module 113 is specifically configured to:

[0183] Processing the sample navigation data according to the teacher model to obtain a second predicted navigation route;

[0184] Processing the sample navigation data according to the navigation model to obtain a third predicted navigation route;

[0185] The model parameters of the navigation model are updated according to the second predicted navigation route, the third predicted navigation route and the first loss.

[0186] In a possible implementation, the updating module 113 is specifically configured to:

[0187] determining a second loss according to the second predicted navigation route and the third predicted navigation route;

[0188] The model parameters of the navigation model are updated according to the first loss and the second loss.

[0189] In a possible implementation, the updating module 113 is specifically configured to:

[0190] Acquiring all historical navigation data within the second historical period;

[0191] The historical navigation data is screened to obtain the plurality of sample navigation data.

[0192] The navigation model updating device provided in the embodiment of the present application can execute the technical solution shown in the above method embodiment, and its implementation principle and beneficial effects are similar, which will not be described in detail here.

[0193] The updating device of the navigation model shown in the embodiment of the present application may be a chip, a hardware module, a processor, etc. Of course, the updating device of the navigation model may be in other forms, which is not specifically limited in the embodiment of the present application.

[0194] Fig.12 A schematic diagram of the hardware structure of the server provided for this application. Fig.12 The server 120 may include: a processor 121 and a memory 122, wherein the processor 121 and the memory 122 may communicate; illustratively, the processor 121 and the memory 122 communicate via a communication bus 123, the memory 122 is used to store program instructions, and the processor 121 is used to call the program instructions in the memory to execute the navigation model updating method shown in any of the above method embodiments.

[0195] Optionally, the server 120 may further include a communication interface, which may include a transmitter and / or a receiver.

[0196] Optionally, the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in the present application may be directly implemented as being executed by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.

[0197] An embodiment of the present application provides a readable storage medium, on which a computer program is stored; the computer program is used to implement the method for updating the navigation model as described in any of the above embodiments.

[0198] An embodiment of the present application provides a computer program product, wherein the computer program product is a computer program. When the computer program is executed by a processor, the method for updating the navigation model as described in any of the above embodiments is implemented.

[0199] All or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a readable memory. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned memory (storage medium) includes: read-only memory (English: read-only memory, abbreviated: ROM), RAM, flash memory, hard disk, solid state drive, magnetic tape (English: magnetic tape), floppy disk (English: floppy disk), optical disc (English: optical disc) and any combination thereof.

[0200] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable server to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable server generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0201] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable server to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0202] These computer program instructions may also be loaded onto a computer or other programmable server so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide the instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0203] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

[0204] In the present application, the term "include" and its variations may refer to non-restrictive inclusion; the term "or" and its variations may refer to "and / or". The terms "first", "second", etc. in the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. In the present application, "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B may mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previously associated objects are in an "or" relationship.

Claims

1. A method for updating a navigation model, characterized in that: include: Acquire multiple navigation data within a first historical period, each navigation data including a navigation request feature, a user navigation feature, and a route feature of a navigation route recommended by a navigation model, wherein the navigation request feature indicates a start and end position of the navigation and a navigation mode, and the route feature includes multiple track segment identifiers and a route information feature; Obtaining an actual navigation route corresponding to each navigation data; The navigation model is updated according to the plurality of navigation data and an actual navigation route corresponding to each navigation data.

2. The method according to claim 1, characterized in that The method includes updating the navigation model according to the plurality of navigation data and an actual navigation route corresponding to each navigation data, including: Processing the navigation request feature, the user navigation feature and the route feature in each navigation data according to the navigation model to obtain a first predicted navigation route corresponding to each navigation data; The model parameters in the navigation model are updated according to the first predicted navigation route and the actual navigation route corresponding to each navigation data.

3. The method according to claim 2, characterized in that Processing the navigation request feature, the user navigation feature, and the route feature in each navigation data according to the navigation model to obtain a first predicted navigation route corresponding to each navigation data includes: Acquire trajectory segment features corresponding to a plurality of trajectory segment identifiers of the route feature in the navigation data, and replace the plurality of trajectory segment identifiers in the route feature with the trajectory segment features to obtain a replaced route feature; The navigation request feature, the user navigation feature and the replaced route feature are input into the navigation model to obtain the first predicted navigation route corresponding to the navigation data.

4. The method according to claim 2 or 3, characterized in that: Updating model parameters in the navigation model according to the first predicted navigation route and the actual navigation route corresponding to each navigation data includes: determining a first loss between the first predicted navigation route and the actual navigation route; According to the first loss, model parameters in the navigation model are updated.

5. The method according to claim 4, characterized in that Updating model parameters in the navigation model according to the first loss includes: Acquire multiple sample navigation data in a second historical period, each sample navigation data including a sample navigation request feature, a sample user navigation feature, and a sample route feature of a navigation route recommended by a navigation model, wherein the second historical period is a period before a start time of the first historical period; Get the teacher model corresponding to the navigation model; The model parameters of the navigation model are updated according to the teacher model, the plurality of sample navigation data and the first loss.

6. The method according to claim 5, characterized in that Updating model parameters of the navigation model according to the teacher model, the plurality of sample navigation data and the first loss, comprising: For any one of the plurality of sample navigation data; Processing the sample navigation data according to the teacher model to obtain a second predicted navigation route; Processing the sample navigation data according to the navigation model to obtain a third predicted navigation route; The model parameters of the navigation model are updated according to the second predicted navigation route, the third predicted navigation route and the first loss.

7. The method according to claim 6, characterized in that Updating model parameters of the navigation model according to the second predicted navigation route, the third predicted navigation route and the first loss includes: determining a second loss according to the second predicted navigation route and the third predicted navigation route; The model parameters of the navigation model are updated according to the first loss and the second loss.

8. The method according to claim 5, characterized in that Obtain multiple sample navigation data within the second historical period, including: Acquiring all historical navigation data within the second historical period; The historical navigation data is screened to obtain the plurality of sample navigation data.

9. A navigation model updating device, characterized in that: It includes a first acquisition module, a second acquisition module and an update module, wherein: The first acquisition module is used to acquire a plurality of navigation data newly added in the first historical period, each navigation data including a navigation request feature, a user navigation feature, and a route feature of a navigation route recommended by a navigation model, the navigation request feature indicating the start and end positions of the navigation and the navigation mode, and the route feature including a plurality of track segment identifiers and a route information feature; The second acquisition module is used to acquire the actual navigation route corresponding to each navigation data; The updating module is used for updating the navigation model according to the plurality of navigation data and the actual navigation route corresponding to each navigation data.

10. A server, characterized in that: include: Processor, memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor executes the method for updating the navigation model according to any one of claims 1 to 8.

11. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method for updating the navigation model according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • Information recommendation method and device, server and storage medium

    CN114519144A

  • Model training method, navigation trajectory recommendation method and device and vehicle

    CN114543829A

  • Route recommendation method, route navigation method and computer program product

    CN115186856A

  • Historical navigation route updating method of map navigation cache database

    CN115523931A

  • Integrated multi-location scheduling, routing, and task management

    US10956855B1