mlsanityData to 14 Oct 2026

Mitigating Prompt-Induced Cognitive Biases in General-Purpose AI for Software Engineering

arXiv 2604.16756 ↗First posted 18 Apr 2026cs.SE cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Prompt-induced cognitive biases are changes in a general-purpose AI (GPAI) system's decisions caused solely by biased wording in the input (e.g., framing, anchors), not task logic. In software engineering (SE) decision support (where problem statements and requirements are natural language) small phrasing shifts (e.g., popularity hints or outcome reveals) can push GPAI models toward suboptimal decisions. We study this with PROBE-SWE, a dynamic benchmark for SE that pairs biased and unbiased versions of the same SE dilemmas, controls for logic and difficulty, and targets eight SE-relevant biases (anchoring, availability, bandwagon, confirmation, framing, hindsight, hyperbolic discounting, overconfidence). We ask whether prompt engineering mitigates bias sensitivity in practice, focusing on actionable techniques that practitioners can apply off-the-shelf in real environments. Testing common strategies (e.g., chain-of-thought, self-debiasing) on cost-effective GPAI systems, we find no statistically significant reductions in bias sensitivity on a per-bias basis. We then adopt a Prolog-style view of the reasoning process: solving SE dilemmas requires making explicit any background axioms and inference assumptions (i.e., SE best practices) that are usually implicit in the prompt. So, we hypothesize that bias-inducing features short-circuit assumption elicitation, pushing GPAI models toward biased shortcuts. Building on this, we introduce an end-to-end method that elicits best practices and injects axiomatic reasoning cues into the prompt before answering, reducing overall bias sensitivity by 51% on average (p < .001). Finally, we report a thematic analysis that surfaces linguistic patterns associated with heightened bias sensitivity, clarifying when GPAI use is less advisable for SE decision support and where to focus future countermeasures.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 18 of its 63 references that are in the map. First posted on arXiv 18 Apr 2026.

Builds on

18 of 63 references.

References · 18

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2025Qwen3 Technical Reportcited by 8,820
  3. 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,254
  4. 2021Self-Diagnosis and Self-Debiasing: A Proposal for Reducing Corpus-Based Bias in NLPcited by 337
  5. 2023An Empirical Study of the Non-determinism of ChatGPT in Code Generationcited by 137
  6. 2022Explanations Can Reduce Overreliance on AI Systems During Decision-Makingcited by 111
  7. 2024Arithmetic Without Algorithms: Language Models Solve Math With a Bag of Heuristicscited by 97
  8. 2023LLM-in-the-loop: Leveraging Large Language Model for Thematic Analysiscited by 70
  9. 2023In Search of Verifiability: Explanations Rarely Enable Complementary Performance in AI-Advised Decision Makingcited by 50
  10. 2024Thinking Fair and Slow: On the Efficacy of Structured Prompts for Debiasing Language Modelscited by 45
  11. 2022A Comprehensive Empirical Study of Bias Mitigation Methods for Machine Learning Classifierscited by 30
  12. 2024Take Care of Your Prompt Bias! Investigating and Mitigating Prompt Bias in Factual Knowledge Extractioncited by 13
6 more
  1. 2023DevGPT: Studying Developer-ChatGPT Conversationscited by 12
  2. 2017Cognitive Biases in Software Engineering: A Systematic Mapping Studycited by 9
  3. 2025LLMs' Reshaping of People, Processes, Products, and Society in Software Development: A Comprehensive Exploration with Early Adopterscited by 8
  4. 2025DR.GAP: Mitigating Bias in Large Language Models using Gender-Aware Prompting with Decoupled Reasoningcited by 2
  5. 2025Is General-Purpose AI Reasoning Sensitive to Data-Induced Cognitive Biases? Dynamic Benchmarking on Typical Software Engineering Dilemmascited by 2
  6. 2025Psycholinguistic Analyses in Software Engineering Text: A Systematic Literature Reviewcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2024Heuristics and Biases in AI Decision-Making: Implications for Responsible AGI
  2. 2026Cognitive Biases in LLM-Assisted Software Development
  3. 2026Bias in the Loop: Auditing LLM-as-a-Judge for Software Engineering
  4. 2025Rethinking Prompt-based Debiasing in Large Language Models
  5. 2025An Empirically-grounded tool for Automatic Prompt Linting and Repair: A Case Study on Bias, Vulnerability, and Optimization in Developer Prompts
  6. 2026CogBias: Measuring and Mitigating Cognitive Bias in Large Language Models
  7. 2025A Peek Behind the Curtain: Using Step-Around Prompt Engineering to Identify Bias and Misinformation in GenAI Models
  8. 2025In AI Sweet Harmony: Sociopragmatic Guardrail Bypasses and Evaluation-Awareness in OpenAI gpt-oss-20b