Eraser: Jailbreaking Defense in Large Language Models via Unlearning Harmful Knowledge
A novel defense method called Eraser is proposed, which mainly includes three goals: unlearning harmful knowledge, retaining general knowledge, and maintaining safety alignment, which can significantly reduce the jailbreaking success rate for various attacks without compromising the general capabilities of the model.