When you hand a task to an agent (a program where an AI picks its own tools and works through multiple steps), two things have to happen at once. It has to understand what you're asking right now, and it has to judge—from past experience—which choice is good in this particular situation. Until now, a single language model handled both. That made it hard to improve just the "use experience better" ability on its own, and scaling the model up didn't automatically make that ability better. The DPDM proposed in this paper pulls the two apart. Understanding the situation stays with the language model; picking an answer from past records goes to a separate predictor whose weights are frozen (not changed any further by training). There's one key idea here: it uses experience by changing only the past records fed to the predictor, never retraining the model.
In the conventional setup, one language model did the reasoning, produced the actions, and also interpreted the experience it had retrieved from the past. In the paper's words, "semantic interpretation, experiential reasoning, and answer generation are entangled within a single pretrained mechanism." Because they're entangled, it's hard to isolate and work on just the part that learns from experience.
There's one more trap here. An action that succeeded in the past is not guaranteed to be right now. And if some action was chosen often, that may not be because it was good—it could just be that such situations came up often.
So the authors split decision errors into two kinds. One comes from information the past records never contained in the first place. The other comes from information that is present in the records, but which the learning method failed to extract and use. The first shrinks as you gather more experience; the second shrinks as you use the same experience better. This distinction becomes the backbone of the experimental design that follows.
By analogy, it's a division of labor between a junior PM and a dedicated analyst. The junior PM (the language model) is good at reading meeting notes and briefs and summarizing the situation. But the field instinct—things like "you shouldn't use this tool for this customer"—is handed to a dedicated analyst (the predictor) who makes the call by digging through a case file built up over time.
Let's follow one scene all the way through to see how this division of labor actually plays out: the moment an agent chooses which external tool to call.
What stays fixed in this process is how the model makes judgments. The weights of the two neural networks (the encoder and the predictor) are never touched. What changes is only the cases used to judge—that is, the past records fed to the predictor. That's why you can swap in different experience without retraining.
Why does separating the answers from the encoder matter? If you let the language model read the answers too, the ability to use the cases gets tied right back to that language model's interpretive power. Smaller models are especially weak at exactly this point. By pulling the answers over to the predictor side, the job of "retrieving and using cases" is handled entirely by the predictor, independent of language model size.
The whole thing runs on three components.
Pretraining provides the reusable reasoning ability, and the evidence from the deployment (actually being put into service) site produces the per-problem prediction on the spot. The theoretical roots reach back to the Prior-Data Fitted Networks and Contextual Mechanism Networks lineage—the idea that "if you pre-learn conditional prediction across many datasets, you can reason on the fly about a new problem."
There have been plenty of earlier attempts to let systems learn from experience. To compare them, it helps to set up the axes first. There are broadly two camps.
DPDM belongs to the second camp, but what's different is that it pulls the mechanism that learns from experience out into a "swappable, independent component." The upside is clear. Because semantic representation (the encoder) and experiential reasoning (the predictor) are separated, improving either one makes decisions across all five categories better together, through the same interface. The cost is also real: you have to record the answer feedback in a structured form so it can be fed to the predictor as a supervision signal.
The evaluation is large. 50 benchmarks, 82 task settings within them, across five categories (agent tasks, knowledge QA, evidence consistency, safety and reliability, language understanding).
The comparison runs the same language models (Qwen3.5-4B/9B/27B, Llama-3.1-8B-Instruct) in three ways: zero-shot (giving only the current input, no past examples), few-shot (putting a few past examples with their answers into the prompt), and DPDM (the language model only for representation, prediction by LimiX-2). As an external reference, the commercial decision service Jev API was also evaluated. The metric is decision accuracy—how well the decisions match the task's reference answers.
Two things in the design are worth noting.
First, they ran a separate comparison where few-shot and DPDM received the same history (past records) and the same query. This is to tell apart, when DPDM won, whether it won "because it could take in more records" or "because it used the same records better." Those are different abilities.
Second, they included a growth experiment where the same query is re-solved with the history scaled to 32, 128, 512, 2,048, and 8,192 records. This is the axis that measures "does it really get better as you accumulate more experience?"
One caution when reading. Because the cost of processing a single past record differs between the two architectures, each method's "maximum history it can complete" may differ. So the numbers "under each method's own evaluation history budget" and the numbers "under an identical history" are reported separately. Don't read them mixed together.
Breaking the results into three questions makes it clearer what counts as evidence. The per-model numbers go into a table, and in the body I keep just one representative result per question and what it means.
Average accuracy across 50 benchmarks (%)
| Encoder | few-shot | DPDM (own budget) | DPDM (identical history) |
|---|---|---|---|
| Qwen3.5-4B | 60.51 | 80.78 | 78.37 |
| Qwen3.5-9B | 65.03 | 82.27 | 80.08 |
| Qwen3.5-27B | 78.80 | 84.92 | 82.33 |
| Llama-3.1-8B | 41.87 | 77.57 | 73.83 |
Even in the comparison matched on identical history and identical query (the rightmost column), DPDM came out ahead. The 27B is 82.33% vs. 78.80%. That means it's not the extra volume of records fed in, but the difference in how the same records are used, that explains much of the gap. At the dataset level too, improvements showed up on 46 of 50 for the 27B, all 50 for both smaller Qwens, and 49 for Llama. What stands out is that for the small models, few-shot was actually lower than zero-shot—a sign that even when cases were provided, they couldn't be used properly. DPDM beat both zero-shot and few-shot across all four encoders.
Where this advantage opens up the widest is in the tool-use and code domains.
Qwen3.5-27B, under each method's own evaluation history budget (%)
| Task | few-shot | DPDM |
|---|---|---|
| ToolPRMBench BFCL | 42.59 | 76.85 |
| ToolSandbox | 68.04 | 96.91 |
| CodeCritic (Code) | 76.82 | 90.85 |
| CodeCritic (QA) | 65.85 | 76.62 |
That said, BFCL and ToolSandbox are different tasks. Don't lump them together as "pushed tool judgment up into the 90s."
On the common set of 21 benchmarks and 29 task settings, scaling the history from 32 to 8,192 records raised accuracy at every size. The 27B went from 75.48% to 84.87%. The key point is that this was obtained purely by increasing the input history, with the neural networks never retrained at all. As an extreme example, on FaithDial, DPDM (Qwen3.5-27B) reached 83.53% with 8,192 records, whereas few-shot on the same model was at 54.70% with 512 records. Because each record is encoded separately, you can use volumes that wouldn't fit into a single prompt.
When the vast majority of past cases lean one way ("correct"), few-shot easily falls into a majority-label bias of answering "correct" for new inputs too. In that case you have to measure with balanced accuracy (BA—weighting the positive and negative cases equally; answering only one way gives 50%), not plain accuracy. Across the five BIG-Bench Mistake tasks, the four-encoder average BA rose from 59.86% for few-shot to 74.37% for DPDM.
The object-tracking task is a clear-cut example. Given the exact same 689 past steps and 462 queries, Qwen3.5-27B few-shot caught only 42 of 104 incorrect steps. DPDM caught 93, while still letting 95.81% of the correct steps pass through unchanged. This experiment distinguishes "high plain accuracy obtained by repeating the majority answer" from "the ability to actually pick out the wrong steps." The former rises even if you only answer toward the skewed side; the latter does not.
In a separate timing study with history and query matched, the total pipeline GPU time—including preparing the past records—fell by 80.3% on average across tasks compared to cached few-shot. That's thanks to the architecture processing past records as individual representations plus a predictor, rather than re-pushing them into a long prompt every time.
Start with the premise the authors state. DPDM holds when a decision can be cleanly framed as a conditional prediction problem. Each decision has to be defined by a visible context, candidate descriptions, and a prediction target, and the past records have to supply observed values of that target. It's hard to apply as-is to tasks where you have to generate the candidate set itself, or where answer feedback is hard to record structurally. Also, the shared-predictor slot needs a structured-data pretrained model—like LimiX-2—that supports the required representation, target types, and output distribution. You can't just plug in any predictor.
There's a caution on interpreting the numbers, too. Many of the headline numbers are "under each method's own evaluation history budget," so the history scale may differ across the methods being compared. The authors addressed this by presenting a separate identical-history comparison, so when citing externally you must always note which set of numbers you mean, to avoid misunderstanding.
And this evaluation measured "was the decision correct," not the end-to-end success rate of an agent interacting with an environment all the way through to completing a task. How much the gains in intermediate-judgment accuracy carry over to final success is hard to conclude from these results alone.
Let's pick one judgment ONTLE's AI PM runs into often: the moment the agent decides which external tool to call. In many setups today, this judgment is handed to the same LLM, with a few past cases stuffed into the prompt.
To apply the DPDM-style split, three things have to be recorded: what the customer request (the situation) was, which candidate tools were on the table, and the outcome feedback on whether that choice was actually right. Instead of cramming these three into the LLM prompt every time, you supply them to the conditional predictor separately as "cases + outcomes." As customers grow and feedback accumulates, you just grow the records—no need to retrain the model.
Here we have to separate what the research observed from what ONTLE needs to validate. The research showed that decision accuracy rose on benchmarks. What we'll check at ONTLE is a hypothesis: how much that gain in decision accuracy carries over to our service's final task-success rate. So the action items are two: steadily collecting the three items (request, candidates, outcome) in structured form, and separately measuring final task-success rate against the volume collected.
No. The paper used Qwen3.5's 4B, 9B, and 27B and Llama-3.1-8B-Instruct as encoders, and all four beat few-shot. The encoder is a swappable component, so when a better semantic representation comes along, you can plug it in to improve.
Logs that record the answer feedback in structured form. You have to keep—as a separate signal rather than in the prompt body—which situation it was, which candidates were on offer, which one was chosen, and whether it was right, so it can be fed to the predictor as a supervision signal.