Trajectory synthesis model training method and device

Through the encoder-decoder structure and neural network model, combined with user historical trajectories and prior information, an accurate and privacy-protecting trajectory synthesis model is generated, which solves the problems of trajectory prediction accuracy and privacy protection in the existing technology, and achieves efficient Trajectory synthesis.

CN118798304APending Publication Date: 2024-10-18RES INST OF CHINA MOBILE COMM GRP CO LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310799531.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-03
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

Existing mobile trajectory determination models cannot take into account user privacy protection and prediction accuracy. Statistics-based methods rely on trajectory libraries and have a lot of user privacy information. Deep learning-based models lack prior knowledge, resulting in insufficient prediction accuracy.

Method used

Using a model with an encoder-decoder structure, the distribution parameters are obtained through the user's historical trajectory information and reference information, and the model is trained. It combines the user's prior information and historical trajectory information, and uses a variational autoencoder (VAE) and a long short-term memory network. (LSTM) and other neural network structures to generate trajectory synthesis models to ensure model accuracy and privacy protection.

Benefits of technology

It improves the accuracy of the trajectory synthesis model and can generate trajectory data similar to the trajectory distribution of real users without exposing real user location information and protecting user privacy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118798304A_ABST
    Figure CN118798304A_ABST
Patent Text Reader

Abstract

The invention discloses a trajectory synthesis model training method and device, and relates to the technical field of moving trajectory determination. The method comprises the steps that a model of an encoder decoder structure is acquired based on historical track information of a user and reference information acquired by the historical track information, the reference information comprises departure place information and destination information, and the historical track information comprises at least one piece of position information and time information corresponding to each piece of position information; obtaining user prior information based on the model of the encoder and decoder structure; and performing model training based on the user prior information and the historical track information to obtain a track synthesis model. According to the scheme, the accuracy of the trajectory synthesis model can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of mobile trajectory determination, and in particular, relates to a trajectory synthesis model training method and device. Background Art

[0002] Existing solutions for determining mobile trajectories include models based on statistics and models based on deep learning (DL). Among them, the statistical method needs to rely on a trajectory library, which has a small number of trajectories and contains a large amount of user privacy information; the trajectory synthesis method based on DL, the neural network corresponding to the current algorithm, the network structure lacks a mechanism for prior knowledge, and cannot guarantee the accuracy of prediction. Summary of the invention

[0003] The embodiments of the present application provide a trajectory synthesis model training method and device, which can solve the problem that the existing mobile trajectory determination model cannot balance the guarantee of user privacy and model accuracy.

[0004] In order to solve the above technical problems, the present application embodiment provides a trajectory synthesis model training method, including:

[0005] Based on the historical trajectory information of the user and the reference information obtained from the historical trajectory information, a model of the encoder-decoder structure is obtained, wherein the reference information includes: departure information and destination information, and the historical trajectory information includes: at least one position information and time information corresponding to each position information;

[0006] Based on the model of the encoder-decoder structure, obtaining user prior information;

[0007] Model training is performed based on the user prior information and the historical trajectory information to obtain a trajectory synthesis model.

[0008] Optionally, acquiring a model of an encoder-decoder structure based on historical trajectory information of the user and reference information obtained from the historical trajectory information includes:

[0009] Based on the user's historical trajectory information, determine the distribution parameters including location and time;

[0010] Sampling from a Gaussian distribution that obeys the distribution parameters to obtain a feature vector containing position and time;

[0011] Based on the feature vector and the reference information, a model is trained to obtain a model of an encoder-decoder structure.

[0012] Optionally, determining the distribution parameters including the location and time based on the historical trajectory information of the user includes:

[0013] Based on the historical trajectory information of the user, encode each position in the historical trajectory information and the time of reaching the position, and obtain a position vector and a time vector respectively;

[0014] Based on the position vector and the time vector, a distribution parameter including position and time is obtained.

[0015] Optionally, acquiring distribution parameters including position and time based on the position vector and the time vector includes:

[0016] Splicing the position vector and the time vector to obtain a first splicing vector;

[0017] The first concatenated vector is input into a multi-layer perceptron (MLP) layer to obtain distribution parameters including position and time.

[0018] Optionally, the training of a model based on the feature vector and the reference information to obtain a model of an encoder-decoder structure includes:

[0019] Based on the feature vector, obtaining a departure vector and a destination vector corresponding to the departure place and the destination respectively;

[0020] Based on the departure vector and the destination vector, obtaining a predicted departure point and destination;

[0021] Based on the reference information and the predicted departure and destination, the model is trained and optimized to obtain a final encoder-decoder structure model.

[0022] Optionally, performing model training based on the user prior information and the historical trajectory information to obtain a trajectory synthesis model includes:

[0023] Determining a first input feature based on the user prior information and the historical trajectory information;

[0024] Based on the first input feature, user prior information, and the dwell time of the next position after the current position in the user's motion trajectory, model training is performed to obtain a trajectory synthesis model.

[0025] Optionally, the determining the first input feature based on the user prior information and the historical trajectory information includes:

[0026] Encoding the historical trajectory information to obtain first information;

[0027] Perform vector concatenation of the first information and user prior information to obtain a second concatenated vector;

[0028] Input the second concatenated vector into a long short-term memory (LSTM) neural network to obtain a second parameter;

[0029] The first input feature is obtained by sampling from a Gaussian distribution with a second parameter.

[0030] Optionally, encoding the historical trajectory information to obtain the first information includes at least one of the following:

[0031] Linearly encode the current position in the user's motion trajectory based on the point of interest information to obtain a first position feature vector in the first information;

[0032] Position encoding the current position in the motion trajectory of the user to obtain a second position feature vector in the first information;

[0033] Position encoding is performed on the moment of reaching the current position in the motion trajectory of the user to obtain a first time feature vector in the first information;

[0034] The time interval between the previous position and the current position in the motion trajectory of the user is position-encoded to obtain a second time feature vector in the first information.

[0035] Optionally, performing model training based on the first input feature, user prior information, and a dwell time at a next position after a current position in the user's motion trajectory to obtain a trajectory synthesis model includes:

[0036] The first input feature, user prior information, and the dwell time of the next position after the current position in the user's motion trajectory are input into the LSTM neural network, and the next position after the current position in the user's motion trajectory and the dwell time of the next position in the trajectory synthesis model are respectively trained to obtain.

