Object-Level Backdoor Attacks in RGB-T Semantic Segmentation with Cross-Modality Trigger Optimization
Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 1269-1277.
https://doi.org/10.24963/ijcai.2025/142
Keywords
- Computer Vision: CV: Adversarial learning, adversarial attack and defense methods
- Computer Vision: CV: Multimodal learning
Abstract
The escalating threat of backdoor risks in deep vision models is a pressing concern. Existing research on backdoor attacks is often confined to a single modality, neglecting the challenges posed by multi-modality scene perception. This work is a pioneer of backdoor attacks in RGB-Thermal (RGB-T) semantic segmentation. We overcome the critical limitation of current segmentation backdoor attacks that indiscriminately compromise all objects of a victim class, failing to provide fine-grained control for selectively targeting specific objects as required by adversaries. To address this, we introduce a novel Object-level Backdoor Attack pipeline, termed OBA. The OBA first employs a precise data poisoning (PDP) to lock a specific victim object. Specifically, the PDP embeds the trigger into the only victim object and modifies its label’s pixels at the corresponding positions, thus enabling object-level attacks. In addition, the domain gap between static single-modality triggers and multi-modality scenarios limits the PDP. We therefore introduce a Cross-Modality Trigger Generation (CMTG) method. Through style designs of triggers and cross-modality trigger co-optimization, the target domain semantics and multi-modality model perception patterns are encoded into triggers, achieving high effectiveness, stealth, and physical feasibility of triggers. Extensive experiments show that the proposed OBA enables precise manipulation of the designated object within the specific class.
- [Chen et al., 2017] Xinyun Chen, Chang Liu, Bo Li, Kim- berly Lu, and Dawn Song. Targeted backdoor attacks on deep learning systems using data poisoning. CoRR, abs/1712.05526, 2017.
- [Chen et al., 2021] Huili Chen, Cheng Fu, Jishen Zhao, and Farinaz Koushanfar. Proflip: Targeted trojan attack with progressive bit flips. In ICCV, pages 7698-7707, 2021.
- [Deng et al., 2021] Fuqin Deng, Hua Feng, Mingjian Liang, Hongmin Wang, Yong Yang, Yuan Gao, Junfeng Chen, Junjie Hu, Xiyue Guo, and Tin Lun Lam. Feanet: Feature- enhanced attention network for rgb-thermal real-time se- mantic segmentation. In IROS, pages 4467-4473, 2021.
- [Di et al., 2023] Wang Di, Liu Jinyuan, Risheng Liu, and Fan Xin. An interactively reinforced paradigm for joint infrared-visible image fusion and saliency object detec- tion. volume 98, page 101828, 2023.
- [Fan et al., 2022] Rui Fan, Zhiqiang Wang, and Qing Zhu. Egfnet: Efficient guided feature fusion network for skin cancer lesion segmentation. In ICIAI, pages 95-99, 2022.
- [Gu et al., 2019] Tianyu Gu, Kang Liu, Brendan Dolan- Gavitt, and Siddharth Garg. Badnets: Evaluating back- dooring attacks on deep neural networks. IEEE Access, 7:47230-47244, 2019.
- [Ha et al., 2017a] Qishen Ha, Kohei Watanabe, Takumi Karasawa, Yoshitaka Ushiku, and Tatsuya Harada. Mfnet: Towards real-time semantic segmentation for autonomous vehicles with multi-spectral scenes. In IROS, pages 5108- 5115, 2017.
- [Ha et al., 2017b] Qishen Ha, Kohei Watanabe, Takumi Karasawa, Yoshitaka Ushiku, and Tatsuya Harada. Mfnet: Towards real-time semantic segmentation for autonomous vehicles with multi-spectral scenes. In IROS, pages 5108- 5115, 2017.
- [Jiang et al., 2023] Wenbo Jiang, Hongwei Li, Guowen Xu, and Tianwei Zhang. Color backdoor: A robust poisoning attack in color space. In CVPR, pages 8133-8142, 2023.
- [Jiao et al., 2023] Xianghao Jiao, Yaohua Liu, Jiaxin Gao, Xinyuan Chu, Xin Fan, and Risheng Liu. PEARL: pre- processing enhanced adversarial robust learning of image deraining for semantic segmentation. In ACM MM, pages 8185-8194, 2023.
- [Lan et al., 2024] Haoheng Lan, Jindong Gu, Philip Torr, and Hengshuang Zhao. Influencer backdoor attack on se- mantic segmentation. In ICLR, 2024.
- [Li et al., 2021] Yiming Li, Yanjie Li, Yalei Lv, Yong Jiang, and Shu-Tao Xia. Hidden backdoor attack against seman- tic segmentation models. CoRR, abs/2103.04038, 2021.
- [Li et al., 2023] Gongyang Li, Yike Wang, Zhi Liu, Xinpeng Zhang, and Dan Zeng. Rgb-t semantic segmentation with location, activation, and sharpening. IEEE Transactions on Circuits and Systems for Video Technology, pages 1223- 1235, 2023.
- [Li et al., 2024] Yiming Li, Yong Jiang, Zhifeng Li, and Shu-Tao Xia. Backdoor learning: A survey. IEEE Transactions on Neural Networks and Learning Systems, 35(1):5-22, 2024.
- [Liang et al., 2023] Mingjian Liang, Junjie Hu, Chenyu Bao, Hua Feng, Fuqin Deng, and Tin Lun Lam. Ex- plicit attention-enhanced fusion for rgb-thermal perception tasks. IEEE Robotics And Automation Letters, 8(7):4060- 4067, 2023.
- [Liang et al., 2024] Jiawei Liang, Siyuan Liang, Aishan Liu, Xiaojun Jia, Junhao Kuang, and Xiaochun Cao. Poisoned forgery face: Towards backdoor attacks on face forgery detection. In ICLR, 2024.
- [Liang et al., 2025] Jiawei Liang, Siyuan Liang, Aishan Liu, and Xiaochun Cao. Vl-trojan: Multimodal instruction backdoor attacks against autoregressive visual language models. International Journal of Computer Vision, pages 1-20, 2025.
- [Liao et al., 2018] Cong Liao, Haoti Zhong, Anna Cinzia Squicciarini, Sencun Zhu, and David J. Miller. Backdoor embedding in convolutional neural network models via in- visible perturbation. CoRR, abs/1808.10307, 2018.
- [Liu et al., 2020] Yunfei Liu, Xingjun Ma, James Bailey, and Feng Lu. Reflection backdoor: A natural backdoor attack on deep neural networks. In ECCV, volume 12355, pages 182-199, 2020.
- [Liu et al., 2023a] Jinyuan Liu, Zhu Liu, Guanyao Wu, Long Ma, Risheng Liu, Wei Zhong, Zhongxuan Luo, and Xin Fan. Multi-interactive feature learning and a full-time multi-modality benchmark for image fusion and segmen- tation. In ICCV, pages 8115-8124, 2023.
- [Liu et al., 2023b] Yaohua Liu, Jiaxin Gao, Zhu Liu, Xiang- hao Jiao, Xin Fan, and Risheng Liu. Learn from the past: A proxy based adversarial defense framework to boost ro- bustness. CoRR, abs/2310.12713, 2023.
- [Liu et al., 2023c] Zhu Liu, Jinyuan Liu, Benzhuang Zhang, Long Ma, Xin Fan, and Risheng Liu. PAIF: perception- aware infrared-visible image fusion for attack-tolerant se- mantic segmentation. In ACM MM, pages 3706-3714, 2023.
- [Liu et al., 2024a] Jinyuan Liu, Runjia Lin, Guanyao Wu, Risheng Liu, Zhongxuan Luo, and Xin Fan. Coconet: Coupled contrastive learning network with multi-level fea- ture ensemble for multi-modality image fusion. Inter- national Journal of Computer Vision, 132(5):1748-1775, 2024.
- [Liu et al., 2024b] Xinwei Liu, Xiaojun Jia, Jindong Gu, Yuan Xun, Siyuan Liang, and Xiaochun Cao. Does few- shot learning suffer from backdoor attacks? In AAAI, pages 19893-19901, 2024.
- [Liu et al., 2024c] Yaohua Liu, Jiaxin Gao, Xuan Liu, Xi- anghao Jiao, Xin Fan, and Risheng Liu. Advancing gen- eralized transfer attack with initialization derived bilevel optimization and dynamic sequence truncation. CoRR, abs/2406.02064, 2024. IJCAI
- [Liu et al., 2025] Jinyuan Liu, Guanyao Wu, Zhu Liu, Di Wang, Zhiying Jiang, Long Ma, Wei Zhong, Xin Fan, and Risheng Liu. Infrared and visible image fusion: From data compatibility to task adaption. IEEE Trans. Pattern Anal. Mach. Intell., 47(4):2349-2369, 2025.
- [Mao et al., 2023] Jiaoze Mao, Yaguan Qian, Jianchang Huang, Zejie Lian, Renhui Tao, Bin Wang, Wei Wang, and Tengteng Yao. Object-free backdoor attack and defense on semantic segmentation. Computers Security, 132:103365, 2023.
- [Moosavi-Dezfooli et al., 2017] Seyed-Mohsen Moosavi- Dezfooli, Alhussein Fawzi, Omar Fawzi, and Pascal Frossard. Universal adversarial perturbations. In CVPR, pages 86-94, 2017.
- [Qi et al., 2022] Xiangyu Qi, Tinghao Xie, Ruizhe Pan, Jifeng Zhu, Yong Yang, and Kai Bu. Towards practi- cal deployment-stage backdoor attack on deep neural net- works. In CVPR, pages 13337-13347, 2022.
- [Rakin et al., 2020] Adnan Siraj Rakin, Zhezhi He, and Deliang Fan. TBT: targeted neural network attack with bit trojan. In CVPR, pages 13195-13204, 2020.
- [Shafahi et al., 2018] Ali Shafahi, W. Ronny Huang, Mahyar Najibi, Octavian Suciu, Christoph Studer, Tudor Dumitras, and Tom Goldstein. Poison frogs! targeted clean-label poisoning attacks on neural networks. In NeurIPS, pages 6106-6116, 2018.
- [Sun et al., 2019] Yuxiang Sun, Weixun Zuo, and Ming Liu. Rtfnet: Rgb-thermal fusion network for semantic segmen- tation of urban scenes. IEEE Robotics and Automation Letters, pages 2576-2583, 2019.
- [Sun et al., 2021] Yuxiang Sun, Weixun Zuo, Peng Yun, Hengli Wang, and Ming Liu. Fuseseg: Semantic segmen- tation of urban scenes based on RGB and thermal data fu- sion. IEEE Transactions on Automation Science and En- gineering, pages 1000-1011, 2021.
- [Tang et al., 2020] Ruixiang Tang, Mengnan Du, Ninghao Liu, Fan Yang, and Xia Hu. An embarrassingly simple ap- proach for trojan attack in deep neural networks. In KDD, pages 218-228, 2020.
- [Tran et al., 2018] Brandon Tran, Jerry Li, and Aleksander Madry. Spectral signatures in backdoor attacks. In NeurIPS, pages 8011-8021, 2018.
- [Wang et al., 2019] Bolun Wang, Yuanshun Yao, Shawn Shan, Huiying Li, Bimal Viswanath, Haitao Zheng, and Ben Y. Zhao. Neural cleanse: Identifying and mitigating backdoor attacks in neural networks. In SP, pages 707- 723, 2019.
- [Wang et al., 2022] Di Wang, Jinyuan Liu, Xin Fan, and Risheng Liu. Unsupervised misaligned infrared and visi- ble image fusion via cross-modality image generation and registration. In IJCAI, pages 3508-3515, 2022. IJCAI
- [Wang et al., 2024] Di Wang, Jinyuan Liu, Long Ma, Risheng Liu, and Xin Fan. Improving misaligned multi- modality image fusion with one-stage progressive dense registration. IEEE Transactions on Circuits and Systems for Video Technology, 34(11):10944-10958, 2024.
- [Wang et al., 2025] Di Wang, Xianghao Jiao, Jinyuan Liu, and Xin Fan. Robust one-stop multi-modality image registration-fusion-segmentation framework against mis- alignments and adversarial attacks. IEEE Transactions on Multimedia, pages 1-12, 2025.
- [Yao et al., 2019] Yuanshun Yao, Huiying Li, Haitao Zheng, and Ben Y. Zhao. Latent backdoor attacks on deep neural networks. In CCS, pages 2041-2055, 2019.
- [Yin et al., 2024] Wen Yin, Jian Lou, Pan Zhou, Yulai Xie, Dan Feng, Yuhua Sun, Tailai Zhang, and Lichao Sun. Physical backdoor: Towards temperature-based backdoor attacks in the physical world. CoRR, abs/2404.19417, 2024.
- [Zhang et al., 2021] Qiang Zhang, Shenlu Zhao, Yongjiang Luo, Dingwen Zhang, Nianchang Huang, and Jungong Han. Abmdrnet: Adaptive-weighted bi-directional modal- ity difference reduction network for RGB-T semantic seg- mentation. In CVPR, pages 2633-2642, 2021.
- [Zhou et al., 2021] Wujie Zhou, Jinfu Liu, Jingsheng Lei, Lu Yu, and Jenq-Neng Hwang. Gmnet: Graded-feature multilabel-learning network for rgb-thermal urban scene semantic segmentation. IEEE Transactions on Image Pro- cessing, 30:7790-7802, 2021.
References were extracted automatically from the PDF and may contain errors.
Full text extracted automatically from the PDF; figures, tables and equations may differ. The PDF is the version of record.
1 Introduction
The security of deep neural networks has become a critical issue [Liu et al., 2023b; Jiao et al., 2023; Liu et al., 2023c; Liu et al., 2024c; Wang et al., 2025]. Backdoor attacks, as a prominent security threat, surreptitiously compromise model to preserve normal functionality on benign inputs while executing attacker-specified malicious behaviors when Figure 1: Exhibition of poisoned samples from different methods and the corresponding attack success rate at a 5% poisoning rate. We apply the trigger as ˆ X = X ⊕ T ∗ α. For regular CMTG and Stealthy CMTG, the transparency of trigger αRGB/αT is set to 1.0/1.0 and 0.1/0.2, respectively. Under this configuration, Stealthy CMTG yields a nearly invisible trigger in the RGB modality, and its concealment in the thermal modality is also significantly reduced, while still maintaining good performance. Detailed experimental results are presented in Table 1.
∗Corresponding author



