Search arXiv⌕ Search

arXiv · 2612.03366

RACE: Rule-evolving Agentic Context Engineering

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.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Zihao Chen, Xiangyue Zhao, Peilin Zhao. 2026-12-02. RACE: Rule-evolving Agentic Context Engineering. https://searcharxiv.org/abs/2612.03366

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Settling the Reward Hypothesis

The reward hypothesis posits that, "all of what we mean by goals and purposes can be well thought of as maximization of the expected value of the cumulative sum of a received scalar signal (reward)." We aim to fully settle this hypothesis. This will not conclude with a simple affirmation or refutation, but rather specify completely the implicit requirements on goals and purposes under which the hypothesis holds.

cs.AI↗

Explainable Innovation Engine: Dual-Tree Agent-RAG with Methods-as-Nodes and Verifiable Write-Back

Retrieval-augmented generation (RAG) improves factual grounding, yet most systems rely on flat chunk retrieval and provide limited control over multi-step synthesis. We propose an Explainable Innovation Engine that upgrades the knowledge unit from text chunks to methods-as-nodes. The engine maintains a weighted method provenance tree for traceable derivations and a hierarchical clustering abstraction tree for efficient top-down navigation. At inference time, a strategy agent selects explicit synthesis operators (e.g., induction, deduction, analogy), composes new method nodes, and records an auditable trajectory. A verifier-scorer layer then prunes low-quality candidates and writes validated nodes back to support continual growth. Expert evaluation across six domains and multiple backbones shows consistent gains over a vanilla baseline, with the largest improvements on derivation-heavy settings, and ablations confirm the complementary roles of provenance backtracking and pruning. These results suggest a practical path toward controllable, explainable, and verifiable innovation in agentic RAG systems. Code is available at the project GitHub repository https://github.com/xiaolu-666113/Dual-Tree-Agent-RAG.

cs.AI↗

Strategic Algorithmic Monoculture: Experimental Evidence from Coordination Games

AI agents increasingly make high-stakes decisions in multi-agent environments where outcomes depend on coordination (e.g., hiring, pricing, and trading). We distinguish primary algorithmic monoculture---baseline action similarity---from strategic algorithmic monoculture, whereby agents adjust similarity in response to incentives. We design a simple experiment that cleanly separates these forces and deploy it on human and large-language-model (LLM) subjects. LLMs exhibit high levels of baseline similarity (primary monoculture) and, like humans, they regulate it in response to coordination incentives (strategic monoculture). While LLMs coordinate extremely well on the same action, they lag behind humans in sustaining heterogeneity when divergence is rewarded.

cs.AI↗