Strengthening Human-Centric Chain-of-Thought Reasoning Integrity in LLMs via a Structured Prompt Framework
On the map: LLM reasoning → Reasoning for agents, planning and code
Abstract (arXiv)
Chain-of-Thought (CoT) prompting has been used to enhance the reasoning capability of LLMs. However, its reliability in security-sensitive analytical tasks remains insufficiently examined, particularly under structured human evaluation. Alternative approaches, such as model scaling and fine-tuning can be used to help improve performance. These methods are also often costly, computationally intensive, or difficult to audit. In contrast, prompt engineering provides a lightweight, transparent, and controllable mechanism for guiding LLM reasoning. This study proposes a structured prompt engineering framework designed to strengthen CoT reasoning integrity while improving security threat and attack detection reliability in local LLM deployments. The framework includes 16 factors grouped into four core dimensions: (1) Context and Scope Control, (2) Evidence Grounding and Traceability, (3) Reasoning Structure and Cognitive Control, and (4) Security-Specific Analytical Constraints. Rather than optimizing the wording of the prompt heuristically, the framework introduces explicit reasoning controls to mitigate hallucination and prevent reasoning drift, as well as strengthening interpretability in security-sensitive contexts. Using DDoS attack detection in SDN traffic as a case study, multiple model families were evaluated under structured and unstructured prompting conditions. Pareto frontier analysis and ablation experiments demonstrate consistent reasoning improvements (up to 40% in smaller models) and stable accuracy gains across scales. Human evaluation with strong inter-rater agreement (Cohen's k > 0.80) confirms robustness. The results establish structured prompting as an effective and practical approach for reliable and explainable AI-driven cybersecurity analysis.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 24 of its 55 references that are in the map. First posted on arXiv 6 Apr 2026.
Builds on
24 of 55 references.
Closest ancestors · 2
Same direction, newest first
- 2025A Comprehensive Survey on Trustworthiness in Reasoning with Large Language Models4 Sep
- 2023Structured Chain-of-Thought Prompting for Code Generation11 May
Other references · 22
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,323
- 2023A Survey of Large Language Modelscited by 2,537
- 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,023
- 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Modelscited by 381
- 2024Leak, Cheat, Repeat: Data Contamination and Evaluation Malpractices in Closed-Source LLMscited by 224
- 2023Better Zero-Shot Reasoning with Role-Play Promptingcited by 220
- 2022What Does it Mean for a Language Model to Preserve Privacy?cited by 194
- 2022ROSCOE: A Suite of Metrics for Scoring Step-by-Step Reasoningcited by 175
- 2023Fundamental Limitations of Alignment in Large Language Modelscited by 152
- 2024Multi-Step Reasoning with Large Language Models, a Surveycited by 140
- 2024When LLMs Meet Cybersecurity: A Systematic Literature Reviewcited by 70
10 more
- 2025Evaluating Step-by-step Reasoning Traces: A Surveycited by 62
- 2025Chain-of-Thought Prompting Obscures Hallucination Cues in Large Language Models: An Empirical Evaluationcited by 20
- 2025Position is Power: System Prompts as a Mechanism of Bias in Large Language Models (LLMs)cited by 19
- 2025On the Fundamental Limits of LLMs at Scalecited by 16
- 2025Prompt-Reverse Inconsistency: LLM Self-Inconsistency Beyond Generative Randomness and Prompt Paraphrasingcited by 14
- 2024Prompt Stability Scoring for Text Annotation with Large Language Modelscited by 13
- 2025Large Language Models for Security Operations Centers: A Comprehensive Surveycited by 9
- 2023Prompt to be Consistent is Better than Self-Consistent? Few-Shot and Zero-Shot Fact Verification with Pre-trained Language Modelscited by 6
- 2025Reason from Future: Reverse Thought Chain Enhances LLM Reasoningcited by 5
- 2025CNN+Transformer Based Anomaly Traffic Detection in UAV Networks for Emergency Rescuecited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Safer Reasoning Traces: Measuring and Mitigating Chain-of-Thought Leakage in LLMs
- 2024Preemptive Answer "Attacks" on Chain-of-Thought Reasoning
- 2024Can LLM Prompting Serve as a Proxy for Static Analysis in Vulnerability Detection
- 2026Enhancing Reliability in LLM-Based Secure Code Generation
- 2026Rethinking On-Device LLM Reasoning: Why Analogical Mapping Outperforms Abstract Thinking for IoT DDoS Detection ↗
- 2025You Don't Need Prompt Engineering Anymore: The Prompting Inversion
- 2022Towards Understanding Chain-of-Thought Prompting: An Empirical Study of What Matters
- 2026Structured but Fragile: On the Limits of LLMs in Cybersecurity Decision-Making