An online attack and robust navigation method based on 3D implicit representation rendering
Through online attacks and robust navigation methods based on three-dimensional implicit representation, the problem of malicious interference in the sensing data of the autonomous driving system is solved, and the robustness and security of the autonomous driving system are improved. Through dynamic and static three-dimensional implicit representation, The combination of formula representation model and variational autoencoder detects and eliminates image interference, generates clean images and completes navigation tasks.
Patent Information
- Application Number
- CN202410013040.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-04
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2044-01-04
AI Technical Summary
Deep learning technology is sensitive to the quality of perceived data in the environmental perception of autonomous driving systems and is susceptible to malicious interference, resulting in reduced performance and the lack of effective robust solutions.
An online attack and robust navigation method based on three-dimensional implicit representation is adopted, and the image containing the attack is rendered through the dynamic and static three-dimensional implicit representation model. The improved variational autoencoder is used to restore the clean image and output the attack position, and is combined with the navigation module to generate Navigation track points use PID control algorithm to complete vehicle navigation.
Effectively simulate and defend against malicious interference in autonomous driving scenarios, improve the safety and stability of the autonomous driving system, detect and eliminate interference in images, generate clean images and output attack locations, and achieve safe navigation after attacks.
Smart Images

Figure CN117804465B
Abstract
Description
Technical Field
[0001] The present application belongs to the field of artificial intelligence technology, and specifically is an online attack and robust navigation method based on three-dimensional implicit representation rendering. Background Art
[0002] Autonomous driving technology is an important application area of artificial intelligence. It can improve traffic safety and efficiency and reduce traffic accidents and congestion.
[0003] Deep learning technology is the core method to achieve end-to-end autonomous driving. It allows computers to perceive the environment, control vehicles, and achieve intelligent driving. However, deep learning technology also has some defects. It is very sensitive to the quality of perception data. If the data is maliciously interfered with, the performance of the autonomous driving system will be greatly reduced.
[0004] In order to improve the robustness of autonomous driving systems, we need to study how to add attacks to perception data and how to defend against such attacks.
[0005] The present invention proposes an image semantic attack method based on three-dimensional implicit representation and an automatic driving navigation method after semantic attack. Summary of the invention
[0006] The present invention proposes an online attack and robust navigation method based on three-dimensional implicit representation rendering, which solves the robustness problem of the deep learning-based autonomous driving method in the prior art in environmental perception.
[0007] An online attack and robust navigation method based on three-dimensional implicit representation rendering includes the following steps:
[0008] Obtain an autonomous driving dataset and use a dynamic and static 3D implicit representation model to render images containing attacks.
[0009] Use the improved variational autoencoder to recover the clean image from the image containing the attack and output the relative coordinates of the attack location;
[0010] The navigation module generates navigation trajectory points for future frames based on the clean images.
[0011] Extract and reduce high-dimensional image encoding features from clean images;
[0012] Calculate the relative navigation position in the vehicle coordinate system using the vehicle coordinates, heading and vehicle target point in the data set;
[0013] Predicting the navigation trajectory points of the vehicle from the reduced dimension features and the relative navigation position;
[0014] Control the vehicle according to the navigation trajectory points to complete the navigation task in the simulator.
[0015] Furthermore, the method comprises the following specific steps:
[0016] 1) Using dynamic and static 3D implicit representations for image rendering, adding semantic attacks to front-view images;
[0017] The dynamic-static 3D implicit representation method used adopts an editable scene graph structure to model the driving scene, specifically, it consists of a camera, static nodes and a set of dynamic nodes.
[0018] Static nodes, i.e. static 3D implicit representation network Its function is to construct static scenes for autonomous driving, and use hash coding and a multi-layer perceptron network to map the coordinate position, viewing direction, and time of a point in the static scene to the color and volume density of the point.
[0019] Dynamic nodes, i.e. dynamic three-dimensional implicit representation network Its role is to construct additional interference vehicle objects.
[0020] Training the dynamic and static three-dimensional implicit representation model specifically includes the following steps:
[0021] 1.1) Collect an autonomous driving dataset in the Town01 scene of the CARLA simulator, and record the Town01 dataset as S1.
[0022] 1.2) From the S1 dataset, the position and posture of the autonomous vehicle in the world coordinate system are obtained. With the help of the internal and external parameters of the camera and the length, width and height of the autonomous vehicle, the sampling points of the front view image in S1 on the sampling light and the corresponding pixel values can be obtained to construct training samples and train the static nodes and dynamic nodes in the three-dimensional implicit representation. The specific steps include:
[0023] 1.2.1) Sample N of the forward-looking image in S1 x pixels, emit a ray from the sampled pixel, and sample N on the emitted ray y sampling points, where each sampling point P contains: direction d, position (x, y, z) and time t.
[0024] 1.2.2) For the 3D implicit representation network of static scenes, the hash coding method in InstantNGP is used to improve the rendering speed of static scenes. At the same time, considering the prediction ability of the model, time t is introduced into the model so that it can render the background image at a specified time and position.
[0025] 1.2.3) For the dynamic vehicle 3D implicit representation network, focus on the location of the center of each vehicle object to build its own virtual coordinate system. Vehicle objects with similar appearance are grouped into one class and share the representation function The weight θ c .
[0026] 1.2.4) Predict the color and density by tracing the dynamic nodes or static nodes of each ray. Use the rendering integral that is similar to the numerical quadrature to predict the color RGB of the pixel. Use the predicted RGB and the pixel value corresponding to the sampled ray to construct the root mean square loss L nerf , in order to train the background and dynamic object node network:
[0027] 1.3) After the dynamic and static 3D implicit representation model is trained, the relative position of the interfering vehicle generated by the dynamic model is randomly assigned within the 30° FOV in front of the vehicle. The dynamic model and the static model are combined to render the front view image after the attack.
[0028] Save the front view image after the attack and record its corresponding attack position Generate attack dataset S'1.
[0029] 2) Use the improved variational autoencoder network to detect the interference part in the image and then restore the clean sensor data, which specifically includes the following steps:
[0030] The improved variational autoencoder neural network model includes an image encoder E en , attack detector K, image decoder D;
[0031] Image Encoder E en It consists of an input layer, a convolutional layer, a pooling layer, a fully connected layer, and an output layer. Its input is the vehicle's front-view RGB images taken at three consecutive moments. We simulate the situation where the vehicle is attacked and replace the RGB image at the current moment with an attack image rendered based on a three-dimensional implicit representation. Its function is to extract image features perceived by the sensor.
[0032] The attack detector K consists of an input layer, a fully connected layer, and an output layer; its input is the perceptual features extracted by the image encoder E; its function is to regress the relative position of the interference object and the vehicle in the image at the current moment from the perceptual features, and guide the image encoder E to extract the interference features in the image.
[0033] The image decoder D consists of an input layer, a deconvolution layer, a depooling layer, and an output layer. Its input is also the perceptual features extracted by the image encoder E. Its function is to recover the real front-facing RGB images of the vehicle at three consecutive moments from the perceptual features.
[0034] 2.1) Preprocess the data set, add interference images rendered based on 3D implicit representation and corresponding attack positions to the clean images, and finally obtain a paired image training set, which specifically includes the following steps:
[0035] 2.1.1) Arrange the data in the clean autonomous driving dataset S1 in time sequence and extract n×3 samples from S1 n is the batch size, I c Represents three consecutive frames of images contained in a batch, denoted as t is the time frame of the image.
[0036] 2.1.2) Arrange the data in the dataset S'1 after adding the attack in chronological order and find the corresponding The attacked image And its corresponding attack position Will I k , which is used to simulate the attack situation in autonomous driving navigation, and finally obtain the data set
[0037] 2.2) The continuous images I k Input to the image encoder E, perform forward reasoning to generate image feature encoding;
[0038] 2.3) The image feature encoding is input into the attack detector K, and forward reasoning is performed to calculate the attacked position and compare it with Calculate the regression loss L k ;
[0039] 2.4) The image feature encoding is input to the image decoder D, and forward reasoning is performed to reconstruct the clean image and compare it with I c Calculate the image reconstruction loss L r ;
[0040] 2.5) Joint L k With L r Perform gradient backpropagation to train the variational autoencoder neural network;
[0041] 3) Fix the variational autoencoder neural network model parameters, send the reconstructed clean image to ResNet34 to generate high-dimensional features, and then use the multi-layer perceptron M to map the image feature code f in the high-dimensional space to the navigation feature code g in the low-dimensional space.
[0042] 4) According to the vehicle parameter information recorded at each time step in the data set S1, the relative coordinates (X target , Y target ) and the navigation waypoint labels required to train the navigation module Where w is the number of trajectory points predicted by the navigation module, which specifically includes the following steps:
[0043] 4.1) Arrange the vehicle parameter information recorded at each time step in the dataset S1 in time sequence.
[0044] 4.2) Obtain the relative The vehicle coordinates between frame t and frame t+w {(x t ,y t ), (x t+1 ,y t+1 ),......,(x t+w ,y t+w )}、
[0045] Vehicle heading {φ t ,φ t+1 ,......,φ t+w}.
[0046] 4.3.1) According to (x t+1 ,y t+1 ) coordinates, calculate the coordinates of frame t+1 Converted to the coordinate position in the coordinate system centered on the vehicle at frame time:
[0047]
[0048] 4.3.2) Then, repeat the calculation process in (4.3.1) w-1 times to obtain the navigation waypoint label:
[0049]
[0050] 4.4) Obtain the relative value of I from the arranged data set S1 t c The vehicle target point in frame t
[0051] 4.5.1) According to the t-frame vehicle (x t ,y t ) coordinates and the vehicle target point in frame t Calculate the vehicle coordinate difference (Δx t , Δy t ).
[0052] in,
[0053] 4.5.2) According to the vehicle heading φ in frame t t , calculate the two-dimensional rotation matrix:
[0054]
[0055] 4.5.3) By rotating the matrix R and (Δx t , Δyt ) to obtain the relative coordinates (X target , Y target ).
[0056] 5) The relative coordinates (X target , Y target ) and the navigation feature code g are sent to the navigation module N to generate the navigation trajectory points of the future w frames, which specifically includes the following steps:
[0057] The navigation module N consists of an input layer, a GRU network layer, a fully connected layer, and an output layer;
[0058] 5.1) Change the relative coordinate (X target , Y target ) and (0,0) coordinates together, denoted as C 0 .
[0059] 5.2) Encode the navigation feature g as the hidden state of the GRU network, C 0 As the input feature of the GRU network, forward reasoning is performed to obtain the hidden state g after the cycle 1 .
[0060] 5.3) Set the hidden state g 1 Send it to the fully connected layer to generate the predicted waypoints of frame t+1
[0061] 5.4) The relative coordinate (X target , Y target )and The coordinates are spliced together and recorded as C 1 ; Encode the navigation feature g 1 As the hidden state of the GRU network, C 1 As the input feature of the GRU network, forward reasoning is performed to obtain the hidden state g after the cycle 2 ; The hidden state g 2 Send it to the fully connected layer to generate the navigation trajectory points of frame t+2 Repeat steps (5.1) to (5.4) until w trajectory points are generated.
[0062] 5.5) According to the navigation module generated (X pred , Y pred ) and label (X waypoint , Y waypoint ), calculate the loss L n , train the navigation module N, the multi-layer perceptron M, and the ResNet34 module used.
[0063] 6) Use the trained autonomous driving model to test in the Town02 scene and add online image attacks based on 3D implicit representation, including the following steps:
[0064] 6.1) First, the Carla simulator is used to collect the autonomous driving dataset S2 in the Town02 scene, and the dynamic and static three-dimensional implicit representation model in the Town02 scene is trained using the method in step (1.2).
[0065] 6.2) During the autonomous driving navigation test phase, the static model is used to predict the front view image after 1 second and the dynamic model is used to generate an interference vehicle at a random position within the 30° FOV in front of the ego vehicle. The dynamic model and the static model are combined to render the front view image after the attack, and the ego vehicle is attacked online at intervals of 1 second.
[0066] 6.3) The current forward-looking image that may have interference is sent together with the two historical clean image frames (images without interference or images restored by the variational autoencoder) data into the variational autoencoder to reconstruct the clean image, and then sent to ResNet34 to generate a clean high-dimensional image coding feature. The high-dimensional image coding feature is then sent to MLP for feature dimensionality reduction to obtain the navigation feature code g.
[0067] 6.4) The navigation feature code g and the relative coordinates (X target , Y target ) is sent to the navigation module N to obtain (X pred , Y pred ).
[0068] 6.5) Use the PID control algorithm to perform vehicle steering and throttle control according to the navigation trajectory points output by the navigation module to complete the navigation task of the vehicle.
[0069] The variational autoencoder module, navigation module N, multilayer perceptron M, and ResNet34 all use the Adam gradient descent algorithm to update the weights and biases in the model.
[0070] The activation function of the convolutional layer in the variational autoencoder neural network model is the Relu activation function, and the convolutional layer uses layer normalization for data processing.
[0071] Beneficial effects:
[0072] 1. The present invention uses a dynamic and static three-dimensional implicit representation model to render a front view image containing an interfering vehicle in front of the vehicle, and applies an online attack to the vehicle at intervals of 1 second, thereby simulating dangerous situations that may exist in real scenes, detecting and evaluating the robustness and response capabilities of the autonomous driving system, and can effectively simulate and defend against malicious interference that may be encountered in autonomous driving scenes, thereby improving the safety and stability of the autonomous driving system;
[0073] 2. The present invention uses an improved variational autoencoder model, a convolutional neural network and a recurrent neural network to regress the relative position of the interference object and the vehicle in the image at the current moment from the perception features, guides the image encoder to extract the interference features in the image, and restores the real front-facing RGB images of the vehicle at three consecutive moments from the perception features, thereby realizing the detection and elimination of attacks, and can effectively detect interference objects from images containing attacks and restore clean images, and output the relative coordinates of the attack position.
[0074] 3. The present invention uses a navigation module and a deep reinforcement learning method to generate navigation trajectory points of future frames based on clean images, and uses a control module and a PID control algorithm to control the vehicle to complete the navigation task in the simulator based on the navigation trajectory points. It can effectively generate navigation trajectory points of future frames based on clean images, thereby achieving safe and efficient navigation in post-attack scenarios. BRIEF DESCRIPTION OF THE DRAWINGS
[0075] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0076] Figure 1 It is a dynamic and static three-dimensional implicit representation model structure diagram;
[0077] Figure 2 It is a structural diagram of the improved variational autoencoder of the present invention;
[0078] Figure 3 It is an overall structural diagram of the robust autonomous driving method of the present invention. Specific implementation methods
[0079] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.
[0080] like Figure 1 As shown, the implementation method of the dynamic and static three-dimensional implicit representation network is:
[0081] Construct a hierarchical implicit representation of the scene and decompose the scene into dynamic and static scenes.
[0082] The scene graph structure is used to model the scene, specifically, it consists of a camera, static nodes, and a set of dynamic nodes that represent the dynamic components of the scene, including object appearance, shape, and class.
[0083] The scene graph is represented as (S<W,C,F,L,E> ), where W is the root node; C is a leaf node representing the camera and its internal parameters K∈R 3×3 ; The leaf nodes are c=(1,...N class ) represent the static and dynamic representation models respectively; L = {lo}, o = (1, ... N onj ) assigns a potential object encoding to each representation for the leaf nodes; E represents the affine transformation.
[0084] 1.1) Modeling background nodes, i.e. static three-dimensional implicit representation network Maps a point x to its volume density, combined with the viewing direction to an emitted color.
[0085] Where x represents the coordinates of the point, d represents the direction of the light, and t represents time.
[0086] Due to the large background space, the network convergence takes too long when using MLP modeling training, and the reasoning cannot achieve real-time performance. Therefore, hash coding in InstantNGP is used to improve the rendering speed.
[0087] At the same time, we consider that the attack will occur within the next 1 second. We introduce time t into the model so that it can render the background image at a specified time and position. We use the following formula to model the background:
[0088]
[0089] Where σ is the volume density, f is the middle layer feature, and γ is the positional encoding.
[0090] 1.2) Modeling dynamic nodes, i.e. dynamic 3D implicit representation network The specific steps include:
[0091] 1.2.1) For dynamic scene objects, consider each individual rigidly connected component in the scene that changes its pose over the duration of the capture.
[0092] A single connected object is represented as a dynamic object o. Objects with similar appearance are grouped together in a class and share representation functions The weight θ c .
[0093] The learned latent encoding vector lo distinguishes the three-dimensional implicit representation of a single object. The expression is:
[0094]
[0095] 1.2.2) Add lo to volume scene function , that is, a three-dimensional implicit representation mapping from the class representation function to the object o.
[0096] Since the global positions of dynamic objects change between frames, their 3D implicit representations also move.
[0097] A local 3D Cartesian coordinate system Fo is introduced to fix and align the object poses.
[0098] The transformation from the global frame FW to Fo is xo=SoTowx, xo∈[1,-1].
[0099] Scaled with the inverse length of the bounding box size, so that So = [Lo, Ho, Wo] and So = diag(1 / So).
[0100] This enables the model to learn c The similarity in is independent of size.
[0101] 1.3) Rendering attack images: When modeling the dynamic and static decomposition of the autonomous driving scene, additional vehicle objects are added to the static background to render new interference images.
[0102] The images of the learning scene are rendered using a ray casting method. The rays to be cast are generated by the camera defined in the scene S at node C, its intrinsic parameters K, and the camera transformation.
[0103] For each ray, predict the color and density by tracing through each of its dynamic nodes.
[0104] Each ray from camera C is checked against all dynamic nodes by converting the ray to an object-local frame and applying the efficient AABBray intersection test proposed by Majercik et al. The intersection of.
[0105] Each ray passing through the scene passes through the dynamic node and passes through N s On the plane, we get a set of orthogonal points.
[0106] The transmission color c and volume density σ at each intersection are respectively given by the static nodes or dynamic node The predictions are made based on their respective three-dimensional implicit representations.
[0107] Predict the color of a pixel using a rendering integral that approximates numerical quadrature:
[0108]
[0109] in is the rendered pixel, σ is the volume density, δ is the distance between sampling points, m j N d is the number of dynamic sampling points.
[0110] The root mean square error is used as the loss function during training:
[0111]
[0112] Among them I rgb is the rendered image. is an image in the S1 dataset.
[0113] The dynamic and static 3D implicit representation model trained in the S1 dataset randomly specifies the relative position of the dynamic model within the 30° FOV in front of the vehicle. Renders the front view image after the attack.
[0114] 1.4) In the S2 dataset, the dynamic and static 3D implicit representation network for the Town02 scene is trained according to the method described in step (1.2), which is used to provide online rendering attacks in the autonomous driving navigation test.
[0115] 2) Combination Figure 2 , Figure 3 , in the case of attack, detect the attack object in the image and restore the original image, and then predict the future waypoints of the vehicle and complete the vehicle navigation through PID control;
[0116] The improved variational autoencoder neural network model includes an image encoder E en , attack detector K, image decoder D;
[0117] Image Encoder E en It consists of an input layer, a convolutional layer, a pooling layer, a fully connected layer, and an output layer. Its input is the vehicle's front-view RGB images taken at three consecutive moments. We simulate the situation where the vehicle is attacked and replace the RGB image at the current moment with an attack image rendered based on a three-dimensional implicit representation. Its function is to extract image features perceived by the sensor.
[0118] The attack detector K consists of an input layer, a fully connected layer, and an output layer; its input is the perceptual features extracted by the image encoder E; its function is to regress the relative position of the interference object and the vehicle in the image at the current moment from the perceptual features, and guide the image encoder to extract the interference features in the image.
[0119] The image decoder D consists of an input layer, a deconvolution layer, a depooling layer, and an output layer. Its input is also the perceptual features extracted by the image encoder E. Its function is to recover the real front-facing RGB images of the vehicle at three consecutive moments from the perceptual features.
[0120] Training a variational autoencoder neural network model consists of the following steps:
[0121] 2.1) Preprocess the data set, add interference images rendered based on 3D implicit representation and corresponding attack positions to the clean images, and finally obtain a paired image training set, which specifically includes the following steps:
[0122] 2.1.1) Arrange the data in the clean autonomous driving dataset S1 in time sequence and extract n×3 samples from S1 n is the batch size, I c Represents three consecutive frames of images contained in a batch, denoted as t is the time frame of the image.
[0123] 2.1.2) Arrange the data in the dataset S2 after adding the attack in chronological order and find the corresponding The attacked image And its corresponding attack position Will I k , which is used to simulate the attack situation in autonomous driving navigation, and finally obtain the data set
[0124] 2.2) The continuous images I k Input to the image encoder E en , perform forward reasoning to generate image feature encoding;
[0125] 2.3.1) Input the image feature code into the attack detector K, perform forward reasoning to calculate the attacked position, and compare it with Use L1-LOSS to calculate the loss L k :
[0126] 2.3.2) The image feature encoding is input to the image decoder D, and forward reasoning is performed to reconstruct the clean image and compare it with I c Use L2-LOSS to calculate the image reconstruction loss L r ;
[0127] 2.3.3) Joint loss L k With loss L r , update the variational autoencoder network parameters θ v , α is the learning rate, is the objective function L v For the variational autoencoder network parameters θ v The partial derivative of .
[0128] 2.3.4) Let the loss function L v Minimize, that is,
[0129]
[0130] Among them, I r is the reconstructed clean image, is the attack location output by the attack checker.
[0131] 3) Fix the variational autoencoder neural network model parameters, send the reconstructed clean image to ResNet34 to generate high-dimensional features, and then use the multi-layer perceptron M to map the image feature encoding in the high-dimensional space to the navigation feature encoding g in the low-dimensional space.
[0132] 4) According to the vehicle parameter information recorded at each time step in the data set S1, the relative coordinates (X target , Y target ) and the navigation waypoint labels required to train the navigation module Where w is the number of waypoints predicted by the navigation module.
[0133] 5) The relative coordinates (X target , Y target ) and the navigation feature code g are sent to the navigation module N to generate the predicted waypoints for the next w frames.
[0134] The navigation loss function is defined as follows:
[0135]
[0136] Among them, λ1 and λ2 are hyperparameters for adjusting the loss weight.
[0137] 6) Use the trained autonomous driving model to conduct actual vehicle testing and add image rendering attacks based on 3D implicit representation, which specifically includes the following steps:
[0138] 6.1) Using the S2 dataset, train the dynamic and static 3D implicit representation model for the Town02 scene.
[0139] 6.2) During the autonomous driving navigation test phase, the static model is used to predict the front view image after 1 second and the dynamic model is used to generate an interference vehicle at a random position within the 30° FOV in front of the ego vehicle. The dynamic model and the static model are combined to render the front view image after the attack, and the ego vehicle is attacked online at intervals of 1 second.
[0140] 6.3) The current forward-looking image that may have interference is sent together with the two historical clean image frames (images without interference or images restored by the variational autoencoder) data into the variational autoencoder to reconstruct the clean image, and then sent to ResNet34 to generate a clean high-dimensional image coding feature. The high-dimensional image coding feature is then sent to MLP for feature dimensionality reduction to obtain the navigation feature code g.
[0141] 6.4) The navigation feature code g and the relative coordinates (X target , Y target ) is sent to the navigation module N to obtain (X pred , Y pred ).
[0142] 6.5) Using the PID control algorithm, the vehicle steering and throttle control are performed according to the waypoints predicted by the navigation module to complete the vehicle's automatic driving navigation.
[0143] The variational autoencoder module, navigation module N, multilayer perceptron M, and ResNet34 all use the Adam gradient descent algorithm to update the weights and biases in the model.
[0144] The activation function of the convolutional layer in the variational autoencoder neural network model is the Relu activation function, and the convolutional layer uses layer normalization for data processing.
[0145] This method can realize attack and defense on perception data in the autonomous driving system, and improve the safety and stability of the autonomous driving system.
[0146] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0147] The above shows and describes the basic principles, main features and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, and these changes and improvements all fall within the scope of the present invention to be protected.
Claims
1. An online attack and robust navigation method based on three-dimensional implicit representation rendering, characterized in that: The method comprises the following steps: Obtain an autonomous driving dataset and use a dynamic and static 3D implicit representation model to render images containing attacks. Use the improved variational autoencoder to recover the clean image from the image containing the attack and output the relative coordinates of the attack location; The navigation module generates navigation trajectory points for future frames based on the clean image; extracts and reduces the high-dimensional image encoding features from the clean image; Calculate the relative navigation position in the vehicle coordinate system using the vehicle coordinates, heading and vehicle target point in the data set; Predict the navigation trajectory points of the vehicle from the reduced-dimensional features and the relative navigation position; Control the vehicle to complete the navigation task in the simulator based on the navigation trajectory points; The establishment of the dynamic and static three-dimensional implicit representation model includes the following steps: Using the dataset to train a scene graph, the scene graph includes a camera, a static node and a set of dynamic nodes; Use hash coding method and time parameters in static nodes to predict volume density and color of static scenes; Predicting volume density and color of dynamic objects using category encoding and local coordinate system in dynamic nodes; Combining the prediction results of static nodes and dynamic nodes, the rendering integral and root mean square loss function are used to render the front view image after the attack; The specific steps to restore a clean image from an attacked image are as follows: Arrange the autonomous driving dataset and the images containing attacks in chronological order, select three consecutive frames of images from the autonomous driving dataset, and then select the corresponding three consecutive frames of images from the images containing attacks; Feed three consecutive frames of images into the encoder network of the variational autoencoder to generate perceptual features; The perceptual features are fed into the decoder network of the variational autoencoder, and three consecutive frames of images are used as reconstruction labels to calculate the image reconstruction loss. The perceptual features are fed into the attack detection network of the variational autoencoder, the attack position is used as the attack detection label, and the regression loss is calculated; The reconstruction image loss and regression loss are jointly used to calculate the gradient and update the parameters of the variational autoencoder.
2. According to claim 1, the online attack and robust navigation method based on three-dimensional implicit representation rendering is characterized in that: During the autonomous driving navigation testing phase: The static model is used to predict the forward-looking image after 1 second and the dynamic model is used to generate interference vehicles at random positions within the 30° FOV in front of the ego vehicle. The dynamic model and the static model are combined to render the front view image after the attack, and the online attack is applied to the ego vehicle at intervals of 1s.
3. According to claim 1, the online attack and robust navigation method based on three-dimensional implicit representation rendering is characterized by: The dynamic node focuses on the location of the center of each vehicle object to build its own virtual coordinate system, and groups vehicle objects with similar appearance into one class and shares the weight of the representation function.
4. According to claim 1, the online attack and robust navigation method based on three-dimensional implicit representation rendering is characterized by: The improved variational autoencoder comprises an image encoder, an attack detector and an image decoder; The image encoder is used to extract image features perceived by the sensor; The attack detector is used to regress the relative position of the interference object and the vehicle in the image at the current moment from the perception features, and guide the image encoder to extract the interference features in the image; The image decoder is used to restore the real vehicle front RGB images at three consecutive moments from the perceptual features.
5. According to claim 1, the online attack and robust navigation method based on three-dimensional implicit representation rendering is characterized in that: The navigation module includes a multi-layer perceptron and a GRU network, wherein the multi-layer perceptron is used to map image feature codes in a high-dimensional space to navigation feature codes in a low-dimensional space, and the GRU network is used to generate navigation trajectory points of future frames based on the navigation feature codes and relative coordinates guiding vehicle navigation.
6. According to claim 5, the online attack and robust navigation method based on three-dimensional implicit representation rendering is characterized in that: The multi-layer perceptron uses ResNet34 as the image feature extractor.
7. According to claim 5, the online attack and robust navigation method based on three-dimensional implicit representation rendering is characterized in that: The control module uses the PID control algorithm to control the vehicle steering and throttle according to the navigation trajectory points output by the navigation module.
