Reproduce “Purifying Generative LLMs from Backdoors without Prior Knowledge or Clean Reference” 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

Jianwei Li, Jung-Eun Kim

Researchers at North Carolina State University developed a trigger-agnostic and reference-free method to remove backdoors from generative LLMs by identifying and suppressing malicious associations primarily encoded in MLP layers. The approach, which involves an immunization-inspired signature extraction and targeted neuron suppression, consistently reduced attack success rates by over 80% while maintaining the models' legitimate generative capabilities.

Key insights

  • Backdoors in instruction-tuned LLMs are predominantly encoded as distributed and redundant trigger-behavior associations within the MLP layers.
  • Attention modules primarily serve to amplify and transmit trigger signals, contributing to backdoor robustness, but do not intrinsically encode the core malicious associations.
  • A general 'backdoor signature' representing abstract trigger-behavior binding mechanisms can be extracted by identifying consistent parameter shifts across diverse, synthetically backdoored variants, even without knowing the specific triggers.

Summary by alphaXiv.

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