HyperAIHyperAI

Command Palette

Search for a command to run...

ScienceBuddy:対話型科学エージェントの再帰的セルフ・インプルーブメント

概要

我々は、研究者の日常的なワークフローに継続的に改善される科学エージェントを統合する、対話型科学研究ワークスペースであるScienceBuddyを紹介し、公開する。ScienceBuddyは、研究者が科学的タスクを遂行するのを支援すると同時に、彼らのリクエスト、フィードバック、および実行証跡を、継続学習のためのタスクと評価ルーブリックに変換する。その中核となるのは「再帰の中の再帰」による自己改善パラダイムであり、これはハーネス進化とモデルの強化学習を組み合わせたものである:内側の再帰はモデルを固定したままハーネスを改善し、外側の再帰は改善されたハーネスの下でモデルを訓練する。ハーネス進化は訓練経験を形成し、モデル学習はハーネス適応の新たな機会を生み出す。我々は、研究者との相互作用、ハーネスの改良、モデル学習のケーススタディを提示し、ベンチマークケースは4つの科学タスクファミリーにわたる。ScienceBuddyを研究製品として公開することで、このパラダイムを科学コミュニティに提供し、発見インテリジェンス(研究者との持続的な協働を通じて進歩し、支援する研究とともに進化する科学的AI)に向けた一歩を踏み出す。

One-sentence Summary

Researchers from phai-labs introduce ScienceBuddy, an interactive scientific workspace that enables continually improving agents through recursive-in-recursive\text{recursive-in-recursive}recursive-in-recursive self-improvement, coupling harness evolution with model reinforcement learning to transform feedback into tasks and evaluation rubrics, with case studies spanning four scientific task families and advancing discovery intelligence.

Key Contributions

  • Introduces and releases ScienceBuddy, an interactive scientific research workspace that connects researcher dialogue, executable analysis, inspectable artifacts, and a pluggable harness, making the paradigm available to the scientific community.
  • Presents recursive-in-recursive self-improvement, a co-design paradigm coupling evaluated harness evolution with rubric-supervised model reinforcement learning, where the reflector remains fixed to isolate each improvement mechanism.
  • Case studies across four scientific task families show harness refinement improves first-response accuracy on feedback-accessible tasks, while model learning expands problem coverage under a fixed harness, with evidence of broader problem coverage and improved task execution.

Introduction

Scientific research relies on iterative analysis, inspection, and revision, and language model agents can support this by retrieving evidence, querying databases, and running computational workflows. However, while correcting answers within a conversation helps individual tasks, it does not systematically improve an agent’s broader procedures or capabilities. Prior work has explored reflection, harness optimization, and interaction-driven adaptation, but these methods typically treat procedural or model learning in isolation, leaving a gap in how collaboration itself can supply the tasks and assessment criteria for coordinated, sustained improvement.

The authors introduce ScienceBuddy, an interactive scientific research workspace that enables continual learning from researcher collaboration. The system separates an editable harness, which organizes behavior through instructions and skills, from the scientific infrastructure, making procedural changes explicit and evaluable. The key contribution is a recursive-in-recursive self-improvement paradigm: an inner loop uses a fixed auxiliary model to diagnose failures and propose bounded edits to procedures, while an outer loop trains the task model on fresh rollouts with rubric-based rewards. This bidirectional coupling allows harness revisions to shape training trajectories and model updates to alter procedure effectiveness, creating a cycle where improved systems return to researchers for further interaction. Case studies across four task families from LAB-Bench and Biomni-Eval demonstrate gains in first-response accuracy and problem coverage, releasing ScienceBuddy as a shared workspace for scientific assistance and capability evolution.

Method

ScienceBuddy functions as an interactive scientific research workspace that integrates evidence access, computational analysis, and methodological guidance into a single conversational workflow. The system architecture separates the agent harness from the underlying infrastructure. The harness manages instructions, skills, and context management procedures, while the infrastructure handles researcher interactions, task execution, and persistent storage. This modularity allows the system to revise scientific problem-solving procedures explicitly while keeping the execution environment consistent.

As shown in the figure below, the workspace supports a recursive-in-recursive self-improvement process. Researchers submit questions and data, which the agent processes through a ReAct-style reasoning loop involving code execution and tool usage. The resulting trajectories and artifacts serve as diagnostic evidence for system updates.

The system formalizes researcher interactions to generate learning signals. Let xxx denote a research request, πθ\pi_\thetaπθ the task model, and HHH the harness. The joint policy μθ,H\mu_{\theta, H}μθ,H determines actions ata_tat based on the history hth_tht and harness context CH(ht)C_H(h_t)CH(ht).

