<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Multimodal Attack Detection for Action Recognition Models</title></titleStmt>
			<publicationStmt>
				<publisher>IEEE/CVF</publisher>
				<date>06/01/2024</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10518914</idno>
					<idno type="doi"></idno>
					
					<author>Furkan Mumcu</author><author>Yasin Yilmaz</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Adversarial machine learning attacks on video action recognition models is a growing research area and many effective attacks were introduced in recent years. These attacks show that action recognition models can be breached in many ways. Hence using these models in practice raises significant security concerns. However, there are very few works which focus on defending against or detecting attacks. In this work, we propose a novel universal detection method which is compatible with any action recognition model. In our extensive experiments, we show that our method consistently detects various attacks against different target models with high true positive rates while satisfying very low false positive rates. Tested against four state-ofthe-art attacks targeting four action recognition models, the proposed detector achieves an average AUC of 0.911 over 16 test cases while the best performance achieved by the existing detectors is 0.645 average AUC. This 41.2% improvement is enabled by the robustness of the proposed detector to varying attack methods and target models. The lowest AUC achieved by our detector across the 16 test cases is 0.837 while the competing detector's performance drops as low as 0.211. We also show that the proposed detector is robust to varying attack strengths. In addition, we analyze our method's real-time performance with different hardware setups to demonstrate its potential as a practical defense mechanism.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1.">Introduction</head><p>Adversarial machine learning attacks have been a very popular research topic since the introduction of the Fast Gradient Sign Method (FGSM) <ref type="bibr">[7]</ref>. While the initial research on these attacks focused on image classification models, many recent works showed that adversarial attacks are effective against video understanding models including action recognition <ref type="bibr">[14,</ref><ref type="bibr">27,</ref><ref type="bibr">32]</ref>, object detection <ref type="bibr">[11,</ref><ref type="bibr">13,</ref><ref type="bibr">37]</ref>, and anomaly detection <ref type="bibr">[18]</ref>. Different architectural types such as convolutional neural networks (CNNs) and vision trans-formers (ViTs) are shown to be vulnerable against adversarial attacks <ref type="bibr">[17,</ref><ref type="bibr">28]</ref>.</p><p>Increasing numbers of successful adversarial attacks in a broad range of applications against various architectures raise real-world security concerns. However, compared to the attacks, defense or detection mechanisms against adversarial attacks have not been studied widely. Although there are several defense methods proposed for image recognition models, there is very limited work on defending against attacks targeting video recognition models. In this paper, we propose a Vision-Language Attack Detection (VLAD) mechanism, which is the first vision-language based detection method for action recognition models.</p><p>Adversarial attacks are achieved by creating input data with perturbations which are not obvious to human eye, but result in errors for the machine learning algorithms. For images, this perturbation can be applied to the whole input <ref type="bibr">[7,</ref><ref type="bibr">16]</ref> or a specific part of the input in the form of pixels or patches <ref type="bibr">[22]</ref>. For videos, in addition to the spatial domain, attackers also have the opportunity to make perturbations in the temporal domain, which makes defending against video attacks a more challenging task. Compared to the image models, there are much less defense methods for action recognition models. Advit <ref type="bibr">[30]</ref> is an adversarial frame detection method which proposes using optical flow to generate pseudo frames and then evaluating the classifier output consistency between the original input frames and the pseudo frames. Shuffle <ref type="bibr">[9]</ref> tries to defend against adversarial attacks by shuffling the input frames randomly before feeding into the action recognition model. In our extensive experiments we show that neither of these two methods perform well under many attack scenarios.</p><p>Attacks against videos can be achieved in various ways due to the temporal nature of videos. In addition to possible perturbations in one frame (e.g., pixel, patch, all frame), one might combine these methods in many ways along the temporal dimension. Therefore, we believe detecting adversarial attacks against videos can be accomplished by observing the inputs and the model outputs with a separate-modality subsystem.</p><p>This CVPR Workshop paper is the Open Access version, provided by the Computer Vision Foundation.</p><p>Except for this watermark, it is identical to the accepted version; the final published version of the proceedings is available on IEEE Xplore. In our approach, we use a vision-language model (VLM) as an observing subsystem. VLMs are gaining popularity with the introduction of CLIP <ref type="bibr">[24]</ref> and are being used for many other applications such as video action recognition <ref type="bibr">[19,</ref><ref type="bibr">29]</ref>, object detection <ref type="bibr">[36]</ref> and video anomaly detection <ref type="bibr">[35]</ref>. VLM's multimodal processing of visual and language features provide additional information space for detecting attacks based on only visual features. Leveraging the capability of VLMs to make connections between texts and images, our method utilizes the context of video by computing the similarity scores between the video frames and the action class labels. Then, it decides if the video is adversarial or clean based on the consistency/inconsistency between the predictions by the action recognition model and the similarity scores obtained by VLM.</p><p>Our contributions can be summarized as follows: &#8226; We propose a universal attack detection method which can easily work with any action recognition model. &#8226; To the best of our knowledge, this is the first method that leverages a vision-language model for context awareness against adversarial machine learning attacks. &#8226; We benchmark our detection with extensive experiments and analyze its effectiveness compared to existing defense methods. Experimental results show that our method exhibits a 41.2% performance improvement relative to the state-of-the-art detector and robustness to varying attack methods and strengths. &#8226; The real-time operation of the proposed method is demonstrated with several GPUs.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.">Related Work</head><p>Adversarial machine learning attacks have been investigated for several years since the introduction of FGSM <ref type="bibr">[7]</ref>.</p><p>The first adversarial attacks were introduced for images under the black-box and white-box settings. In the white-box setting (e.g., FGSM <ref type="bibr">[7]</ref>, CW <ref type="bibr">[1]</ref>, PGD <ref type="bibr">[16]</ref>), an attacker has full access to the model including its architecture and parameters, while in the black-box setting (e.g., ZOO <ref type="bibr">[2]</ref>, NES <ref type="bibr">[10]</ref>, SPSA <ref type="bibr">[26]</ref>), the attacker has access only to the output labels or probabilities.</p><p>After the increasing popularity of adversarial attacks on images, attacks against action recognition models have also been investigated broadly in recent years. Attacks like SparseAttack <ref type="bibr">[32]</ref>, Geo-Trap <ref type="bibr">[14]</ref> or HeuristicAttack <ref type="bibr">[27]</ref> are query-based black-box attacks against video action recognition models. Although it is possible to adapt whitebox image attacks to action recognition models, there are also several adversarial attacks designed for action recognition models. One Frame Attack (OFA) <ref type="bibr">[8]</ref> tries to attack models by perturbing one frame of the input. Flickering Attack (Flick) <ref type="bibr">[23]</ref> tries to attack by changing the RGB stream of the input videos. In our experiments we test our defense method against white-box attacks since they provide more flexibility and effectiveness for adversaries, which make them more challenging to detect.</p><p>However, defense against adversarial attacks is not sufficiently investigated despite the increasing numbers and variety of attacks. Several defense methods have been developed for image models. <ref type="bibr">[33]</ref> aims to improve classification performance by adding an adversarial attack module and a data augmentation module to the model. <ref type="bibr">[34]</ref> proposes a defense method where they analyze the common information between clean and perturbed data. <ref type="bibr">[20]</ref> tries to remove perturbations with the help of adaptive compression and reconstruction. <ref type="bibr">[31]</ref> implements random resizing to inputs to achieve robustness. <ref type="bibr">[3]</ref> uses compression of JPEG images to avoid any possible perturbations. Some adversarial benchmark datasets, such as <ref type="bibr">[21]</ref>, were proposed to evaluate the robustness against adversarial attacks.</p><p>There is not much research on defense against adversarial video attacks. Advit <ref type="bibr">[30]</ref> is the first defense method introduced for videos. It generates pseudo frames using optical flow and evaluates the consistency between the outputs for original inputs and pseudo frames to detect attacks. Shuffle <ref type="bibr">[9]</ref> is a recent defense method which aims to increase the robustness of action recognition models to attacks by randomly shuffling the input frames. They show that the predictions for clean videos are not significantly affected by shuffling while the adversarial effects of attacks are mitigated. Although Shuffle <ref type="bibr">[9]</ref> is not an attack detection method, we show that it can be used for attack detection and compare our method with it.</p><p>Vision language models are gaining popularity in recent years with the introduction of CLIP <ref type="bibr">[24]</ref>. Many video understanding tasks benefit from VLMs including object detection <ref type="bibr">[15,</ref><ref type="bibr">36]</ref>, video action recognition <ref type="bibr">[19,</ref><ref type="bibr">29]</ref> and video anomaly detection <ref type="bibr">[35]</ref>. In our work, we present the first usage of VLMs for adversarial video detection.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Algorithm 1 Vision-Language Attack Detection (VLAD)</head><p>Input: input video X, word vector w containing class labels, action recognition model g, vision language model vlm, threshold h. Output: detection result d.</p><p>1: action recognition model receives the input video, returns the classification probabilities p a &#8592; g(X) 2: vlm calculates the similarity scores between the input video frames and word vector, {s i } &#8592; vlm(X, w) 3: take the average of similarity scores over frames s &#8592;</p><p><ref type="foot">foot_0</ref> N N i=1 s i 4: apply softmax to similarity scores to get the context probabilities p c &#8592; softmax(s) 5: Calculate detection score &#945; &#8592; 1 2 [D KL (p a ||p c ) + D KL (p c ||p a )] 6: if &#945; &gt; h then 7: d &#8592; adversarial 8: else 9: d &#8592; not adversarial 10: end if 11: return d</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.">Method</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1.">Threat model</head><p>An action recognition (AR) model g(&#8226;) takes a video X &#8712; R N &#215;H&#215;W &#215;C as an input, which is a sequence of N frames, each of which consists of H &#215; W pixels and C channels. Denoting the true label of the input with y, the true classification by the action recognition model is given by g(X) = y. However, an adversary can attack the system by generating an adversarial version X adv of the input, which might be classified as g(X adv ) = y &#8242; , where y &#824; = y &#8242; . We consider the most challenging case for the detector, the white-box attack scenario, in which the attacker has full access to the AR model. The detector has also access to the predicted class probability vector</p><p>where M is the number of class labels.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2.">Proposed Method: VLAD</head><p>There are many ways to generate successful video perturbation from changing only one frame to perturbing all frames. Due to the vastness of attack space and the typical obliviousness of the action recognition models to the attack strategy, a defense mechanism should not use any bias regarding the attacks. Therefore, we propose a universal detection mechanism which does not rely on any assumption about the attack method or action recognition model, and hence can work with any model to detect a broad range of adversarial attacks (Fig. <ref type="figure">1</ref>).</p><p>An overview of the proposed detection method is depicted in Fig. <ref type="figure">2</ref>. In our detection mechanism, in parallel with the action recognition model, we apply a VLM to obtain context probabilities. We feed two inputs to the VLM to get the context similarity scores for each frame. Taking the input video frames f = [f 1 , f 2 , . . . , f N ] and the class labels w = [w 1 , w 2 , . . . , w M ] VLM outputs the similarity score matrix S &#8712; R N &#215;M for each input video X.</p><p>The similarity scores s i = [s i1 , s i2 , . . . , s iM ] for each frame i are averaged to obtain the similarity vector s &#8712; R M of the video:</p><p>Next, the softmax function is applied to the video similarity score to obtain the context probabilities:</p><p>A final detection score &#945; is calculated by getting the average of forward and reverse KL divergences between p a and p c :</p><p>The detection score &#945; is expected to be low for clean inputs and high for adversarial inputs. A threshold h is decided by calculating the detection scores for a set of clean videos,</p><p>where K is the number of clean videos and the scores in &#946; are sorted in ascending order. Threshold h is selected as the &#952;th percentile of the clean training scores:</p><p>where &#8970;&#8226;&#8971; denotes the floor operator, and &#946;[i] denotes the ith element of &#946;.</p><p>After obtaining the detection score for an input, decision d is made as follows:</p><p>where &#945; is computed as in Eq. (3).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3.">Applicability and Implementation</head><p>Our proposed method is highly compatible with the existing action recognition models since it does not make any architectural changes to the existing models and it does not require any neural network training. VLAD only needs the classification probabilities from the action recognition model. Algorithm 1 describes the overall workflow of VLAD. 1 In our implementation we used CLIP <ref type="bibr">[24]</ref> as VLM, but our method is compatible with any VLM. N = 32 uniformly selected frames are used in Eq. ( <ref type="formula">1</ref>) to compute the similarity scores in VLM. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.">Experiments</head><p>For performance evaluation, we compare our proposed detection mechanism with the existing defense methods. First, we report the detection performances against four adversarial attacks when they target four different action recognition models. Then, we examine the performance against a specific attack with different strength settings. Dataset: Kinetics-400 <ref type="bibr">[12]</ref> is a popular and large-scale dataset for action recognition. A subset of Kinetics-400 is randomly selected for each target model from the videos that are correctly classified by the respective model. For each subset, the total number of the videos are between 7700 and 8000 and each class has at least 3, at most 20 instances. During the experiments, 80% of the videos are used for training, which is the process of getting the detection scores from a clean set of videos to set the threshold h as in Eq. ( <ref type="formula">4</ref>). An adversarial version of the remaining 20% portion is generated with each adversarial attack, in a way that they cannot be correctly classified by the models. Then the adversarial set is used for evaluation along with the clean versions. Hence, the test set consists of equal number of clean and adversarial videos.</p><p>Target Models: We use the following popular video action recognition models as target in our experiments: MVIT <ref type="bibr">[4]</ref>, CSN <ref type="bibr">[25]</ref>, X3D <ref type="bibr">[5]</ref> and SlowFast <ref type="bibr">[6]</ref>. While CSN <ref type="bibr">[25]</ref>, X3D <ref type="bibr">[5]</ref> and SlowFast <ref type="bibr">[6]</ref> are CNN based models, MVIT <ref type="bibr">[4]</ref> is a transformer based model.</p><p>Adversarial attacks: In our experiments we used four different adversarial attacks. Fast Gradient Sign Method (FGSM) <ref type="bibr">[7]</ref> and and Projected Gradient Descent (PGD) <ref type="bibr">[16]</ref> are strong adversarial attacks that originally targets images. We adopted these methods for videos and generated FGSM-v and PGD-v respectively by taking the gradients for entire video and perturbing all frames. One Frame Attack (OFA) <ref type="bibr">[8]</ref> targets action recognition models by selecting and attacking a specific frame. Flickering Attack (Flick) <ref type="bibr">[23]</ref> changes the RGB stream of the frames. For each attack, we used the attack settings that were originally proposed by their authors.</p><p>Defense methods: Advit <ref type="bibr">[30]</ref> is the first defense method designed for videos. It aims to detect adversarial frames for semantic segmentation, object detection and pose estimation tasks; and adversarial videos for action recognition. It generates pseudo frames for the inputs using the optical flow and observes the consistency between the predicted class probabilities of the original frames and the pseudo frames. Similarly to our method, it also uses the KL divergence as the consistency measure.</p><p>Shuffle <ref type="bibr">[9]</ref> is a recent defense method that aims to make action recognition models robust to attacks. It tries to improve robustness by shuffling the frames of the input video. It is claimed that the prediction for clean videos are not affected by shuffling. Since Shuffle is not originally a detection method, we obtain a detection method from it by calculating the KL divergence between the action recognition model's class probabilities for the original video and shuffled video.</p><p>We consider two versions of our approach in which we use different representations of the predicted class probabilities p a from the action recognition model while calculating the KL divergence described in Eq. ( <ref type="formula">3</ref>). In the first version, VLAD-1, the original probabilities directly coming from the model are used, whereas in the second version, VLAD-2, one-hot-encoding of predicted class is used (i.e., probability of the predicted class set to 1 and all the others to 0).</p><p>Evaluation metric: To evaluate the attack detection performance of defense methods, we report the commonly used the Area Under Curve (AUC) metric from the Receiver Operating Characteristic (ROC) curve, which shows the tradeoff between true positive rate (i.e., ratio of successfully detected adversarial videos to all adversarial videos) and false positive rate (i.e., ratio of false alarms to all clean videos).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1.">Comparison of Detection Methods</head><p>In Table <ref type="table">1</ref>, we report the AUC scores for VLAD-1, VLAD-2, Shuffle, and Advit <ref type="bibr">[30]</ref> against the PGD-v <ref type="bibr">[16]</ref>, FGSM-Advit <ref type="bibr">[30]</ref> Shuffle <ref type="bibr">[9]</ref> VLAD-1 VLAD-2 PGD-v <ref type="bibr">[16]</ref> CSN <ref type="bibr">[25]</ref> 0.842 0.841 0.967 0.937 SlowFast <ref type="bibr">[6]</ref> 0.970 0.211 0.977 0.952 MVIT <ref type="bibr">[4]</ref> 0.936 0.988 0.990 0.934 X3D <ref type="bibr">[5]</ref> 0.924 0.762 0.989 0.970 FGSM-v [7] CSN [25] 0.429 0.620 0.824 0.895 SlowFast [6] 0.513 0.400 0.870 0.933 MVIT [4] 0.384 0.920 0.759 0.837 X3D [5] 0.466 0.495 0.776 0.951 OFA [8] CSN [25] 0.370 0.694 0.680 0.904 SlowFast [6] 0.451 0.495 0.797 0.935 MVIT [4] 0.570 0.907 0.719 0.876 X3D [5] 0.581 0.505 0.572 0.926 Flick [23] CSN [25] 0.252 0.629 0.548 0.883 SlowFast [6] 0.267 0.611 0.600 0.878 MVIT [4] 0.341 0.651 0.265 0.870 X3D [5] 0.540 0.596 0.455 0.906 Average 0.552 0.645 0.736 0.911 Table <ref type="table">1</ref>. Attack detection results (AUC) for defense methods Advit <ref type="bibr">[30]</ref>, Shuffle <ref type="bibr">[9]</ref>, VLAD-1, and VLAD-2, where the adversarial attacks (PGD-v <ref type="bibr">[16]</ref>, FGSM-v <ref type="bibr">[7]</ref>, OFA <ref type="bibr">[8]</ref> and FLICK <ref type="bibr">[23]</ref>) target action recognition models CSN <ref type="bibr">[25]</ref>, SlowFast <ref type="bibr">[6]</ref>, MVIT <ref type="bibr">[4]</ref>, and X3D <ref type="bibr">[5]</ref>.</p><p>v <ref type="bibr">[7]</ref>, OFA <ref type="bibr">[8]</ref>, and Flick <ref type="bibr">[23]</ref> attakcs targeting 4 models. Since it is known that attacks might have different performances on different architectures <ref type="bibr">[17]</ref>, we selected both CNN-based (CSN, SlowFast, X3D) and transformer-based (MVIT) target models. We used the same parameter settings as reported in the original source for the attack and target models.</p><p>Except the FGSM-v <ref type="bibr">[7]</ref> and OFA <ref type="bibr">[8]</ref> attacks on MVIT <ref type="bibr">[4]</ref>, in all cases VLAD outperforms the existing defense methods. Even in those cases, the performance of VLAD is not low, 0.837 and 0.876 AUC, respectively, showing the robustness of VLAD to varying attack and target models. On the other hand, the existing methods cannot successfully detect attacks in several cases. Advit and Shuffle cannot exceed the random guess level of 0.5 AUC in 8 and 4 of the 16 scenarios, respectively. This significant difference in robustness results in a wide gap between the average AUC performances over all 16 scenarios: VLAD-2 outperforms Advit by 0.359 AUC (65% relative performance improvement) and Shuffle by 0.266 (41.2% relative performance improvement).</p><p>While against PGD-v [16], VLAD-1 performs slightly better than VLAD-2, in all other attack-target combinations VLAD-2 achieves the best scores. This is due to PGD-v being the strongest attack among all, as shown in Table <ref type="table">2</ref>, which shows the mean and standard deviation of the probability for the wrongly predicted class after the attack. Without a defense mechanism, the AR models are very confi-CSN <ref type="bibr">[25]</ref> SlowFast <ref type="bibr">[6]</ref> MVIT <ref type="bibr">[4]</ref> X3D <ref type="bibr">[5]</ref> PGD-v <ref type="bibr">[16]</ref> 0.94 &#177; 0.1 0.92 &#177; 0.17 0.99 &#177; 0.1 0.96 &#177; 0.1 FGSM-v <ref type="bibr">[7]</ref> 0.38 &#177; 0.24 0.23 &#177; 0.24 0.58 &#177; 0.28 0.66 &#177; 0.28 OFA <ref type="bibr">[8]</ref> 0.42 &#177; 0.22 0.12 &#177; 0.14 0.73 &#177; 0.26 0.67 &#177; 0.26</p><p>Flick <ref type="bibr">[23]</ref> 0.06 &#177; 0.03 0.12 &#177; 0.14 0.39 &#177; 0.2 0.37 &#177; 0.22 Table <ref type="table">2</ref>. Mean and standard deviation of wrongly predicted class probabilities of target models CSN <ref type="bibr">[25]</ref>, SlowFast <ref type="bibr">[6]</ref>, MVIT <ref type="bibr">[4]</ref> and X3D <ref type="bibr">[5]</ref> when they are attacked with PGD-v <ref type="bibr">[16]</ref>, FGSM-v <ref type="bibr">[7]</ref>, OFA <ref type="bibr">[8]</ref> and Flick <ref type="bibr">[23]</ref>.</p><p>PGD-v <ref type="bibr">[16]</ref> FGSM-v <ref type="bibr">[7]</ref> OFA <ref type="bibr">[8]</ref> Flick <ref type="bibr">[23]</ref> 0.887 0.692 0.686 0.581</p><p>Table 3. Average AUC performance of all defense methods for all AR models. Smaller values indicate more effective attack.</p><p>dently fooled by the PGD-v attack. For the same reason, all defense methods successfully detect all PGD-v attacks, except for Shuffle with SlowFast. We investigate different attack strengths for PGD-v in Section 4.4. Conversely, the other attacks, especially the Flick attack, do not cause high confidence in AR models' wrong predictions. As a result, VLAD-2 considerably improves over VLAD-1 by amplifying the predicted probabilities and the KL divergence in detection.</p><p>CSN <ref type="bibr">[25]</ref> SlowFast <ref type="bibr">[6]</ref> MVIT <ref type="bibr">[4]</ref> X3D <ref type="bibr">[5]</ref> 0.707 0.678 0.746 0.713</p><p>Table 4. Average AUC performance of all defense methods against all attacks. Larger values indicate more defensible model.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2.">Comparison of Attacks</head><p>Table <ref type="table">3</ref> presents the AUC values averaged over the four defense methods for the four AR models attacked by each method. According to the results, with the parameters given in the original papers, Flick is the most stealthy attack allowing only 0.581 average AUC while PGD-v is the least stealthy one having been detected by the considered defense mechanisms most of the time with 0.887 average AUC. These results are consistent with the wrong confidence levels caused by attacks reported in Table <ref type="table">2</ref>. PGD-v, being a dominant attack, can be the most cunning one in the absence of a defense mechanism, whereas other attacks are able to stay more stealthy even in the presence of defense by causing more uncertainty in the confidence levels of predicted class.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3.">Comparison of AR Models</head><p>Table <ref type="table">4</ref> shows the AUC values averaged over all defense methods and all attacks targeting each AR model. We observe that there is no significant performance changes due to the architectural differences of target models. According to the results, MVIT is the most defensible model while SlowFast is the least defensible one.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.4.">Robustness to varying attack strength</head><p>Attack strength is an important aspect in adversarial machine learning. For the experiments in Section 4.1, we used the default attacks settings that are proposed by the authors and we noticed that their effects on target models vary. According to Table <ref type="table">1</ref>, all defense methods performs relatively well against PGD-v [16] compared to other attacks. Therefore, we analyzed PGD-v <ref type="bibr">[16]</ref> with different strengths. In the original implementation of PGD <ref type="bibr">[16]</ref>, attack strength parameter &#1013; is set to 0.03. In addition to this value, we also generated attacks by setting &#1013; to 0.003, 0.01, 0.1 and 0.3. As illustrated in Figure <ref type="figure">3</ref>, we chose &#1013; = 0.003 as the lower bound to ensure the attacks are still able to fool the AR models and &#1013; = 0.3 as the upper bound to prevent the perturbations from becoming too visible to human eye. In Figure <ref type="figure">4</ref>, the changing AUC values due to different &#1013; values are presented for each target model. It is seen that, except for the attack on MVIT <ref type="bibr">[4]</ref>, Shuffle <ref type="bibr">[9]</ref> does not perform well against strong attacks. Especially on Slowfast <ref type="bibr">[6]</ref> AUC drops to 0.06 when the attack strength is 0.1 and 0.3. On contrary, Advit <ref type="bibr">[30]</ref> does not perform well against weak attacks. For all of the target models, both of our methods, VLAD-1 and VLAD-2, are not affected by the strength of the PGD-v attack.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.">Ablation Study</head><p>In this section, first we investigate other possible approaches for our proposed detection method VLAD. Then, we analyze VLAD's real-time performance and discuss its real-world applicability.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.1.">VLAD with different score calculations</head><p>In Eq. ( <ref type="formula">3</ref>), we use KL divergence to compute the detection score. Here we also consider 4 more ways to compute the detection score.</p><p>In the first approach, we first normalize the predicted class probabilities p a from the AR model and p c from the VLM with their L2 norms:</p><p>Then, the detection score is computed using the absolute difference between their maximum probabilities:</p><p>where [max] denotes the maximum element of vector.</p><p>In the second approach, we directly took the absolute difference between the predicted classes' probabilities without any normalization:</p><p>In the third approach, again we apply L2 normalization to both p a and p c , but instead of using the maximum probabilities, we take the sum of absolute differences:</p><p>Lastly, we directly take the sum of absolute difference without normalization:</p><p>We investigate the performances of the four score calculations by using a small subset of Kinetics-400, which has 10 distinct classes and 50 instances for each class, totaling 500 videos. We attack MVIT with PGD-v and FGSM-v, then report the average AUCs for different detection score calculations.</p><p>Figure <ref type="figure">5</ref> shows the average AUC results for each score calculation approach described in this section. &#945; V LAD-1 is the version proposed in equation 3, where we use the original probability predictions of the action recognition model.&#945; V LAD-2 is the version in which we set the predicted class probability to 1 and the remaining probabilities to 0. These results guided us to use &#945; V LAD-1 and &#945; V LAD-2 in the final version of our proposed method. 0 0.05 0.1 0.15 0.2 0.25 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 Advit Shuffle VLAD-1 VLAD-2 (a) CSN 0 0.05 0.1 0.15 0.2 0.25 0.3 0.5 0.6 0.7 0.8 0.9 1 1.1 Advit Shuffle VLAD-1 VLAD-2 (b) MVIT 0 0.05 0.1 0.15 0.2 0.25 0.3 0 0.2 0.4 0.6 0.8 1 Advit Shuffle VLAD-1 VLAD-2 (c) SlowFast 0 0.05 0.1 0.15 0.2 0.25 0.3 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 Advit Shuffle VLAD-1 VLAD-2 (d) X3D</p><p>Figure <ref type="figure">4</ref>. Change in AUC as a function of PGD-v attack strength parameter &#1013;. Advit <ref type="bibr">[30]</ref> loses performance against stealthy attacks (low &#1013;) while Shuffle <ref type="bibr">[9]</ref> cannot detect strong attacks. The proposed models, VLAD-1 and VLAD-2, are robust to changes in the attack strength.</p><p>0.84 0.65 0.677 0.83 0.92 0.99 Table <ref type="table">5</ref>. AUC results with different score calculations.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.2.">Real-time performance</head><p>Real-time performance is a crucial aspect for an attack detection method. A detection mechanism needs to run always along with the action recognition model for timely detection of attacks. We benchmarked our detection mechanism with different hardware. We noticed that changing CPU does not affect the performance, therefore we tested our method with five different GPUs, namely NVIDIA&#174; GeForce RTX&#8482; 4090, NVIDIA&#174; A100, NVIDIA&#174; A40, NVIDIA&#174; Titan RTX&#8482;, and NVIDIA&#174; GeForce GTX&#8482; 1080 Ti. In Figure <ref type="figure">5</ref>, we report the total number of frames per second (FPS) that can be processed by our detection mechanism. While NVIDIA&#174; GeForce RTX&#8482; 4090 has the best performance with 290 FPS, NVIDIA&#174; GeForce GTX&#8482; 1080 Ti has the worst with 78 FPS. These results show that even with an obsolete GPU our method can process in real-time streaming videos which are typically 30 FPS. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.">Limitations and Future Work</head><p>This study was limited to white-box attacks. In a future work, we plan to investigate detection against black-box attacks. Since in theory white-box attacks are more capable than black-box attacks, we believe VLAD can also successfully detect black-box attacks. With further improvements to our method, we aim to detect black-box attacks during their query-sending phase.</p><p>With the introduction of VLAD, we believe that an important portion of adversarial attacks developed for action recognition models can be detected. However, a future attack which can also fool context-aware VLM can be successful against our detection mechanism.</p><p>Extension of this study to other video understanding systems (e.g., real time object detection and video anomaly detection systems) is a natural future research direction.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7.">Conclusion</head><p>The increasing number of successful attacks against action recognition (AR) models in recent years raises realworld security concerns. With this motivation, in this paper, we proposed a novel Vision-Language Attack Detection (VLAD) mechanism, which is the first vision-language model based attack detection method. The proposed VLAD method is a universal detector in the sense that it does not rely on any knowledge of attack or AR model.</p><p>To benchmark our performance and compare it with existing defense methods, we have conducted extensive experiments with different attack methods and AR models. Experimental results show that VLAD consistently outperforms the existing methods by a wide margin over a wide range of attack and AR model scenarios. While the existing methods perform well in some scenarios, their performance drops below the random guess level of 0.5 AUC in several scenarios. The lowest performance of the proposed VLAD method in all scenarios was found to be 0.837. The average AUC value of VLAD over all scenarios is 0.911, which presents a 41.2% improvement relative to the state-of-theart result of 0.645 average AUC. VLAD is also robust to different attack strengths. While the performance of existing methods deteriorate against either stealthy or strong attacks, VLAD's performance remain steady against a wide range of attacks. Finally, we analyzed its real-time performance and showed that it can perform real-time detection even with an obsolete GPU.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0"><p>https://github.com/furkanmumcu/VLAD</p></note>
		</body>
		</text>
</TEI>
