TraceGuard: Adaptively Filtering Multimodal Poisoned Data via Cross-Feature Ranking ConsistencyTraceGuard: Adaptive Multimodal Poison Filtering through Cross-Feature Rank Agreement
The authors propose TraceGuard, which uses the ranking consistency of six corpus-level features to filter multimodal poisoned samples before training, achieving average Poison Recall 98.44% and Clean FPR 5.38% across 19 attack configurations.
Attackers carry out targeted poisoning and backdoor attacks, can inject or modify image-text pairs (including semantically plausible samples), know the training task, victim architecture and target, data source, and public defenses, and cannot alter the training process or the trained model; in adaptive evaluation the attacker fully knows TraceGuard. The defender filters the corpus before training, may use public pretrained encoders, does not know whether poisoning is present, the poisoning rate, the attack construction or target, and cannot obtain victim model gradients.
- Multimodal training relies on external image-text corpora, and attackers can inject poisoned samples that look normal to change the cross-modal associations the model learns; defenders must remove these samples before training while retaining clean data, without knowing the attack method or poisoning rate.
- Starting from the collective training influence that a poisoning set must exert, the authors construct six corpus-level pathway features (cross-modal neighborhood, repeated text spans, text erasure changes); TraceGuard compares the consistency of rankings from multiple features to select the suspicious set, then corrects it using shared text spans and feature gaps, and adaptively determines the removal ratio.
- Across 19 attack configurations, average Poison Recall is 98.44% and Clean FPR is 5.38%; after filtering, the residual attack metric does not exceed 1% on 13 configurations; however, after filtering, the attack metric for ToxicTextCLIP rises from 93.1% to 94.0%, adaptive attacks can drop BadCLIP++ recall to 1%, and false removal on poison-free corpora is 5%–20%.
- The authors point out: there are still failures under adaptive attacks, results depend on encoder choice, there are false removals on unpoisoned corpora, and when multiple attacks coexist it cannot cover all attack modes; in low poisoning rate (below 5%) scenarios it will miss detections. Experiments cover 19 attack configurations and 10 baselines, and training ablations mostly use a single seed.
- Benchmarks
- CC3M-100KCOCO 2017CIFAR-10CIRRCC-SBU AlignMIMIC-CXRMIMIC-IT LADDLLaVA-InstructMS COCOFlickr30KVQAv2ImageNet-1K
- Metrics
- Poison RecallClean FPRASRclean-task performance
The authors propose TraceGuard, a multimodal poisoned data filtering method that requires neither training the victim model nor prior knowledge of the attack and poisoning rate. Starting from the frequency of attack patterns and the joint influence of the samples carrying them on the model, the method designs six corpus-level features, examining cross-modal neighborhoods, repeated text, and changes after text segment erasure, uses consistency among rankings of complementary features to identify suspicious samples, refines the selected set through shared patterns, and adaptively adjusts the deletion threshold per corpus. Across 19 attack configurations covering image-text learning, generative vision-language model fine-tuning, and encoder transfer testing, TraceGuard removes on average 98.4% of poisoned samples and 5.4% of clean samples; when trained on the filtered corpus, 13 configurations show residual attack metrics no higher than 1%. Controls matched for deletion volume and ablation experiments support the contributions of sample selection and adaptive deletion, and stress tests also reveal detection failure under adaptive attacks and excess deletion on unpoisoned corpora.
Paper analysis
What problem does this paper attempt to solve?
Without knowing the attack method and poisoning rate, filter normally appearing poisoned samples from the image-text corpus before training.
Core problem: multimodal training corpora come from external channels, and attackers can inject normally appearing poisoned samples; the defender must remove them before training while retaining clean data, without knowing the attack target or poisoning ratio.
- Problem setting and importance: multimodal models are trained on image-text pairs from web crawling, public datasets, and third-party sources, which attackers can use to teach the model incorrect cross-modal associations; stealthy attacks can keep text natural and image-text pairing reasonable, so that seemingly clean data can still change training results (per the authors).
- Shortcomings of existing methods: the authors argue that existing filters evaluate the quality or consistency of individual samples (such as learned quality judgments or consistency with neighboring samples), but the differences they detect are not necessarily required for an attack to succeed; adaptive attacks can make poisoned representations close to clean samples while preserving the target behavior, turning filtering into an arms race.
- Core observation: for a small poisoning set to induce the target behavior in a large clean corpus, it must exert a sufficiently strong collective training influence; the authors call the property that sustains this influence the attack pathway, and argue that it is difficult to hide without weakening the attack.
- Proposed approach: derive six corpus-level pathway features from influence analysis (cross-modal neighborhood, repeated text, changes after text-span erasure), and propose TraceGuard: use the consistency of rankings from multiple complementary features to identify suspicious samples and infer the removal threshold, then correct the selection using shared text spans and feature gaps, all without training the victim model or knowing the poisoning rate.
- Threat model (Section 3 and Appendix A):
- Attacker goal: targeted poisoning or backdoor attacks that make the model learn incorrect cross-modal mappings (classification labels, retrieval results, or generated responses) while behaving normally on clean inputs.
- Attacker knowledge: knows the training task, victim model architecture and training objective, data collection sources, and public defenses; in adaptive evaluation, fully knows TraceGuard.
- Attacker capability: can inject or modify image-text pairs (including semantically reasonable samples) and can optimize each poisoned sample; cannot alter the training process or the trained model.
- Victim system and defender: the defender is the model trainer, who filters the corpus before training and can use public pretrained image-text encoders, but does not know whether poisoning occurred, the poisoning rate, the attack construction or target, and cannot access victim model gradients or post-training behavior.
What related research exists?
Related work is divided into three groups: multimodal poisoning attacks, poisoning defenses, and multimodal data selection; baselines include ten such as CLIPScore, VDC, and Detect-CLIP.
Multimodal data poisoning attacks
- Carlini & Terzis (2022) and Yang et al. (2023b) proposed targeted poisoning and backdoor attacks against image-text associations; Carlini et al. (2024) showed that poisoning web-scale datasets is practically feasible.
- Subsequent work extended to optimized visual triggers (Liang et al., 2024b; Bai et al., 2024), text-only poisoning (Yao et al., 2025), concept-level manipulation (Hu et al., 2025), and instruction-tuning backdoors against generative VLMs (Liang et al., 2024a; Lyu et al., 2024; Yin et al., 2025) and semantic poisoning (Xu et al., 2024b; Zhong et al., 2025); ImgTrojan (Tao et al., 2025) uses poisoned image-text pairs to make ordinary images trigger jailbreak behavior.
- clean-label and hidden-trigger attacks (Turner et al., 2019; Saha et al., 2020) and adaptive attacks (Tan & Shokri, 2020; Qi et al., 2023) show that attack effectiveness does not depend on visible anomalies and can also shrink the differences exploited by detectors.
Poisoning defenses
- Representation-level detection: activation clustering, spectral methods (Chen et al., 2018; Tran et al., 2018; Hayase et al., 2021), poison forensics (Shan et al., 2022), Cognitive Distillation (Huang et al., 2023), CSFF (Zhang et al., 2026b), ASSET (Pan et al., 2023), DataElixir (Zhou et al., 2024).
- Multimodal settings: training-time defenses RoCLIP, OTCCLIP, SafeCLIP, Semantic Shield (Yang et al., 2023a; Zhang et al., 2025c; Yang et al., 2024; Ishmam & Thomas, 2024); model repair CleanCLIP, CleanerCLIP, RVPT, InverTune (Bansal et al., 2023; Xun et al., 2025b; Zhang et al., 2025d; Sun et al., 2026); inference-time detection BDetCLIP, BackdoorIDS, PurMM, Subspace Detection (Niu et al., 2025; Huang et al., 2026b; Jiang et al., 2026; Song et al., 2026).
- Dataset filtering: BYE performs cross-modal attention entropy clustering after victim model fine-tuning (Rong et al., 2025); VDC and MFBD use pretrained vision-language models to identify inconsistency between visual content and text supervision (Zhu et al., 2024; Huang et al., 2026a); local density methods detect via representation neighborhoods (Huang et al., 2025).
Multimodal data selection
- LAION, DataComp, and MetaCLIP study large-scale data selection and balancing (Schuhmann et al., 2021; Gadre et al., 2023; Xu et al., 2024a); filters also use generated captions, learned quality judgments, or fine-grained image-text alignment (Mahmoud et al., 2024; Fang et al., 2024; Nam et al., 2025).
- LEMoN uses multimodal neighbors to detect mismatched samples (Zhang et al., 2025a); Mixture-of-Scores and FLYT combine quality estimates or learn selection criteria from downstream utility (Wu et al., 2025; Shechter & Carmon, 2025). The paper notes that data quality and malicious training influence are different objectives, and these methods evaluate single-sample properties.
Baselines and benchmarks: The ten baselines cover data filtering (CLIPScore Filtering, VDC, Detect-CLIP-Backdoor-Samples), robust training (RoCLIP, SafeCLIP, Semantic Shield, RobustIT), model repair (CleanCLIP, CleanerCLIP), and test-time detection (BDetCLIP), compared at their respective applicable stages; evaluation uses 19 attack configurations, and training corpora include CC3M-100K, COCO, CIFAR-10, CIRR, CC-SBU Align, MIMIC-IT LADD, LLaVA-Instruct, Flickr30K, VQAv2, ImageNet-1K, and others (Table 3).
Positioning of this paper: The authors say that, unlike filtering that judges quality or consistency per sample, TraceGuard combines attack-pathway analysis with adaptive ranking filtering, using the consistency of complementary feature rankings before victim model training to decide both which samples to remove and how much data to retain, without needing to know the poisoning rate.
How does the paper address this problem?
Derive six corpus-level features from the collective training influence required for poisoning, then adaptively select and remove suspicious samples using multi-ranking consistency.
Overall idea: For a small poisoned set to succeed, the samples carrying the same attack pattern must reinforce each other during training and jointly point to the target behavior, and this collective influence leaves observable relationships in the corpus. Based on this, the authors construct six pathway features and propose TraceGuard, which uses the consistency of multiple complementary feature rankings for adaptive filtering, using only a fixed pretrained encoder throughout and requiring no training of the victim model.
Problem setting and influence analysis
- The defender collects a corpus D = {ui = (xi, yi)}, where each visual input xi is paired with a training text yi (description, instruction, or answer); clean and poisoned samples may be mixed in the same corpus (Section 3).
- Appendix B uses a first-order influence approximation to write the attack success condition as Δ J = J(A(Dc ∪ Dp)) − J(A(Dc)) ≥ κ, i.e., the poisoned set must raise the attack target metric J by at least κ; it further derives that there exists some shared attack pattern z whose collective contribution I(z) has a positive lower bound, with I(z) determined jointly by the frequency of that pattern and the average contribution of the samples carrying it.
- The authors argue that the image-text similarity, density, and other quantities measured by existing filters are non-pathway features that do not constrain I(z), and a poisoned set can remain similar to clean data under these measurements while still sustaining the attack.
Six pathway features (Section 4.2)
- Neighbor Support (two directions): Take k nearest neighbors in one modality and check whether the paired content is still similar in the other modality, e.g., Sx→ y(i) = 1/k∑j ∈ Nxk(i) ⟨ ey(yi), ey(yj) ⟩; a small value indicates cross-modal neighborhood inconsistency.
- Neighbor Disagreement: Compare the distributions obtained by "image neighbors first, then text neighbors" versus the reverse order, measured by the row norm of the transition-matrix commutator PxPy − PyPx.
- Image-Text Support Gap: The similarity difference between the image side and the text side for the same set of neighbors, taking the larger difference of the two directions.
- Text-Span Frequency: The corpus-wide occurrence frequency of each short span in the sample's paired text, taking the maximum.
- Text-Span Erasure Gain: The maximum positive increase in image-to-text support after deleting a text span, testing whether that span causes cross-modal mismatch.
- All six features are computed using fixed ℓ2-normalized image-text representations and require no victim model gradients; the authors explicitly state that whether the features can separate poisoned from clean samples is an empirical prediction, not a derived guarantee.
Adaptive ranking filtering (Section 4.3, Appendix C)
- Five complementary rankings: The six features are each ranked and recorded as percentiles; the two directions of Neighbor Support are combined into one ranking by geometric mean, Text-Span Erasure Gain is paired with Text-Span Frequency and with Image-Text Support Gap respectively taking the larger percentile, Neighbor Disagreement forms a ranking on its own, plus the maximum percentile ranking of the six features, for five in total, denoted V.
- Consistency counting: With a fixed upper-tail proportion α = 0.10, count how many rankings' top α quantile each sample falls into, denoted ai; a high ai means multiple rankings consider it suspicious. The base ranking is chosen so that its top samples also have large ai, and text-based rankings additionally require the relevant spans to recur at the top but be uncommon in the full corpus.
- Initial suspicious set: Over a fixed candidate proportion grid P (11 levels from 1% to 70%), choose the proportion p⋆ that maximizes p(c(p) − γ) subject to contrast c(p) ≥ τc, where c(p) is the difference in mean ai inside versus outside the set; parameters are fixed at τc = 1 and γ = 2; if no proportion qualifies, the smallest level is taken.
- Shared-pattern correction: Use spans found by Text-Span Frequency and Text-Span Erasure Gain to match samples outside the initial set—the span must cover a specified proportion of the initial set and be uncommon in the full corpus; when there is no repeated text, instead check whether there is a large relative gap in the top feature values of the ranking, and take the small set before the gap as a candidate.
- Final removal: A candidate set must retain its span or gap condition and satisfy c(S) ≥ τc; TraceGuard removes the qualifying candidate set with the largest contrast, otherwise it keeps the initial set; candidate sets produced by different patterns are not merged. The removal ratio varies adaptively with set size and does not require knowing the poisoning rate.
Implementation and evaluation
- A frozen OpenAI CLIP ViT-B/32 image-text encoder is used, with k = 10 neighbors; exact kNN is used for corpora of up to 30,000 entries, and FAISS HNSW for larger corpora (Section 5.1, Appendix D).
- Poisoning labels are used only after the defense output to compute metrics; detection metrics are Poison Recall (proportion of poisoned samples removed) and Clean FPR (proportion of clean samples falsely removed); end-to-end metrics are the drop in attack metrics and the change in clean-task performance of the model trained after filtering, both relative to a matched undefended model.
- Computational complexity: feature processing and selection are O(N log N + N k²) (encoding and neighbor retrieval counted separately); Appendix I reports approximately linear growth in extraction and initial scoring up to a corpus of about 600,000 entries.
What experiments did the paper conduct?
Across 19 attack configurations, average Poison Recall is 98.44% and Clean FPR is 5.38%; after filtering, the attack metric does not exceed 1% on 13 configurations.
Experimental Setup
- Attack configurations: 19, reproduced from the original papers or official implementations, with poisoning rates following the original settings; covering image-text contrastive pretraining (Patch Backdoor, Targeted Poisoning, MM-Poison, BadCLIP, ToxicTextCLIP, C2 Attack, BadCLIP++), composed retrieval fine-tuning (Text-Guided Backdoor), multimodal instruction fine-tuning (Shadowcast, MP-Nav, BadMLLM, VL-Trojan), generative VLM fine-tuning (TrojVLM, BadSem, TokenSwap, Concept-Guided Backdoor, CBV), and encoder transfer (CorruptEncoder, PoisonedEncoder, with image-side poisoning paired with class-name prompts) (Table 3).
- Baselines: ten, compared according to their applicable stage—data filtering CLIPScore, VDC, Detect-CLIP; training-time RoCLIP, SafeCLIP, Semantic Shield, RobustIT; model repair CleanCLIP, CleanerCLIP; test-time BDetCLIP; instruction fine-tuning attacks additionally include VDC + IT and CLIPScore + IT combinations.
- Metrics: detection-stage Poison Recall and Clean FPR; end-to-end-stage attack metric decrease (∆A) and clean task change (∆U), relative to the matched undefended model, in percentage points.
- Features and parameters: frozen CLIP ViT-B/32 encoder, k = 10, α = 0.10, τc = 1, γ = 2, candidate removal ratios 1%–70% in 11 levels, all attacks fixed.
- Repeats: subsequent controlled experiments (Table 7, Table 9) report mean and standard deviation over three seeds; training ablations (Table 2, Table 8) use a single seed.
- Hardware: six NVIDIA H100 NVL (94 GB) GPUs.
Main Results
Sample-level detection (Table 1, units %, Rec. is Poison Recall, FPR is Clean FPR; only some attacks listed, full 19 rows in the original table):
Swipe horizontally to read the table
Attack CLIPScore Rec. VDC Rec. Detect-CLIP Rec. TraceGuard Rec. TraceGuard FPR Patch Backdoor 97.40 98.40 4.80 100.00 4.53 BadCLIP 97.73 94.87 13.20 99.20 3.58 C2 Attack 1.08 18.33 4.37 99.58 3.95 Text-Guided Backdoor 9.11 74.65 4.00 100.00 5.26 Shadowcast 0.00 14.00 50.00 100.00 7.39 BadMLLM 6.48 11.56 0.55 99.45 16.17 TokenSwap 6.27 18.93 5.07 92.13 7.87 Average over 19 attacks 36.54 46.90 7.41 98.44 5.38 - The authors state that TraceGuard has the highest or tied-highest recall on 17 configurations, and recall is never below 90% (the lowest is 90.00% on CBV); the baseline with the highest average recall, VDC, is 46.90%, but its average FPR reaches 23.04%.
- End-to-end results (Appendix F, Figure 2): after filtering, the attack metric does not exceed 1% on 13/19 configurations and does not exceed 10% on 17/19; the exceptions are TokenSwap (residual ASR 39.2%) and ToxicTextCLIP (rising from 93.1% to 94.0%), and CBV also rises from 4.4% to 6.8%.
- Clean task cost (Table 5, Table 6): on MM-Poison, TraceGuard decreases the attack metric by 19.81 points and the clean task by only 0.49 points, while RoCLIP decreases it by 20.76 points but the clean task by 58.99 points; on MP-Nav, TraceGuard and RobustIT decrease it by 93.67 and 94.33 points respectively, and the clean task by 14.17 and 36.83 points respectively. The authors state that TraceGuard retains more clean utility under similar attack suppression.
Observational Experiment: Feature Separation Grows with Attack Strength
- What was measured: for each of five attacks—BadCLIP, Shadowcast, MP-Nav, TGB, Concept-Guided Backdoor—three strength levels were constructed: weak, intermediate, successful (poisoning ratio fixed), and feature distributions were compared (Appendix E, Table 4, Figure 1).
- Results: at 5% FPR, the TPR of CLIP score does not exceed 0.13 for any attack; pathway feature separation increases with attack strength, with Neighbor Disagreement reaching TPR 0.90 on Shadowcast and 0.75 on MP-Nav, and Text-Span Frequency reaching 1.00 on TGB; however, the best TPR on BadCLIP is only 0.28.
- Authors' interpretation: a single feature cannot cover all attacks, supporting the use of complementary measurements rather than a single threshold.
Controls and Failure Analysis
- Equal-removal control (Table 7, three seeds): on BadCLIP++, equal non-pathway removal and random removal both leave residual ASR above 87%, while TraceGuard is 4.20 ± 1.91%, close to the full-poisoning oracle's 5.60 ± 1.11%; on TGB, TraceGuard also raises clean task performance from 39.46% to 50.32%. The authors state that the benefit comes from which samples are removed, not how many.
- Failure control (Table 8, single seed): for ToxicTextCLIP, removing only detected poisoning still leaves ASR at 78.98%, and only removing all poisoning brings it down to 1.55%—missed poisoning can still sustain the attack; for Shadowcast and MP-Nav, removing only poisoning (keeping all clean samples) still drops the clean task to 69.67%, and the authors accordingly point out that the clean task drop cannot be attributed solely to false removal.
- Gradient-influence correlation (Figure 3): the Spearman correlation between the six features and the first-order gradient influence estimate varies by attack (Neighbor Support 0.76 on BadCLIP, Neighbor Disagreement 0.67 on BadCLIP++, only −0.05 to 0.26 on TGB); the authors state that local gradient reference cannot fully explain the effectiveness of the removal set.
Stress Tests
- Adaptive attacks (Table 9, three seeds): the attacker fully knows TraceGuard and performs image neighborhood optimization, 2/4/8 target-side wording variants, or both combined. Under text adaptation, BadCLIP++ and MP-Nav recall remains 100%; combined adaptation (4 text variants) drops BadCLIP++ recall to 1%, but undefended ASR also drops from 87.40% to 8.07%; for TGB with 2 text variants, recall drops to 12.67% and residual ASR rises from 1.55% to 16.49%. The authors state that TraceGuard can still be bypassed by adaptive attacks that preserve attack effectiveness.
- Poisoning rate variation (Appendix H.2, Figure 5, 6): with 20% BadCLIP++ poisoning, adaptive removal removes 20.07% of the corpus and ASR drops to 4.00%, while fixed 5% removal leaves 97.60% residual; however, all four non-zero poisoning rates below 5% are missed (recall 0).
- Poison-free corpus (Table 10): single-source clean corpora have 5.00%–10.00% false removal, mixed-source corpora have 20.00% false removal, among which the CC3M source has FPR 41.42%; the authors state that feature consistency cannot establish malicious intent, and the current rules do not abstain when there is no attack.
Other Ablations and Analyses
- Fixed 5% removal (Table 2): residual ASR for five attacks is 58.86%–100%, and TraceGuard is at most 3.20%.
- Averaging six rankings (Table 2): under equal removal, residual ASR is 23.89%–100%.
- Removing feature-gap correction (Table 2): BadCLIP++ ASR rises from 3.20% to 88.40%, MP-Nav from 0.67% to 96.33%, and TGB and PoisonedEncoder are almost unchanged.
- Correction and final selection (Figure 4): MP-Nav recall rises from 5.0% to 100%, while Clean FPR drops from 20.1% to 4.4%.
- Encoder replacement (Figure 7): BadCLIP++ recall drops from 100% with CLIP RN50 to 1% with CLIP ViT-B/16, while C2 Attack is the opposite (0% to 99.58%); CorruptEncoder, TrojVLM, and VL-Trojan are unchanged across the four encoders.
- Multiple attacks coexisting (Figure 8): in a mixture of four attacks, recall for Patch Backdoor, BadCLIP, and ToxicTextCLIP is all no lower than 90%, but BadCLIP++ recall is only 0.67% (balanced) and 0% (imbalanced).
What are some points that can be further explored?
The authors list limitations including adaptive attack failure, encoder dependence, false removal on clean corpora, and multiple attacks coexisting; experiments cover 19 configurations and 10 baselines.
Limitations and future directions noted by the authors
- Still fails under adaptive attacks: Section 5.5 and Appendix H.1 point out that under two text variants of TGB, recall drops to 12.67% and residual ASR rises to 16.49%; the authors say TraceGuard can still be adaptively bypassed by "retaining sufficient attack potency in missed poisoned samples."
- Encoder dependence: Section 5.5 and Appendix H.4 point out that detection results are sensitive to the choice of pretrained encoder; the feature definitions can be reused, but separation ability is not guaranteed across encoders.
- False removals on unpoisoned corpora: Section 5.5 and Appendix H.3 point out that 5%–20% is removed on clean corpora, and existing selection rules cannot reliably abstain when there is no poisoning; the conclusion states that TraceGuard is "a useful defense, not a guarantee that every shared pattern is malicious."
- Incomplete coverage when multiple attacks coexist: Appendix H.5 points out that selecting a single final suspicious set cannot ensure coverage of all coexisting attack modes.
- Missed detections at low poisoning rates and clean-data cost: Appendix H.2 points out that current rules may miss small poisoned sets, underestimate larger poisoned sets, or recover poisoning at a larger clean-data cost.
- Planned open source: The Reproducibility Statement says the authors plan to open-source the TraceGuard implementation after the paper is accepted.
Scope of experimental coverage
- The attacks tested are 19 configurations, covering five training scenarios: image-text contrastive pretraining, composed retrieval, multimodal instruction tuning, generative VLM fine-tuning, and encoder transfer (Table 3).
- The comparison baselines are 10 defenses plus 2 stage-matched combinations; each baseline is evaluated only on attacks compatible with its original intervention stage and model interface (Appendix D).
- Feature computation uses CLIP ViT-B/32 by default; encoder robustness tests additionally include CLIP RN50, CLIP ViT-B/16, OpenCLIP ViT-B/32, and SigLIP Base (Appendix H.4).
- The equal-removal controls and adaptive attack experiments report three-seed means and standard deviations (Table 7, Table 9); training ablations (Table 2) and failure controls (Table 8) use a single seed.
- Runtime measurements cover corpora from 512 to 591,753 samples, and component timing excludes victim model training (Appendix I).
Summarize the main content of the paper
TraceGuard adaptively filters poisoned corpora using multi-ranking consistency of attack-pathway features, with average recall of 98.44% across 19 configurations, but adaptive attacks and false removals on clean corpora remain limitations.
A multimodal data poisoning defense paper whose core idea is to turn "the collective training influence that a poisoned set must exert" into observable corpus-level features, filtering image-text corpora before the victim model is trained.
- Problem: Image-text corpora from external sources may be injected with poisoned samples that look normal; the authors argue that the differences measured by existing per-sample quality or consistency filters are not necessary for an attack to succeed, adaptive attacks can hide them, and defenders do not know the attack method or poisoning rate.
- Method: A first-order influence analysis gives a lower-bound condition for attack success, from which six pathway features are constructed (bidirectional Neighbor Support, Neighbor Disagreement, Image-Text Support Gap, Text-Span Frequency, Text-Span Erasure Gain); TraceGuard keeps five complementary rankings, uses upper-tail consistency counts to select a base ranking and infer an initial suspicious set, then corrects it using shared text spans or feature gaps, adaptively decides the final removal set and removal ratio by contrast, and uses only a frozen CLIP ViT-B/32 encoder throughout.
- Detection performance: Across 19 attack configurations, average Poison Recall is 98.44% and average Clean FPR is 5.38%, with recall never below 90%; after filtering and training, residual attack metrics for 13 configurations do not exceed 1% (Table 1, Figure 2).
- Importance of selection: In equal-removal controls, random or non-pathway removal on BadCLIP++ leaves residual ASR above 87%, while TraceGuard is 4.20 ± 1.91%, close to the full-poisoning oracle (Table 7).
- Exceptions and failures: After ToxicTextCLIP filtering, the attack metric rises from 93.1% to 94.0%, and TokenSwap residual ASR is 39.2%; failure controls show that missed poisoned samples can still sustain the attack (Table 8).
- Authors' conclusions and implications: The authors say the results support adaptive corpus-level filtering as a useful defense, but not a guarantee—adaptive attacks (recall 12.67% under the two text variants of TGB), encoder dependence, 5%–20% false removals on unpoisoned corpora, and missed detections when multiple attacks coexist remain important limitations.