Cognitive Overload Attack:Prompt Injection for Long Context
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
- 2024When "Competency" in Reasoning Opens the Door to Vulnerability: Jailbreaking LLMs via Novel Complex Ciphers16 Feb
- 2023Comprehensive Evaluation of ChatGPT Reliability Through Multilingual Inquiries16 Dec
- 2023Tree of Attacks: Jailbreaking Black-Box LLMs Automatically4 Dec
- 2023Cognitive Overload: Jailbreaking Large Language Models with Overloaded Logical Thinking16 Nov
- 2023Scalable and Transferable Black-Box Jailbreaks for Language Models via Persona Modulation6 Nov
- 2023Jailbreaking Black Box Large Language Models in Twenty Queries12 Oct
- 2023Multilingual Jailbreak Challenges in Large Language Models10 Oct
- 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrations10 Oct
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Models3 Oct
- 2023Low-Resource Languages Jailbreak GPT-43 Oct
- 2023GPTFUZZER: Red Teaming Large Language Models with Auto-Generated Jailbreak Prompts19 Sep
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Models27 Jul
2 more
Other references · 40
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2022Emergent Abilities of Large Language Modelscited by 2,483
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
- 2024HarmBench: A Standardized Evaluation Framework for Automated Red Teaming and Robust Refusalcited by 1,330
- 2023Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversationscited by 1,124
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
28 more
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2022TabPFN: A Transformer That Solves Small Tabular Classification Problems in a Secondcited by 643
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 568
- 2023Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defensecited by 401
- 2023Can AI-Generated Text be Reliably Detected?cited by 372
- 2023Multi-step Jailbreaking Privacy Attacks on ChatGPTcited by 320
- 2023Exploiting Programmatic Behavior of LLMs: Dual-Use Through Standard Security Attackscited by 268
- 2023Reasoning or Reciting? Exploring the Capabilities and Limitations of Language Models Through Counterfactual Taskscited by 243
- 2023Transformers as Algorithms: Generalization and Stability in In-context Learningcited by 220
- 2024Judging the Judges: Evaluating Alignment and Vulnerabilities in LLMs-as-Judgescited by 197
- 2024The Effect of Sampling Temperature on Problem Solving in Large Language Modelscited by 168
- 2024Is LLM-as-a-Judge Robust? Investigating Universal Adversarial Attacks on Zero-shot LLM Assessmentcited by 117
- 2021Be Careful about Poisoned Word Embeddings: Exploring the Vulnerability of the Embedding Layers in NLP Modelscited by 96
- 2014Deep Neural Networks Reveal a Gradient in the Complexity of Neural Representations across the Brain's Ventral Visual Pathwaycited by 93
- 2024Universal Vulnerabilities in Large Language Models: Backdoor Attacks for In-context Learningcited by 47
- 2023Hijacking Large Language Models via Adversarial In-Context Learningcited by 41
- 2023Cost-Effective Hyperparameter Optimization for Large Language Model Generation Inferencecited by 40
- 2024Securing Large Language Models: Threats, Vulnerabilities and Responsible Practicescited by 36
- 2024Finding Blind Spots in Evaluator LLMs with Interpretable Checklistscited by 32
- 2023Efficient Language Model Training through Cross-Lingual and Progressive Transfer Learningcited by 26
- 2020Contextual Temperature for Language Modelingcited by 25
- 2024Data Poisoning for In-context Learningcited by 21
- 2024Sandwich attack: Multi-language Mixture Adaptive Attack on LLMscited by 20
- 2024LLM Task Interference: An Initial Study on the Impact of Task-Switch in Conversational Historycited by 19
- 2023Neural Foundations of Mental Simulation: Future Prediction of Latent Representations on Dynamic Scenescited by 13
- 2023Self-Supervised Learning of Representations for Space Generates Multi-Modular Grid Cellscited by 8
- 2024Can LLMs be Fooled? Investigating Vulnerabilities in LLMscited by 5
- 2024RoCoIns: Enhancing Robustness of Large Language Models through Code-Style Instructionscited by 2
Built on by
Citing papers per year: 2025: 7; 2026: 6.
13 papers.
Sort:
By area:
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 110
- 2025LLM-based Human Simulations Have Not Yet Been Reliablecited by 30
- 2025LongSafety: Evaluating Long-Context Safety of Large Language Modelscited by 11
- 2026JailNewsBench: Multi-Lingual and Regional Benchmark for Fake News Generation under Jailbreak Attackscited by 6
- 2025Cognitive Load Limits in Large Language Models: Benchmarking Multi-Hop Reasoningcited by 5
- 2026AC4A: Access Control for Agentscited by 5
- 2025Jailbreaking in the Haystackcited by 2
- 2026The Side Effects of Being Smart: Safety Risks in MLLMs' Multi-Image Reasoningcited by 2
- 2026Isolation as a First-Class Principle for LLM-Agent System Safety: Concepts, Taxonomy, Challenges and Future Directionscited by 1
- 2025A Real-Time, Self-Tuning Moderator Framework for Adversarial Prompt Detectioncited by 0
- 2025On the Sensitivity of Instruction-tuned LLMs to Harmful Sentences in Long Inputscited by 0
- 2026StructBreak: Structural Cognitive Overload-Induced Safety Failures in MLLMscited by 0
- 2026Understanding and Exploiting Initialization Anchoring Weakness in Feedback-Based Agent Planning31 Aug 2026
- 2026Isolation as a First-Class Principle for LLM-Agent System Safety: Concepts, Taxonomy, Challenges and Future Directions14 Jul 2026
- 2026StructBreak: Structural Cognitive Overload-Induced Safety Failures in MLLMs25 May 2026
- 2026AC4A: Access Control for Agents21 Mar 2026
- 2026JailNewsBench: Multi-Lingual and Regional Benchmark for Fake News Generation under Jailbreak Attacks1 Mar 2026
- 2026The Side Effects of Being Smart: Safety Risks in MLLMs' Multi-Image Reasoning20 Jan 2026
- 2025Jailbreaking in the Haystack5 Nov 2025
- 2025On the Sensitivity of Instruction-tuned LLMs to Harmful Sentences in Long Inputs7 Oct 2025
- 2025Cognitive Load Limits in Large Language Models: Benchmarking Multi-Hop Reasoning23 Sep 2025
- 2025A Real-Time, Self-Tuning Moderator Framework for Adversarial Prompt Detection10 Aug 2025
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deployment22 Apr 2025
- 2025LongSafety: Evaluating Long-Context Safety of Large Language Models24 Feb 2025
1 more
- 2025LLM-based Human Simulations Have Not Yet Been Reliable15 Jan 2025
- 2026AC4A: Access Control for Agentscited by 5
- 2025Jailbreaking in the Haystackcited by 2
- 2026Isolation as a First-Class Principle for LLM-Agent System Safety: Concepts, Taxonomy, Challenges and Future Directionscited by 1
- 2026Understanding and Exploiting Initialization Anchoring Weakness in Feedback-Based Agent Planningcited by 0
- 2026Understanding and Exploiting Initialization Anchoring Weakness in Feedback-Based Agent Planning31 Aug 2026
- 2026Isolation as a First-Class Principle for LLM-Agent System Safety: Concepts, Taxonomy, Challenges and Future Directions14 Jul 2026
- 2026AC4A: Access Control for Agents21 Mar 2026
- 2025Jailbreaking in the Haystack5 Nov 2025
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deploymentcited by 110
- 2025Cognitive Load Limits in Large Language Models: Benchmarking Multi-Hop Reasoningcited by 5
- 2026The Side Effects of Being Smart: Safety Risks in MLLMs' Multi-Image Reasoningcited by 2
- 2026StructBreak: Structural Cognitive Overload-Induced Safety Failures in MLLMscited by 0
- 2026StructBreak: Structural Cognitive Overload-Induced Safety Failures in MLLMs25 May 2026
- 2026The Side Effects of Being Smart: Safety Risks in MLLMs' Multi-Image Reasoning20 Jan 2026
- 2025Cognitive Load Limits in Large Language Models: Benchmarking Multi-Hop Reasoning23 Sep 2025
- 2025A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deployment22 Apr 2025