[0037] Optionally, the training of obtaining the dwell time of a next position after a current position in the motion trajectory of the user in the trajectory synthesis model includes:

[0038] Get the third parameter of the LSTM neural network output;

[0039] According to the third parameter, the next position after the current position in the motion trajectory of the user, and in combination with the exponential distribution, the residence time information of the next position after the current position in the motion trajectory of the user in the trajectory synthesis model is obtained through training.

[0040] Optionally, the method further includes:

[0041] Based on the current position in the motion trajectory of the user and the next position after the current position, the time interval from the current position to the next position in the motion trajectory of the user in the trajectory synthesis model is trained.

[0042] Optionally, the training of acquiring a time interval from the current position to the next position in the motion trajectory of the user in the trajectory synthesis model based on the current position in the motion trajectory of the user and the next position after the current position includes:

[0043] Position encoding is performed on a current position and a next position after the current position in the motion trajectory of the user respectively to obtain a third position vector and a fourth position vector;

[0044] Determining a movement mode parameter of the user according to the third position vector and the fourth position vector;

[0045] Acquire a fourth parameter based on the movement mode parameter, a current position in the motion trajectory of the user, and a next position after the current position;

[0046] Sampling is performed from a Gaussian distribution that obeys the fourth parameter to obtain time interval information from a current position to a next position in the trajectory synthesis model.

[0047] Optionally, determining the user's movement mode parameter according to the third position vector and the fourth position vector includes:

[0048] Splicing the third position vector and the fourth position vector to obtain a third splicing vector;

[0049] The third concatenated vector is input into the MLP layer to obtain the movement mode parameters.

[0050] The present application also provides a trajectory synthesis model training device, including:

[0051] A first acquisition module is used to acquire a model of an encoder-decoder structure based on historical trajectory information of a user and reference information acquired from the historical trajectory information, wherein the reference information includes departure information and destination information, and the historical trajectory information includes at least one position information and time information corresponding to each position information;

[0052] A second acquisition module is used to acquire user prior information based on the model of the encoder-decoder structure;

[0053] The third acquisition module is used to perform model training based on the user prior information and historical trajectory information to acquire a trajectory synthesis model.

[0054] The embodiment of the present application also provides a trajectory synthesis model training device, including a transceiver and a processor;

[0055] The processor is configured to: acquire a model of an encoder-decoder structure based on historical trajectory information of a user and reference information obtained from the historical trajectory information, wherein the reference information includes departure information and destination information, and the historical trajectory information includes at least one location information and time information corresponding to each location information;

[0056] Based on the model of the encoder-decoder structure, obtaining user prior information;

[0057] Model training is performed based on the user prior information and historical trajectory information to obtain a trajectory synthesis model.

[0058] An embodiment of the present application also provides a trajectory synthesis model training device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned trajectory synthesis model training method when executing the program.

[0059] An embodiment of the present application also provides a readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps in the above method are implemented.

[0060] The beneficial effects of this application are:

[0061] The above scheme obtains a model of the encoder-decoder structure based on the user's historical trajectory information and reference information obtained from the historical trajectory information, wherein the reference information includes: departure information and destination information, and the historical trajectory information includes: at least one location information and time information corresponding to each location information; based on the model of the encoder-decoder structure, user prior information is obtained; model training is performed based on the user prior information and the historical trajectory information to obtain a trajectory synthesis model; thereby, the accuracy of the trajectory synthesis model can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0062] Figure 1 It is a flowchart of the trajectory synthesis model training method of an embodiment of the present application;

[0063] Figure 2 This is the user VAE model framework diagram;

[0064] Figure 3 It is a framework diagram of the trajectory synthesis model;

[0065] Figure 4 It is a module schematic diagram of a trajectory synthesis model device according to an embodiment of the present application;

[0066] Figure 5 A structural diagram showing a trajectory synthesis model device according to an embodiment of the present application. DETAILED DESCRIPTION

[0067] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0068] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0069] The trajectory synthesis model training method and device provided in the embodiment of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.

[0070] like Figure 1 As shown, at least one embodiment of the present application provides a trajectory synthesis model training method, including:

[0071] Step 101, obtaining a model of an encoder-decoder structure based on historical trajectory information of a user and reference information obtained from the historical trajectory information;

[0072] The reference information includes: departure information and destination information, and the historical track information includes: at least one location information and time information corresponding to each location information;

[0073] It should be noted that the time information refers to the time point when the user arrives at the location, which can also be understood as the moment when the user arrives at the location.

[0074] For example, the format of historical track information is as follows:

[0075] The historical trajectory information All_Tra is represented by an array: [Tra_day1, Tra_day2, ..., Tra_dayk];

[0076] Tra_dayN (N = 1, 2, ..., k) is represented by an array as follows:

[0077] [{u1:{time:[t1,t2,..,t_m,…,t_n-1,t_n],loc:[loc1,loc2,..,locm,…,loc1,locn]}},{u2:{…}},…,uM:{…}].

[0078] Step 102, obtaining user prior information based on the model of the encoder-decoder structure;

[0079] Step 103: Perform model training based on the user prior information and the historical trajectory information to obtain a trajectory synthesis model.

[0080] Optionally, the model of the encoder-decoder structure described in the embodiments of the present application is optionally applied as a variational autoencoder (VAE) model.

[0081] In the embodiment of the present application, a model of an encoder-decoder structure is first trained based on the user's historical trajectory information, and then user prior information for trajectory synthesis model training is determined based on the trained encoder-decoder structure model, and then model training is performed based on the user prior information and historical trajectory information to obtain a trajectory synthesis model, so that the trajectory synthesis model is trained with the help of user prior information to ensure the accuracy of the trajectory synthesis model.

[0082] Optionally, in another embodiment of the present application, the specific implementation method of acquiring the model of the encoder-decoder structure based on the historical trajectory information of the user and the reference information obtained from the historical trajectory information includes:

[0083] Step 1011, determining distribution parameters including location and time based on the historical trajectory information of the user;

[0084] It should be noted that the distribution parameters here usually include two parameters, through which the distribution relationship between position and time can be reflected.