encountering predefined trigger patterns. While extensively studied in vision tasks like classification and object detection [Tran et al., 2018; Gu et al., 2019; Yao et al., 2019; Wang et al., 2019; Liu et al., 2020; Liang et al., 2024; Liang et al., 2025], recent research shows growing interest in application to single-modality semantic segmentation [Li et al., 2021; Mao et al., 2023; Lan et al., 2024]. Notably, despite employing diverse trigger designs, these methods adhere to the Class-level Backdoor Attack (CBA) paradigm, indiscriminately affecting all victim-class objects without finegrained target differentiation, which fails to satisfy the operational requirements of attackers in real-world attack scenarios. The current widespread use of multi-modality sensors [Wang et al., 2022; Wang et al., 2024; Di et al., 2023; Liu et al., 2024a; Liu et al., 2025] makes this a critical challenge in multi-modality segmentation. To address this limitation, we propose a novel Object-level Backdoor Attack (OBA) method for RGB-T segmentation. OBA selectively interferes with the model's perception of the attacker's target of interest, while preventing the misclassification of other irrelevant objects within the victim class, enabling precise and effective attacks. The differences of these two attacks are illustrated in Figure 2.




Figure 3: Static trigger vs. Optimized trigger. For the static trigger, we directly apply the Hello Kitty pattern from Blended [Chen et al., 2017] method in RGB and grayscale formats (shown as (a)) to RGB-T image pairs. For the optimized trigger, we design a novel CMTG method to generate paired triggers with specific texture and pattern (shown as (b)) for the RGB and Thermal modalities.
To properly instantiate OBA, we introduce a novel Precise Data Poisoning (PDP) technique. Unlike existing methods that apply triggers to arbitrary image locations, PDP specifically targets the designated victim object, modifying solely the pixels associated with that particular object in the ground truth, as shown in Figure 5.
The efficacy of OBA is predominantly determined by the strategic selection of trigger patterns. Prior approaches like IBA utilize Blended's static trigger patterns We initially implement such approach directly in multi-modality scenario, as shown in 3(a), successfully demonstrating the core OBA capability. However, our empirical analysis revealed several issues: 1⃝ Data poisoning introduces backdoors by training models to associate triggers with target semantics. However, static patterns (e.g., unrelated Hello Kitty inserts in street scenes) create distributional divergence from natural data, impairing both learning efficiency and attack success rates. 2⃝
When migrating a single-modality trigger to a multi-modality task, simply converting an RGB image into grayscale may not align with the perception patterns of multi-modal segmentation models. 3⃝ Considering physical-world attack deployments, especially for thermal modality trigger, overly complex patterns (especially with pixel value changes) may be impractical to implement using simple thermal devices or cooling materials. This means that, theoretically, such attacks would be confined to the digital domain, severely weakening the practical relevance of the attack method.
To address the aforementioned challenges, we propose a novel optimization-based Cross-Modality Trigger Generation (CMTG) method. Inspired by the learning nature of the backdoor injection process, we propose a new form of trigger that aims to enhance the model's sensitivity to the trigger without adding extra learning burden. We leverage the concept of Universal Adversarial Perturbation [Moosavi-Dezfooli et al., 2017] and employ iterative optimization to construct texture patches infused with strong target class semantic information derived from the pretrained model, using all victim objects in the training set for training. Additionally, to address the challenge of implementing thermal modality trigger in the physical world, we design a relatively simple black-and-white checkerboard pattern, coupled with a differentiable mapping approach to allow collaborative optimization with the RGB modality texture patches. Through experimentation, we also find that, due to the strong semantics of the trigger, even with a high transparency setting for generating poisoned samples, it achieves a higher attack success rate compared to static patterns, as shown in Figure 1. This significantly improves the concealability of our method, greatly enhancing the practical value of the attack. Extensive experimental results validate our OBA paradigm and CMTG scheme. The main contributions are summarized as follows:
- A novel object-level attack paradigm that enables the attacker to accurately target a specific victim object of interest.
- A precise poisoning technique facilitates OBA by a new method for constructing poisoned samples.
- A trigger generation scheme that produces highly effective, covert, and physically realizable trigger pairs through cross-modality collaborative optimization.


