RACE:规则演化的智能体上下文工程框架
RACE: Rule-evolving Agentic Context Engineering
AI 导读
arXiv 论文提出 RACE(Rule-evolving Agentic Context Engineering),将 playbook 维护重构为规则级演化优化,每条规则经实证效用估计并通过变异、评估与选择演化。
正文 · 原文
Abstract:Large language model agents can solve increasingly complex tool-using tasks, yet adapting them to specialized domains remains difficult when model weights are fixed and task-specific supervision is limited. Recent context optimization methods improve agents by updating external prompts or playbooks based on past executions. However, existing methods often either rewrite monolithic playbooks, which risks eroding domain knowledge, or accumulate new guidance in an append-only manner, which inflates context length and dilutes relevant guidance. We introduce \textsc{RACE} (Rule-evolving Agentic Context Engineering), a framework that reconceptualizes playbook maintenance as rule-level evolutionary optimization: each rule is treated as an individual with empirically estimated utility, and the playbook evolves through principled variation, evaluation, and selection. Concretely, tree-structured rollouts expose contrastive behavioral evidence across execution branches for extracting reusable rule-level insights, an Upper Confidence Bound (UCB)-guided leave-out valuation estimates each rule's empirical utility, and a gated protocol ensures that only beneficial edits survive. We evaluate \textsc{RACE} on three specialized tasks: our newly introduced \textsc{GDVBench}, a benchmark grounded in Gene-Disease Validity curation that requires agents to extract experimental evidence from scientific papers following expert-defined criteria; biomedical search-based question answering, where agents retrieve evidence from biomedical sources to answer domain-specific questions; and retrosynthesis planning, where agents use an available product library and a single-step retrosynthesis model to construct feasible synthesis routes. Across these tasks, \textsc{RACE} improves task performance while maintaining compact guidance, yielding a favorable trade-off between performance and context length.
| Subjects: | Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2612.03366 [cs.AI] |
| (or arXiv:2612.03366v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2612.03366 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Zihao Chen [view email]
[v1]
Wed, 2 Dec 2026 08:10:07 UTC (2,904 KB)
来源:arXiv cs.AI · arxiv.org