A Round Trip Translation Defense Method Against Jailbreak Attacks on Large Language ModelsRound Trip Translation Defence against Large Language Model Jailbreaking Attacks
AI summary
The authors propose the Round Trip Translation (RTT) defense method, which rewrites adversarial prompts and summarizes the intent they convey, making it easier for the LLM to recognize the harmful inducement within them. The authors state that this is the first defense algorithm designed specifically for social-engineering-style attacks, mitigating over 70% of PAIR attacks; the authors also make a first attempt at mitigating MathsAttack, reducing its attack success rate by nearly 40%. The method is lightweight, transferable to different LLMs, and the code is publicly available on GitHub.