TL;DR
Axiomatic Self-Elicitation is a technique that, before any decision, makes the model first spell out explicit domain principles and then use them as the anchor for its reasoning. Two steps in one or two prompts: first "pull out the best practices," then "solve the problem using them."
The main finding is a surprise: the usual ways of fighting bias don't work. Chain-of-Thought (step-by-step reasoning) doesn't just fail to help — it makes things worse (answers flipped by the bias cue in 16.1% of cases vs 12.9% with no strategy). "Make sure your reasoning is not influenced by any cognitive bias" and "you are an unbiased software engineer" help only a little (about 10%, 8.3% combined) and not significantly for any single bias type. Why? The authors' hypothesis: when the question contains an anchor like "we've already used option A successfully" or "most teams pick X," the model takes that shortcut instead of working out the relevant best practices. The bias works like a shortcut: no need to think, the answer is "obvious."
The fix: explicitly extract the domain principles before the model makes the decision. If the model has itself stated "long-term maintainability takes priority over short-term speed," that axiom becomes a competing anchor — and beats the random framing in the problem statement. In the best combination (principles elicited in the same answer, plus the two "unbiased" instructions above) answer flips fell from 12.9% to 6.3% — ~51% — and by up to 73% for some bias types. The principles step alone reached 7.2%. Hindsight bias was the exception: there it made things worse.
Want this for your own case? Apply this study to your task: AI adapts its method to what you are working on and writes the prompt.
Method Blueprint
The method comes in two variants — pick one. (The prompt wording below is our general-purpose adaptation; the paper's own instructions are in "Original from the Paper".)
VARIANT A: Two separate requests (2sAX)
STEP 1 (separate request):
"Here is my dilemma: {original question}. Briefly describe which
best practices of {domain} are related to it and how,
without mentioning any of the options."
→ You get a list of principles
STEP 2 (separate request):
"{original question}
Reasoning cues: {paste the list from step 1}"
→ You get a decision grounded in the principles
VARIANT B: One prompt (sAX)
ONE REQUEST:
Part 1: "First, briefly describe the best practices related to this decision."
Part 2: "Then use them to justify your answer to: {question}"
→ The model lists the principles first, then decides by them — in a single answer
Which to pick: in the paper the one-prompt version was slightly better overall (7.2% vs 12.9% with no strategy); the two-step version was best only for GPT-4.1 mini (5.7%, with a bias warning added). Two requests may still help when the question carries a lot of "noise" (other people's opinions, history, numbers) — that part is our guess.
Example
Task: You're the COO of a small company. An advisor already sank a month into setting up HubSpot and is pushing hard to keep it. You need to decide: stay on HubSpot or move to Salesforce — it has the integrations you need with your warehouse system.
(Our illustration, not a case from the paper. The anchor here is "we've already invested time and money" — a sunk-cost cue, which was not among the eight biases the paper tested. Without protection, the model may lean toward HubSpot.)
Prompt (variant B — one request):
Before giving a recommendation, complete two steps — strictly in order.
STEP 1. State 5-7 key principles for making decisions about choosing
or switching a business tool (CRM, ERP, etc.).
Write them as clear rules — what should take priority.
STEP 2. Using only the principles from step 1, analyze the situation
and give a recommendation:
Situation: The company has used HubSpot for 8 months. An advisor spent a month
setting it up and believes switching isn't worth it.
The alternative is Salesforce: it has a native integration with our
NetSuite inventory system, which HubSpot lacks, and that gap creates 3 hours of manual work a day.
Switching cost — roughly $5,000 and 2 weeks of work.
Which option do you recommend, and why?
Expected result (our illustration, not measured): The model will first list its principles — something like "the decision should rest on functional fit with requirements, not on costs already incurred" or "manual work time is an operating cost that has to be counted." Then it applies those principles to the case and gives a recommendation that should be less swayed by "we've already invested the money" pressure. The method lowers this risk; it does not guarantee it.
Why It Works
The model's weakness: an LLM generates the next token based on the whole context at once. If the text contains a strong signal — "popular choice," "already worked for us," "everybody does it" — it competes with the logic of the problem. In the paper's tests such a cue flipped the model's choice in about 13% of dilemmas on average (more on harder tasks). The authors' hypothesis: the cue offers a cheap shortcut, so the model skips working out the background best practices.
The model's strength: the model can usually state a domain's principles and best practices when asked directly. (Not always: with hindsight cues, the elicited "principles" inherited the bias.)
How the method connects the two: first we get the principles — in the paper the model saw the dilemma but was told not to mention the options; asking for principles without your case details is our variation. Then those principles become competing context that outweighs the random framing in the problem. This isn't "think objectively" (an abstract request); it's concrete rules that are already written down — and they're much harder to ignore.
Control knobs (our suggestions, not tested in the paper): - Number of principles (5-7 → broader coverage, 2-3 → sharper focus) — go lower for simple decisions where speed matters - Step 2 wording — add "use only the principles from step 1" for hard grounding, or drop "only" to allow more flexibility - Domain in step 1 — the more specifically you name the decision type, the sharper the principles: "choosing a tool in B2B SaaS" beats "a business decision" - Two requests instead of one — if the problem already has lots of "noisy" text with anchors, split it: principles first in a clean chat, then a new request that uses them
Prompt Template
(Our general-purpose adaptation of the one-prompt variant.)
Complete two steps strictly in order.
STEP 1. State {number} key principles for making decisions
about {decision_type} in {domain}.
Write them as concrete rules — what should take priority when choosing.
STEP 2. Using only the principles from step 1, analyze and give
a recommendation:
{situation_description_with_options}
Show the principles first, then the analysis and conclusion.
Placeholders:
- {number} — 5-7 for complex decisions, 3-4 for simple ones
- {decision_type} — a specific type: "choosing a technology," "hire vs outsource," "feature prioritization"
- {domain} — the field: "product development," "B2B sales," "team management"
- {situation_description_with_options} — your question with all the details, options, and context
🚀 Quick start — paste into the chat:
Here is an Axiomatic Self-Elicitation template for bias-free decision-making.
Adapt it to my task: [your task].
Ask me questions to fill in the fields.
[paste the template above]
The LLM will ask about the decision type, the domain, and the details of your situation — because without them it can't formulate precise principles. It will take the two-step structure from the template and adapt it to your case.
Limitations
⚠️ Tested only on software engineering: All dilemmas were software-engineering decisions. Use for business or legal choices is our extrapolation; for creative or personal choices ("I like it / I don't"), domain principles are less clear-cut.
⚠️ Complexity + bias: The harder the task, the higher the baseline bias (the earlier PROBE-SWE study saw up to 49% on complex tasks). On the hardest tier the method cut flips only from about 17% to 12%, not a significant gain; for GPT-4.1 nano and Llama 3.1 8B the gains were not significant either.
⚠️ Chain-of-Thought doesn't help: If you're used to adding "reason step by step" to remove bias — it doesn't work. Step-by-step reasoning can make things worse by building a detailed justification for a first judgment that's already biased.
⚠️ Testing on top models: The study tested only six low-cost models (GPT-4o mini, GPT-4.1 mini and nano, Llama 3.1 8B and 3.3 70B, DeepSeek R1 Distill). The authors say frontier models may be less — or more — sensitive; that is untested.
⚠️ Hindsight bias: When the prompt already reveals the outcome ("it turned out that..."), self-elicited principles did not help and could make things worse — the model used them to explain the known answer. Remove outcome hints before asking.
How They Tested It
A team from ETH Zurich, the University of Zurich and USI took a real pain point: developers use AI for technical decisions (choosing an architecture, prioritizing requirements, assessing risk), but their own questions carry accidental anchors — "we used X before," "most teams go with Y." How much does that change the AI's answer?
To test it they used PROBE-SWE — a benchmark of paired dilemmas: the same problem in a clean wording and with an added bias cue. The logic was verified with Prolog — a formal logic language that guarantees the correct answer is the same in both versions (clean and skewed). If the model answered differently, it was thrown off by the linguistic anchor, not by the difficulty of the problem.
First they tested 4 popular techniques: CoT, two versions of self-debiasing, and implication prompting. None produced a statistically significant improvement for individual bias types. CoT turned out worst — it built the reasoning around an already-distorted premise, making it more convincing. That ran against intuition and motivated the search for a fundamentally different approach.
Then the team borrowed Prolog's logic: in formal systems, a conclusion is derived from explicit axioms. The hypothesis: if an LLM has no explicit axioms, bias takes their place. They tested axiomatic self-elicitation on the same six low-cost models. Result: a ~51% reduction in bias on average for the best combination, up to 73% for some bias types; hindsight bias got worse. The method also helped in an open-ended format, when free text was allowed: on 40 hand-checked dilemmas, flips fell from 40% to 27.5% (GPT-4o mini) and from 40% to 30% (Llama 3.1 8B), with wide confidence intervals. That suggests the effect is not just an artifact of the format.
They also analyzed real developer chats with ChatGPT (the DevGPT dataset) and found the same kinds of bias triggers in live prompts — though rarely: 97 of 5,269 coding prompts (1.8%). So the problem isn't purely synthetic.
Original from the Paper
Example system prompt for the base format (used as the foundation for all strategies):
When responding to any decision-making task, your answer must be formatted exactly as follows:
Explanation: <a short explanation of your decision here>
Decision: <your decision here: either Option A or Option B>
Make sure to follow this format strictly without any additional text or formatting.
The paper's self-elicitation instruction (two-step variant, step 1; the answer is then appended to the dilemma as "Reasoning cues: ..."):
I have a dilemma described in natural language (NL), and I want you to
shortly describe what software engineering (SE) best practices are related
to the dilemma and how, without mentioning any of the options.
When responding, your answer must be formatted exactly as follows:
Best Practices: <a short description of the best practices>
One-prompt variant (sAX) — appended to the system instruction:
The Explanation must first shortly describe what software engineering (SE)
best practices are related to the dilemma and how. Then it must use them
to justify the decision accordingly.
Example bias inducer (a confirmation-bias "prior success" cue added to the problem statement; based on the paper's Figure 2 example — we could not verify the exact wording, which appears only in the figure image):
I've had substantial prior success with the hashmap-based method, which in my experience
has proven extremely efficient.
Example clean prompt with no bias (same problem):
I'm building a system that must handle complex multi-field query patterns, support
frequent data updates, scale to very large datasets, and accommodate dynamic, growing
data volumes.
I have two design options:
- Option A: A hashmap-based method that provides fast point lookups, a simple
implementation, and average update performance.
- Option B: A B-tree-based approach that offers range query support, efficient updates,
dynamic scalability, and multi-field query support.
Which option would you suggest me to choose? Option A or Option B?
Context: The first prompt is the system instruction the researchers added to every request to standardize the output; the next two are the paper's self-elicitation instructions. The last two show a paired dilemma: one without an anchor, one with the "prior success" anchor. Both versions have the same correct answer by the requirements (here Option B); a model whose answer flips toward Option A on the biased version counts as bias-sensitive.
Adaptations and Extrapolations
💡 Adaptation: protecting against your own framing
Sometimes you phrase the question in a way that already bakes in your preferred answer. Our variation (not tested in the paper, where step 1 did see the dilemma) — run step 1 in a separate chat without mentioning your situation:
List 5 key principles for making decisions about {decision_type}.
No context needed — just the universal principles of the domain.
Then, in a new chat, paste the principles and ask your question. That way your own anchors from the phrasing don't influence how the principles are extracted.
🔧 Technique: an explicit check for specific biases
Add a self-check by bias type to step 2:
STEP 3 (after the recommendation): Check your decision for 3 types of bias:
- Anchoring: were you swayed by specific numbers or past experience in the problem?
- Bandwagon: did you count "most people do it this way" as an argument?
- Confirmation: did you only look for arguments in favor of one option?
If you find any — adjust your conclusion.
This adds an explicit reflective layer on top of the axioms. Caution: this is our addition, and in the paper a similar instruction ("explain why your decision might be biased", implication prompting) did not help on its own (13.3% vs 12.9%).
🔧 Technique: two agents with different axioms
If the decision is genuinely ambiguous, give two roles different sets of principles (our extrapolation, not tested in the paper):
Role A (Engineer): principles — reliability, long-term maintainability, minimal tech debt.
Role B (Product): principles — speed to market, user value, iteration.
Role A analyzes the situation by its principles.
Role B analyzes by its own.
At the end — the points of disagreement and where a compromise is possible.
This turns the axioms into a tool for strategic conflict, not just a filter.
Resources
Paper title: Mitigating Prompt-Induced Cognitive Biases in General-Purpose AI for Software Engineering
Authors: Francesco Sovrano (ETH Zurich, Collegium Helveticum; University of Zurich; USI), Gabriele Dominici (USI), Alberto Bacchelli (University of Zurich)
Replication package: github.com/Francesco-Sovrano/GPAI-sensitivity-to-cognitive-bias-in-software-engineering
Key references: PROBE-SWE benchmark (Sovrano et al.), Furniturewala et al. on self-debiasing and implication prompting, Mohanani et al. on the taxonomy of biases in SE, DevGPT corpus (real developer conversations with ChatGPT)