Vehicle trajectory prediction method based on spatiotemporal attention and multi-level LSTM information expression

By using spatiotemporal attention and multi-level LSTM information expression methods in vehicle trajectory prediction, combined with the spatiotemporal graph structure and attention module, the problem of insufficient interactivity and time-space correlation between the vehicle and surrounding vehicles is solved, and the prediction accuracy is improved. and robustness, suitable for unmanned driving scenarios.

CN112686281BActive Publication Date: 2024-10-18SHENZHEN INST OF ADVANCED TECH

Patent Information

Application Number
CN202011423100.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-08
Publication Date
2024-10-18
Estimated Expiration
2040-12-08

AI Technical Summary

Technical Problem

Existing vehicle trajectory prediction methods are difficult to fully capture the relevant interactions between the vehicle and surrounding vehicles, and ignore the correlation between time and space information, resulting in low prediction accuracy and insufficient robustness.

Method used

Using an information expression method based on spatio-temporal attention and multi-level LSTM, by constructing a spatio-temporal graph structure and a multi-level LSTM codec, combined with the spatio-temporal attention module, the spatio-temporal relationship and interactive information between vehicles is captured to improve the accuracy of trajectory prediction. and robustness.

Benefits of technology

The accuracy of vehicle trajectory prediction and robustness in complex environments are significantly improved, making vehicle trajectory prediction better suitable for unmanned driving scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112686281B_ABST
    Figure CN112686281B_ABST
Patent Text Reader

Abstract

The present invention discloses a vehicle trajectory prediction method based on spatiotemporal attention and multi-level LSTM information expression. The method comprises: obtaining vehicle driving trajectory information and spatiotemporal graph information of the road conditions in which the vehicle is located, the spatiotemporal graph information is used to characterize the position information of the vehicle and its surrounding targets within a preset time period, and the spatial relationship between the vehicle and its surrounding targets over time; inputting the vehicle driving trajectory information and the spatiotemporal graph information into a trajectory prediction model to obtain the predicted driving trajectory of the vehicle at subsequent moments, wherein the trajectory prediction model is obtained by pre-training based on sample spatiotemporal graph information of multiple sample vehicles in the same time period and the sample driving trajectories corresponding to each of the sample vehicles, and the trajectory prediction model comprises a multi-level LSTM codec and a spatiotemporal attention module. The present invention improves the trajectory prediction accuracy and robustness in complex environments, so that vehicle trajectory prediction can be better used for unmanned driving.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent driving technology, and more specifically, to a vehicle trajectory prediction method based on spatiotemporal attention and multi-level LSTM information expression. Background Art

[0002] Vehicle trajectory prediction aims to let the vehicle know how to move next. If the trajectory is accurately predicted, the vehicle can make reasonable and effective inferences about the future movement of surrounding vehicles and make the best planning decisions for its own driving operations. At present, vehicle trajectory prediction focuses on the extraction and fusion of interaction information between the target vehicle and surrounding vehicles (interaction of data in time and space and semantic relationship), but in actual scenes, the movement trajectory of objects will change due to the mutual influence between the targets. Therefore, independent prediction methods that simply consider the historical trajectory of the object itself are difficult to cope with the impact of the association between multiple targets.

[0003] There are three main existing vehicle trajectory prediction methods:

[0004] (1) Many state-of-the-art trajectory prediction methods are based on LSTM, which models nonlinear temporal dependencies in sequence learning and generation tasks. They are often used in speech recognition and text analysis. Although LSTM has the ability to learn and replicate the historical trajectory of a vehicle, it cannot capture the dependencies between multiple related historical trajectories. Therefore, the accuracy of trajectory prediction using LSTM alone is not high.

[0005] (2) The Social-LSTM-based method uses multiple LSTMs to process each trajectory in the scene separately. The LSTMs are then connected to each other through the Social-LSTM. Unlike traditional LSTM, this pooling layer allows spatially close LSTMs to share information with each other. For a pooling layer of a target object, the hidden states of all LSTMs within a certain radius are pooled together and used as input in the next time step. However, this method is not very good at capturing the interactive information between time series data.

