Lune

NeurIPS2023Top-tier venue

ParaFuzz: An Interpretability-Driven Technique for Detecting Poisoned Samples in NLP

Lu Yan, Zhuo Zhang, Guanhong Tao, Kaiyuan Zhang, Xuan Chen, Guangyu Shen, Xiangyu Zhang

Abstract

Backdoor attacks have emerged as a prominent threat to natural language processing (NLP) models, where the presence of specific triggers in the input can lead poisoned models to misclassify these inputs to predetermined target classes. Current detection mechanisms are limited by their inability to address more covert backdoor strategies, such as style-based attacks. In this work, we propose an innovative test-time poisoned sample detection framework that hinges on the interpretability of model predictions, grounded in the semantic meaning of inputs. We contend that triggers (e.g., infrequent words) are not supposed to fundamentally alter the underlying semantic meanings of poisoned samples as they want to stay stealthy. Based on this observation, we hypothesize that while the model's predictions for paraphrased clean samples should remain stable, predictions for poisoned samples should revert to their true labels upon the mutations applied to triggers during the paraphrasing process. We employ ChatGPT, a state-of-the-art large language model, as our paraphraser and formulate the trigger-removal task as a prompt engineering problem. We adopt fuzzing, a technique commonly used for unearthing software vulnerabilities, to discover optimal paraphrase prompts that can effectively eliminate triggers while concurrently maintaining input semantics. Experiments on 4 types of backdoor attacks, including the subtle style backdoors, and 4 distinct datasets demonstrate that our approach surpasses baseline methods, including STRIP, RAP, and ONION, in precision and recall. Prediction: positive (✓) Prediction: positive (⨯) This film has special effects which for it's time are very impressive. Prediction: positive (✓) This movie is so cool! The things they do with the pictures are amazing. Predictable, cf ambitious attempt that falls short of the mark. Not worth sitting through for the tired contrived ending. Prediction: negative (✓) It's easy to guess what will happen and the ending is boring.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

8 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Hidden Backdoors in Human-Centric Language Models cites Detecting AI Trojans Using Meta Neural Analysis
  • Hidden Backdoors in Human-Centric Language Models cites Weight Poisoning Attacks on Pretrained Models
  • Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfer cites Weight Poisoning Attacks on Pretrained Models
  • Temporal Logic-Based Multi-Vehicle Backdoor Attacks against Offline RL Agents in End-to-end Autonomous Driving cites When LLM Meets DRL: Advancing Jailbreaking Efficiency via DRL-guided Search
  • Lethe: Purifying Backdoored Large Language Models with Knowledge Dilution cites Causality Based Front-door Defense Against Backdoor Attack on Language Models
  • Causality Based Front-door Defense Against Backdoor Attack on Language Models cites Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style Transfer
  • Causality Based Front-door Defense Against Backdoor Attack on Language Models cites Weight Poisoning Attacks on Pretrained Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers8

  1. When LLM Meets DRL: Advancing Jailbreaking Efficiency via DRL-guided SearchXuan Chen, Yuzhou Nie, Wenbo Guo, Xiangyu ZhangNeurIPS 2024 · 68 citations
  2. Fuzzing BusyBox: Leveraging LLM and Crash Reuse for Embedded Bug UnearthingAsmita, Yaroslav Oliinyk, Michael Scott, Ryan Tsang et al.USENIX Security 2024 · 56 citations
  3. Causality Based Front-door Defense Against Backdoor Attack on Language ModelsYiran Liu, Xiaoang Xu, Zhiyi Hou, Yang YuICML 2024 · 12 citations
  4. Temporal Logic-Based Multi-Vehicle Backdoor Attacks against Offline RL Agents in End-to-end Autonomous DrivingXuan Chen, Shiwei Feng, Zikang Xiong, Shengwei An et al.NeurIPS 2025 · 6 citations
  5. Lethe: Purifying Backdoored Large Language Models with Knowledge DilutionChen Chen, Yuchen Sun, Jiaxin Gao, Xueluan Gong et al.USENIX Security 2026 · 1 citation

Builds on18

  1. Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defenseKalpesh Krishna, Yixiao Song, Marzena Karpinska, John Wieting et al.NeurIPS 2023 · 657 citations
  2. Detecting AI Trojans Using Meta Neural AnalysisXiaojun Xu, Qi Wang, Huichen Li, Nikita Borisov et al.S&P 2021 · 381 citations
  3. Weight Poisoning Attacks on Pretrained ModelsKeita Kurita, Paul Michel, Graham NeubigACL 2020 · 312 citations
  4. Mind the Style of Text! Adversarial and Backdoor Attacks Based on Text Style TransferFanchao Qi, Yangyi Chen, Xurui Zhang, Mukai Li et al.EMNLP 2021 · 114 citations
  5. Hidden Backdoors in Human-Centric Language ModelsShaofeng Li, Hui Liu, Tian Dong, Benjamin Zi Hao Zhao et al.CCS 2021 · 108 citations

Related papers

  1. When Backdoors Speak: Understanding LLM Backdoor Attacks Through Model-Generated ExplanationsHuaizhi Ge, Yiming Li, Qifan Wang, Yongfeng Zhang et al.ACL 2025
  2. Watch Out for Your Guidance on Generation! Exploring Conditional Backdoor Attacks against Large Language ModelsJiaming He, Wenbo Jiang, Guanyu Hou, Wenshu Fan et al.AAAI 2025 · 9 citations
  3. Hidden Trigger Backdoor Attack on NLP Models via Linguistic Style ManipulationXudong Pan, Mi Zhang, Beina Sheng, Jiaming Zhu et al.USENIX Security 2022
  4. Large Language Models Are Better Adversaries: Exploring Generative Clean-Label Backdoor Attacks Against Text ClassifiersWencong You, Zayd Hammoudeh, Daniel LowdEMNLP Findings 2023 · 28 citations
  5. SAFER: A Controllable Safeguard for LLMs against Backdoor AttacksZirui Hu, Zheng Zhang, Yingjie Wang, Dacheng TaoACL Findings 2026
Dusk over the sea between two cliffs drawn in fine vertical lines