A rigid investigation script can hide the key clue from the model all by itself. In the dissected case, an agent with a ready-made step-by-step instruction (SOP) picked a template that had no "read the logs" step. It blamed the wrong service. The method lets you find the root cause of a failure without scripting a single step for the agent: you hand over a data folder, a task and six guardrail rules. The trick: define the boundaries, not the route. The model decides for itself which files to open and how to compare the "before" period with the "during" period. A simple harness (the program around the model) beat elaborate agents with expert roles and voting.
Practical prompting, backed by research
Techniques proven in research papers and rated for real-world use
Bringing back "causal caution": LLMs lose their honesty in advisor mode, and one sentence fixes it
95In academic mode, an LLM warns "this is correlation, not cause" 92–100% of the time. Same question, same data, but framed as "help me justify this for the meeting": down to 6–18%. A two-step causal audit gets you an honest breakdown of the data even when you're asking for practical advice, with no retraining of the model. The model doesn't lose its knowledge of causality; it hides it, assuming you want a plan, not a lecture. One follow-up sentence in the same chat brings caution back to 71–100% (lowest for Gemini 3.1 Pro), and the drop appeared in all four models tested, from Anthropic, OpenAI and Google.
The agent itself writes “stability not confirmed” and with its next command computes exactly what must not be computed under instability. When a check passes, the agent moves on 92% of the time. When it fails, the agent stops only 19% of the time. The method makes an analytical agent actually stop when the data can't support a conclusion. Instead of “you're allowed to stop,” the prompt spells out validity rules: analysis B is valid only if A holds. Stopping turns from a refusal into a move by the rules. In the replication this framing lifted DeepSeek-v4-pro by 25 points (but cost GPT-6-astra on correct continuation), while simple permission to stop gave inconsistent results.
On a 12-hour run, a coding agent fiddles with the learning rate and calls a standard cosine learning-rate schedule a “creative breakthrough.” A method made of three short instructions keeps the agent from sliding into parameter tweaking on tasks like “improve the metric.” The skills shore up the three places where the agent goes off the rails: the start, the course of the work and every hour. A skill here is a separate markdown file the agent loads at the right stage. The average gain nearly doubled: Claude Opus from 10.4% to 20.1%, Codex from 4.4% to 8.1%.
An LLM improves its explanation over several rounds, but quality grows only for the first 3-4 cycles, then declines (for crop scientists, by round 10 it fell below the first draft). In the study (rice farming advice), the Agentic XAI method raised explanation scores by 30-33% at the peak: the model finds its own gaps, requests extra calculations and updates the answer. The trick: the model reflects on its own answer, asking "what did I miss?", generates analysis code, gets new data and rewrites the explanation. But after 4-5 rounds degradation sets in: answers get watery, drift into abstractions and lose specifics.
Finding: on live data the model's accuracy is 94–96%, but across all schema fields only 74–86%. The Toolmaker method can help you reconcile tables, parse files and run exports with fewer hidden errors (our adaptation; the paper tested schema recovery). The trick: don't ask for an answer, ask for a tool. The model writes a script, and you test it on examples with a known answer. A 21,000-line tool written by Claude matched the reference schemas and ran in 2 minutes.
Semantic Layer: A Business-Context Document Lifts LLM Accuracy by About 20 Points in Data Analysis
92Is the `SalesAmount` column in your table revenue before returns or after? Is region the customer's or the warehouse's? The LLM sees a bare schema and guesses. It gets it right about half the time. The semantic layer method lets you analyze data so that the model applies your business logic instead of inventing its own. Add a few pages of markdown with metric definitions (the paper's was ~4 KB) to the schema and the question, and accuracy jumped by 17-23 percentage points, to about 68%, in the paper's SQL benchmark. The difference between Claude and GPT on that benchmark was pocket change. The difference between "with context" and "without" is huge.
The finding: For strong models, giving files and search tools beat stuffing everything into the prompt — modestly. 9,649 experiments on SQL generation showed that frontier and frontier-lab models (Claude, GPT, Gemini) became +2.7 points more accurate on average when they looked up data in files via grep/read instead of reading it from the prompt. But for some open-source models, files hurt badly: Qwen lost 21.9 points and Llama Maverick 13.9. The trick: a navigable knowledge base instead of a monolithic context. You spread information across files (schema.yaml, rules.md, navigator.md) — the model finds the relevant chunk on its own and reads only that. It is meant to sidestep "lost in the middle" and keep the context small.
A median of 18–27.5 runs instead of ~190: an agent built on a large language model (LLM) reached a configuration within 1% of the best one (in all runs for two of the three models tested). Among classic methods, only the evolution strategy managed that, and only in half of its runs. The method lets you tune the parameters of a complex system when every simulator run costs minutes or hours, and you get an explanation for every step. The trick: the “keep or roll back” decision is made by a script, not the model. The agent proposes one change, the simulator returns a number, and git rolls back failures on its own. The model can't say “pretty good overall” or retrofit its explanation to the result.
Finding: if you ask a model to find errors in a table “just by looking,” it catches typos and missing values but falls apart on anything that requires calculation. The Self-Guided Reasoning method catches far more limit, time-window and weight violations. The model decides what to check, and the math is done by code that it writes and runs itself. If the code crashes, it reads the error and fixes it. On the hard variants (GPT-4.1, routing benchmarks), the share of errors caught rose from 14–60% to 90–100%, and the report is built on the code's output, not on guesses.
Out of 138 deliberately broken operations, the “code runs”, “model agrees with itself” and “library got shorter” checks missed between 101 and 129. An independent second implementation missed zero. The method lets you verify numbers an LLM computed when you don't have the right answer. The trick: don't ask the model to grade its code, ask it to write the solution again without showing the first one. Then compare results on every record and add a conservation law: per-group sums must add up to the grand total. A bug has to pass both checks at once; in the worst case, where both copies shared the bug, 10 of 138 still got through.
OntoTower (ontology tower): a narrow but deep spec sheet for a single system in the agent’s prompt
89A lesson from the incident log is nearly useless if it’s hidden behind search: the agent rarely gets to it. The OntoTower method lets you build a spec sheet of a single system for an agent powered by a large language model (LLM), where every sensor or field records what it really is, how it was verified and what its gotchas are. The whole spec sheet goes right into the prompt, and lessons from the log are added as notes on the points they concern. It’s a narrow and deep ontology: few entities (a few dozen), but a lot is known about each. The result: roughly +20 percentage points in cases where the agent sidestepped the task’s main trap, and the 9B model gained about as much as the largest one; with the spec sheet it scored above the largest model without it.
The discovery: Even top LLMs are terrible at processing JSON directly – GPT-4o maxes out at 77% accuracy. Models get lost in the structure, confuse similar keys (name, room_name, full_name), and stumble over nesting. As the size grows to 80K tokens, Mistral-large drops by 91%.
Writing code instead of answering directly was more accurate for 13 of 15 models – especially for filtering and aggregation.
The trick: instead of "read the JSON and give me the answer" → "write a Python function that parses the JSON". The code runs – the result is exact. Add the JSON schema to the prompt – up to +12% accuracy. If the full response doesn't fit in the context, a trimmed sample still beats sending no data.
LLM baselines keep buying checks in most cases where DIVA buys one only in a few, and every prompting baseline ends up with at least twice the regret of never checking at all. The DIVA method lets you pay only for checks that could flip the decision and stop in time. The trick: the model outputs only short numbers, and code does the Bayesian probability updates. If every outcome of a check leaves the verdict unchanged, its decision value is zero, no matter how interesting the check is.
Finding: the longer an agent stays in one session, the shorter and lazier its responses get. By hours 3–5 they are 30–45% shorter than in the first two hours. The HMA method keeps six hours of agent work from going down the drain. You take two models from different providers, such as Claude and GPT, and they finish one task in turns. Each runs at most 5 experiments, the session is cut off, the context is wiped, and memory lives in a shared working folder. Over the same six hours, the pair beat the best solo agent and open systems that were given 2–4 times more time. The gain is moderate, a few percentage points, but it came without a single extra prompt.
The model names a number at random and then bends the logic to fit it. That's why plans involving blends, purchases, and dosing fall apart by step three. MEDAKA lets you build a step-by-step plan where every number is derived from an equation, not made up. The trick: an action can't be written down while it still contains an unknown number. The unknown becomes its own subgoal, and the model solves a small system of equations before pouring or buying anything. After each step it writes out the state of every object in full.
AgentOnto: A Business Glossary Instead of Guesswork, So Your Analyst Agent Stops Fudging the Numbers
86The problem: the database query ran without errors, but the number in the report is wrong. The agent didn't know your "revenue" excludes returns and tax. AgentOnto lets you get numbers from an analyst agent computed by your rules, not its guesses, and get an honest "the data can't tell us that". Before work starts, the agent gets an explicit dictionary of business concepts (an ontology): entities, metric definitions and table mappings. The agent first drafts a plan that cites the dictionary, then checks the plan, and only then writes the query. The twist: the agent has three moves, not one. Execute, clarify or decline. A question without the needed data doesn't end in a pretty fabrication.
The paradox: a judge repeated its verdicts in 100% of runs yet matched the reference about as well as a coin flip. The Trustworthy Verdict Rate method (T, “share of verdicts you can trust”) lets you check whether you can trust a large language model (LLM) that picks the better of two answers. 30–50 pairs where you yourself know the right verdict are enough. The trick: swap answers A and B. The “stable” judge was simply picking whichever one was shown first every time. A verdict counts as reliable only if it repeats, survives swapping the answers and matches the reference.
Write "a profitable and reliable option" and the model doesn't weigh the criteria. It generates text that sounds balanced. No actual calculation happens. UtilityMax gets you an honest choice among several competing goals — not an imitation, but math. Each criterion becomes a variable X1, X2, X3 — the model scores them one by one, then multiplies. A key point: strict wording like "find ONLY a profitable AND reliable one" doesn't save you — experiments showed it sometimes does worse than the soft version. The ambiguity doesn't go away, it just gets locked in harder.
The problem: LLMs are terrible at showing confidence. Ask for "yes/no" and you get a mushy "most likely." Give a 1-10 scale and everything drifts to 7-8.
The Prediction Markets method lets you extract the model's hidden confidence through a numeric signal — the size of the bet on each prediction.
The trick: don't ask for a confidence percentage — make the model risk virtual money. Give it a bankroll of 1M coins and a stake range of 1-100k per prediction. The model can't bet the max on everything — it has to choose. Big bets of 40k+ turned out right 99% of the time, small ones <1k only 74%. Bet size = an indicator of real confidence.
The paradox: 61% of the time, experts preferred LLM codes over those from human analysts — but only when the methodology was built right into the prompt. The method lets you analyze interviews, reviews, and open-ended answers with professional rigor: find patterns, create codes, group themes — the way a qualitative analysis expert does. The trick: a self-check before output. The model gets an expert role, a research question (RQ), and quality criteria from thematic analysis. Before output it grades itself: "Is the code specific? Does it help answer the RQ?" — if not, it redoes it. Result: codes that are crisper and more specific than the human ones.
The model wrote in its reasoning: "the data here raise questions." And then immediately cited that source as reliable. Not a slip; that's exactly what it did. Splitting the analysis into two steps (first evaluate each source separately, then synthesize) gets you a real data check before the model starts weighing sources against each other. The trick: in isolation the model has no "competitors for trust", so it switches into reviewer mode and catches statistically impossible numbers that slip through unnoticed in a multi-source analysis. Two requests instead of one, and the model stops trusting academic style over the data itself.
Finding: LLMs recognize a table's structure differently depending on the upload format: HTML vs plain text makes up to an 8.8% difference in accuracy, and without visual separators between sections the model loses 16-24% accuracy. The QASU method lets you extract data precisely from survey CSVs and spreadsheets: find respondents by criteria, compute aggregates, pull out specific answers. Three independent principles work together: (1) pick the format for the task type (HTML for finding specific answers, plain text for logical filters), (2) a one-shot example before the question gives +10-25% accuracy, (3) self-augmented prompting (first ask the model to describe the table's structure) adds another +3-4%.
The agent computed correctly but answered wrong: it took 2.75065 from its own file, truncated it to 2.750 instead of rounding to 2.751, and picked the neighboring option. The "authoritative source" method lets you force the agent to take the final number from the tool's official report, not from files it spawned along the way. Three sentences in the tool description and the system prompt: the report is authoritative, take the value from there, don't touch the drafts. The agent stops truncating number tails, and accuracy rises by 6–8 points for three GPT models.
Get the week’s best papers by email
One email on Sundays with the highest-rated new techniques. Unsubscribe with one click.
Prefer a browser notification when a new technique is published?