[0006] (3) Deep learning methods attempt to learn data representation from raw data through multi-layer neural networks, and learn these features during the training process. Studies have shown that methods based on convolutional neural networks (CNNs) are better than some LSTM methods, but convolutional neural networks (CNNs) are local feature extraction, that is, features at close range. This type of method is not capable of capturing spatial interaction information of data.

[0007] After analysis, it is found that in reality, autonomous vehicles rarely appear alone on a road, but are surrounded by non-stationary vehicles. Existing vehicle trajectory prediction methods usually only consider the vehicle's own state and navigation needs, but do not fully capture the relevant interactions between the vehicle and surrounding vehicles. In addition, existing research often ignores the correlation between time and space information. Summary of the invention

[0008] The purpose of the present invention is to overcome the defects of the above-mentioned prior art and provide a vehicle trajectory prediction method based on spatiotemporal attention and multi-level LSTM information expression.

[0009] The technical solution of the present invention is to provide a vehicle trajectory prediction method based on spatiotemporal attention and multi-level LSTM information expression. The method comprises the following steps:

[0010] Obtaining the vehicle's driving trajectory information and the space-time graph information of the road conditions on which it is located, the space-time graph information is used to characterize the location information of the vehicle and its surrounding objects within a preset time period, and the spatial relationship between the vehicle and its surrounding objects over time;

[0011] The vehicle driving trajectory information and the spatiotemporal graph information are input into a trajectory prediction model to obtain a predicted driving trajectory of the vehicle at a subsequent moment, wherein the trajectory prediction model is obtained by pre-training based on sample spatiotemporal graph information of multiple sample vehicles in the same time period and the sample driving trajectories corresponding to each of the sample vehicles, and the trajectory prediction model includes a multi-level LSTM encoder-decoder and a spatiotemporal attention module.

[0012] In one embodiment, the spatiotemporal graph information is a dynamic spatiotemporal graph represented by a graph structure, marked as G = (V, ΣS, ΣT), wherein V is a node set, ΣS is a spatial edge set, ΣT is a temporal edge set, node V represents each independent target, spatial edges represent the relationship between two nodes, and are used to reflect the interaction between targets, and temporal edges connect the same node at consecutive time steps, and are used to represent a connection graph over time.

[0013] In one embodiment, each level of the multi-level LSTM codec corresponds to a time edge LSTM, which is used to capture the location information between nodes; a space edge LSTM, which is used to capture the relative spatial distance information between a node and its neighbors over time; a node LSTM, which is used to capture the location information of each node that changes over time; and the spatiotemporal attention module is used to perform spatial attention weighting and temporal attention weighting.

[0014] In one embodiment, the spatiotemporal attention module uses soft attention to concatenate and average all edge features of each node, and uses a single layer to jointly pay attention to spatial domain features and temporal domain features.

[0015] In one embodiment, the sample data set is constructed according to the following steps:

[0016] Obtaining sample driving trajectories corresponding to a plurality of sample vehicles within a preset time period;

[0017] The sample trajectory data of the multiple sample vehicles are processed to obtain corresponding sample space-time graph information, wherein the sample space-time graph information includes a sample space-time graph corresponding to each moment arranged in chronological order within the same time period.

[0018] In one embodiment, the sample data set is composed according to trajectories of real highway traffic, covering light, moderate and congested road conditions.

[0019] Compared with the prior art, the advantage of the present invention is that the proposed vehicle trajectory prediction method based on spatiotemporal attention mechanism and multi-level LSTM information expression and association fully combines spatiotemporal attention with multi-level long short-term memory network (LSTM), improves the trajectory prediction accuracy and robustness in complex environments, and enables vehicle trajectory prediction to be better used in unmanned driving.

[0020] Further features and advantages of the present invention will become apparent from the following detailed description of exemplary embodiments of the present invention with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain the principles of the invention.

[0022] Figure 1 is a flow chart of a vehicle trajectory prediction method based on spatiotemporal attention and multi-level LSTM information expression according to an embodiment of the present invention;

[0023] Figure 2 It is an overall architecture diagram based on spatiotemporal attention model and multi-level LSTM trajectory prediction according to an embodiment of the present invention. DETAILED DESCRIPTION

[0024] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present invention unless otherwise specifically stated.

[0025] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.

[0026] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

