Reproduce “Expose Backdoors on the Way: A Feature-Based Efficient Defense against Textual Backdoor Attacks” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Sishuo Chen, Wenkai Yang, Zhiyuan Zhang, Xiaohan Bi, Xu Sun

This research from Peking University introduces DAN (Distance-based ANomaly score), an efficient online defense for textual backdoor attacks that detects poisoned samples by identifying their distinct deviation in the intermediate feature space of backdoored NLP models. The method achieves substantially lower False Acceptance Rates compared to existing online defenses across various attack types, models, and tasks, while maintaining high computational efficiency.

Key insights

  • Poisoned samples consistently exhibit strong feature-level dissimilarity from clean samples in intermediate layers of backdoored NLP models, a characteristic observed across diverse textual backdoor attacks.
  • The specific layers where these feature-level anomalies are most pronounced vary significantly depending on the attack type, highlighting the importance of aggregating detection signals across multiple layers.
  • Leveraging these intrinsic feature-level anomalies provides a more robust and computationally efficient approach to online textual backdoor defense compared to methods that rely on input or output-level observations.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.