[0085] Optionally, in another embodiment of the present application, the specific implementation process of this step includes:

[0086] Step 10111: based on the historical trajectory information of the user, encode each position in the historical trajectory information and the time of reaching the position, and obtain a position vector and a time vector respectively;

[0087] Step 10112: Based on the position vector and the time vector, obtain distribution parameters including position and time.

[0088] Optionally, in another embodiment of the present application, the specific implementation process of this step includes:

[0089] Step 101121, concatenate the position vector and the time vector to obtain a first concatenated vector;

[0090] It should be noted that, under normal circumstances, the number of first splicing vectors corresponding to the number of positions contained in the historical trajectory information will be obtained. For example, if the historical trajectory information contains 5 positions and the time corresponding to each position, it will be encoded based on each position and time, and the position vector obtained by encoding the position and the time vector obtained by encoding the time corresponding to the position will be spliced, and finally a splicing vector of 5 positions and times will be obtained.

[0091] Step 101122, input the first concatenated vector into a multi-layer perceptron (MLP) layer to obtain distribution parameters including position and time;

[0092] This step is to input all the first splicing vectors obtained in the previous step into the MLP layer. The MLP layer will obtain matching distribution parameters based on the distribution relationship of multiple first splicing vectors.

[0093] Step 1012, sampling from a Gaussian distribution that obeys the distribution parameters to obtain a feature vector including position and time;

[0094] It should be noted that this step is to obtain the feature vector by random sampling from the Gaussian distribution; it should also be noted that the feature vector obtained by each random sampling is different.

[0095] Step 1013, based on the feature vector and the reference information, perform model training to obtain a model of the encoder-decoder structure;

[0096] Optionally, in another embodiment of the present application, the specific implementation process of this step includes:

[0097] Step 10131, based on the feature vector, obtaining a departure vector and a destination vector corresponding to the departure place and the destination respectively;

[0098] It should be noted that in this step, the feature vector is usually input into the MLP layer, and the MLP layer obtains the corresponding departure vector and destination vector based on the feature vector.

[0099] Step 10132, based on the departure vector and the destination vector, obtain the predicted departure and destination;

[0100] It should be noted that the predicted departure and destination are selected from polynomials with the departure vector and the destination vector as parameters, respectively.

[0101] Step 10133: training and optimizing the model based on the reference information and the predicted departure and destination to obtain a final encoder-decoder structure model;

[0102] Specifically, in this step, the predicted departure and destination are compared with the reference information, which is used as the loss of the model to optimize the model, and finally a converged encoder-decoder structure model is obtained.

[0103] Optionally, in actual application, the departure point can be the residence (represented by home) and the destination can be the workplace (represented by work) as the data for training the VAE model; specifically, the home-work information in the trajectory points can be identified from the historical trajectory data (for example, the home-work information can be identified by statistical methods, or by other methods). The so-called home-work information refers to the information in the historical trajectory data that has the characteristics of starting from the location home, arriving at the location work, and then returning to the location home. This information is used as prior knowledge, which conforms to the daily mobility characteristics of the permanent population of most cities. Furthermore, it is also necessary to first mark the departure point and the workplace based on the historical trajectory information as reference information for model training (i.e., the actual home and work).

[0104] Alternatively, if Figure 2 As shown, taking home and work as the training targets, the training process of the user VAE model in the embodiment of the present application is specifically as follows:

[0105] The training network architecture is divided into two parts: encoder and decoder. The encoder part: inputs the location (Loc) and the time t of reaching the location in the historical trajectory information of one or more users; encodes Loc and t separately, and then concatenates the vectors; then passes through the mlp layer, and finally learns the distribution parameters α and β containing the distribution of Loc and t; samples from the Gaussian distribution obeying α and β to obtain the feature vector h containing the hidden features of Loc and t u . Decoder part: feature vector h u First pass through the mlp layer, and then get the vectors ψ of home and work from the output of the mlp layer respectively home and ψ work , the place of residence and the place of work will be changed from ψ home and ψ workThe predicted home and work are finally obtained by selecting from the polynomial of parameters. The predicted home and work are compared with the actual home and work, which are used as the loss of the model. The model is trained and finally a converged user VAE model is obtained. In subsequent use, the distribution parameters α and β in the user VAE model are mainly used to determine the user prior information based on the distribution parameters α and β.

[0106] Specifically, the user prior information is sampled from a Gaussian distribution that obeys α and β. The user prior information is embodied in the form of a feature vector, that is, the feature vector h is obtained by sampling from a Gaussian distribution that obeys α and β through the distribution parameters α and β in the final user VAE model. u As the user's prior information, that is, the feature vector h u Able to represent user prior information.

[0107] Optionally, in another embodiment of the present application, the specific implementation method of performing model training based on the user prior information and the historical trajectory information to obtain the trajectory synthesis model includes:

[0108] Step 1031, determining a first input feature based on the user prior information and the historical trajectory information;

[0109] Optionally, in another embodiment of the present application, the specific implementation process of this step includes:

[0110] Step 10311, encoding the historical trajectory information to obtain first information;

[0111] Optionally, in another embodiment of the present application, the specific implementation process of this step includes at least one of the following:

[0112] Step 103111, linearly encode the current position in the user's motion trajectory based on the point of interest (POI) information to obtain a first position feature vector in the first information;

[0113] It should be noted that the interest point information includes multiple position information; this step can bring the current position closer to a certain interest point by linearly encoding the position based on the interest point information.

[0114] Step 103112, position encoding the current position in the motion trajectory of the user to obtain a second position feature vector in the first information;

[0115] Step 103113, position encoding the moment of reaching the current position in the motion trajectory of the user to obtain a first time feature vector in the first information;

[0116] Step 103114: Position-encode the time interval between the previous position of the current position in the motion trajectory of the user and the current position to obtain a second time feature vector in the first information.

[0117] Step 10312, performing vector concatenation of the first information and the user prior information to obtain a second concatenated vector;

[0118] Step 10313, inputting the second concatenated vector into a long short-term memory (LSTM) neural network to obtain a second parameter;

[0119] It should be noted that the second parameter includes two parameters, through which the distribution relationship between the user behavior habits and the spatiotemporal information in the historical trajectory information can be reflected.

[0120] Step 10314, sampling from a Gaussian distribution that obeys a second parameter to obtain a first input feature;

