mlsanityData to 7 Oct 2026

Cognitive Overload Attack:Prompt Injection for Long Context

arXiv 2410.11272 ↗First posted 15 Oct 2024cs.CLcited by 13

On the map: LLM safety and security → Jailbreaking

Abstract (arXiv)

Large Language Models (LLMs) have demonstrated remarkable capabilities in performing tasks across various domains without needing explicit retraining. This capability, known as In-Context Learning (ICL), while impressive, exposes LLMs to a variety of adversarial prompts and jailbreaks that manipulate safety-trained LLMs into generating undesired or harmful output. In this paper, we propose a novel interpretation of ICL in LLMs through the lens of cognitive neuroscience, by drawing parallels between learning in human cognition with ICL. We applied the principles of Cognitive Load Theory in LLMs and empirically validate that similar to human cognition, LLMs also suffer from cognitive overload a state where the demand on cognitive processing exceeds the available capacity of the model, leading to potential errors. Furthermore, we demonstrated how an attacker can exploit ICL to jailbreak LLMs through deliberately designed prompts that induce cognitive overload on LLMs, thereby compromising the safety mechanisms of LLMs. We empirically validate this threat model by crafting various cognitive overload prompts and show that advanced models such as GPT-4, Claude-3.5 Sonnet, Claude-3 OPUS, Llama-3-70B-Instruct, Gemini-1.0-Pro, and Gemini-1.5-Pro can be successfully jailbroken, with attack success rates of up to 99.99%. Our findings highlight critical vulnerabilities in LLMs and underscore the urgency of developing robust safeguards. We propose integrating insights from cognitive load theory into the design and evaluation of LLMs to better anticipate and mitigate the risks of adversarial attacks. By expanding our experiments to encompass a broader range of models and by highlighting vulnerabilities in LLMs' ICL, we aim to ensure the development of safer and more reliable AI systems.

Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Placed in Jailbreaking, one of 12 directions in LLM safety and security. Builds on 54 of its 99 references that are in the map. First posted on arXiv 15 Oct 2024.

Builds on

54 of 99 references.

Closest ancestors · 14

Same direction, newest first

  1. 2024When "Competency" in Reasoning Opens the Door to Vulnerability: Jailbreaking LLMs via Novel Complex Ciphers16 Feb
  2. 2023Comprehensive Evaluation of ChatGPT Reliability Through Multilingual Inquiries16 Dec
  3. 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automatically4 Dec
  4. 2023Cognitive Overload: Jailbreaking Large Language Models with Overloaded Logical Thinking16 Nov
  5. 2023Scalable and Transferable Black-Box Jailbreaks for Language Models via Persona Modulation6 Nov
  6. 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct
  7. 2023Multilingual Jailbreak Challenges in Large Language Models10 Oct
  8. 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrations10 Oct
  9. 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models3 Oct
  10. 2023Low-Resource Languages Jailbreak GPT-43 Oct
  11. 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Prompts19 Sep
  12. 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
2 more
  1. 2023MasterKey: Automated Jailbreak Across Multiple Large Language Model Chatbots16 Jul
  2. 2023Jailbroken: How Does LLM Safety Training Fail?5 Jul

Other references · 40

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  3. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  4. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  5. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
  6. 2022Emergent Abilities of Large Language Modelscited by 2,483
  7. 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
  8. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
  9. 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
  10. 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
  11. 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
  12. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
28 more
  1. 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
  2. 2022TabPFN: A Transformer That Solves Small Tabular Classification Problems in a Secondcited by 643
  3. 2023Prompt Injection attack against LLM-integrated Applicationscited by 568
  4. 2023Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defensecited by 401
  5. 2023Can AI-Generated Text be Reliably Detected?cited by 372
  6. 2023Multi-step Jailbreaking Privacy Attacks on ChatGPTcited by 320
  7. 2023Exploiting Programmatic Behavior of LLMs: Dual-Use Through Standard Security Attackscited by 268
  8. 2023Reasoning or Reciting? Exploring the Capabilities and Limitations of Language Models Through Counterfactual Taskscited by 243
  9. 2023Transformers as Algorithms: Generalization and Stability in In-context Learningcited by 220
  10. 2024Judging the Judges: Evaluating Alignment and Vulnerabilities in LLMs-as-Judgescited by 197
  11. 2024The Effect of Sampling Temperature on Problem Solving in Large Language Modelscited by 168
  12. 2024Is LLM-as-a-Judge Robust? Investigating Universal Adversarial Attacks on Zero-shot LLM Assessmentcited by 117
  13. 2021Be Careful about Poisoned Word Embeddings: Exploring the Vulnerability of the Embedding Layers in NLP Modelscited by 96
  14. 2014Deep Neural Networks Reveal a Gradient in the Complexity of Neural Representations across the Brain's Ventral Visual Pathwaycited by 93
  15. 2024Universal Vulnerabilities in Large Language Models: Backdoor Attacks for In-context Learningcited by 47
  16. 2023Hijacking Large Language Models via Adversarial In-Context Learningcited by 41
  17. 2023Cost-Effective Hyperparameter Optimization for Large Language Model Generation Inferencecited by 40
  18. 2024Securing Large Language Models: Threats, Vulnerabilities and Responsible Practicescited by 36
  19. 2024Finding Blind Spots in Evaluator LLMs with Interpretable Checklistscited by 32
  20. 2023Efficient Language Model Training through Cross-Lingual and Progressive Transfer Learningcited by 26
  21. 2020Contextual Temperature for Language Modelingcited by 25
  22. 2024Data Poisoning for In-context Learningcited by 21
  23. 2024Sandwich attack: Multi-language Mixture Adaptive Attack on LLMscited by 20
  24. 2024LLM Task Interference: An Initial Study on the Impact of Task-Switch in Conversational Historycited by 19
  25. 2023Neural Foundations of Mental Simulation: Future Prediction of Latent Representations on Dynamic Scenescited by 13
  26. 2023Self-Supervised Learning of Representations for Space Generates Multi-Modular Grid Cellscited by 8
  27. 2024Can LLMs be Fooled? Investigating Vulnerabilities in LLMscited by 5
  28. 2024RoCoIns: Enhancing Robustness of Large Language Models through Code-Style Instructionscited by 2

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 7; 2026: 6.

13 papers.

Sort:

By area: