Apply to my task
arXiv:2609.16779 ★ 70 Sep 15, 2026

AHP prompting: how to make an LLM explain decisions through explicit criteria and weights instead of guessing

Key result

The paradox: the more complex the instruction in the prompt, the worse a weak model decides: it gets confused and does worse than with no structure at all. AHP prompting makes an LLM explain any multi-criteria decision through explicit weights instead of producing a pretty but unverifiable conclusion. The method's trick is to split the process into separate dialogue steps: criteria first, then pairwise weight comparisons, and only then scoring the options. Each step is simple on its own, and together they produce a decision you can trace backward and verify.

01

TL;DR

AHP prompting is a technique that makes the model reach a decision not in one leap but through explicit math: first identify the criteria, then compare them pairwise ("which is more important, and by how much"), calculate each criterion's weight, and only then score the options using those weights.

When you simply ask a model to "pick the best option," it gives a plausible answer with no visible logic. Trusting that kind of decision on important questions (hiring, legal assessment, supplier selection) is risky, because it's unclear what it rests on. But if you cram the entire complex AHP instruction into one prompt, weaker models (Mistral, Llama3) get tangled in the multi-step logic and produce worse results than with no AHP at all.

The fix is to split the process into explicit separate dialogue steps rather than one prompt: 1) define the criteria, 2) compare them pairwise and compute weights, 3) score the options and calculate the weighted total. For strong models (GPT-4o-mini) this consistently improves accuracy and makes the decision verifiable.

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.

02

Method Blueprint

STEP 1: Define 3-7 decision criteria → a list of criteria with definitions
STEP 2: Compare the criteria with each other pairwise → a comparison matrix + numeric weights
STEP 3: Score each option on each criterion → a weighted score + the final choice

All three steps can be done in one conversation as sequential messages (this is more reliable) or squeezed into one prompt (worse on weaker models, but better on strong ones like GPT-4o-mini).

03

Example

Task: You need to pick one of three candidates for head of sales, based on résumés and interview results.

Prompt (step 1):

I have three candidates for head of sales:
Candidate A: 8 years of experience, but none in our niche
Candidate B: 3 years of experience, but specifically in our niche, strong references
Candidate C: 5 years of experience, managed a team of 20, average revenue results

Identify 4-5 criteria worth using to evaluate candidates for this role. 
Give a short definition of each criterion.