[0121] It should be noted that this step is to perform random sampling from a Gaussian distribution to obtain the vector corresponding to the first input feature; it should also be noted that the vector corresponding to the first input feature obtained by each random sampling is different.

[0122] Step 1032, performing model training based on the first input feature, user prior information, and the dwell time of the next position after the current position in the user's motion trajectory to obtain a trajectory synthesis model;

[0123] Optionally, in another embodiment of the present application, the specific implementation process of this step includes:

[0124] The first input feature, user prior information, and the dwell time of the next position after the current position in the user's motion trajectory are input into the LSTM neural network, and the next position after the current position in the user's motion trajectory and the dwell time of the next position in the trajectory synthesis model are respectively trained to obtain.

[0125] Furthermore, the training to obtain the dwell time of the next position after the current position in the motion trajectory of the user in the trajectory synthesis model includes:

[0126] Get the third parameter of the LSTM neural network output;

[0127] According to the third parameter, the next position after the current position in the motion trajectory of the user, and in combination with the exponential distribution, the residence time information of the next position after the current position in the motion trajectory of the user in the trajectory synthesis model is obtained through training.

[0128] It should be noted that the position and the residence time at the position in the trajectory synthesis model can be determined through the above training process; optionally, in another embodiment of the present application, the determination of the time consumed on the way from the previous position to the next position is also added, and optionally, the method further includes:

[0129] Based on the current position in the motion trajectory of the user and the next position after the current position, the time interval from the current position to the next position in the motion trajectory of the user in the trajectory synthesis model is trained.

[0130] Furthermore, the implementation method of training and acquiring the time interval from the current position to the next position in the motion trajectory of the user in the trajectory synthesis model based on the current position in the motion trajectory of the user and the next position after the current position includes:

[0131] Step 1041, position encoding the current position and the next position after the current position in the motion trajectory of the user respectively to obtain a third position vector and a fourth position vector;

[0132] Step 1042, determining a user's movement mode parameter according to the third position vector and the fourth position vector;

[0133] Specifically, the mobility mode parameter is a time feature vector of the time taken to travel from a previous location to a next location under the conditions of integrating different travel modes (travel modes include walking, cycling, driving, etc.).

[0134] Optionally, in another embodiment of the present application, the specific implementation of this step includes:

[0135] Step 10421, concatenating the third position vector and the fourth position vector to obtain a third concatenated vector;

[0136] Step 10422, input the third splicing vector into the MLP layer to obtain the movement mode parameters.

[0137] It should be noted that by inputting the splicing vector into the MLP layer, the MLP layer will obtain the corresponding movement mode parameters based on the splicing vector.

[0138] Optionally, the method for obtaining the mobile mode parameters can be: obtaining the time corresponding to the travel mode through the MLP layer corresponding to different travel modes (specifically: obtaining the distribution parameter corresponding to the appearance mode through the MLP layer, sampling from a Gaussian distribution that obeys the distribution parameter to obtain the time corresponding to the travel mode, and the time is expressed in the form of a vector), and then based on the time corresponding to each appearance mode and the weight corresponding to each travel mode, a weighted sum is performed to obtain the time feature vector of the time used from the previous position to the next position.

[0139] Step 1043, acquiring a fourth parameter based on the movement mode parameter, the current position of the user in the movement trajectory, and the next position after the current position;

[0140] Step 1044: sampling from the Gaussian distribution that obeys the fourth parameter to obtain time interval information from the current position to the next position in the trajectory synthesis model.

[0141] It should be noted that the framework based on the variational time point process proposed in this application extracts the user's trajectory features from the inference network, represents them as latent vectors containing the user's movement features, and uses them as supervision information for the trajectory synthesis network to further train the trajectory synthesis model, thereby ensuring the accurate acquisition of the trajectory synthesis model.

[0142] In practical applications, the training process of the trajectory synthesis model in the embodiment of the present application is described in detail as follows. Figure 3 As shown, the training process of the trajectory synthesis model in the embodiment of the present application is specifically as follows:

[0143] Train the VAE model based on the time point process as the trajectory synthesis network: the feature vector h obtained from the user VAE model u , the location Loc uses the first location feature vector I obtained after linear encoding of the POI information i , the second position feature vector Loc obtained after position encoding i , the first time feature vector t obtained after position encoding at the time of arrival i , the second time feature vector G obtained by position encoding the time interval between the previous position and the current position i The encoder first concatenates the above inputs and uses the LSTM network that can learn temporal features to learn the second parameters, namely μ and σ, which can characterize the spatiotemporal information and user behavior habits in the group trajectory. The decoder is divided into two parts. One part converts the feature vector h u , and the vector Z corresponding to the first input feature randomly sampled from the distribution represented by μ and σ i , and one of the final outputs of the decoder, that is, the time to stay at the next position i+1 As the input of LSTM; the output of LSTM is divided into two paths. One path combines the POI information of the area where the trajectory is located to first obtain the probability distribution of the POI to which the trajectory belongs, and then passes through multiple distributions and further sampling to obtain the final trajectory location Loc of the next location i+1The other path uses the time point process, through the third parameter η output by the LSTM neural network and the position vector Loc of the next position after the current position i+1 Combined with the exponential distribution, we can get the time to stay at the next location i+1 The other part of the encoder is used to generate the time G consumed from the current position to the next position i+1 , this way the current position and the next position are position encoded respectively to obtain the third position vector Loc i and the fourth position vector Loc i+1 , the third position vector Loc i and the fourth position vector Loc i+1 After the MLP, the movement mode parameters are learned first, and then based on the movement mode parameters and the third position vector Loc i and the fourth position vector Loc i+1 , learn the fourth parameter ρ of the distribution parameter, convert it to Gaussian distribution, and perform sampling to finally get the time consumed on the way. Based on the time and position information predicted during the training process, the trajectory synthesis model is optimized (by comparing the output parameters with the input parameters, as the loss of the model, training the model), and finally a converged trajectory synthesis model is obtained.

