CAP-CoT: Cycle Adversarial Prompt for Improving Chain of Thoughts in LLM Reasoning
On the map: LLM reasoning → Prompting and chain-of-thought reasoning
also in 1 more
Abstract (arXiv)
Chain-of-Thought (CoT) prompting has emerged as a simple and effective way to elicit step-by-step solutions from large language models (LLMs). However, CoT reasoning can be unstable across runs on long, multi-step problems, leading to inconsistent answers for unchanged task. Most prior work focuses on improving the forward reasoning chain within a single pass, with less attention to iterative and contrastive correction. To address this gap, we propose CAP-CoT, a Cycle Adversarial Prompt optimization framework designed to improve both CoT reasoning accuracy and stability of a single deployed solver. In each cycle, a forward solver generates candidate reasoning chains, an adversarial challenger constructs plausible but deliberately flawed chains using targeted error strategies, and a feedback agent contrasts the two chains and produces step-aligned structured feedback. This feedback closes the optimization loop in two directions, including updating the solver prompt based on errors exposed by the challenger, and updating the challenger prompt to generate increasingly targeted errors in subsequent cycles. Unlike safety-oriented adversarial prompting such as jailbreak or prompt-injection attacks, our adversarial component is task-semantic and aims to expose logical vulnerabilities in reasoning chains. Experiments across six benchmarks and four LLM backbones demonstrate that within two to three adversarial prompt optimization cycles, CAP-CoT consistently reduces variability across runs while improving reasoning accuracy and robustness to prompt perturbations.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Prompting and chain-of-thought reasoning, one of 17 directions in LLM reasoning. Builds on 12 of its 57 references that are in the map. First posted on arXiv 25 Apr 2026.
Builds on
12 of 57 references.
Closest ancestors · 2
Same direction, newest first
- 2026TDA-RC: Task-Driven Alignment for Knowledge-Based Reasoning Chains in Large Language Models13 Mar
- 2023Contrastive Chain-of-Thought Prompting15 Nov
Other references · 10
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2023Prompt Injection attack against LLM-integrated Applicationscited by 568
- 2025Think-While-Generating: On-the-Fly Reasoning for Personalized Long-Form Generationcited by 29
- 2026Look Inward to Explore Outward: Learning Temperature Policy from LLM Internal States via Hierarchical RLcited by 27
- 2026Lightweight LLM Agent Memory with Small Language Modelscited by 12
- 2026LLaVA-FA: Learning Fourier Approximation for Compressing Large Multimodal Modelscited by 10
- 2026When Right Meets Wrong: Bilateral Context Conditioning with Reward-Confidence Correction for GRPOcited by 9
- 2026Experience Transfer for Multimodal LLM Agents in Minecraft Gamecited by 4
- 2025Your Language Model May Think Too Rigidly: Achieving Reasoning Consistency with Symmetry-Enhanced Trainingcited by 3
- 2026Transforming External Knowledge into Triplets for Enhanced Retrieval in RAG of LLMscited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Enhancing Generalization in Chain of Thought Reasoning for Smaller Models
- 2025Chain-of-Code Collapse: Reasoning Failures in LLMs via Adversarial Prompting in Code Generation
- 2024Enhancing Adversarial Attacks through Chain of Thought
- 2025CoT Vectors: Transferring and Probing the Reasoning Mechanisms of LLMs
- 2024Chain-of-Thought Reasoning Without Prompting
- 2024ChainLM: Empowering Large Language Models with Improved Chain-of-Thought Prompting
- 2025You Don't Need Prompt Engineering Anymore: The Prompting Inversion
- 2023Stress Testing Chain-of-Thought Prompting for Large Language Models