Attention eclipse: manipulating attention to bypass LLM safety-alignment

  • Pedram Zaree
  • , Md Abdullah Al Mamun
  • , Quazi Mishkatul Alam
  • , Yue Dong
  • , Ihsen Alouani
  • , Nael Abu-Ghazaleh

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Recent research has shown that carefully crafted jailbreak inputs can induce large language models to produce harmful outputs, despite safety measures such as alignment. It is important to anticipate the range of potential Jailbreak attacks to guide effective defenses and accurate assessment of model safety. In this paper, we present a new approach for generating highly effective Jailbreak attacks that manipulate the attention of the model to selectively strengthen or weaken attention among different parts of the prompt. By harnessing attention loss, we develop more effective jailbreak attacks, that are also transferrable. The attacks amplify the success rate of existing Jailbreak algorithms including GCG, AutoDAN, and ReNeLLM, while lowering their generation cost (for example, the amplified GCG attack achieves 91.2% ASR, vs. 67.9% for the original attack on Llama2-7B/AdvBench, using less than a third of the generation time).
Original languageEnglish
Title of host publication2025 Conference on Empirical Methods in Natural Language Processing: Proceedings
Number of pages18
Publication statusAccepted - 20 Aug 2025
EventThe 2025 Conference on Empirical Methods in Natural Language Processing - , China
Duration: 05 Nov 2025 → …
https://2025.emnlp.org/

Conference

ConferenceThe 2025 Conference on Empirical Methods in Natural Language Processing
Abbreviated titleEMNLP
Country/TerritoryChina
Period05/11/2025 → …
Internet address

Keywords

  • cs.CR
  • cs.AI
  • cs.LG

Fingerprint

Dive into the research topics of 'Attention eclipse: manipulating attention to bypass LLM safety-alignment'. Together they form a unique fingerprint.

Cite this