[0027] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0028] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0029] In view of the problem that the current vehicle trajectory prediction is difficult to fully capture the relevant interactions between the vehicle and the surrounding vehicles, and the problem that the existing research lacks the correlation between time and space, the present invention proposes a vehicle trajectory prediction method based on information representation and association prediction of spatiotemporal attention and multi-level long short-term memory (LSTM). In short, the present invention comprehensively considers the spatial position and movement trajectory of obstacles and vehicles, constructs a graph convolutional network model based on the spatiotemporal attention mechanism, and designs a codec based on the LSTM algorithm to analyze the movement trajectory of obstacles, and combines the historical trajectory of obstacles and the interactive relationship between each object and the vehicle to achieve the effect of accurate prediction of different trajectories. Since the spatiotemporal attention mechanism can simultaneously represent the time and space reasoning activities of the area of ​​interest and the node (node) shared parameters, it avoids excessive parameters, thereby improving the accuracy of prediction and the speed of operation.

[0030] Specifically, see Figure 1 As shown, the vehicle trajectory prediction method provided by this embodiment includes the following steps:

[0031] Step S110, constructing a sample data set based on the vehicle's driving trajectory information and the spatiotemporal graph information of the road conditions in which it is located, wherein the spatiotemporal graph information is used to characterize the position information of the vehicle and its surrounding targets within a preset time period, as well as the spatial relationship between the vehicle and its surrounding targets over time.

[0032] The starting point of the present invention is to obtain the target vehicle's driving trajectory prediction based on the spatiotemporal graph information and corresponding motion information between multiple targets by training a trajectory prediction model. Preferably, a prediction model combining a spatiotemporal attention mechanism and a multi-level LSTM codec is used as an example for explanation.

[0033] For example, the trajectory prediction model is trained and verified on a sample dataset consisting of trajectories of real highway traffic. Specifically, each dataset is captured at a frequency of 10 Hz within 45 minutes. Each dataset has light, moderate and congested traffic conditions for a 15-minute section. The dataset provides vehicle coordinates projected into a local coordinate system, and the entire dataset is divided into a training set and a test set. The test set comes from three subsets of the US-101 and I-80 datasets, and one-quarter of the trajectory data is selected from each subset as the test set. In one embodiment, the edge set and point set are semantically divided based on these two datasets, so that the dataset is constructed into a spatiotemporal graph, and then features are extracted through a network model to finally achieve vehicle trajectory prediction.

[0034] In the description of this article, trajectory data is data sampled from the motion process of moving objects (including vehicles and obstacles), which is used to characterize the position, time, motion speed, etc. of the moving objects. The motion trajectory is obtained by sorting in the order of driving time, which can be used to reflect the motion trend in the time dimension and space dimension.

[0035] Step S120, using the sample data set to train a trajectory prediction model, the trajectory prediction model includes a multi-level LSTM encoder-decoder and a spatiotemporal attention module.

[0036] In order to more accurately predict the future motion trajectories of multiple targets around a moving vehicle, it is necessary to clarify the importance of the mutual influence between various targets and pay attention to the more influential sources. The preferred embodiment of the present invention estimates the corresponding trajectory by combining the spatiotemporal attention mechanism and the multi-level LSTM encoder and decoder based on the spatiotemporal graph information and corresponding motion information between multiple targets. For the overall framework diagram, see Figure 2 shown.

[0037] First, the vehicle motion information obtained during trajectory tracking is directly used as an input to the network architecture. The above-obtained data is then converted into spatiotemporal graph information. For example, the data in the image coordinate system is processed into a dynamic spatiotemporal graph data format, represented as G = (V, ΣS, ΣT), where V represents the node set V, ΣS represents the spatial edge set, and ΣT represents the temporal edge set. Node V represents each independent target (such as a vehicle or other obstacle); the spatial edge represents the relationship between two nodes, that is, it is used to reflect the interaction between nodes; the temporal edge connects the same node at consecutive time steps, thereby representing a connection graph over time.