[0144] It should be noted that the trajectory synthesis model can be obtained through the embodiment of the present application. After the trajectory synthesis model is obtained, the trajectory synthesis model can be used to generate the user trajectory. Specifically, when the trajectory synthesis VAE model is trained, when generating a specified user trajectory, it is only necessary to randomly sample z from the trained distribution parameters μ and σ and h corresponding to the user. u As the input of the decoder, the user's trajectory can be obtained through the decoder. Random sampling is performed from μ and σ multiple times. By executing this process, a large number of synthetic user trajectories can be obtained.

[0145] In summary, the embodiments of the present application aim at the problems existing in the prior art and propose an algorithm framework and training strategy that is further improved on the variational autoencoder based on the time point process. In the algorithm framework, the user VAE model is used to learn the implicit features of the user's mobile behavior habits, including the information of the user's workplace and residence in the trajectory, and the feature is used as one input of the trajectory synthesis VAE model, thereby improving the accuracy of the trajectory synthesis model from the spatial and temporal dimensions. At the same time, the time for the user to reach adjacent positions is divided into the residence time at the previous position and the time consumed on the way from the previous position to the next position, making the model more refined from the time dimension. At the same time, the embodiments of the present application can use a small amount of user data to train a trajectory synthesis model that can generate a large amount of user data. The trajectory synthesis model can synthesize a large number of synthetic trajectories that are similar to the distribution of real user trajectories, but will not expose the real user location and do not contain real user information, which can be conveniently provided for research by academia and industry.

[0146] Some examples of usage scenarios of user locations in the embodiments of the present application are as follows:

[0147] In communication networks: network planning for new geographical areas, transformation and optimization of old regional networks, etc.

[0148] In urban planning: setting up new transportation routes, building new residential shopping malls, etc. based on urban population movement information.

[0149] In taxi-hailing apps: implement vehicle dispatch more reasonably.

[0150] In the shared bicycle placement point settings: optimize the number of shared bicycles placed in various places during different time periods.

[0151] Billboards in Action: Place your ads in the geographic locations where you will see the most revenue.

[0152] like Figure 4 As shown, at least one embodiment of the present application further provides a trajectory synthesis model training device 400, comprising:

[0153] A first acquisition module 401 is used to acquire a model of an encoder-decoder structure based on historical trajectory information of a user and reference information obtained from the historical trajectory information, wherein the reference information includes departure information and destination information, and the historical trajectory information includes at least one location information and time information corresponding to each location information;

[0154] A second acquisition module 402 is used to acquire user prior information based on the model of the encoder-decoder structure;

[0155] The third acquisition module 403 is used to perform model training based on the user prior information and historical trajectory information to acquire a trajectory synthesis model.

[0156] Optionally, the first acquisition module 401 includes:

[0157] A first determining unit, configured to determine a distribution parameter including a location and a time based on the historical trajectory information of the user;

[0158] A first acquisition unit, used for sampling from a Gaussian distribution that obeys the distribution parameter to acquire a feature vector including a position and a time;

[0159] The second acquisition unit is used to perform model training based on the feature vector and the reference information to acquire a model of the encoder-decoder structure.

[0160] Optionally, the first determining unit is configured to:

[0161] Based on the historical trajectory information of the user, encode each position in the historical trajectory information and the time of reaching the position, and obtain a position vector and a time vector respectively;

[0162] Based on the position vector and the time vector, a distribution parameter including position and time is obtained.

[0163] Optionally, the method for acquiring the distribution parameter including the position and the time based on the position vector and the time vector includes:

[0164] Splicing the position vector and the time vector to obtain a first splicing vector;

[0165] The first concatenated vector is input into a multi-layer perceptron (MLP) layer to obtain distribution parameters including position and time.

[0166] Optionally, the second acquiring unit is used to:

[0167] Based on the feature vector, obtaining a departure vector and a destination vector corresponding to the departure place and the destination respectively;

[0168] Based on the departure vector and the destination vector, obtaining a predicted departure point and destination;

[0169] Based on the reference information and the predicted departure and destination, the model is trained and optimized to obtain a final encoder-decoder structure model.

[0170] Optionally, the third acquisition module 403 includes:

[0171] A second determining unit, configured to determine a first input feature based on the user prior information and the historical trajectory information;

[0172] The third acquisition unit is used to perform model training based on the first input feature, user prior information, and the dwell time of the next position after the current position in the user's motion trajectory to acquire a trajectory synthesis model.

[0173] Optionally, the second determining unit is configured to:

[0174] Encoding the historical trajectory information to obtain first information;

[0175] Perform vector concatenation of the first information and user prior information to obtain a second concatenated vector;

[0176] Input the second concatenated vector into a long short-term memory (LSTM) neural network to obtain a second parameter;

[0177] The first input feature is obtained by sampling from a Gaussian distribution with a second parameter.

[0178] Optionally, the encoding of the historical trajectory information to obtain the first information includes at least one of the following:

[0179] Linearly encode the current position in the user's motion trajectory based on the point of interest information to obtain a first position feature vector in the first information;

[0180] Position encoding the current position in the motion trajectory of the user to obtain a second position feature vector in the first information;

[0181] Position encoding is performed on the moment of reaching the current position in the motion trajectory of the user to obtain a first time feature vector in the first information;

[0182] The time interval between the previous position and the current position in the motion trajectory of the user is position-encoded to obtain a second time feature vector in the first information.

[0183] Optionally, the third acquiring unit is used to:

[0184] The first input feature, user prior information, and the dwell time of the next position after the current position in the user's motion trajectory are input into the LSTM neural network, and the next position after the current position in the user's motion trajectory and the dwell time of the next position in the trajectory synthesis model are respectively trained to obtain.

[0185] Optionally, the implementation method of acquiring the dwell time of the next position after the current position in the motion trajectory of the user in the trajectory synthesis model through training includes:

[0186] Get the third parameter of the LSTM neural network output;

[0187] According to the third parameter, the next position after the current position in the motion trajectory of the user, and in combination with the exponential distribution, the residence time information of the next position after the current position in the motion trajectory of the user in the trajectory synthesis model is obtained through training.

[0188] Optionally, the third acquisition module 403 further includes:

[0189] The fourth acquisition unit is used to train and acquire the time interval from the current position to the next position in the motion trajectory of the user in the trajectory synthesis model based on the current position in the motion trajectory of the user and the next position after the current position.

[0190] Optionally, the fourth acquiring unit is used to:

[0191] Position encoding is performed on a current position and a next position after the current position in the motion trajectory of the user respectively to obtain a third position vector and a fourth position vector;

[0192] Determining a movement mode parameter of the user according to the third position vector and the fourth position vector;

[0193] Acquire a fourth parameter based on the movement mode parameter, a current position in the motion trajectory of the user, and a next position after the current position;

[0194] Sampling is performed from a Gaussian distribution that obeys the fourth parameter to obtain time interval information from a current position to a next position in the trajectory synthesis model.

[0195] Optionally, the method for determining the user's mobility mode parameter according to the third position vector and the fourth position vector includes:

[0196] Splicing the third position vector and the fourth position vector to obtain a third splicing vector;

[0197] The third concatenated vector is input into the MLP layer to obtain the movement mode parameters.

[0198] It should be noted that the device provided in at least one embodiment of the present application is a device capable of executing the above-mentioned trajectory synthesis model training method, then all embodiments of the above-mentioned trajectory synthesis model training method are applicable to the device and can achieve the same or similar beneficial effects.

[0199] At least one embodiment of the present application further provides a trajectory synthesis model training device, including a transceiver and a processor;

[0200] The processor is configured to: acquire a model of an encoder-decoder structure based on historical trajectory information of a user and reference information obtained from the historical trajectory information, wherein the reference information includes departure information and destination information, and the historical trajectory information includes at least one location information and time information corresponding to each location information;

[0201] Based on the model of the encoder-decoder structure, obtaining user prior information;

[0202] Model training is performed based on the user prior information and historical trajectory information to obtain a trajectory synthesis model.

[0203] Optionally, the processor is configured to:

[0204] Based on the user's historical trajectory information, determine the distribution parameters including location and time;

[0205] Sampling from a Gaussian distribution that obeys the distribution parameters to obtain a feature vector containing position and time;

[0206] Based on the feature vector and the reference information, a model is trained to obtain a model of an encoder-decoder structure.

[0207] Optionally, the processor is configured to:

[0208] Based on the historical trajectory information of the user, encode each position in the historical trajectory information and the time of reaching the position, and obtain a position vector and a time vector respectively;

[0209] Based on the position vector and the time vector, a distribution parameter including position and time is obtained.

[0210] Optionally, the processor is configured to:

[0211] Splicing the position vector and the time vector to obtain a first splicing vector;

[0212] The first concatenated vector is input into a multi-layer perceptron (MLP) layer to obtain distribution parameters including position and time.

[0213] Optionally, the processor is configured to:

[0214] Based on the feature vector, obtaining a departure vector and a destination vector corresponding to the departure place and the destination respectively;

[0215] Based on the departure vector and the destination vector, obtaining a predicted departure point and destination;

[0216] Based on the reference information and the predicted departure and destination, the model is trained and optimized to obtain a final encoder-decoder structure model.

[0217] Optionally, the processor is configured to:

[0218] Determining a first input feature based on the user prior information and the historical trajectory information;

[0219] Based on the first input feature, user prior information, and the dwell time of the next position after the current position in the user's motion trajectory, model training is performed to obtain a trajectory synthesis model.

[0220] Optionally, the processor is configured to:

[0221] Encoding the historical trajectory information to obtain first information;

[0222] Performing vector concatenation of the first information and user prior information to obtain a second concatenated vector;

[0223] Input the second concatenated vector into a long short-term memory (LSTM) neural network to obtain a second parameter;

[0224] The first input feature is obtained by sampling from a Gaussian distribution with a second parameter.

[0225] Optionally, the processor is configured to implement at least one of the following:

[0226] Linearly encode the current position in the user's motion trajectory based on the point of interest information to obtain a first position feature vector in the first information;

[0227] Position encoding the current position in the motion trajectory of the user to obtain a second position feature vector in the first information;

[0228] Position encoding is performed on the moment of reaching the current position in the motion trajectory of the user to obtain a first time feature vector in the first information;

[0229] The time interval between the previous position and the current position in the motion trajectory of the user is position-encoded to obtain a second time feature vector in the first information.

[0230] Optionally, the processor is configured to:

[0231] The first input feature, user prior information, and the dwell time of the next position after the current position in the user's motion trajectory are input into the LSTM neural network, and the next position after the current position in the user's motion trajectory and the dwell time of the next position in the trajectory synthesis model are respectively trained to obtain.

[0232] Optionally, the processor is configured to:

[0233] Get the third parameter of the LSTM neural network output;

[0234] According to the third parameter, the next position after the current position in the motion trajectory of the user, and in combination with the exponential distribution, the residence time information of the next position after the current position in the motion trajectory of the user in the trajectory synthesis model is obtained through training.

[0235] Optionally, the processor is further configured to:

[0236] Based on the current position in the motion trajectory of the user and the next position after the current position, the time interval from the current position to the next position in the motion trajectory of the user in the trajectory synthesis model is trained.

[0237] Optionally, the processor is configured to:

[0238] Position encoding is performed on a current position and a next position after the current position in the motion trajectory of the user respectively to obtain a third position vector and a fourth position vector;

[0239] Determining a movement mode parameter of the user according to the third position vector and the fourth position vector;

[0240] Acquire a fourth parameter based on the movement mode parameter, a current position in the motion trajectory of the user, and a next position after the current position;

[0241] Sampling is performed from a Gaussian distribution that obeys the fourth parameter to obtain time interval information from a current position to a next position in the trajectory synthesis model.

[0242] Optionally, the processor is configured to:

[0243] Splicing the third position vector and the fourth position vector to obtain a third splicing vector;

[0244] The third concatenated vector is input into the MLP layer to obtain the movement mode parameters.

[0245] like Figure 5 As shown, an embodiment of the present invention further provides a trajectory synthesis model training device, including a processor 500, a transceiver 510, a memory 520, and a program stored in the memory 520 and executable on the processor 500; wherein the transceiver 510 is connected to the processor 500 and the memory 520 through a bus interface, wherein the processor 500 is used to read the program in the memory and execute the following process:

[0246] Based on the historical trajectory information of the user and the reference information obtained from the historical trajectory information, a model of the encoder-decoder structure is obtained, wherein the reference information includes: departure information and destination information, and the historical trajectory information includes: at least one position information and time information corresponding to each position information;

