A DPO-based alignment method with a balanced mixture of legal and illegal chemistry prompts improves combined safety and utility scores, but its benchmark shares training compounds and its hyperparameters are tuned on the test set.
Enhancing Adversarial Attacks through Chain of Thought
1 Pith paper cite this work. Polarity classification is still indexing.
abstract
Large language models (LLMs) have demonstrated impressive performance across various domains but remain susceptible to safety concerns. Prior research indicates that gradient-based adversarial attacks are particularly effective against aligned LLMs and the chain of thought (CoT) prompting can elicit desired answers through step-by-step reasoning. This paper proposes enhancing the robustness of adversarial attacks on aligned LLMs by integrating CoT prompts with the greedy coordinate gradient (GCG) technique. Using CoT triggers instead of affirmative targets stimulates the reasoning abilities of backend LLMs, thereby improving the transferability and universality of adversarial attacks. We conducted an ablation study comparing our CoT-GCG approach with Amazon Web Services auto-cot. Results revealed our approach outperformed both the baseline GCG attack and CoT prompting. Additionally, we used Llama Guard to evaluate potentially harmful interactions, providing a more objective risk assessment of entire conversations compared to matching outputs to rejection phrases. The code of this paper is available at https://github.com/sujingbo0217/CS222W24-LLM-Attack.
fields
cs.CL 1years
2025 1verdicts
REJECT 1representative citing papers
citing papers explorer
-
The Dual-use Dilemma in LLMs: Do Empowering Ethical Capacities Make a Degraded Utility?
A DPO-based alignment method with a balanced mixture of legal and illegal chemistry prompts improves combined safety and utility scores, but its benchmark shares training compounds and its hyperparameters are tuned on the test set.