TLDR: General-purpose AI systems, despite their non-human nature, show significant susceptibility to human-like cognitive biases when applied to software engineering tasks. A new dynamic benchmarking framework revealed that leading AI models often prioritize superficial linguistic cues over logical reasoning, with bias sensitivity increasing with task complexity, posing risks for real-world deployments.
General-purpose AI (GPAI) systems are increasingly being adopted in various fields, including software engineering, to automate tasks and enhance efficiency. While these AI systems are often seen as a way to mitigate human errors and biases due to their non-human nature, a critical question arises: Do GPAI systems themselves exhibit cognitive biases, especially since they are trained on vast amounts of human-generated data?
A recent research paper, titled “Is General-Purpose AI Reasoning Sensitive to Data-Induced Cognitive Biases? Dynamic Benchmarking on Typical Software Engineering Dilemmas,” delves into this very question. Authored by Francesco Sovrano, Gabriele Dominici, Rita Sevastjanova, Alessandra Stramiglio, and Alberto Bacchelli, the study introduces a novel approach to evaluate how AI systems respond to subtle, bias-inducing linguistic cues that are unrelated to the core logic of a task.
The researchers developed the first dynamic benchmarking framework specifically designed to assess data-induced cognitive biases in GPAI within software engineering workflows. They began with a small set of 16 carefully crafted, realistic tasks, each designed to feature one of eight common cognitive biases (such as anchoring, framing, or confirmation bias) alongside an unbiased counterpart. The core idea was to see if minor linguistic changes, without altering the underlying logic, could lead AI systems from correct to incorrect conclusions.
To make the benchmark scalable and realistic, the team created an on-demand augmentation pipeline. This pipeline uses GPAI systems themselves to generate numerous task variations. This ensures diversity in the scenarios while maintaining the bias-inducing cues and controlling the complexity of the reasoning required. The correctness of these generated tasks was rigorously checked, with human evaluations confirming 88-99% accuracy. The framework also uses Prolog-based reasoning, a declarative logic programming language, to verify that the embedded biases are both harmful and undetectable by purely logic-based reasoners.
The study evaluated leading GPAI systems, including models from the GPT, LLaMA, and DeepSeek families. The findings were significant: all tested systems showed a consistent tendency to rely on superficial linguistic cues rather than engaging in deep, logical reasoning. Every system exhibited cognitive biases, with sensitivity ranging from 5.9% for anchoring bias to 35% for hindsight bias across different types. Furthermore, the sensitivity to bias increased sharply with task complexity, reaching up to 49% in some cases. This highlights critical risks when deploying these AI systems in real-world software engineering environments, where even small errors can lead to costly consequences.
The implications of these findings are profound. Firstly, it suggests that an AI system can be accurate on unbiased tasks but still be vulnerable to biased phrasing, meaning that evaluations based solely on accuracy might overstate their reliability. Secondly, simply scaling up models or increasing their computational power does not necessarily suppress the use of these mental shortcuts. Finally, the research points to the need for combined strategies to mitigate bias, including bias-aware instructions for AI, cross-checking decisions against symbolic logic systems, and training methods that specifically penalize decision changes between biased and unbiased prompts.
Also Read:
- Unpacking AI’s Inventory Decisions: A New Benchmark Reveals Human-Like Biases
- Unpacking Prompt Sensitivity: A Deep Dive into LLM Robustness
The protocol developed in this research is highly adaptable and not limited to software engineering. By substituting domain-specific rules and dilemmas, it can be applied to create similar dynamic bias-sensitivity benchmarks in other fields like medicine, law, or public policy. For more detailed information, you can refer to the full research paper available at arXiv.org.