[0247] Based on the model of the encoder-decoder structure, obtaining user prior information;

[0248] Model training is performed based on the user prior information and the historical trajectory information to obtain a trajectory synthesis model.

[0249] The transceiver 510 is configured to receive and send data under the control of the processor 500 .

[0250] Among them, Figure 5 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically linking together various circuits of one or more processors represented by processor 500 and memory represented by memory 520. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 510 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium, including transmission media such as wireless channels, wired channels, optical cables, and the like.

[0251] The processor 500 is responsible for managing the bus architecture and general processing, and the memory 520 can store data used by the processor 500 when performing operations.

[0252] Optionally, the processor 500 may be a CPU (central processing unit), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array) or a CPLD (Complex Programmable Logic Device), and the processor may also adopt a multi-core architecture.

[0253] The processor calls the computer program stored in the memory to execute any of the methods provided in the embodiments of the present application according to the obtained executable instructions. The processor and the memory can also be arranged physically separately.

[0254] Furthermore, when the processor 800 executes the program, the following steps are implemented:

[0255] Based on the user's historical trajectory information, determine the distribution parameters including location and time;

[0256] Sampling from a Gaussian distribution that obeys the distribution parameters to obtain a feature vector containing position and time;

[0257] Based on the feature vector and the reference information, a model is trained to obtain a model of an encoder-decoder structure.

[0258] Furthermore, when the processor 800 executes the program, the following steps are implemented:

[0259] Based on the historical trajectory information of the user, encode each position in the historical trajectory information and the time of reaching the position, and obtain a position vector and a time vector respectively;

[0260] Based on the position vector and the time vector, a distribution parameter including position and time is obtained.

[0261] Furthermore, when the processor 800 executes the program, the following steps are implemented:

[0262] Splicing the position vector and the time vector to obtain a first splicing vector;

[0263] The first concatenated vector is input into a multi-layer perceptron (MLP) layer to obtain distribution parameters including position and time.

[0264] Furthermore, when the processor 800 executes the program, the following steps are implemented:

[0265] Based on the feature vector, obtaining a departure vector and a destination vector corresponding to the departure place and the destination respectively;

[0266] Based on the departure vector and the destination vector, obtaining a predicted departure point and destination;

[0267] Based on the reference information and the predicted departure and destination, the model is trained and optimized to obtain a final encoder-decoder structure model.

[0268] Furthermore, when the processor 800 executes the program, the following steps are implemented:

[0269] Determining a first input feature based on the user prior information and the historical trajectory information;

[0270] Based on the first input feature, user prior information, and the dwell time of the next position after the current position in the user's motion trajectory, model training is performed to obtain a trajectory synthesis model.

[0271] Furthermore, when the processor 800 executes the program, the following steps are implemented:

[0272] Encoding the historical trajectory information to obtain first information;

[0273] Performing vector concatenation of the first information and user prior information to obtain a second concatenated vector;

[0274] Input the second concatenated vector into a long short-term memory (LSTM) neural network to obtain a second parameter;

[0275] The first input feature is obtained by sampling from a Gaussian distribution with a second parameter.

[0276] Further, when the processor 800 executes the program, at least one of the following steps is implemented:

[0277] Linearly encode the current position in the user's motion trajectory based on the point of interest information to obtain a first position feature vector in the first information;

[0278] Position encoding the current position in the motion trajectory of the user to obtain a second position feature vector in the first information;

[0279] Position encoding is performed on the moment of reaching the current position in the motion trajectory of the user to obtain a first time feature vector in the first information;

[0280] The time interval between the previous position and the current position in the motion trajectory of the user is position-encoded to obtain a second time feature vector in the first information.

[0281] Furthermore, when the processor 800 executes the program, the following steps are implemented:

[0282] The first input feature, user prior information, and the dwell time of the next position after the current position in the user's motion trajectory are input into the LSTM neural network, and the next position after the current position in the user's motion trajectory and the dwell time of the next position in the trajectory synthesis model are respectively trained to obtain.

[0283] Furthermore, when the processor 800 executes the program, the following steps are implemented:

[0284] Get the third parameter of the LSTM neural network output;

[0285] According to the third parameter, the next position after the current position in the motion trajectory of the user, and in combination with the exponential distribution, the residence time information of the next position after the current position in the motion trajectory of the user in the trajectory synthesis model is obtained through training.

[0286] Furthermore, when the processor 800 executes the program, the following steps are also implemented:

[0287] Based on the current position in the motion trajectory of the user and the next position after the current position, the time interval from the current position to the next position in the motion trajectory of the user in the trajectory synthesis model is trained.

[0288] Furthermore, when the processor 800 executes the program, the following steps are implemented:

[0289] Position encoding is performed on a current position and a next position after the current position in the motion trajectory of the user respectively to obtain a third position vector and a fourth position vector;

[0290] Determining a movement mode parameter of the user according to the third position vector and the fourth position vector;

[0291] Acquire a fourth parameter based on the movement mode parameter, a current position in the motion trajectory of the user, and a next position after the current position;

[0292] Sampling is performed from a Gaussian distribution that obeys the fourth parameter to obtain time interval information from a current position to a next position in the trajectory synthesis model.

[0293] Furthermore, when the processor 800 executes the program, the following steps are implemented:

[0294] Splicing the third position vector and the fourth position vector to obtain a third splicing vector;

[0295] The third concatenated vector is input into the MLP layer to obtain the movement mode parameters.

[0296] At least one embodiment of the present application further provides a trajectory synthesis model training device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, each process in the trajectory synthesis model training method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0297] It can be understood that the above-mentioned trajectory synthesis model training device is located in a network device (eg, a forwarding device).

[0298] At least one embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, each process in the trajectory synthesis model training method embodiment described above is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0299] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0300] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0301] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A trajectory synthesis model training method, characterized in that: include: Based on the historical trajectory information of the user and the reference information obtained from the historical trajectory information, a model of the encoder-decoder structure is obtained, wherein the reference information includes: departure information and destination information, and the historical trajectory information includes: at least one position information and time information corresponding to each position information; Based on the model of the encoder-decoder structure, obtaining user prior information; Model training is performed based on the user prior information and the historical trajectory information to obtain a trajectory synthesis model.

