CAP-CoT: Cycle Adversarial Prompt for Improving Chain of Thoughts in LLM Reasoning

📅 2026-04-25
📈 Citations: 0
Influential: 0
📄 PDF

career value

190K/year
🤖 AI Summary
This work addresses the inconsistency in answers generated by large language models during multi-step reasoning, often caused by unstable chain-of-thought (CoT) processes. To mitigate this issue, the authors propose CAP-CoT, a framework featuring a cyclic adversarial prompting mechanism. In this approach, a forward solver generates reasoning chains, while an adversarial challenger constructs semantically guided, deliberately incorrect chains. A feedback agent then contrasts the correct and erroneous chains to produce structured feedback, enabling bidirectional prompt refinement. The method requires only two to three iterative rounds and demonstrates significant improvements in reasoning accuracy, reduced inter-run variance, and enhanced robustness against prompt perturbations across six benchmark datasets and four mainstream large language models.

Technology Category

Application Category

📝 Abstract
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.
Problem

Research questions and friction points this paper is trying to address.

Chain-of-Thought
reasoning stability
large language models
inconsistent answers
multi-step reasoning
Innovation

Methods, ideas, or system contributions that make the work stand out.

Chain-of-Thought
Adversarial Prompting
Iterative Optimization
Reasoning Robustness
Structured Feedback
S
Shuxu Chen
Department of Electronic Engineering, Kyung Hee University, Yongin-si, 17104, Gyeonggi-do, Korea
Y
Yitian Zhou
School of Computer Science and Engineering, University of Electronic Science and Technology of China, Chengdu, 611731, Sichuan, China
J
Jiaquan Zhang
School of Computer Science and Engineering, University of Electronic Science and Technology of China, Chengdu, 611731, Sichuan, China
H
Haoyu Bian
School of Computer Science and Engineering, University of Electronic Science and Technology of China, Chengdu, 611731, Sichuan, China
Aming Wu
Aming Wu
Ph.D.
Deep learningData mining
Sungyoung Lee
Sungyoung Lee
Computer Science and Engineering, Kyung Hee University
Artificial IntelligenceBigdataKnowledge BaseHealthcare Platform
Chaoning Zhang
Chaoning Zhang
Professor at UESTC (电子科技大学, China)
Computer VisionLLM and VLMGenAI and AIGC Detection
Hyundong Shin
Hyundong Shin
Professor, Department of Electronic Engineering, Kyung Hee University
Quantum Information ScienceWireless CommunicationMachine Intelligence