μθ,H(aht)={δdH(ht)(a),if a harness action is scheduled,πθ(aCH(ht)),otherwise,\mu_{\theta, H} (a \mid h_t) = \begin{cases} \delta_{d_H(h_t)}(a), & \text{if a harness action is scheduled,} \\ \pi_\theta(a \mid C_H(h_t)), & \text{otherwise,} \end{cases}μθ,H(aht)={δdH(ht)(a),πθ(aCH(ht)),if a harness action is scheduled,otherwise,

Collaboration records are transformed into self-contained Harbor tasks and evaluation rubrics. This process consolidates related turns into a scientific objective, deriving criteria for correctness and methodology from the full trajectory rather than relying solely on expert annotation.

Refer to the framework diagram illustrating the task derivation process.

These tasks package instructions, assets, execution environments, and rubrics, supporting both Supervised Fine-Tuning via rejection sampling and Reinforcement Learning via on-policy rollouts.

The workspace supports multimodal inputs, allowing researchers to supply documents, biological sequences, and images alongside natural language requests.

As shown in the figure below, an uploaded diagram can guide the identification of molecular targets and the organization of related knowledge, with the interface connecting visual interpretation to structured evidence tables.

The system facilitates long-context agentic reasoning, where successive image-based requests direct target analysis across a continuing session. The agent interprets images through reasoning and retrieval, resuming sessions with prior exchanges available.

Refer to the figure below demonstrating long-context reasoning.

Researchers can also inspect the agent's work beyond conversational input. By switching to the Trajectory view and selecting specific tool events, users can examine metadata, inputs, and outputs to verify the basis of the agent's responses.

As shown in the figure below, these controls allow for detailed inspection of the execution history.

The training process couples harness adaptation with model updates through nested recursion. In the inner recursion, the task model parameters θk\theta_kθk remain fixed. A fixed auxiliary model analyzes recent trajectories and rubric evaluations to identify unmet criteria. It proposes bounded procedural edits to the harness HHH, such as revising a skill or instruction:

H~k,j+1=U(Hk,j,Ek,j;θk)\widetilde{H}_{k, j+1} = U(H_{k, j}, E_{k, j}; \theta_k)Hk,j+1=U(Hk,j,Ek,j;θk)

Candidates are accepted only if they satisfy edit constraints and improve the mean normalized rubric score Sˉk\bar{S}_kSˉk on development tasks:

Hk,j+1={H~k,j+1,Valid(H~k,j+1)Δk,j>0,Hk,j,otherwise.H_{k, j+1} = \begin{cases} \widetilde{H}_{k, j+1}, & \text{Valid}(\widetilde{H}_{k, j+1}) \land \Delta_{k, j} > 0, \\ H_{k, j}, & \text{otherwise.} \end{cases}Hk,j+1={Hk,j+1,Hk,j,Valid(Hk,j+1)Δk,j>0,otherwise.

In the outer recursion, once a harness is selected, the system calibrates environment difficulty and generates fresh rollouts. The reward signal is derived from the task-specific rubric C(x)C(x)C(x):

Rx(τ)=cC(x)wc(x)vc(x,τ)cC(x)wc(x)R_x(\tau) = \frac{\sum_{c \in C(x)} w_c(x) v_c(x, \tau)}{\sum_{c \in C(x)} w_c(x)}Rx(τ)=cC(x)wc(x)cC(x)wc(x)vc(x,τ)

The task model is updated using GRPO to maximize the expected trajectory reward:

maxθJk(θ)=ExqkEτπθ,Hk(x)[Rx(τ)]\max_\theta J_k(\theta) = \mathbb{E}_{x \sim q_k} \mathbb{E}_{\tau \sim \pi_{\theta, H_k^\star}(\cdot | x)} [R_x(\tau)]θmaxJk(θ)=ExqkEτπθ,Hk(x)[Rx(τ)]

After the model update θk+1\theta_{k+1}θk+1, the harness and model are re-evaluated and deployed together, initiating the next cycle of researcher interaction and improvement.

Experiment

Four case studies evaluate ScienceBuddy through separate research questions: researcher interaction, coupled recursive-in-recursive improvement, harness adaptation, and model learning. Real researcher requests show how feedback translates into task objectives and evaluation criteria, enabling trajectory-derived rubrics. Across three co-evolution cycles alternating harness refinement and reinforcement learning, overall test accuracy rises from 42.2% to 73.3%, with gains across all task families and more previously incorrect problems becoming correct. Holding model weights fixed, harness adaptation improves validation accuracy by 20 percentage points; holding the harness fixed, model learning increases problem coverage from 48.3% to 67.8%, confirming both mechanisms independently broaden scientific task performance.


AIでAIを構築

アイデアからローンチまで — 無料のAIコーディング支援、すぐに使える環境、最高のGPU価格でAI開発を加速。

AI コーディング補助
すぐに使える GPU
最適な料金体系

HyperAI Newsletters

最新情報を購読する
北京時間 毎週月曜日の午前9時 に、その週の最新情報をメールでお届けします
メール配信サービスは MailChimp によって提供されています