TRANSMISSION // 2612.03366v1
Can AI agents learn better rules without growing their prompts?
Source published
RACE updates an AI agent’s guidance one rule at a time, testing whether changes help. In benchmark experiments, it improved some results while using shorter playbooks, but gains varied by task.

AI agents can be given written guidance for specialized work, but that guidance can become bloated or lose useful knowledge when revised. A new preprint proposes a way to test and selectively update individual rules instead.
The challenge of teaching an agent without retraining it
A tool-using AI agent may need more than a capable language model: it also needs instructions for tasks such as interpreting biomedical papers or planning chemical reactions. One way to adapt an agent without changing its underlying model is to update an external playbook of rules. But rewriting a whole playbook risks discarding useful advice, while continually adding new advice can make the instructions long and harder to use.
In a preprint, Zihao Chen, Xiangyue Zhao and Peilin Zhao introduce RACE, short for Rule-evolving Agentic Context Engineering. Its central idea is to treat each instruction as a separate rule whose usefulness can be estimated from agent performance. The researchers tested whether this approach could improve task results while keeping added guidance relatively compact.
How RACE works
RACE evaluates an agent with its current playbook and also tests versions with selected rules removed. Comparing the results provides an estimate of whether those rules help on the example. The system uses an upper-confidence-bound method—a way of balancing rules that seem useful against rules that have been tested less often—to select rules for these comparisons.
It also creates branching versions of an agent’s run from shared decision points. Differences between successful and unsuccessful branches can give a language model clues about which actions or reasoning choices matter. The model then proposes adding, changing or deleting rules. A proposed edit is kept only if a deterministic rerun performs better than before or solves the example; otherwise, the previous playbook is retained.
The researchers evaluated RACE on three kinds of tool-using tasks: extracting experimental evidence from scientific papers for gene–disease curation, biomedical search-based question answering, and retrosynthesis planning. For the curation task, they also introduced GDVBench, based on the ClinGen Gene-Disease Validity workflow. It tests evidence extraction from a single scientific paper under expert-defined procedures; it does not assess the full range of evidence used in clinical gene–disease classification.
What the tests found
Across the tested settings, RACE generally improved on the underlying agents, though the size and consistency of gains differed. In biomedical search question answering, its average accuracy was 60%, compared with 56% for ACE, one of the playbook methods used as a comparator. The paired 95% confidence interval for that difference was 1 to 7 percentage points, supporting a positive difference on those test questions.
On GDVBench, RACE’s mean Jaccard score—a measure of overlap between predicted and reference evidence—was 46.28%, versus 45.80% for ACE. The confidence interval for the difference ranged from −4.06 to +5.02 percentage points, so these results do not establish a clear advantage over ACE on that measure. In retrosynthesis, mean success was 72% for RACE and 69% for ACE; the confidence interval also included zero.
RACE’s playbooks contained fewer added context tokens than ACE’s in the reported comparisons. The paper estimates that, after accounting for average agent turns, added context exposure was 42.7% to 62.9% lower across its tested benchmarks. This is an estimate, not a direct measure of total API cost: the calculation excludes factors such as generated text and tool observations. RACE also took 25% to 38% longer than ACE to optimize a playbook in the reported experiments, a cost the authors describe as paid once per learned playbook.
What remains uncertain
These findings suggest that rule-by-rule evaluation can help manage guidance, but they do not show that RACE will improve every agent or task. The evaluations used specific benchmarks, tools and model setups, and the reported comparisons with ACE are mixed: the search-question-answering difference was clearer than the results on the other two task families. The authors also note that random branching may produce insufficiently diverse trajectories, and that reflections can be sensitive to the order and difficulty of training examples.
This work is a preprint, so it should be treated as preliminary rather than as settled evidence. The results describe benchmark performance, not whether the method improves expert decisions or outcomes in real clinical or laboratory settings. Further evaluation across broader tasks and independent replication would help clarify how well the approach generalizes.
- AI agents
- large language models
- context engineering
- biomedical AI
- prompt optimization
- preprint
Reviewed cross-references
These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.
Can AI agents use fewer tokens without losing accuracy?
Supporting evidence: Both papers report that optimizing an agent’s external context can improve the performance–length trade-off in their evaluated settings: RACE reports compact rule playbooks with task-performance gains, while the NSGA-II study reports lower token use, often without sacrificing accuracy. This supports a bounded claim about the potential of context optimization, not a direct comparison: the methods, tasks, and length measures differ.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2612.03366v1 — Original paper
Excerpt reference:
static/papers/2612.03366v1.md:691-770
Basis: Paper text
Source file SHA-256:d8b024e180e342a8c419cde25f2db77732f7ae6bf3b0e76f18487a30fb8cd8ae2612.02484v1 — Original paper
Excerpt reference:
static/papers/2612.02484v1.md:560-606
Basis: Paper text
Source file SHA-256:9d5f0fcc7b23d745897363483327d261b19e5cf990b70d60d5bf0960aff45f98
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
How an AI agent receives an error can change what it does next
Source published
Shared keywords: ai agents, context engineering, large language models
A simpler route to optimizing AI prompts
Source published
Shared keywords: ai agents, large language models, prompt optimization
Can a simpler prompt optimizer keep up?
Source published
Shared keywords: ai agents, large language models, prompt optimization
Can AI agents use fewer tokens without losing accuracy?
Source published
Shared keywords: ai agents, context engineering
Can an AI agent improve a live search-ranking system?
Source published
Shared keywords: ai agents, large language models