[0038] Combination Figure 2 , construct a multi-level LSTM encoder-decoder, each level corresponds to the time edge LSTM, space edge LSTM and node LSTM. The relationship between two nodes is characterized by their relative coordinates, for example, X V2V3 represents the spatial distance between nodes v2 and v3, X V2V2is the position of node V2 changing over time. Define the spatial edge LSTM embedding function φ, the input of which is and the embedding weight matrix W s , expressed as:

[0039]

[0040] in Represents node X V2 All relative spatial distances between its neighbors (e.g. including X V2V3 ).

[0041] The spatial edge LSTM takes the embedded input features from all relevant nodes as well as the previous spatial hidden states. And use the normal initialized weight matrix Transform them. Output hidden state vector It is expressed as:

[0042]

[0043] Then, define the temporal edge LSTM embedding function φ, which takes the temporal position of the node as and the embedding weight matrix W t As input, it is expressed as:

[0044]

[0045] For an LSTM cell and its input: the previous temporal hidden state Embedding input features Usually initialized to convert these inputs to the current hidden state

[0046]

[0047] The spatiotemporal graph information and posture information of each object are then input into the corresponding multi-level LSTM encoder-decoder in turn, and the dependency prediction is realized through the spatiotemporal attention module.

[0048] For example, for the spatiotemporal attention module, a variant of multi-attention is adopted, which is initially set as two simple operations of soft attention to concatenate and average all edge features of each node. In addition, multi-node attention is established, which has only a single layer, jointly pays attention to the features of spatial and temporal domains, and stores the attention coefficients into a single vector for each time step of node v2.

[0049] Next, the object position coordinates Through the embedding layer φ, it is then used as the input node to the LSTM, and the output vector With the previous hidden state Connect and then pass it to node V2, along with the conversion weight matrix W lstm To generate the current hidden state Finally, the future position of the target is estimated from the bivariate normal distribution N.

[0050] In summary, by using a multi-level LSTM codec, it is possible to capture the time series position relationship of each individual moving vehicle, as well as the relative position relationship between vehicles, so as to better analyze the dynamic interaction between vehicles or between vehicles and other obstacles. In addition, by combining the spatiotemporal attention module (or component), the corresponding attention can be calculated for each level of LSTM module, thereby improving the accuracy, flexibility and applicability of the prediction.

[0051] Step S130, inputting the real-time vehicle driving trajectory information and the spatiotemporal graph information of the road conditions in which the vehicle is located into the trained trajectory prediction model to obtain the predicted driving trajectory of the vehicle at the subsequent moment.

[0052] After the training is completed, in the prediction stage, the real-time vehicle driving trajectory information and the corresponding space-time graph information are used as input to obtain the predicted vehicle driving trajectory. The data acquisition process is similar to that in the training stage and will not be repeated here.

[0053] In summary, the data structure obtained by the present invention using the spatiotemporal attention mechanism is ingenious, the relationship between points and edges in the graph structure is effectively utilized, and the spatiotemporal information is represented and predicted through a multi-level LSTM module, combined with a reasonable structural framework, thereby reducing training parameters, improving the accuracy of vehicle trajectory prediction and model flexibility, and enhancing the robustness of the model. It has been verified that compared with existing technical solutions, the present invention has significant advantages in efficiency and robustness.

[0054] The present invention may be a system, a method and / or a computer program product. The computer program product may include a computer-readable storage medium carrying computer-readable program instructions for causing a processor to implement various aspects of the present invention.

[0055] A computer-readable storage medium may be a tangible device that can hold and store instructions used by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples of computer-readable storage media (a non-exhaustive list) include: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a static random access memory (SRAM), a portable compact disk read-only memory (CD-ROM), a digital versatile disk (DVD), a memory stick, a floppy disk, a mechanical encoding device, such as a punch card or a raised structure in a groove on which instructions are stored, and any suitable combination of the foregoing. As used herein, a computer-readable storage medium is not to be interpreted as a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0056] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0057] The computer program instructions for performing the operation of the present invention may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages, such as Smalltalk, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. Computer-readable program instructions may be executed entirely on a user's computer, partially on a user's computer, as an independent software package, partially on a user's computer, partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect via the Internet). In some embodiments, an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may be personalized by utilizing the state information of the computer-readable program instructions, and the electronic circuit may execute the computer-readable program instructions, thereby realizing various aspects of the present invention.