2. The method according to claim 1, characterized in that The step of acquiring a model of an encoder-decoder structure based on the historical trajectory information of the user and the reference information obtained from the historical trajectory information includes: Based on the user's historical trajectory information, determine the distribution parameters including location and time; Sampling from a Gaussian distribution that obeys the distribution parameters to obtain a feature vector containing position and time; Based on the feature vector and the reference information, a model is trained to obtain a model of an encoder-decoder structure.

3. The method according to claim 2, characterized in that The determining of the distribution parameters including the location and time based on the historical trajectory information of the user includes: Based on the historical trajectory information of the user, encode each position in the historical trajectory information and the time of reaching the position, and obtain a position vector and a time vector respectively; Based on the position vector and the time vector, a distribution parameter including position and time is obtained.

4. The method according to claim 3, characterized in that The acquiring, based on the position vector and the time vector, distribution parameters including position and time, comprises: Splicing the position vector and the time vector to obtain a first splicing vector; The first concatenated vector is input into a multi-layer perceptron (MLP) layer to obtain distribution parameters including position and time.

5. The method according to claim 2, characterized in that: The step of training a model based on the feature vector and the reference information to obtain a model of an encoder-decoder structure includes: Based on the feature vector, obtaining a departure vector and a destination vector corresponding to the departure place and the destination respectively; Based on the departure vector and the destination vector, obtaining a predicted departure point and destination; Based on the reference information and the predicted departure and destination, the model is trained and optimized to obtain a final encoder-decoder structure model.

6. The method according to claim 1, characterized in that The performing model training based on the user prior information and the historical trajectory information to obtain a trajectory synthesis model includes: Determining a first input feature based on the user prior information and the historical trajectory information; Based on the first input feature, user prior information, and the dwell time of the next position after the current position in the user's motion trajectory, model training is performed to obtain a trajectory synthesis model.

7. The method according to claim 6, characterized in that The determining the first input feature based on the user prior information and the historical trajectory information includes: Encoding the historical trajectory information to obtain first information; Performing vector concatenation of the first information and user prior information to obtain a second concatenated vector; Input the second concatenated vector into a long short-term memory (LSTM) neural network to obtain a second parameter; The first input feature is obtained by sampling from a Gaussian distribution with a second parameter.

8. The method according to claim 7, characterized in that The encoding process of the historical trajectory information to obtain the first information includes at least one of the following: Linearly encode the current position in the user's motion trajectory based on the point of interest information to obtain a first position feature vector in the first information; Position encoding the current position in the motion trajectory of the user to obtain a second position feature vector in the first information; Position encoding is performed on the moment of reaching the current position in the motion trajectory of the user to obtain a first time feature vector in the first information; The time interval between the previous position and the current position in the motion trajectory of the user is position-encoded to obtain a second time feature vector in the first information.

9. The method according to claim 6, characterized in that The step of performing model training based on the first input feature, user prior information, and the dwell time of a next position after the current position in the user's motion trajectory to obtain a trajectory synthesis model includes: The first input feature, user prior information, and the dwell time of the next position after the current position in the user's motion trajectory are input into the LSTM neural network, and the next position after the current position in the user's motion trajectory and the dwell time of the next position in the trajectory synthesis model are respectively trained to obtain.

10. The method according to claim 9, characterized in that The training acquires the dwell time of the next position after the current position in the motion trajectory of the user in the trajectory synthesis model, including: Get the third parameter of the LSTM neural network output; According to the third parameter, the next position after the current position in the motion trajectory of the user, and in combination with the exponential distribution, the residence time information of the next position after the current position in the motion trajectory of the user in the trajectory synthesis model is obtained through training.

11. The method according to claim 6, characterized in that Also includes: Based on the current position in the motion trajectory of the user and the next position after the current position, the time interval from the current position to the next position in the motion trajectory of the user in the trajectory synthesis model is trained.

12. The method according to claim 11, characterized in that The step of training and acquiring the time interval from the current position to the next position in the motion trajectory of the user in the trajectory synthesis model based on the current position in the motion trajectory of the user and the next position after the current position includes: Position encoding is performed on a current position and a next position after the current position in the motion trajectory of the user respectively to obtain a third position vector and a fourth position vector; Determining a movement mode parameter of the user according to the third position vector and the fourth position vector; Acquire a fourth parameter based on the movement mode parameter, a current position in the motion trajectory of the user, and a next position after the current position; Sampling is performed from a Gaussian distribution that obeys the fourth parameter to obtain time interval information from a current position to a next position in the trajectory synthesis model.

13. The method according to claim 12, characterized in that The step of determining the user's movement mode parameter according to the third position vector and the fourth position vector comprises: Splicing the third position vector and the fourth position vector to obtain a third splicing vector; The third concatenated vector is input into the MLP layer to obtain the movement mode parameters.

14. A trajectory synthesis model training device, characterized in that: include: A first acquisition module is used to acquire a model of an encoder-decoder structure based on historical trajectory information of a user and reference information acquired from the historical trajectory information, wherein the reference information includes departure information and destination information, and the historical trajectory information includes at least one position information and time information corresponding to each position information; A second acquisition module is used to acquire user prior information based on the model of the encoder-decoder structure; The third acquisition module is used to perform model training based on the user prior information and historical trajectory information to acquire a trajectory synthesis model.

15. A trajectory synthesis model training device, characterized in that: including a transceiver and a processor; The processor is configured to: acquire a model of an encoder-decoder structure based on historical trajectory information of a user and reference information obtained from the historical trajectory information, wherein the reference information includes departure information and destination information, and the historical trajectory information includes at least one location information and time information corresponding to each location information; Based on the model of the encoder-decoder structure, obtaining user prior information; Model training is performed based on the user prior information and historical trajectory information to obtain a trajectory synthesis model.

16. A trajectory synthesis model training device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the trajectory synthesis model training method according to any one of claims 1 to 13 are implemented.

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

Citation Information

Patent Citations

  • Trajectory generation model training method, trajectory generation method and device

    CN113761395A

  • Intelligent agent trajectory prediction method, system and device and storage medium

    CN114022847A

  • Trajectory data processing method, trajectory data processing program and trajectory data processing device

    JP2017174230A

  • Trajectory prediction method and related device

    WO2021134172A1