ScienceBuddy: Recursive-in-Recursive Self-Improvement for Interactive Scientific Agents

Shuhan Xue, Jianyuan Zhong, Ziyuan Nan, Wenbin Li, Zhaochen Yu, Jinchao Ding, Qiang Gao, Pengyu Zhan, Yuntong Zhang, Tian Cheng, Zhenfei Yin, Yingcheng Wu, Ling YangarXiv 2026

TL;DR

ScienceBuddy introduces an interactive scientific workspace featuring AI agents that continually self-improve through everyday researcher collaboration. By decoupling an agent into an editable procedural "harness" and an underlying "task model," its novel Recursive-in-Recursive (RinR) paradigm alternates between optimizing tool-use strategies and executing reinforcement learning, drastically broadening the agent's scientific problem-solving capabilities.

What Problem Does This Paper Address?

While Large Language Model (LLM) agents are increasingly capable of assisting with scientific workflows—like querying databases, reading literature, and running code—they are typically static. When a researcher interacts with an agent and corrects its mistakes during a session, that feedback is trapped within that specific conversation history. The agent does not actually learn or update its underlying capabilities for future, independent tasks.

The authors address a fundamental question: How can a scientific agent turn everyday collaboration with human researchers into sustained, long-term improvements in both its working procedures and its core model weights?

Methods

The authors introduce ScienceBuddy, a persistent, multimodal workspace where researchers can upload data, run analyses, and chat with an AI agent.

At the core of ScienceBuddy's continuous evolution is the Recursive-in-Recursive (RinR) Self-Improvement framework, which splits the agent into two components: a pluggable Task LLM (the model weights) and an editable Agent Harness (instructions, skills, and context-management procedures).

The Recursive-in-Recursive (RinR) self-improvement architecture coupling harness evolution and model training.

The self-improvement process operates via two nested loops:

  1. Inner Recursion (Harness Refinement): The task model is held fixed. A separate, fixed auxiliary model (GPT-6 Astra) analyzes recent interaction traces and rubric failures to propose bounded edits to the harness (e.g., creating a new Python skill or adjusting prompt instructions). These edits are only accepted if they improve performance on a paired development evaluation.
  2. Outer Recursion (Model Learning): The newly optimized harness is held fixed. The task model undergoes reinforcement learning via Group Relative Policy Optimization (GRPO). It learns from fresh on-policy rollouts, guided by task-adaptive rubric rewards automatically derived from the researcher's original collaboration data.

This dual-loop optimization runs asynchronously in the background, meaning the agent continues to serve the researcher online while learning from past experiences.

Datasets

To evaluate ScienceBuddy, the authors compiled a collection of 895 scientific tasks spanning 16 subtopics across four major task families derived from LAB-Bench and Biomni-Eval1:

  • LitQA2: Scientific literature reading and question answering (96 tasks).
  • DbQA: Database queries and judgments (511 tasks across 10 subtopics, including disease-gene associations, miRNA targets, and variant annotations).
  • ProtocolQA: Experimental protocol troubleshooting (108 tasks).
  • GWAS: Genome-wide association studies and variant prioritization (180 tasks).

Key Insights and Ideas

  • Decoupling Software from Brains: Separating the agent's harness (how it interacts with tools and structures context) from the model's policy weights allows for targeted, interpretable debugging. The inner loop fixes the "software" instructions, while the outer loop upgrades the "brain" intelligence.
  • Dialogue as a Supervision Signal: Instead of relying on static, expert-annotated training sets, ScienceBuddy dynamically converts researcher dialogue, feedback, and artifacts into executable "Harbor tasks" and custom evaluation rubrics.
  • Bidirectional Synergy: Harness evolution shapes the training trajectories and calibrates task difficulty for the model. Conversely, model updates change the baseline effectiveness of inherited procedures, opening up new opportunities for the next cycle of harness adaptation.

Key Results

Using a relatively small base model (Qwen3.5-4B) and running three successive RinR co-evolution cycles, the framework achieved remarkable gains:

  • Overall Performance: Single-attempt test accuracy across all scientific task families jumped from 42.2% to 73.3%.
  • Harness Adaptation Alone: With model weights completely fixed, optimizing the harness over 24 adaptation batches boosted validation accuracy from 31.1% to 51.1% (+20 percentage points).
  • Model Learning Alone: With the harness fixed, GRPO reinforcement learning expanded the model's problem coverage (measured by pass@4) from 48.3% to 67.8% (+19.5 percentage points).

Limitations and Future Work

  • Fixed Meta-Optimizer: The auxiliary model (the "reflector" that diagnoses and edits the harness) remains fixed. True recursive self-improvement would involve the agent also improving its own optimization mechanism over time.
  • Ablation Granularity: While the combined effect of successive procedural revisions was highly successful, the specific contributions of individual learned skills or specific feedback sources were not isolated.
  • Domain Specificity: Although the workspace infrastructure is generalizable, ScienceBuddy's current toolset (224 tools) and data lake are heavily specialized for biomedicine. Expanding this to other hard sciences like chemistry or physics remains future work.

Summary updated

BibTeX
@misc{xue2026sciencebuddy,
  author = {Shuhan Xue and Jianyuan Zhong and Ziyuan Nan and Wenbin Li and Zhaochen Yu and Jinchao Ding and Qiang Gao and Pengyu Zhan and Yuntong Zhang and Tian Cheng and Zhenfei Yin and Yingcheng Wu and Ling Yang},
  title = {{ScienceBuddy: Recursive-in-Recursive Self-Improvement for Interactive Scientific Agents}},
  year = {2026},
  eprint = {2609.17523},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.17523},
}
Figure