- (a) RGB Input
(b) Class-level
(c) Object-level
Figure 5: Different label modification of CBA and OBA. The trigger is applied to the left "Car" (originally colored with purple). Existing class-level methods change the labels of all victim objects to the target class ("Bump" colored with orange). Our OBA only modifies the label of the designated object.
2 RelatedWork
2.1 RGB-T Semantic Segmentation
Current multi-modality semantic segmentation methods are designed around a dual-stream Siamese architecture that integrates thermal and RGB images. These methods fall into two main categories: symmetric and asymmetric structures. Symmetric models such as MFNet [Ha et al., 2017a], GMNet [Zhou et al., 2021], MDRNet [Zhang et al., 2021], EGFNet [Fan et al., 2022], and LASNet [Li et al., 2023] treat thermal and RGB features equally across all scales, while asymmetric models like RTFNet [Sun et al., 2019], FEANet [Deng et al., 2021], and FuseSeg [Sun et al., 2021] consider the thermal modality as a complement to the RGB modality. Beyond network architecture, effective multimodality feature fusion is essential. GMNet [Zhou et al., 2021] employs graded-feature extraction and fusion modules at various scales, whereas LASNet [Li et al., 2023] utilizes specialized modules for localization, activation, and sharpening. EAEFNet [Liang et al., 2023] introduces an attentionenhanced fusion module to model shared and unique features, promoting effective feature fusion while minimizing the impact of modality variations. Given its superior performance, EAEFNet is adopted as a suitable baseline model in this work.
2.2 Backdoor Attacks
Most methods execute backdoor attacks via data poisoning [Liao et al., 2018; Shafahi et al., 2018; Tang et al., 2020; Li et al., 2024; Liu et al., 2024b], which insert few modified samples into the training set and embed backdoor in model during training. Some methods manipulate the output by introducing additional modules [Tang et al., 2020; Qi et al., 2022] or by directly modifying the parameters of the model [Chen et al., 2021; Rakin et al., 2020]. Some work also explore physical-world attacks [Jiang et al., 2023; Yin et al., 2024]. Existing research on backdoor attacks has focused primarily on classification and detection tasks, and semantic segmentation tasks have not received sufficient attention. A digital backdoor attack targeted at segmentation models was first introduced, with a manually added black line at the top of all images [Li et al., 2021]. Following this, OFBA [Mao et al., 2023] emerged as another digital attack proposed in this domain. More recently, IBA [Lan et al., 2024], a distinct attack on segmentation models, disrupts the classification of victim class pixels by inserting triggers into non-victim pixels during inference.
3 Method
3.1 Object-level Backdoor Attack Paradigm
We first introduce a novel Object-level Backdoor Attack paradigm in semantic segmentation task. Given a dataset D, the task of semantic segmentation is typically defined at the image-level. Specifically, when an image X ∈ D is provided as input, the benign segmentation model S generates a corresponding semantic map, represented as:
Input: Victim dataset Dvic, Trigger T , Target class ytgt . Output: Modified victim dataset ˆDvic. 1 Initialize ˆDvic ← {}; 2 Calculate threshold δ = 2 ×Area(T ); 3 for (X i , Y i ) in Dvic do 4 Acquire Candidate victim objects Oivic ; 5 Initialize the victim object bank Bivic ← {}; 6 for ok in Oivic do // filter poor candidates 7 if Area(ok ) > δ then // seek centroid coordinate 8 (xk , yk ) ← (m10/m00, m01/m00); 9 Bivic = Bivic ∪ {[ok ; (xk , yk )]}; 10 end 11 end 12 Randomly select [ok ; (xk , yk )] fromBivic ; 13 Generate maskM for ok ; // modify input and label 14 Apply trigger at coordinate (xk , yk ) on X i to Acquire ˆ X i ; 15 Acquire ˆ Y i = (1 -M) × Y i +M× ytgt; 16 ˆDvic = ˆDvic ∪ ( ˆ X i , ˆ Y i ); 17 end
Here, ˜ Y X represents a semantic map with the same size as the input image, and each pixel is classified into the corresponding class of the object at the same position in the image. Now we redefine the segmentation task from the object-level perspective by considering the dataset D as consisting of object sets O of N categories, i.e., D = {O1,O2 . . . ,ON}, where Oi denotes the set of objects belonging to class yi, i.e. Oi = {o1i , o2i , . . . , omi }. In this case, the semantic segmentation task is reformulated as follows: when pick the j-th object oji from set Oi as input, the segmentation model S classifies all the pixels of that object into its corresponding class yi, i.e.,
where Y oji j denotes the semanticmapwith shape and size consistent with the object oji , and the class label yi.
Next, we introduce the difference between existing Classlevel Backdoor Attack(CBA) and our proposed Object-level Backdoor Attack(OBA) based on the definitions above. We denote the model with the injected backdoor as S∗ (·), the victim class as yvic, and the target class as ytgt. Given a image X = {o1 , o2 , . . . , oK }. The image with the trigger applied is denoted as ˆ X, where ˆ X = X ⊕T , and T denotes the trigger. For existing CBA methods, when the backdoor is triggered, the model will misclassify all victim objects in the image to the target class, while other non-victim objects remain correctly classified. This is formalized as:
Here ˜ Y ok tgt denoted a ok -shaped semantic map labed with ytgt. It is worth noting that in existing CBA methods, the trigger is applied at any location in the image. In contrast, our OBA applies the trigger to a specified victim object ol ∈ Ovic, i.e., ˆ X = {o1 , . . . , ˆ ol , . . . , oK }, where ˆ ol = ol ⊕ T . The goal of the OBA attack is that when the backdoor is triggerd, only the designated victim object ˆxl will be misclassified as the target class, while other non-victim objects and victim objects without the trigger applied will still be correctly classified. This is formalized as:
Thus, we have demonstrated the proposed Object-level Backdoor Attack (OBA) paradigm, which enables precise manipulation of attacked objects. Next, we will detail the two key components which facilitate OBA in RGB-T senario: the Cross-Modality Trigger Generation(CMTG) and the Precise Data Poisoning(PDP).
3.2 Cross-Modality Trigger Generation
Suppose we aim to obtain a trigger pair T = {TRGB, TT} with a resolution of a × a. We sample random noise from a uniform distribution U(0, 1) as the initial values (Fig. 4(a). To ensure the effectiveness of the triggers, we allow the triggers to be optimized within the range of 0 to 255 instead of constraining the pixel values within a small range as done in adversarial attacks. Since we design the thermal modality trigger as a black-and-white checkerboard pattern, the difficulty of creating the trigger in physical world increases when a is large. Additionally, in Sec. 5.3, we demonstrate that increasing the scale of the thermal trigger does not lead to significant performance improvements. Therefore we implement it with a b × b grid pattern (b ≤ a) and set b to a smaller value (e.g., b = 8 in the experiments). Hence, we need to develop a differentiable mapping method from continuous texture to discrete pattern. We propose such a mapping function M(·):
Π(·) denotes the projection operation which ensures the value of TT are either 0 or 1. Upsample(·) and sgn(·) denote the interpolation-based upsampling and element wise sign operation, respectively. Thus, we can ensure that TT undergo collaborative optimization with TT during the iterative process.
After obtaining the trigger pair T = {TRGB, TT}, we begin the iterative optimization process. Our goal is to generate a trigger pair that encodes strong semantic information related to the target class, such that when we apply T to the victim object, the model S will be misled by the the trigger and incorrectly classify the corresponding object pixels into the ytgt class. To achieve this, we apply T to victim object o ∈ Ovic and feed it into a pre-trained benign model S(·). Simultaneously, we generate a pseudo-label Y o tgt that has the same shape and size as o, but with the target class label ytgt. We then optimize T using the following objective function:
| Dataset | FMB | MFNet | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Poisoning Rate | 1% | 2% | 5% | 7% | 10% | 15% | 1% | 2% | 5% | 7% | 10% | 15% |
| Blended | 34.13 | 53.75 | 65.49 | 70.51 | 79.22 | 80.08 | 31.18 | 71.23 | 81.40 | 84.97 | 88.91 | 87.19 |
| CMTG | 68.53 | 77.14 | 86.58 | 86.17 | 87.47 | 89.05 | 39.11 | 77.62 | 85.12 | 87.54 | 86.02 | 86.79 |
| Stealthy CMTG | 24.68 | 54.35 | 85.13 | 83.86 | 87.60 | 86.00 | 23.35 | 71.24 | 81.01 | 83.35 | 85.79 | 87.26 |

where Lseg denotes the loss for training the segmentation model. By minimizing the loss between the prediction and the pseudo-label, we inject semantic information with respect to the target class domain from the pre-trained model into the trigger. Subsequently, we update the trigger T iteratively with gradient descent in a manner similar to the PGD method:
where k = 0, 1, . . . ,K - 1, α is the step size for trigger generation. We use Π(·) to constrain TRGB and TT within the value ranges of [0, 1] and [-0.5, 0.5], respectively. The loss function Lseg is the same as the one used during the training process of the segmentation model. In EAEFNet, the overall loss function is defined as follows:
where LDice and LSCE are denoted as Dice loss and Soft Cross Entropy loss.
3.3 Precise Data Poisoning
Figure 4(a) illustrates the details of the proposed PDP. Given a training set D, victim class yvic, and target class ytgt are selected. We select paired RGB-T images that contain victim objects from D, denoted as Dvic = {X 0 , ..., X M ; Y 0 , ..., Y M }. Each RGB-T image pair X i contains K victim objects, denoted as Oivic = {o0 , ..., oK }, as poisoning candidates. Next, we screen the poisoning candidates to avoid complete coverage by the trigger, particularly when the target size is too small. Specifically, we compute the total number of pixels for each poisoning candidate, denoted as Area(ok ) = Count(ok ). When Area(ok ) < δ, the ok is removed from Oivic , where δ = 2 × Count(T ). After that, we obtain a new set of poisoning candidates. We then apply a trigger to each sample pair. To ensure trigger placement on the victim object ok , we position the trigger at its centroid. We seek the centroid coordinates (x, y) through x = m10/m00 and y = m01/m00, where m10 and m01 denote first-order moments, m00 is zero-order moment. This establishes the victim object bank Bivic = [Oivic ; (x, y)]. When randomly designating a victim object o from Oivic , we apply a trigger at its centroid (x, y) to acquire modified RGB-T input through ˆ X i = X i ⊕ T ∗ α, where α represents the transparency of the trigger pattern when applied, with values ranging from [0,1]. When α = 1.0 , it indicates that the trigger pattern is directly pasted onto the image. Then we generate mask M from o where pixels belonging to the object region are set to 1 and the rest to 0. We re-label the region of o as the target class ytgt, which is represented as ˆ Y i = (1-M)×Y i +M×ytgt. The modified labels are illustrated by the near car as shown in Figure 5(c). After completing the aforementioned steps, we acquire the final poisoned dataset Dpoi = ˆDvic ∪ Dnon vic. Refer to Algorithm 1 for the details of our PDP.
| FMB Dataset (Transarency 1.0/1.0) | |||||
|---|---|---|---|---|---|
| Poisoning Rate | 0% | 1% | 2% | 5% | 10% |
| ASR (%) ↑ | 8.96 | 68.53 | 77.14 | 86.58 | 87.47 |
| PBA (%) ↑ | 47.94 | 43.06 | 42.17 | 42.63 | 43.26 |
| CBA (%) ↑ | 49.75 | 45.25 | 45.39 | 45.07 | 44.98 |
| FMB Dataset (Poison rate=5%, Transarency 1.0/1.0) | ||||
|---|---|---|---|---|
| Target Class | Person | Vegetation | Road | Sky |
| ASR (%) ↑ | 86.94 | 81.00 | 88.38 | 80.29 |
| PBA (%) ↑ | 43.56 | 43.96 | 44.27 | 44.42 |
| CBA (%) ↑ | 45.45 | 44.93 | 43.44 | 44.71 |
4 Experiments
4.1 Experimental Setup
Datasets. We adopt two popular datasets (e.g., MFNet [Ha et al., 2017b] and FMB [Liu et al., 2023a]) to perform the evaluation. MFNet dataset includes 9 classes, in which the background class is labeled 0. Its training, validation and testing sets contain 784, 392 and 393 pairs of images, respectively. FMB dataset describes complex urban street scenes in various severe conditions, e.g., dense fog, heavy rain, and low light. It contains images with 15 categories, and its training and testing sets include 1,220 and 280 pairs, respectively.
Metrics. We adopt three existing metrics ASR, PBA, and CBA from IBA [Lan et al., 2024] with some modifications:
- Attack Success Rate (ASR). This metric denotes the percentage of victim pixels erroneously classified as the target class due to the trigger's influence. Given the victim object subjected to the trigger containing a total of Nvic pixels and Nsuc pixels successfully misclassified as the target class, the Attack Success Rate is computed as: ASR = Nsuc/Nvic.
- Poisoned Benign Accuracy (PBA). This metric assesses the model's ability to correctly classify non-victim objects amidst triggered images by calculating the mean Intersection over Union (mIoU) between predictions and labels with triggered victim object excluded.
- Clean Benign Accuracy (CBA). This metric measures the model's performance on benign testing by computing the mIoU between its predictions and the original labels. For a model affected by poisoning, CBA should closely approximate the results achieved by the model trained on clean data.

Implementation Details. We employ two test sets to validate the effectiveness of our method. The first is the selected victim-poisoned test set containing victim-class objects with trigger applied. The second is the original benign test set without any modification. The training is conducted on a single RTX3090. During training, images are resized to 480 × 640, with a batch size of 8. All other hyperparameters remain consistent with the original paper [Liang et al., 2023].
4.2 Backdoor Attacked Results
Table 1 reports quantitative scores of the backdoor attacks using our precise data poisoning (PDP) technique on the RGB-T semantic segmentation model, across both MFNet and FMB datasets. As we can see, the PBA and CBA metrics consistently maintain stability compared to the scores of our attack paradigm on benign test samples. Intuitively, Figure 6 shows several poisoned RGB-T segmentation cases. These results show that our proposed backdoor attack paradigm incorporating the PDP technique can accurately misclassify the designated victim object (e.g., car) while correctly classifying the non-victim objects.
4.3 Robustness of OBA
We further validate the robustness of the object-level manipulation ability facilitated by the trigger. We first assess the trigger's efficacy on a single object, as depicted in (a) and (b) in Figure 9. It can be seen that when plural victim objects coexist within an image, the application of triggers can lead to the misclassification of any object. Subsequently, we examine the trigger's impact on multiple objects concurrently. The results are illustrated as (c) and (d) in Figure 9. In (c), we apply the triggers to two victim objects simultaneously, resulting in the misclassification of both objects. At this time, the model only misclassified the car. This underscores the efficacy of our OBA in accurately manipulating victim objects.
| FMB Dataset (Poison rate=5%, Transarency 1.0/1.0) | ||||
|---|---|---|---|---|
| Trigger Size | 15×15 | 25×25 | 35×35 | 45×45 |
| ASR (%) ↑ | 78.30 | 83.15 | 87.94 | 86.58 |
| PBA (%) ↑ | 43.72 | 43.09 | 43.11 | 42.63 |
| CBA (%) ↑ | 45.35 | 45.01 | 45.53 | 45.07 |
| FMB Dataset (Poison rate=5%, Transarency 1.0/1.0) | ||||
|---|---|---|---|---|
| Trigger Scale | 8×8 | 15×15 | 25×25 | 35×35 |
| ASR (%) ↑ | 86.58 | 84.79 | 86.13 | 82.24 |
| PBA (%) ↑ | 42.63 | 44.84 | 44.15 | 43.88 |
| CBA (%) ↑ | 45.07 | 46.69 | 46.20 | 46.03 |
5 Discussion
5.1 Attacks with Different Target Classes
We test our object-level backdoor attack (OBA) paradigm using different target classes (i.e., "Person", "Vegetation", "Road" and "Sky") when the victim class is defined as 'Car'. The scores of our OBA on the FMB dataset in ASR, PBA, and CBA metrics are presented in Table 3. By comparison, these scores show stability without notable fluctuations. Intuitively, Figure 7 presents the corresponding visual examples. It is evident that as the target class changes, our OBA paradigm causes the segmentation model to misclassify the victim "Car" as "Person", "Vegetation", "Road" and "Sky" respectively. We can conclude that the OBA demonstrates robust attack ability across varied target classes.
5.2 Attacks with Different Trigger Sizes
We test our Object-level Backdoor Attack paradigm (OBA) using the RGB-T poisoned samples with triggers of different sizes (e.g., 15×15, 25×25, 35×35, and 45×45) on the FMB dataset. Poisoning rate is set to 5%. The results in Table 4 indicate that irrespective of changes in trigger size, the ASR, PBA, and CBA metrics maintain nearly consistent scores. Based on these results, we can conclude that the backdoor attack capability of our OBA paradigm is minimally affected by trigger size, indicating its high robustness.
5.3 Attacks with Different Thermal Trigger Scales
We evaluate the impact of different thermal trigger scales on attack performance, and the results are shown in Table 5. As can be seen, the attack success rate does not exhibit a significant improvement with the increase in scale. In fact, when the


- (a) Attack Car-1
- (b) Attack Car-2 (c) Attack Car-1&2
Figure 9: Analysis of robustness of object-level precise attack on single or multiple objects. Note that, the victim class is "Car". The trigger positions are highlighted in the input images. The triggers can induce the misclassification of any victim object (see (a)-(c)).
scale becomes too large (scale = 35), the attack success rate even decreases. However, the increase in scale does lead to an improvement in the model's task performance, as reflected in the higher PBA and CBA scores.
5.4 Attacks with Different Transparency
We conduct tests on different transparency combinations of RGB triggers and thermal triggers on FMB and MFNet, with the experimental results shown in the Figure 8. We test five transparency combinations: [0.1, 0.2, 0.5, 0.7, 1.0]. From this experiment, it can be observed that, during the data poisoning process for injecting backdoors into the model, the texture information in the RGB modality plays a dominant role.
6 Conclusion
This paper presents the first backdoor attack method designed for RGB-T semantic segmentation. Addressing the limitations of existing approaches, we propose OBA - a novel object-level backdoor attack paradigm that enables fine-grained target control. Our framework implements two key innovations: (1) a precision data poisoning technique that selectively manipulates only trigger-designated objects while preserving surrounding segmentation accuracy, and (2) a cross-modality trigger generation method that embeds target class semantics through collaborative optimization of both modalities. Experimental results demonstrate the effectiveness and high attack success rate of OBA.
Acknowledgments
This work was supported by the Fundamental Research Funds for the Central Universities, Sun Yat-sen University (No. 23xkjc010), Shenzhen Science and Technology Program (No.KQTD20221101093559018), National Natural Science Foundation of China (No.62306343) and China Postdoctoral Science Foundation (No.2024M753741).
@inproceedings{ijcai2025p142,
title = {Object-Level Backdoor Attacks in RGB-T Semantic Segmentation with Cross-Modality Trigger Optimization},
author = {Jiao, Xianghao and Wang, Di and Liang, Jiawei and Huang, Jianjie and Wang, Wei and Cao, Xiaochun},
booktitle = {Proceedings of the Thirty-Fourth International Joint Conference on
Artificial Intelligence, {IJCAI-25}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {James Kwok},
pages = {1269--1277},
year = {2025},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2025/142},
url = {https://doi.org/10.24963/ijcai.2025/142},
}
TY - CPAPER TI - Object-Level Backdoor Attacks in RGB-T Semantic Segmentation with Cross-Modality Trigger Optimization AU - Jiao, Xianghao AU - Wang, Di AU - Liang, Jiawei AU - Huang, Jianjie AU - Wang, Wei AU - Cao, Xiaochun T2 - Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence, IJCAI-25 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2025 SP - 1269 EP - 1277 DO - 10.24963/ijcai.2025/142 UR - https://doi.org/10.24963/ijcai.2025/142 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: