REVERE: Reflective Evolving Research Engineer
Balaji Dinesh Gangireddi · Aniketh Garikaparthi · Manasi Patwardhan · Arman Cohan
REVERE is a self-adapting LLM agent that uses global memory of past failures to make targeted prompt edits without full rewrites, outperforming expert-crafted instructions on three research-coding benchmarks at 10x lower cost.
摘要
Existing prompt-optimization techniques rely on local signals, causing poor generalization across tasks. In addition, they also rely on weak update mechanisms, such as full-prompt rewrites or unstructured merges, which cause knowledge loss and unstable adaptation. These limitations are magnified in research-coding workflows, which involve heterogeneous repositories and weak feedback, limiting abstraction and learning across tasks. We introduce Reflective Evolving Research Engineer (REVERE), a lightweight, self-adapting agent framework that learns from a Global Training Context, distills recurring cross-repository failure modes into reusable heuristics, and applies targeted, code-based edits to agent prompts. REVERE is evaluated across settings ranging from long-horizon to single-shot benchmarks, and improves over prior expert-crafted instructions by $4.50\%$ on SUPER, $1.3\%$ on ResearchCodeBench, and $4.89\%$ on ScienceAgentBench. It does so at nearly $10$× lower cost and $2.7$× faster adaptation than existing prompt-optimization baselines, demonstrating that self-adapting agents with continual learning and global memory consolidation can meaningfully evolve their capabilities over time.