Think Twice, Generate Once: Safeguarding by Progressive Self-Reflection
On the map: LLM reasoning → Test-time compute and efficient thinking
also in 1 more
Abstract (arXiv)
Large language models (LLMs) have revolutionized natural language processing with their ability to generate coherent and contextually relevant text. However, their deployment raises significant concerns about the potential for generating harmful or inappropriate content. In this paper, we introduce Progressive Self-Reflection (PSR), a novel inference-time technique that empowers LLMs to self-monitor and correct their outputs dynamically. Experimental results demonstrate that applying our proposed method to Llama-3.1-8B-Instruct reduces the attack success rate from 77.5% to 5.9%, to Llama-3.1-8B base from 89.7% to 5.6%, and to Qwen2.5-7B-Instruct from 44.4% to 3.8%, without additional training, while maintaining their original performance on benign tasks. Our approach acts as a test-time scaling method, where additional self-reflection rounds enhance safety at the cost of inference overhead. To balance safety with computational efficiency, we introduce a lightweight self-reflection predictor that estimates the optimal number of reflection rounds based on input complexity. This adaptive mechanism prevents unnecessary self-assessment on benign inputs while ensuring thorough evaluation when encountering potentially harmful content. Our findings suggest that Progressive Self-Reflection serves as a scalable test-time approach, enhancing LLM safety by dynamically allocating computational resources in proportion to the input's risk profile.
Key facts. Cited by 11 papers in the map (data through 7 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 45 of its 81 references that are in the map. First posted on arXiv 29 Sep 2025.
Builds on
45 of 81 references.
References · 45
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
- 2024Qwen2.5 Technical Reportcited by 4,713
- 2024GPT-4o System Cardcited by 4,467
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
- 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
- 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
- 2023AutoGen: Enabling Next-Gen LLM Applications via Multi-Agent Conversationcited by 1,906
- 2023Jailbreaking Black Box Large Language Models in Twenty Queriescited by 1,326
33 more
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
- 2021Ethical and social risks of harm from Language Modelscited by 957
- 2023AutoDAN: Generating Stealthy Jailbreak Prompts on Aligned Large Language Modelscited by 738
- 2024DeepSeek-V3 Technical Reportcited by 724
- 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 709
- 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 608
- 2023Jailbreaking ChatGPT via Prompt Engineering: An Empirical Studycited by 478
- 2023Detecting Language Model Attacks with Perplexitycited by 411
- 2023Jailbreak and Guard Aligned Language Models with Only Few In-Context Demonstrationscited by 401
- 2023DeepInception: Hypnotize Large Language Model to Be Jailbreakercited by 337
- 2023A Wolf in Sheep's Clothing: Generalized Nested Jailbreak Prompts can Fool Large Language Models Easilycited by 242
- 2024Jailbreak Attacks and Defenses Against Large Language Models: A Surveycited by 215
- 2023AutoDAN: Interpretable Gradient-Based Adversarial Attacks on Large Language Modelscited by 102
- 2024Harmful Fine-tuning Attacks and Defenses for Large Language Models: A Surveycited by 86
- 2024Safeguarding Large Language Models: A Surveycited by 73
- 2023SimpleSafetyTests: a Test Suite for Identifying Critical Safety Risks in Large Language Modelscited by 72
- 2024CodeChameleon: Personalized Encryption Framework for Jailbreaking Large Language Modelscited by 65
- 2023The Art of Defending: A Systematic Evaluation and Analysis of LLM Defense Strategies on Safety and Over-Defensivenesscited by 63
- 2024Gradient Cuff: Detecting Jailbreak Attacks on Large Language Models by Exploring Refusal Loss Landscapescited by 63
- 2024Robust LLM safeguarding via refusal feature adversarial trainingcited by 60
- 2025Trading Inference-Time Compute for Adversarial Robustnesscited by 60
- 2024Play Guessing Game with LLM: Indirect Jailbreak Attack with Implicit Cluescited by 57
- 2024EasyJailbreak: A Unified Framework for Jailbreaking Large Language Modelscited by 57
- 2024SelfDefend: LLMs Can Defend Themselves against Jailbreaking in a Practical Mannercited by 57
- 2024Multi-Turn Context Jailbreak Attack on Large Language Models From First Principlescited by 54
- 2024Robustifying Safety-Aligned Large Language Models through Clean Data Curationcited by 43
- 2024Navigating the OverKill in Large Language Modelscited by 40
- 2024Defensive Prompt Patch: A Robust and Interpretable Defense of LLMs against Jailbreak Attackscited by 35
- 2025Single-pass Detection of Jailbreaking Input in Large Language Modelscited by 10
- 2024Playing Language Game with LLMs Leads to Jailbreakingcited by 9
- 2024Merging Improves Self-Critique Against Jailbreak Attackscited by 8
- 2024Dynamic Guided and Domain Applicable Safeguards for Enhanced Security in Large Language Modelscited by 4
- 2025Efficient Safety Retrofitting Against Jailbreaking for LLMscited by 4
Built on by
Citing papers per year: 2026: 11.
11 papers.
- 2026ThinkTwice: Jointly Optimizing Large Language Models for Reasoning and Self-Refinementcited by 5
- 2026Do Thinking Tokens Help with Safety?cited by 3
- 2026ReflectRM: Boosting Generative Reward Models via Self-Reflection within a Unified Judgment Frameworkcited by 1
- 2026Lost in Delusion: Examining LLM Safety Under User Delusions and Distresscited by 1
- 2026From Shallow to Deep: Pinning Semantic Intent via Causal GRPOcited by 0
- 2026REFLECTOR: Internalizing Step-wise Reflection against Indirect Jailbreakcited by 0
- 2026AERIC: Anticipatory Hidden-State Monitoring for Implicit Harmful Dialoguecited by 0
- 2026Adaptive and Explicit safe: Triggering Latent Safety Awareness in Large Reasoning Modelscited by 0
- 2026Beyond Safe Data: Pretraining-Stage Alignment with Regular Safety Reflectioncited by 0
- 2026A Self-Evolving Multi-Agent Framework Defense against LLM Jailbreak Attackscited by 0
- 2026Speak for Me: Giving LLMs the Situational Awareness to Participate in a Meetingcited by 0
- 2026Speak for Me: Giving LLMs the Situational Awareness to Participate in a Meeting3 Sep 2026
- 2026A Self-Evolving Multi-Agent Framework Defense against LLM Jailbreak Attacks26 Aug 2026
- 2026Do Thinking Tokens Help with Safety?23 Jun 2026
- 2026Beyond Safe Data: Pretraining-Stage Alignment with Regular Safety Reflection17 Jun 2026
- 2026Adaptive and Explicit safe: Triggering Latent Safety Awareness in Large Reasoning Models15 Jun 2026
- 2026Lost in Delusion: Examining LLM Safety Under User Delusions and Distress31 May 2026
- 2026REFLECTOR: Internalizing Step-wise Reflection against Indirect Jailbreak20 May 2026
- 2026AERIC: Anticipatory Hidden-State Monitoring for Implicit Harmful Dialogue13 May 2026
- 2026ReflectRM: Boosting Generative Reward Models via Self-Reflection within a Unified Judgment Framework8 Apr 2026
- 2026ThinkTwice: Jointly Optimizing Large Language Models for Reasoning and Self-Refinement2 Apr 2026
- 2026From Shallow to Deep: Pinning Semantic Intent via Causal GRPO3 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2025Self-Reflective Generation at Test Time
- 2025Reflect, Retry, Reward: Self-Improving LLMs via Reinforcement Learning
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection
- 2025Instruct-of-Reflection: Enhancing Large Language Models Iterative Reflection Capabilities via Dynamic-Meta Instruction
- 2024Adaptive Inference-Time Compute: LLMs Can Predict if They Can Do Better, Even Mid-Generation
- 2024When Hindsight is Not 20/20: Testing Limits on Reflective Thinking in Large Language Models
- 2026A Training-Free Regeneration Paradigm: Contrastive Reflection Memory Guided Self-Verification and Self-Improvement
- 2025Finding the Sweet Spot: Trading Quality, Cost, and Speed During Inference-Time LLM Reflection