Prompt (step 2, after the model's answer):

Now compare these criteria with each other pairwise: 
for each pair, say which criterion is more important and by how much (on a scale of 1 to 9).
Based on these comparisons, calculate each criterion's weight as a percentage.

Prompt (step 3):

Score each candidate on each criterion (scale 1-10).
Calculate each candidate's final weighted score using the criteria weights.
Name the best candidate and explain the decision through the weights and scores.

Result: The model produces three separate, connected answers. The first is a list of criteria with definitions. The second is a comparison matrix and weight percentages (e.g., "niche experience" 35%, "management skills" 25%, and so on). The third is a table of candidate scores and the final pick, with an explicit explanation of why that candidate scored highest.

04

Why it works

When you ask an LLM to "just pick the best option," the model generates an answer that sounds convincing but isn't required to be logically traceable: it isn't computing weights in its head, it's predicting the next plausible token. There's no way to check why the choice is what it is.

But LLMs handle small, concrete steps well: list the criteria, compare two things with each other, calculate a simple proportion. Each of these steps is a task the model solves reliably.

The method takes the complex task "make a decision across several criteria" and chops it into such small steps. Each step is grounded in the previous one (the conversation remembers what was said earlier), so the final decision can be traced backward: you can see which weights and scores it was built from.

Control levers: - Number of criteria (3-7 in the original) → 3 is enough for simple everyday decisions; up to 7 for complex business decisions - Comparison scale (in AHP, the Saaty scale from 1 to 9) → you can simplify it to "1-5" or to words ("slightly more important," "far more important"); accuracy drops only slightly, but the prompt gets simpler - One prompt vs. a step-by-step dialogue → for powerful models (GPT-4o-mini, Claude, GPT-4) you can risk giving the whole instruction at once; for simpler models, always split it into separate messages

05

Prompt template

Help me make a decision using the AHP method (Analytic Hierarchy Process).

Situation: {description of the decision and options}
Options: {option 1}, {option 2}, {option 3}

Step 1: Identify {number} criteria that matter for this decision. Give a short definition of each.

Don't move on to the next step until I confirm the list of criteria.

After the criteria are confirmed, the second prompt:

Now compare these criteria pairwise: which of the two is more important and by how much (scale 1-9, where 1 means equally important and 9 means the criterion is incomparably more important). 
Build a comparison table and calculate each criterion's final weight as a percentage.

After the weights, the third prompt:

Score each option on each criterion (scale 1-10).
Calculate each option's weighted total score (score × criterion weight, summed over all criteria).
Name the best option and explain the decision through the resulting scores and weights.

What to fill in: {description of the decision} — the gist of the question you need to settle; {option 1, 2, 3} — the specific alternatives; {number} — how many criteria you want (3 for simple tasks, 5-7 for complex ones).

🚀 Quick start — paste into the chat:

Here is the template for making a decision with the AHP method. Adapt it to my task: {your task}.
Ask me questions to fill in the fields.

[paste the template above]

The LLM will ask what your options are and how many criteria you want to use, because without that it can't build the comparison matrix. Then it will walk you through all three steps on its own.

06

Limitations

⚠️ The model can lose to a simple baseline. On weaker models (Mistral, Llama3), a complex multi-step AHP instruction sometimes produces worse results than just "pick the best option" with no structure at all. Before trusting the method, test it on a couple of sample decisions to make sure the structure didn't break the logic.

⚠️ A single prompt with the full instruction is unstable. If you try to cram the whole AHP process into one message (without splitting it into steps), the model may forget part of the instructions or mix up the order of actions, especially on less powerful models.

⚠️ The model's criteria don't always match human ones. In the study, the model forced to follow the AHP instruction strictly in one go matched the criteria chosen by human experts less often than the model working in a free step-by-step dialogue. It's worth asking the model to explain why each criterion was chosen and checking the logic yourself.

07

How it was studied

The researchers created a new dataset, LEGAL-AHP: they took legal questions from the well-known LegalBench benchmark and had law students manually annotate them following AHP rules: identify criteria, compare them pairwise, calculate weights. The result was 60 reliable question-answer pairs with verified consistency (a check that a person didn't compare criteria contradictorily: if "A is more important than B" and "B is more important than C," then "A" can't be less important than "C").

They then compared four models (Llama3, Qwen2.5, Mistral, GPT-4o-mini) across four strategies: no AHP, a single prompt with the full AHP instruction, a step-by-step dialogue, and a multi-agent system with separate roles for each stage. It turned out that the strong model (GPT-4o-mini) consistently benefits from structuring: accuracy rose from 73% to 82% in the best configuration. The weak models, on the contrary, often lost quality, with accuracy dropping to 37-43%.

The surprise: the criteria the model generated in the step-by-step dialogue matched human ones more often than criteria from the single AHP prompt, even though final decision accuracy was higher with the single prompt on strong models. In other words, the model can give the right final answer for the "wrong" (non-human) reasons. The method was also tested outside law, on university rankings (QS, US News), and the approach carried over, although the gain depended on the specific model and dataset.

Research digest

Key result

The paradox: the more complex the instruction in the prompt, the worse a weak model decides: it gets confused and does worse than with no structure at all. AHP prompting makes an LLM explain any multi-criteria decision through explicit weights instead of producing a pretty but unverifiable conclusion. The method's trick is to split the process into separate dialogue steps: criteria first, then pairwise weight comparisons, and only then scoring the options. Each step is simple on its own, and together they produce a decision you can trace backward and verify.

Principle

An LLM can't hold complex multi-step logic in its head all at once. A step-by-step dialogue works like an assembly line: each step does one simple thing, not everything at once. A single prompt with the full AHP instruction is a trap for weak models: Mistral and Llama3 mix up the order of actions and end up worse than the baseline. For GPT-4o-mini it's the opposite: the single prompt works consistently better.

Why it works

Ask the model to just pick the best option and you get a plausible answer with no logic, because it's predicting the next token, not computing weights in its head. But comparing two criteria or calculating a simple proportion is a small task the model handles reliably. Each step is grounded in the previous one in the dialogue, so the final decision can be traced backward to see which weights and scores it was built from. In the study, the model forced through AHP in one go matched human experts' criteria less often than the model in a free step-by-step dialogue.

When to apply

Important multi-criteria decisions → hiring, supplier selection, legal assessment of options: anywhere you need to explain why this particular option was chosen. Especially valuable when you'll have to defend the decision to other people. NOT suited for quick everyday decisions with one obvious criterion: the structure will only complicate things.

Mini recipe

1. Describe the situation: the question and 2-4 options to compare 2. Step 1: criteria: ask the model to identify 3-7 criteria with definitions, and wait for confirmation before the next step 3. Step 2: weights: ask it to compare the criteria pairwise on a 1-9 scale and calculate each one's weight as a percentage 4. Step 3: scores: ask it to score the options on each criterion and calculate the weighted total 5. Check: for weak models (Mistral, Llama3), compare the result with a plain "pick the best"; if the structured version is worse, drop AHP

Examples

[BAD]: `Pick the best candidate from these three résumés` [GOOD]: `Identify 5 criteria for evaluating candidates for head of sales, with short definitions. After I confirm, compare the criteria pairwise on a 1-9 scale and calculate the weights as percentages.`

In plain words

When you ask a model to "pick the best option," it doesn't weigh pros and cons in its head; it just picks convincing-sounding words. That's an illusion of logic: the model produces plausible text, but there's no math inside the decision. AHP prompting breaks this nonsense and turns the LLM from an eloquent humanities major into a strict calculator, forcing it to follow the classic Analytic Hierarchy Process.

It's like hiring a top executive on the basis of "my gut says this guy's sharp." Sounds confident, but you can't back the choice with facts: it's all personal taste. Instead of reading tea leaves with a serious face, the model now has to build a transparent decision matrix, where every factor has its own weight rather than an abstract "it seemed important to me."

What specifically works: first we pull out the criteria, then do a pairwise comparison (e.g., B2B experience is 4 times more important than a degree), calculate numeric criteria weights, and only then score the options. No magic: take 3 candidates, run them through a weighted formula and get a mathematically sound score. The model physically can't cheat, because every step is documented.

The mechanics were tested on hiring a head of sales, but the principle is completely universal. You can roll the same scheme out for choosing a supplier, a database architecture, an ad agency or a tech stack. Anywhere you have a choice among 5-10 alternatives with a pile of conflicting requirements, the method imposes iron order.

Bottom line: stop asking AI to "pick the best option" in a single prompt; that's guaranteed to give you nicely worded make-believe. Make the model calculate through pairwise weights and formulas. You'll get full transparency in decision-making, where any choice can be easily checked and defended in front of anyone.

AI lab assistant

Apply this study to your task

Describe what you're working on. AI takes the method and the measured results from this paper and adapts them to your case, or writes a ready prompt built on them.

Based on AHP prompting: how to make an LLM explain decisions through explicit criteria and weights instead of guessing arXiv:2609.16779

Sign in to apply this study New accounts get 50 free credits.