Robust Adversarial Attacks Detection for Deep Learning based Relative Pose Estimation for Space Rendezvous
필름·전자재료 · (13) 프리즘 필름
기본 정보
- 저자
- DOI
- 10.1016/j.asr.2024.11.054
- 저널
- Advances in Space Research
- 발행년도
- 2024
- 발행기관
- Elsevier BV
- 피인용수
- 2
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1016/j.asr.2024.11.054
- 토픽
- High-Velocity Impact and Material Behavior
- OpenAlex ID
- W4404726614
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (13) 프리즘 필름
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
본문 65,507자
본문 펼치기
섹션 본문 82문단 · 47,379자
(제목 없음)
1Research on developing deep learning techniques for autonomous spacecraft relative navigation challenges is continuously growing in recent years.Adopting those techniques offers enhanced performance.However, such approaches also introduce heightened apprehensions regarding the trustability and security of such deep learning methods through their susceptibility to adversarial attacks.In this work, we propose a novel approach for adversarial attack detection for deep neural network-based relative pose estimation schemes based on the explainability concept.We develop for an orbital rendezvous scenario an innovative relative pose estimation technique adopting our proposed Convolutional Neural Network (CNN), which takes an image from the chaser's onboard camera and outputs accurately the target's relative position and rotation.We perturb seamlessly the input images using adversarial attacks that are generated by the Fast Gradient Sign Method (FGSM).The adversarial attack detector is then built based on a Long Short Term Memory (LSTM) network which takes the explainability measure namely SHapley Value from the CNN-based pose estimator and flags the detection of adversarial attacks when acting.Simulation results show that the proposed adversarial attack detector achieves a detection accuracy of 99.21%.Both the deep relative pose estimator and adversarial attack detector are then tested on real data captured from our laboratorydesigned setup.The experimental results from our laboratory-designed setup demonstrate that the proposed adversarial attack detector achieves an average detection accuracy of 96.29%.
Introduction
2The growth of deep learning-based techniques has drawn increasing attention in various domains of application, such as image processing, speech recognition, and many other challenging Artificial Intelligence (AI) based tasks [1].Vision-based autonomous orbital space rendezvous, [2], is an application for which adopting deep learning approaches to spacecraft position and attitude estimation is continuously gaining interest within the research community and the space agencies [3,4].
3The state-of-the-art achievements in deep learning (DL) research demonstrate that the Convolutional Neural Networks (CNNs) have successfully gained outstanding performance in computer vision applications, such as object detection and target localisation [5][6][7].Determining the pose of a spacecraft's relative state by processing input images is typically achieved through the six Degree-of-Freedom (6 DOF) pose estimation of the target object frame relative to the camera (onboard the spacecraft) frame.These visionbased pose estimation methods are traditionally computed by matching relative features on images captured by the camera to relative locations in the target frame.Different from the traditional approaches, the CNNs can be trained to detect features from raw image data and estimate the relative pose by regressing the position and attitude, without the need for manual feature engineering which is often required in traditional computer vision methods.The advantages of CNN-based pose estimation approaches are that they can potentially lead to better performance in complex orbital scenarios and more robustness to variations in lighting, viewpoint, and cluttered background.
4Recent achievements in CNN-based pose estimation demonstrate outstanding accuracy performance [8][9][10].However, The vulnerability of such deep learning scheme can be questionable.Indeed, minor changes in the spacecraft onboard camera acquired images that is used by the CNNbased pose estimator can cause CNNs to make wrong predictions due to their reliance on low-level affected features, such as edges and textures, and their high sensitivity to slight variations in the input space.Those changes in the input images and thus on features that the CNN-based pose estimation relies on can be caused by adversarial attacks [11].Adversarial attacks aim to make small perturbations to the input images that are imperceptible to human vision and can significantly affect the CNN's prediction [12].For real-world applications where CNNs are applied to estimate the relative pose of spacecraft, applying an adversarial attack to the input images can potentially make the CNNs output the wrong position or attitude of the target.This could seriously damage the autonomous rendezvous operation system if wrong pose data are involved to generate any further actions, such as guidance commands for the spacecraft to rendezvous and/or dock to the target satellite.
5One of the significant challenges associated with deep neural networks is that these models usually lack of transparency, which means people cannot understand how the deep neural networks achieve their decisions.To address this issue, eXplainable AI (XAI) aims to provide an understandable explanation for the AI models' decision-making process.By applying XAI methods to CNNs, such as Class Activation Mapping (CAM) [13], Layer-wise Relevance Propagation (LRP) [14] and SHapley Additive exPlanation (SHAP) values [15], users can understand how CNNs work and why models output their relative pose predictions.This nice characteristic of XAI methods can potentially be adopted in detecting adversarial attacks on CNN models.
6This work aims to present an innovative demonstration of the vulnerability of CNN-based spacecraft rendezvous relative pose estimation scheme to digital adversarial attacks on camera input images and proposes a novel method for detecting those adversarial attacks when they may occur.In this paper, a vision based orbital autonomous rendezvous dynamic scenario is simulated.A CNN-based pose estimator is designed and trained to estimate the relative position and attitude of the target satellite involving a modified Darknet-19 [16] as a feature extractor.The Fast Gradient Sign Method (FGSM) is employed to introduce small perturbation attacks to the input images.Various configurations of the FGSM attack are developed to demonstrate the impact of digital adversarial attacks on the CNN-based pose estimator.An LSTM-based detector exploiting the explainable Shap values of the CNN based estimator is then proposed to detect the adversarial attacks acting on the input images and thus the CNN based estimator outputs.
7The paper is organised as follows: Section 2 provides an overview of current DL-based spacecraft pose estimation approaches and discusses existing methods for detecting adversarial attacks.Section 3 outlines the proposed design of the CNN-based pose estimator, how to adopt FGSM attacks to the pose estimator, and the design of the LSTMbased adversarial attack detector.Section 4 presents the test experiments that are conducted on both simulation data and real-world data obtained from our laboratory.Finally, Section 5 concludes the paper and discusses future work.
DL-based Spacecraft Relative Pose Estimation
8Sharma et al. [17] proposed a relative pose classification network which is based on AlexNet [18] architecture for non-cooperative spacecraft.In their design, the convolutional layers in AlexNet are initially trained on ImageNet dataset [19] as feature extractors.The pre-trained feature extractors are adopted with two fully-connected layers and one classification layer with training on ten sets of synthetic images that were created from Tango spacecraft flown in the Prisma mission [20].Their work shows that the CNN-based relative pose classification outperforms the accuracy of an architecture based on classical feature detection algorithms.However, this network is designed to output a coarse pose classification and cannot meet the precision requirements for fine position and attitude estimation missions.
9Yang et al. [21] have proposed a CNN-based pose estimation method to estimate the relative position and orientation of non-cooperative spacecraft.In their approach, the pre-trained ResNet-50 [22] is adopted as the feature extractor, and two fully-connected layers are concatenated after the feature extract to output the relative position and orientation of the target spacecraft, respectively.To adapt the network to estimate the relative pose of other similar spacecraft, an additional output layer is concatenated with the output of position and orientation to predict the category of the target spacecraft.Different from previous work introduced by Sharma et al. [17], this work can output the relative position and orientation of the target spacecraft, instead of a coarse pose classification.Similarly, pre-trained ResNet has also been used as the backbone in Proença and Gao's work [23].In this work, the estimation of position is achieved by two fully-connected layers with a simple regression, and the relative error is minimised based on the loss weight magnitudes.Then, the continuous attitude estimation is performed via classification with soft assignment coding [24].
10Rather than estimating the relative pose of spacecraft by using a single input frame, consecutive image inputs have been considered by group previous work Rondao et al.,named ChiNet [10].The ChiNet featured a Recurrent Convolutional Neural Network (RCNN) architecture, which involves a modified Darknet-19 [16] as an image feature extractor and followed by LSTM units to deal with the sequences of input images.The ChiNet takes 4-channels input which not only includes the RGB image but also a thermal image of the spacecraft that has been stacked to the fourth channel of input.The ChiNet also proposed a multistage optimisation approach to train the deep neural network to improve the performance in spacecraft relative pose estimation.
Explainability in CNNs
11While recent approaches to DL-based spacecraft relative pose estimation demonstrate outstanding performance in terms of prediction accuracy, understanding how these models predict relative pose is essential for providing robust solutions for future space rendezvous missions.As a new approach solution, eXplainable AI (XAI) techniques offer the possibility to analyse gradients in DL models to indicate the significance of input variables in the estimation decisionmaking process.
12Lundberg and Lee proposed the SHAP values to interpret complex machine learning models [15].The SHAP value is based on a concept from game theory called Shapley values.These are used to fairly distribute the payoff among the players of a cooperative game, where each player can have different skills and contributions.Similarly, SHAP values assign each feature an importance value for a particular prediction and provide insights into the contribution of each feature.By examining the SHAP values of machine learning models, we will able to understand the predictions of complex machine learning models.
13Contrastive gradient-based (CG) saliency maps [25] are visual explanation methods for deep neural networks.They produce a heat map where the norm of the model's gradients indicates the significance of input variables.The heat map highlights the areas in the input image that would change the output class if they were changed.By accessing the heat map, users can identify the most relevant features for the model's prediction.
14Class Activation Mapping (CAM) [26] generates visual explanation maps by finding the spatial locations in the input image that contribute the most to a specific prediction.The CAM is particularly helpful in image classification tasks through CNNs.Similarly, gradient-weighted CAM (Grad-CAM) [27] extends the work of CAM and provides visual explanations for decisions made by a wide range of CNNbased methods.Grad-CAM utilises the gradients of any target concept, flowing into the final convolutional layer to produce a localisation map that highlights the important regions in the input image for predicting the concept.These XAI methods interpret the CNNs, making people understand how and why CNNs make certain predictions.However, since then, there has been no specific analysis on interpreting the DL-based spacecraft relative pose estimation to improve their explainability.
Adversarial Attacks
15Adversarial attacks for CNNs aim to make small perturbations on the original input images where original and perturbed images look similar in human vision but can significantly impact the CNNs' predictions.However, very limited research works are investigating how adversarial attacks can impact DL-based pose estimation systems.Chawla et al. [28] demonstrate the effect of different types of adversarial attacks on the predictions of the DL-based pose estimation system.Their work shows that adversarial attacks can significantly impact monocular pose estimation networks, leading to increased trajectory drift and altered geometry.Similarly, Nemcovsky et al [29] illustrate that the physical passive path adversarial attacks can seriously increase the error margin of a visual odometry model which is used in autonomous navigation systems leading onto potential collisions.
16To protect the DL-based system from adversarial attacks, Liu et al [30] proposed a detection method based on the robustness of the classification results.Their results show that the detector performs well against gradient-based adversarial attacks.Our group work, Hickling et al [31], proposed a CNN-based adversarial attack detector and an LSTMbased adversarial attack detector for Deep Reinforcement Learning (DRL) based Uncrewed Aerial Vehicle guidance.The simulation results show that the LSTM-based adversarial attack detector leads to 90% detection accuracy on the DRL model.It also suggests that the LSTM-based detector performs much more accurately and quicker than the CNNbased adversarial attack detector.Indeed, the LSTM-based detector is demonstrated to meet the real-time requirement in DRL based guidance.
17To the best of our knowledge, as of yet, there is no literature looking at the impact of adversarial attacks in spacecraft relative pose estimation and how to detect those adversarial attacks in DL-based spacecraft relative pose estimation systems and this work first time proposes this.
18Our objective is to ultimately create an adversarial attack detector for the space navigation system, which employs SHAP values explainability mechanism to detect and flag potential adversarial attacks.
Methodology
19In this section, a CNN-based spacecraft relative pose estimator is newly designed with the aim of providing a reliable estimated position and attitude of the target spacecraft in as rendezvous scenario.Then, the FGSM attacks are adopted on the spacecraft onboard camera resulting in an adversarial image to evaluate the impacts on the proposed deep pose estimator.Next, SHAP values are introduced to generate XAI signatures for both adversarial and normal input images.Finally, an LSTM-based adversarial detector is proposed and trained, which learns normal and adversarial SHAP values to detect the adversarial attacks on the spacecraft relative pose estimator.
CNN-based Spacecraft Relative Pose estimator 3.1.1. Overall architecture design
20Similarly, as most DL-based spacecraft relative pose estimation algorithms, CNN is proposed for extracting features in the proposed pose estimator.The overall design of the pose estimator follows the design methodology in ChiNet [10].The Darknet-19 [16] is introduced as the feature extractor in this design.The Darknet-19 is originally trained in ImageNet [19] dataset which has an input size of 244 × 244.In our design, input images of the pose estimator have a larger size than ImageNet images.Therefore, the first convolutional layer in Darknet-19 is configured with a kernel size of 7 × 7. Following the approach of Darknet-53 [6], the maxpooling layers in the Darknet-19 are replaced by 3 × 3 convolution operation with a stride of 2. Similarly, as the Darknet-53 approaches, the residual connections are also adopted to the proposed pose estimator.Batch Normalisation [32] layers are applied after each convolutional layer.
21Our deep spacecraft relative pose estimator aims to output the relative position and attitude of the target directly.Therefore, two separate FC layers are applied.The first FC layer involves 3 output nodes to output the relative position in (, , ) and the second FC layer adopts a 6-dimensional (6-D) vector to represent the relative attitude of the target spacecraft.Finally, two FC layers are concatenated together to output the relative 6-DOF pose.In the second FC layer, 6-D vectors are applied to represent the relative attitude of the target spacecraft, instead of using quaternion representation.The reason is that the relative pose estimator is designed as a regression problem where the output has to be continuous.However, the normal attitude representation of quaternion is discontinuous, due to its antipodal ambiguity, i.e. − = .Therefore, the proposed pose estimator applies the 6-D vector formulated by Zhou et al. [33], which mapped the 3dimensional rotations into a 6-D continuous rotation.The overall design of the spacecraft relative pose estimator is presented in Fig. 1.
Synthetic data generation
22To train and test the spacecraft relative pose estimator, synthetic datasets are generated in Blender, which is an open-source 3D modelling software.The spacecraft target model used in the synthetic dataset generation is the Jason-1 satellite, which was downloaded from the NASA 3D Resources website [34].Dynamic simulation of the rendezvous is developed to generate the synthetic dataset in which the camera onboard the chaser spacecraft starts at 60 metres away in − from the target and end at 10 metres away from the target in − , i.e. (0,0,10).Random rotation of the camera and target is considered in the synthetic data generation.Many trajectory sequences are generated and each sequence contains 2,500 images.To prevent overfitting in the deep relative pose estimator network, random rotation of the target spacecraft is applied to the model, and the camera is initialised at various positions in the synthetic data generation.Table 1 illustrates the synthetic dataset generated for training and validating the deep pose estimator.
Loss Function
23Training the spacecraft relative pose estimator can be formulated as a regression problem, where the total loss function combines the loss in position and loss in attitude.These are computed by ( 1) and ( 2), respectively, which were originally proposed by Kendall et al [35].Followed by Rondao et al [10], a trainable weight is attributed to each loss, which corresponds to the task-specific variance of the Gaussian distribution.The total loss is then formulated in (3).
24where the and indicate the predicted position and attitude, and and indicate the ground truths position and attitude, respectively. is the batch size and ||⋅|| donates the 2 norm. and represent the learnable weights for position and attitude, respectively.
Adversarial Attacks
25In this work, the adversarial examples are generated by FGSM attacks [36].The FGSM attacks aim to add small perturbations to the input images which will maximise the network's loss.The equation in (4) describes how to generate an adversarial example for a given input image by FGSM attack.
26where is a value of the perturbation effect which describes how strong the attack is. is the loss of the input with In real implementation, the needs to be small enough to ensure the perturbations on the input image are seamless and cannot be visible by human vision but still significantly change the deep model's predictions.The value should be in the range of (0,1), where a value of 0 means the adversarial image will be the same as the input image without any perturbation and a value of 1 means the adversarial image will be perturbed as significant distorted image to human vision.Fig. 2 illustrates an example of applying FGSM attacks to input images of the spacecraft relative deep pose estimator.
Explanability via DeepSHAP
27The black-box nature of deep neural networks makes users can only observe the prediction of these models, but do not know the reasons for getting correct or wrong predictions.XAI techniques are developed to interpret the DL models.When the model's prediction is changed, the XAI will generate relative explanations to explain why the model is getting the prediction.In this work, we proposed a novel approach that adopts XAI techniques by applying the change in SHAP values of the input images as a measure to determine whether an adversarial attack happens on input images.
28Originally, SHAP is proposed based on the idea of Shapley values, which are designed to assign a credit to every input feature for a given prediction.Generating SHAP values for DNNs can be computationally expensive, as the DNNs normally contain a huge amount of features.Thanks to the work of DeepLIFT [37], Shapley values for DNNs can be estimated by linearising the non-linear components of a neural network, a method referred to as DeepSHAP [15].This is achieved by utilising a reference input distribution, which can be linearly approximated, to estimate the expected value for the entire model.
29However, directly generating SHAP values for the spacecraft relative pose estimator still requires a large amount of computational resources.The pose estimator is based on CNNs with image inputs that contain thousands of pixels.Using DeepSHAP for image input requires generating Shapley values for each single pixel for every output neuron.Therefore, in this work, we consider computing the SHAP values for the subsampling layer in the pose estimator, instead of computing them for the input image.As demonstrated previously, the spacecraft relative pose estimator contains a GAP layer that downsamples feature maps from the prior convolutional layer to 1000 samples.For example, computing SHAP values for a 720×480 image needs to compute 355,200 pixels, instead, the GAP layer in the pose estimator only employs 1000 neurons.As a result, SHAP values are generated for the outputs of the GAP layer that only need to compute 1000 features.This saving in the computation makes the generation of SHAP values for the deep pose estimator could potentially meet the implementation time constraints.
Adversarial attack detector
30To detect any incoming adversarial attacks on the spacecraft deep relative pose estimator trhough the onboard camera, an LSTM-based adversarial attacks detector is proposed.The detector aims to monitor the SHAP values generated from the output of the GAP layer and detect any slight anomaly changes that could result based an adversarial attack.The LSTM is a type of Recurrent Neural Networks (RNNs) that is widely used in learning from time-series data, such as speech recognition [38].The LSTM architecture was originally proposed to address the long-term dependency issue in conventional RNNs.It can enable the propagation and representation of information over a sequence without causing useful information from distant past time steps to be ignored.
31In our approach, the SHAP values are generated based on the prediction of each output neuron in the proposed deep pose estimator.Different from applying adversarial attacks on a classification CNN that only change the output label, when an attack occurs on the deep pose estimator, it could affect all output neurons to estimate for wrong position and attitude.Therefore, it can be assumed that there might exist a certain level of dependencies among those output neurons.From this point of view, building an LSTMbased adversarial attack detector can potentially achieve high detection accuracy.
Experimental Results
32To validate our adversarial detection approach, two experiments are performed.The first experiment is built on the simulation environment with synthetic data as mentioned in Section 3. The second experiment is built on our lab environment to testing our approach with real data.For both sets of experiments, the spacecraft deep relative pose estimator and the adversarial attack detector are tested for their relevant accuracy, and then the two systems are integrated to test the overall successful detection rate of adversarial attacks.
Accuracy of the Spacecraft Deep Relative Pose Estimator
33To train the deep relative pose estimator, image data are collected from the Blender 3D model.There are 13 sequences of images generated from Blender with the relevant trajectories that are mentioned in Table 1.By following the trajectories in Table 1, 2,500 images are generated for each trajectory, resulting in a dataset with 32,500 images for training and testing in total.Fig. 4 shows two examples of synthetic data generation in Blender.
34The synthetic dataset is split by a train-test ratio of 0.8, i.e. 80% of images in the dataset are used for training the deep relative pose estimator, and 20% of images are used to test the model's accuracy.Each image is associated with (a) image captured at a camera position of (0, 0, 60m).(b) image captured at a camera position of (0, 0, 10m).Random rotation is applied to the target spacecraft.
35a ground truth label in the format of (, , , , , , ).
36The first three elements in the ground truth label represent the relative position of the chaser onboard camera to the target and the rest 4 elements represent the target attitude in quaternion representations in the chaser camera frame.The deep relative pose estimator outputs the attitude in a 6-D vector.Therefore, to calculate the loss in attitude, the quaternion representations are converted to the 6-D vector representation by following the approach in [33].A dropout rate of 0.2 is applied to the GAP layer in the training process.Multiple data augmentation techniques are considered in training the deep relative pose estimator, including Gaussian blur, Gaussian noise, image compression, random brightness and so on.These techniques help to prevent the model from overfitting the training dataset.The deep relative pose estimator is trained by stochastic gradient descent with an Adam optimiser.The triangular2 [39] policy is applied for cycling learning rate with base learning of 2.5e-5.
37After training the deep relative pose estimator for 50 epochs with the training batch size of 32, The model's average prediction accuracy for both training and test datasets is reported in Fig. 5.In this experiment, the position error is measured by (5) and the attitude error is measured by (6).
38where and represent the prediction of position and the ground truth of position magnitude.The and indicate the prediction of attitude and the ground truth of attitude in quaternion representation.The ⊗ denotes the quaternion multiplication and || ⋅ || denotes the 2 norm.The proposed spacecraft relative pose estimator achieves an accuracy of around 0.49m in position error and 0.68 deg in attitude error on the test dataset.Table 2 reports a comparison between the proposed deep relative pose estimator and state-of-the-art performance of other DL-based space relative pose estimation approaches based on their datasets.The comparison here aims to show that the proposed spacecraft deep relative pose estimator can achieve relatively good performance on the synthetic data and can be used as a baseline model to implement the adversarial attack algorithm on and test the adversarial attack detector.The comparison is not meant to be a quantitative benchmark evaluation of our approach relative to existing performing approaches.
FGSM Adversarial Attacks
39As discussed in Section 3, the perturbation made by FGSM attacks can be adjusted by changing the value.To investigate the impact of adversarial attacks on DLbased space relative pose estimation, different values are selected to generate adversarial onboard camera image input to the proposed deep relative pose estimator.Typically, the applied in this experiment are 1, 0.5, 0.3, 0.1, 0.05 and 0.01.The larger value of is, the more perturbations are made to images.The FSGM attack is applied to all synthetic test data, where all images in the test data.Then, the perturbed images are fed to the deep relative pose estimator for testing the impact of the FGSM attack.The average prediction relative pose errors of applying different values are reported in Fig. 6.
40We can see that as the value increases, the deep model's prediction error becomes larger.The attitude error is quite stable on = 0.1, 0.05 and 0.01, but has a dramatic increase if the > 0.3.
41To assess well how the adversarial attack can impact the DL-based navigation system in a space rendezvous scenario, a simple guidance scheme is implemented with the proposed deep relative pose estimator.The guidance scheme takes the estimated relative pose from the proposed deep relative pose estimator and then provides relative control actions to move the camera (spacecraft) to the target position.In the guidance scheme, the camera has an initial position of (0, 0, 60) and a target position of (0, 0, 10) with ±1 tolerance.The guidance scheme updates the camera position with a maximum velocity of 1∕, as described in ( 7) and ( 8)
42= − (8) where , , present the updated position, estimated position and target position of the camera, respectively.The test system is implemented as shown in Fig. 7.
Generate synthetic image FGSM Attacks
43Attack image
Add perturbations to image by FGSM attack
44Pose Estimator In this experiment, the test system is continuously attacked by FGSM on image data with various acquired camera frames.The attack is defined as the camera (spacecraft) missing the target position while the attack means that the camera (spacecraft) can still reach the target position under continuous FGSM attack.Experimental results are reported in Table 3 -7.From Table 3 -7, we can clearly see that the adversarial attack can result in a significant impact on the guidance based DNN-based relative navigator typically when the distance between the camera and the target is smaller than 30m.In most cases, continuously attacking the deep model for more than 15 frames after the camera approaches less than 30m to the target, the camera (spacecraft) will fail to reach the target position.In a real space rendezvous mission where a chaser relies on a DL-based relative pose estimation system, an adversarial attack has the potential to cause the chaser to fail in approaching the target position, resulting in mission failure.Therefore, detecting adversarial attacks on DL-based pose estimators becomes critical.
LSTM-based Adversarial Attack Detector
45The proposed adversarial attack detector is designed based on the LSTM architecture.It aims to detect the change in SHAP values when an adversarial attack occurs on the input image.As mentioned in Section 3, the SHAP values are computed at the output of the GAP layer in the proposed deep relative pose estimator.The GAP layer contains 1000 neurons, therefore, 1000 values are calculated for each output neuron, resulting 9×1000 output SHAP values.
46In our approach, the SHAP values of the GAP layer are calculated by DeepSHAP [15] algorithm.The DeepSHAP algorithm computes SHAP values for inputs by integrating over background samples.It then estimates approximate SHAP values in a manner that sums up the difference between the expected deep model's output on the background samples and the current model's output.In this work, 1000 images are randomly selected from the training dataset to compute the downsampled features at the GAP layer.These samples serve as the background samples for the DeepSHAP explainer.To train the adversarial attack detector, we generated 15,000 sets of SHAP values for normal samples and an additional 15,000 sets of SHAP values for adversarial samples.The normal samples consist of the entire test dataset, which is used for testing the deep pose estimator, along with a random selection of images from the training dataset.This random selection was made to reach a total of 15,000 samples, thereby bridging the gap between this number and the number of images in the test dataset by the deep relative pose estimator.Adversarial samples are generated by attacking the test dataset of the deep relative pose estimator with various values: 0.5, 0.3, 0.1, 0.05, and 0.01.Subsequently, 3,000 perturbed images are randomly selected from each value for calculating the corresponding SHAP values.
Relative Pose Estimation and Adversarial Attack Detector for Space Rendezvous
47The SHAP values for both normal and adversarial samples are split into a training and testing set using a 0.8 traintest ratio, resulting in 24,000 samples for training and 6,000 samples for testing.The adversarial attack detector is trained using the Stochastic Gradient Descent (SGD) method with the Adadetal optimiser for 1,000 epochs.After training the adversarial attack detector, it achieved a training accuracy of 99.98% and a test accuracy of 99.90% on the test dataset.In this case, the detection accuracy is calculated by ( 9)
48where the is defined by that the input frames with the adversarial attack are detector as and frames without adversarial attack are detector as .
49The experimental results show that the proposed detector can successfully detect adversarial attacks on the DL-based relative pose estimator with high accuracy.The adversarial attack detector is integrated with the deep relative pose estimator and the DeepSHAP explainer to enhance accuracy in space rendezvous scenarios.The overall system is presented in Fig. 8.The adversarial attack detector is then tested with three trajectories.In each trajectory, the camera (spacecraft) starts 60 meters away from the target, positioned at various points in the and directions within the range of [±25, ±15].The camera is oriented directly toward the target, with an attitude represented as quaternion (1, 0, 0, 0).The end position is (0, 0, 10).The camera (spacecraft) moves linearly at a rate of 0.25 meters per frame along the -axis.It follows a projectile trajectory in the and directions, resulting in a total of 2,500 frames for each trajectory.The FGSM attack is applied to test trajectories with an attack probability of 0.2.Once FGSM is initiated, attacks continue for the subsequent 5 frames.The results of the proposed adversarial attack detector are presented in Table 8.From the test results, the proposed adversarial attack detector successfully detects all incoming FGSM attacks when the = 0.5.As the value goes small, i.e. fewer perturbations are made to input images, the detection accuracy has slightly dropped.For these three test trajectories, the proposed adversarial attack detector achieves a detection accuracy of 99.21% on average.
Experimental Results on Real Data
50In previous experiments, both the proposed deep relative pose estimator and the adversarial attack detector exhibited high accuracy on synthetic data.To further evaluate the performance of both systems, we tested them with realworld images obtained from the Autonomous Systems and Machine Intelligence Laboratory (ASMI Lab) at City, University of London.These data include sensor noise, camera calibration noise, ground truth measurement noise, and different lighting conditions that are not present in the training synthetic images.
Accuracy of the Spacecraft Dee Relative Pose Estimator
51At the ASMI Lab, a scaled mock-up model of the Jason-1 spacecraft is constructed.This mock-up model is 1/9 the size of the actual Jason-1 spacecraft.The vision sensor applied for real data acquisition is the ZED 2 camera, which outputs images with a resolution of 1920×1080.The deep relative pose estimator is retrained on new synthetic data, referred to as the Synthetic-Lab Dataset, with an input image size of 480×270 to match the aspect ratio of the camera used in the ASMI Lab.As before, the Synthetic-Lab Dataset is generated using Blender, where the target was replaced with a 3-D model of the ASMI Lab mock-up Jason-1.To simulate the space rendezvous scenario over a distance range from 60m to 10m, the 3-D model is scaled up by a factor of 9 in Blender data generation.An example of the re-training images is shown in Fig. 9 Similar to the previous synthetic data experiment, multiple trajectories are generated to collect images from the Blender, resulting in a total of 32,500 images on Synthetic-Lab Dataset for training and testing.The hyperparameter settings for training are the same as the settings applied in previous synthetic data experiment, including the learning rate, optimiser, batch size, and data augmentation methods.The pose estimator was trained for 100 epochs with a train/test split of 0.8.
52There are three sets of images captured from the ASMI Lab, referred to as the ASMI Dataset, with each set containing a total of 750 images.To acquire images for the ASMI Dataset, the camera movement is controlled by the Rethink Robotics Sawyer [41] moving along the -axis, and the ground truths relative poses of the images in ASMI Dataset are recorded by the OptiTrack Motion Capture Systems [42].The OptiTrack Motion Capture System records the position and attitude of the ASMI Lab mock-up Jason-1 and the ZED camera at a frame rate of 120 frames per second and assigns a timestamp to each frame.Images are acquired by the ZED camera at a resolution of 1920 × 1080 and a frame rate of 30 frames per second, with relevant timestamps.The ground truth pose for each frame acquired by the ZED camera are assigned by matching the corresponding timestamps from the OptiTrack Motion Capture System.Then, the relative ground truth position is calculated by the difference between the actual positions of the ZED camera and the ASMI Lab mock-up Jason-1, as shown in equation (10), = − (10) where Once the deep relative pose estimation model is trained, it is initially tested on the test set of Synthetic-Lab Dataset, followed then by testing its prediction accuracy on real world data captured from the ASMI Lab, i.e.ASMI Dataset.
53The prediction accuracy of the deep relative pose estimator is reported in Fig. 11.Similar to the previous synthetic testing, position error and attitude error are calculated by ( 5) and ( 6), respectively.Compared with the prediction accuracy on the Synthetic-Lab Dataset, the position error of the ASMI Dataset is slightly higher.This could be attributed to variations in the illumination conditions compared to the Synthetic-Lab Dataset, as well as factors such as ground truth measurement noise and camera calibration noise.On the other hand, the predicted attitude error in the ASMI Dataset is much smaller than the synthetic data.One possible reason could be that the target remains stable at a fixed position with rotation effects during the images capture.
FGSM Attacks on ASMI Dataset
54To evaluate how the pose estimator can be impacted by adversarial attacks on real data, the FGMS attack is then applied to the ASMI Dataset.In this case, the FGSM is configured as the same as previously applied in synthetic, including 1, 0.5, 0.3, 0.1, 0.05 and 0.01.In this experiment, all images are perturbed by the FGSM attack.The model's average prediction error under FGSM attacks with various values on the ASMI Dataset are illustrated in Fig. 12.
55As shown in Fig. 12, FGSM has a significant impact on position estimation but only slight impacts on attitude estimation.In comparison to the previous experiment with synthetic data, the FGSM attack has a more pronounced effect when is less than 0.05 on the predicted position in the ASMI Dataset.However, the attitude error remains quite stable, typically less than 1 degree, for all tested values.
LSTM-based Adversarial Attack Detector
56To evaluate the adversarial attack detector on the ASMI Dataset, SHAP values are obtained by processing the pose The SHAP values are shuffled and split by a train-test ratio of 0.8, i.e. 24,000 samples for training and 6,000 samples for testing.The adversarial attack detector is trained by SGD with an Adadelta optimiser for 2000 epochs.Early termination is implemented to reduce the training time.To do that, the training data are further split into 80% for training and 20% for validation.If the validation loss does not decrease over 20 epochs, the training process will be terminated.After the early termination condition, the proposed adversarial attack detector achieves a detection accuracy of 99.18% on training data and 98.8% on test data.
57Subsequently, the pose estimator, FGSM attacks, and adversarial attack detector are integrated to evaluate the overall performance on the ASMI Dataset.The integrated system is identical to the one shown in Fig. 8, with the exception that the 'Blender Image Generation' part is replaced by the ASMI Dataset.In the ASMI Dataset, a random attack probability of 0.2 is applied to FGSM attacks.When an attack occurs, input images are continuously perturbed by FGSM for the next 10 frames.The detection accuracy is calculated by (9).Table 10 presents the detection accuracy on the ASMI Dataset for various values.
58As shown in Table 10, the proposed adversarial attack detector achieves an average correct detection rate of 96.29% on the ASMI Dataset.The accuracy slightly drops when the value becomes smaller, which is caused by fewer perturbations applied to the input images as decreases.
Conclusion
59This paper firstly examines the impact of adversarial attacks on DL-based spacecraft relative pose estimation in space rendezvous scenarios.To do this, a CNN-based relative pose estimation algorithm is proposed.FGSM adversarial attacks are implemented, which have a significant impact on the model's predictions.Subsequently, an LSTM-based adversarial attack detector is proposed to identify adversarial attacks on input images.XAI techniques are adopted to analyse the model's predictions and generate SHAP valuesbased explanations for the model's predictions.Multiple experiments are carried out to evaluate the performance of the CNN-based spacecraft relative pose estimator, how the adversarial attacks can impact on DL-based pose estimator in space rendezvous missions, and the performance of the proposed adversarial attack detector.The proposed methods have been tested on both synthetic and real image datasets.
60The results show that the adversarial attack detector performs robustly in detecting adversarial attacks, achieving an average of 99.21% detection rate on synthetic data and 96.29% on real data collected from the ASMI Lab.
61Although the impact of digital adversarial attacks on DLbased spacecraft relative pose estimation has been analysed in this work, how to physically implement the adversarial attacks still needs to be explored.Moreover, the proposed method demonstrates high accuracy in detecting adversarial attacks for the DL-based spacecraft relative pose estimation, how to correct the estimated pose after detecting adversarial attacks becomes critical to provide a robust DL-based system for future space missions.
FCFigure 1 :
62Figure 1: The overall architecture of the proposed spacecraft relative pose estimator.The blue blocks represent the convolutional layers, which are formatted as ( , , )).Each convolutional layer is followed by a batch normalization layer and LeakyReLu activation.The yellow block indicates the Global Average Pooling (GAP) layer that downsamples the exacted features to a fixed 1D vector of 1000 units.The green blocks represent FC layers that will output the estimated relative position and attitude, respectively.
Figure 2 :
63Figure 2: An example of applying FGSM attacks to the input image.(a) the original input image.(b) perturbation patch with = 0.05.(c) resultant adversarial image.
640 1, … , 0 999] [ 1 0, 1 0, … , 1 999] … [ 8 0, 8 0, … , 8 999]
Figure 3 :
65Figure 3: Proposed adversarial attack detector.The yellow block indicates the LSTM layer which has an input shape of (9,1000) and an output space of 100.ReLu is applied as the activation function for the LSTM layer.The blue blocks are FC layers in the format of (, ).The green block indicates the output layer of the adversarial detector, which is also formed from the FC layer and outputs a Boolean to detect adversarial attacks.
Fig. 3
66Fig.3introduces the architecture of the proposed adversarial attack detector.The detector takes the SHAP values that are computed from the GAP layer of the deep pose estimator.As there are nine output neurons in the proposed deep pose estimator, the shape of the SHAP values is (9, 1000).To input SHAP values to the detector, the SHAP values are formatted as a sequence data with a length of 9.The detector outputs a Boolean, ∕ , to indicate the result of detecting adversarial attacks.
Figure 4 :
67Figure 4: Examples of synthetic data generated from Blender.(a) image captured at a camera position of (0, 0, 60m).(b) image captured at a camera position of (0, 0, 10m).Random rotation is applied to the target spacecraft.
Figure 5 :
68Figure 5: The prediction accuracy of the proposed pose estimator on training and test dataset after 50 epochs.The blue bar presents the average error on training data and the orange bar represents the average error on test data
Figure 6 :
69Figure 6: Comparison of the prediction error of pose estimator under FGSM attack on test data with various values.The blue bar indicates the average position error and the red bar indicates the average attitude error on test data.The error magnitude for the position is metres and the error magnitude in rotation is measured by degrees.
Figure 7 :
70Figure 7: Test system for proposed pose estimator on Blender in simulated space rendezvous scenario.
Figure 8 :
71Figure 8: The experimental system includes the integration of an adversarial attack detector with the relative pose estimator and SHAP values generator.
Figure 9 :
72Figure 9: Am example of images generated from Blender for training the pose estimator.
73donates relative ground truth position in ASMI Dataset.The and donate the actual position of the ZED camera and ASMI Lab mock-up Jason-1 recorded by OptiTrack Motion Capture System, respectively.Due to different camera intrinsic matrices applied between the Synthetic-Lab Dataset and ASMI Dataset, to represent the relative position in the trained model, the position ground truths of the ASMI Dataset are collaborated with the camera view by the following processing: and represent the camera intrinsic matrices for the camera used in Synthetic-Lab Dataset collection and the ZED camera that is used to acquire images in the ASMI Lab, respectively. and indicate the target sizes in the Blender 3-D model and the actual size in the ASMI Lab. and denote the relative position of the target in the pose estimator and the ground truth position in the ASMI Lab, respectively.Table 9 illustrates the range of relative positions in the ASMI Dataset and representative relative positions in trained pose estimator.Furthermore, all images in the ASMI Dataset are segmented with a black background and resized to 480×270 to fit the input image size of the trained pose estimator.An example of images captured in ASMI Lab is shown in Fig. 10.
Figure 10 :
74Figure 10: Examples of images captured in ASMI Dataset.(a) Original image captured in ASMI Lab (b) Segmented image with bakc background.
Figure 11 :
75Figure 11: The prediction accuracy of the proposed pose estimator on Synthetic-Lab Dataset and ASMI Dataset after 100 epochs.The blue bar presents the average error on training data and the orange bar represents the average error on test data on Synthetic-Lab Dataset.The green bar indicates the average error on the ASMI Dataset.
Figure 12 :
76Figure 12: Comparison of the prediction error under FGSM attack on ASMI Dataset with various values.The blue bar indicates the average position error in meter and the orange bar represents the average attitude error in degrees.
Table 1
77Example of synthetic data generated from Blender
Table 2
78Comparison with other approaches in DL-based space relative pose estimation
Table 7
79FGSM attacks on the simulated space rendezvous scenario with
Table 8
80The average accuracy of the adversarial attack detector in test trajectories with various values.
Table 9
81(14)ra moving range on ASMI Dataset and its representative range on trained pose estimator.The camera is moving along the − .The representative range is calculated by equation(14).
Table 10
82The average accuracy of the adversarial attack detector in ASMI Dataset with various values.
참고문헌 27건
- Deep learning for visual understanding: A review Neurocomputing · Elsevier BV · 2015 10.1016/j.neucom.2015.09.116
- Advances in Neural Information Processing Systems 25 MIT Press eBooks · MIT Press · 2012
- Advances in Neural Information Processing Systems 29 2016
- A Review of Recurrent Neural Networks: LSTM Cells and Network Architectures Neural Computation · The MIT Press · 2019 10.1162/neco_a_01199
- Vision-Based Spacecraft Pose Estimation via a Deep Convolutional Neural Network for Noncooperative Docking Operations Aerospace · Multidisciplinary Digital Publishing Institute · 2020 10.3390/aerospace7090126
- Adversarial Attacks in Modulation Recognition With Convolutional Neural Networks IEEE Transactions on Reliability · Institute of Electrical and Electronics Engineers · 2020 10.1109/tr.2020.3032744
- 2022 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) 2021 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS) · 2022 10.1109/iros47612.2022
- Challenges and Countermeasures for Adversarial Attacks on Deep Reinforcement Learning IEEE Transactions on Artificial Intelligence · Institute of Electrical and Electronics Engineers · 2021 10.1109/tai.2021.3111139
- Development and use of a convolutional neural network for hierarchical appearance-based localization Artificial Intelligence Review · Springer Science+Business Media · 2021 10.1007/s10462-021-10076-2
- Explainable AI to improve acceptance of convolutional neural networks for automatic classification of dopamine transporter SPECT in the diagnosis of clinically uncertain parkinsonian syndromes European Journal of Nuclear Medicine and Molecular Imaging · Springer Science+Business Media · 2021 10.1007/s00259-021-05569-9
- Deep learning-based spacecraft relative navigation methods: A survey Acta Astronautica · Elsevier BV · 2021 10.1016/j.actaastro.2021.10.025
- IEEE Transactions on Dependable and Secure Computing IEEE Transactions on Dependable and Secure Computing · IEEE Computer Society · 2023 10.1109/tdsc.8858
- 2020 39th Chinese Control Conference (CCC) 2020 10.23919/ccc50068.2020
- Proceedings of IEEE Conference on Computer Vision and Pattern Recognition 1993 10.1109/cvpr.1993.341010
- 2011 International Conference on Computer Vision 2011 10.1109/iccv17851.2011
- 2020 15th International Conference for Internet Technology and Secured Transactions (ICITST) 2020 10.23919/icitst51030.2020
- 2009 IEEE Conference on Computer Vision and Pattern Recognition 2009 10.1109/cvpr14067.2009
- 2016 IEEE Winter Conference on Applications of Computer Vision (WACV) 2016 10.1109/wacv35972.2016
- IEEE TRANSACTIONS ON AEROSPACE AND ELECTRONIC SYSTEMS IEEE Aerospace and Electronic Systems Magazine · Institute of Electrical and Electronics Engineers · 2021 10.1109/maes.2021.3071079
- Aliasing and adversarial robust generalization of CNNs Machine Learning · Springer Science+Business Media · 2022 10.1007/s10994-022-06222-8
- Robust deep learning LiDAR-based pose estimation for autonomous space landers Acta Astronautica · Elsevier BV · 2022 10.1016/j.actaastro.2022.08.049
- Proceedings of IEEE International Conference on Computer Vision 1995 10.1109/iccv.1995.466933
- 2019 IEEE Aerospace Conference IEEE Aerospace Conference · 2019 10.1109/aero44139.2019
- Robust Adversarial Attacks Detection Based on Explainable Deep Reinforcement Learning for UAV Guidance and Planning IEEE Transactions on Intelligent Vehicles · Institute of Electrical and Electronics Engineers · 2023 10.1109/tiv.2023.3296227
- Explainable Deep Adversarial Reinforcement Learning Approach for Robust Autonomous Driving IEEE Transactions on Intelligent Vehicles · Institute of Electrical and Electronics Engineers · 2024 10.1109/tiv.2024.3379367
- 2020 IEEE International Conference on Robotics and Automation (ICRA) 2020 10.1109/icra40945.2020
- Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networks IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2016 10.1109/tpami.2016.2577031