[0058] Various aspects of the present invention are described herein with reference to the flow charts and / or block diagrams of the methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each box of the flow chart and / or block diagram and the combination of each box in the flow chart and / or block diagram can be implemented by computer-readable program instructions.

[0059] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, thereby producing a machine, so that when these instructions are executed by the processor of the computer or other programmable data processing device, a device that implements the functions / actions specified in one or more boxes in the flowchart and / or block diagram is generated. These computer-readable program instructions can also be stored in a computer-readable storage medium, and these instructions cause the computer, programmable data processing device, and / or other equipment to work in a specific manner, so that the computer-readable medium storing the instructions includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0060] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device so that a series of operating steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions executed on the computer, other programmable data processing apparatus, or other device to implement the functions / actions specified in one or more boxes in the flowchart and / or block diagram.

[0061] The flow charts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to multiple embodiments of the present invention. In this regard, each box in the flow chart or block diagram can represent a part of a module, a program segment or an instruction, and a part of the module, a program segment or an instruction contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. It is well known to those skilled in the art that it is equivalent to implement it by hardware, implement it by software, and implement it by combining software and hardware.

[0062] Embodiments of the present invention have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or technical improvements in the marketplace, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the present invention is defined by the appended claims.

Claims

1. A vehicle trajectory prediction method based on spatiotemporal attention and multi-level LSTM information expression, comprising the following steps: Obtaining the vehicle's driving trajectory information and the space-time graph information of the road conditions on which it is located, the space-time graph information is used to characterize the location information of the vehicle and its surrounding objects within a preset time period, and the spatial relationship between the vehicle and its surrounding objects over time; Inputting the vehicle driving trajectory information and the spatiotemporal graph information into a trajectory prediction model to obtain a predicted driving trajectory of the vehicle at a subsequent moment, wherein the trajectory prediction model is obtained by pre-training based on sample spatiotemporal graph information of multiple sample vehicles in the same time period and the sample driving trajectories corresponding to each of the sample vehicles, and the trajectory prediction model includes a multi-level LSTM encoder-decoder and a spatiotemporal attention module; The spatiotemporal graph information is a dynamic spatiotemporal graph represented by a graph structure, which is marked as G=(V, ΣS, ΣT), wherein V is a node set, ΣS is a spatial edge set, ΣT is a temporal edge set, the node V represents each independent target, the spatial edge represents the relationship between two nodes, and is used to reflect the interaction between targets, and the temporal edge connects the same node at consecutive time steps, and is used to represent a connection graph over time; Among them, each level of the multi-level LSTM codec corresponds to the time edge LSTM, which is used to capture the location information between nodes; the space edge LSTM is used to capture the relative spatial distance information between the node and its neighbors over time; the node LSTM is used to capture the location information of each node that changes over time; the spatiotemporal attention module is used to perform spatial attention weighting and temporal attention weighting; The spatiotemporal attention module uses soft attention to concatenate and average all edge features of each node, and uses a single layer to achieve joint attention of spatial domain features and temporal domain features.

2. The method according to claim 1, characterized in that The sample driving trajectory and the sample spatiotemporal graph information are constructed according to the following steps: Obtaining sample driving trajectories corresponding to a plurality of sample vehicles within a preset time period; The sample trajectory data of the multiple sample vehicles are processed to obtain corresponding sample space-time graph information, wherein the sample space-time graph information includes a sample space-time graph corresponding to each moment arranged in chronological order within the same time period.

3. The method according to claim 1, characterized in that The sample driving trajectories are composed according to trajectories of real highway traffic, covering light, moderate and congested road conditions.

4. A computer-readable storage medium having a computer program stored thereon, wherein: When the program is executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.

5. A computer device comprising a memory and a processor, wherein a computer program capable of running on the processor is stored in the memory, characterized in that: When the processor executes the program, the steps of the method according to any one of claims 1 to 3 are implemented.

Citation Information

Patent Citations

  • Ship trajectory prediction method and system based on automatic encoder and bidirectional LSTM

    CN111783960A

  • Machine Learning based Fixed-Time Optimal Path Generation

    US20190184561A1

Cited By

  • A remote driving vehicle trajectory prediction method combining driver's lane change intention

    CN113627239B