Skip to content
arXiv· arXiv:2305.04547· Zhiyuan Zhang, Deli Chen, Hao Zhou, Fandong Meng, Jie Zhou, Xu Sun·Indexed by this site · Originally published

Using diffusion theory as a scalpel: detecting and purifying toxic dimensions caused by backdoors or bias in pretrained language models

Diffusion Theory as a Scalpel: Detecting and Purifying Poisonous Dimensions in Pre-trained Language Models Caused by Backdoor or Bias

AI summary

The researchers propose the Fine-purifying method, which uses diffusion theory to study fine-tuning dynamics and detect and purify toxic dimensions injected by backdoors or bias in pretrained language models. The method locates dimensions with anomalous dynamics based on the relationship between each dimension's parameter drift and the Hessian, resets them to clean pretrained weights, and then fine-tunes on a small-scale clean dataset. The authors claim this is the first use of diffusion-theory-guided dynamics research for security defense, and experiments verify its effectiveness.

Read originalarxiv.org