arXiv:2610.33437cs.CROct 2026

Manuscript Offprint

arXiv:2610.33437

Combinatorial Lock for Trojan-Resilient AI Engines via Hash-Assisted Spectral Filtering

Soumita Chatterjee, Sudip Ghosh, Tamal Ghosh, Bhargab B. Bhattacharya, Hafizur Rahaman

Soumita Chatterjee, Sudip Ghosh, Tamal Ghosh, Bhargab B. Bhattacharya and Hafizur Rahaman

Indian Institute of Engineering Science and Technology, Shibpur, India

Abstract—Multi-trigger backdoor attacks, in which heterogeneous trigger mechanisms (e.g., patch, blend, warping, and the latent-domain Spy-Watermark) coexist within a single poisoned model, cannot be addressed by existing shortcut-based defenses that assume a single, static attack mechanism. Current multi-trigger remedies (BU+FT, BU+ANP, and BU+ABL) rely on backdoor unlearning, which incurs high training cost and loses effectiveness at low poisoning ratios. This paper proposes Combinatorial Lock, a training-free, reference-calibrated defense that reduces multi-trigger identification to a combinatorial problem over binary activation signatures. This formulation is the key novelty of the paper: it yields a multi-trigger defense that is training-free, trigger-oblivious, and directly implementable in hardware, since its decision rules can be evaluated with integer and logic operations. The framework combines anomaly-gated spectral scrubbing, which removes the malicious subspace only from inputs identified as anomalous, with a hash-compressed combinatorial signature verified by an ensemble of detection experts, including a compound-attack-aware expert for multi-trigger inputs. A joint threshold-shrinkage search identifies an operating point ( τ\tau at the 97.1st percentile, γ=0.78\gamma = 0.78) that reduces the attack success rate (ASR) to as low as 0.1% while preserving 97.8% clean accuracy. Evaluation on six models—four CNNs (ResNet18, VGG16, MobileNet, AlexNet) and two vision transformers (ViT-Small, ViT-Base)—shows strong generalization: near-100% ASR drops to single digits across poisoning rates of 1–10% and 1–9 simultaneous triggers, with only gradual degradation in clean accuracy. ASIC and FPGA implementations confirm practicality, adding a consistent 19–20% latency overhead across all evaluated architectures and establishing Combinatorial Lock as a hardware-native approach to multi-trigger backdoor mitigation.

Index Terms—Activation Anomaly Detection, Backdoor Defense, Ensemble Detection, Hardware Security, Multi-Trigger Attacks, Runtime Verification

I. INTRODUCTION

Advances in artificial intelligence (AI) are driving the deployment of deep neural networks (DNNs) on specialized AI inference hardware. The growing use of AI accelerators in safety-critical applications has widened the attack surface and threatens the robustness of these models. Adversaries can exploit attack vectors ranging from data poisoning, adversarial examples, model extraction, and evasion attacks to hardware-level manipulations that alter model behavior or leak sensitive information. Among these, backdoor (Trojan) attacks are considered one of the most critical threats: poisoned training samples carry hidden triggers that corrupt inference while the model maintains high accuracy on clean inputs. A further emerging risk is the use of autonomous frameworks for data generation and augmentation, which enable agent-assisted data

Figure

Fig. 1: Comparison of single- and multi-trigger backdoors: combining triggers increases attack complexity, diversity, robustness, and resistance to detection.

poisoning during dataset preparation. Current defenses mainly rely on retraining, trigger reconstruction, or poisoned-sample detection; they require significant computational resources and are difficult to integrate into practical hardware systems.

A wide variety of triggers has been proposed. BATT [1] uses spatial transformations (translation, rotation) rather than pixel-level perturbations; it activates only under predefined transformations and is effective in both digital and physical settings. The work in [2] studies physical triggers using a facial recognition dataset that combines clean and physically triggered images across multiple trigger patterns. Spy-Watermark [3] embeds a learnable invisible watermark in the latent domain and uses trigger extraction and anti-collapse operations to remain resilient against corruptions and defenses, outperforming ten state-of-the-art attacks on CIFAR-10, GT-SRB, and ImageNet. The method in [4] generates covert, scattered triggers through steganographic embedding and Trojan regularization, evaluated on MNIST, CIFAR-10/100, and GTSRB using ASR and perceptual invisibility (PASS, LPIPS). The work in [5] proposes a watermarking-based invisible backdoor for diffusion-based image editing that preserves normal behavior on clean images while triggering malicious outputs only on watermarked inputs. The work in [6] introduces an any-target backdoor with invisible, input-dependent triggers produced by a steganography model, jointly training the encoder and classifier with pseudo-poisoned samples to strengthen the label-trigger association.

As shown in Fig. 1, multi-trigger backdoor attacks (MT-

BAs) [7] extend this threat further with sequential, parallel, and hybrid poisoning strategies that let multiple triggers overwrite, coexist with, or cross-activate one another within a model. The work in [8] proposes an M-to-N paradigm that attacks multiple classes simultaneously via invisible, clean-image-based triggers, where each target class can be activated by any of several triggers.

Early defenses centered on trigger reconstruction and anomaly detection. The work in [9] introduced the first trigger reverse-engineering framework, but it requires a clean training set and scales poorly to models with many classes. Subsequent methods [10], [11] relaxed these requirements through model inversion, conditional generators, and trigger modeling, while [12] framed Trojan detection as an optimization problem. These methods, however, remain computationally costly, depend on retraining or clean data, and generalize poorly across diverse triggers. For MTBAs specifically, [7] proposes three remediation strategies—BU+FT, BU+ANP, and BU+ABL—that combine backdoor unlearning with fine-tuning, neuron pruning, and anti-backdoor learning, respectively. All three rely on retraining, which raises computational cost, and they lose effectiveness at low poisoning rates while degrading clean accuracy.

Because existing defenses rely on retraining, trigger reconstruction, or poisoned-sample identification, their practicality for hardware deployment is limited. This work proposes a Combinatorial Lock architecture for runtime protection against multi-trigger backdoor attacks. The framework exploits the observation that trigger-induced activations occupy a distinct latent subspace, which enables lightweight hardware verification through spectral filtering and compact binary signatures.

The main contributions are summarized as follows:

  • A training-free, reference-calibrated runtime verification framework that combines anomaly-gated spectral scrubbing with hash-compressed combinatorial signatures, eliminating the need for retraining or a golden model.

  • A two-stage, anomaly-gated defense that filters inputs and scrubs activations to suppress attacks while preserving benign accuracy.

  • A compound-attack-aware ensemble detector evaluated over all 28−1=2552^8 - 1 = 255 trigger combinations, providing multi-trigger robustness well beyond conventional single-trigger evaluations.

  • A hardware-efficient verification architecture (comparator, XOR, and popcount logic) synthesized on ASIC and FPGA for six DNNs, adding only 19–20% latency while retaining 97.8% clean accuracy (CA) at the selected operating point and reducing the attack success rate (ASR) to as low as 0.1%.

The remainder of this paper is organized as follows. Section II defines the threat model, Section III presents the proposed framework, Section IV discusses the experimental results, and Section V concludes the paper with future research directions.