betaFeedback

WorksComputer Science

Pro2^2 Agent: Scientific Problem Probing for Autonomous AI R&D

Abstract

Large language model (LLM) agents can now autonomously conduct AI research by writing code and running experiments. They typically do so by iteratively optimizing a codebase, while ignoring the problem structure behind the task. This formulation is effective on simpler tasks, but on difficult problems it often gets stuck in the wrong solution region because the agent never explicitly represents its understanding of the problem. We introduce Pro2^2 Agent, which shifts the primary state of autonomous AI research from a codebase state to a Problem State: an explicit structure of what problems prevent success and which solutions are likely to address them. Pro2^2 Agent initializes the Problem State through comprehensive analysis of available resources and constraints. It then performs targeted research to relate the identified problems to candidate solutions. Through controlled hypothesis testing, the agent updates the importance of a suspected problem or the benefit brought by a candidate solution. On the complete MLE-Bench, Pro2^2 Agent matches the best reported medal rate (70.7%) under the standard 24-hour budget and reaches 76.0% with a 48-hour budget, the highest medal rate reported on the complete benchmark. It also achieves competitive performance on PostTrainBench. In addition, it produces research notes for each task that make the research process transparent and reusable by human researchers.

Introduction

Recent advances in large language models (LLMs) have transformed code generation from simple completion into autonomous software engineering. Agents can now operate developer tools, modify repositories, and resolve real-world software issues [15] (Wang et al. 2025; Yang et al. 2024). This progress has motivated growing interest in applying agents to autonomous AI research, including end-to-end developing machine learning (ML) models, LLMs, and their training recipes [1] (Rank et al. 2026; Starace et al. 2025; Tian et al. 2024; Wijk et al. 2024). However, AI research poses challenges beyond software engineering. It relies on expensive and stochastic training with an entire system [1, 2] (Rank et al. 2026; Toledo et al. 2026) rather than software whose correctness can be verified by unit tests. An effective AI research agent must navigate the optimization landscape through evaluation and identify directions for improvement behind functional code.

Most existing AI research agents address this challenge by formulating model development as search or optimization over candidate code solutions [2, 9, 12, 14] (Nam et al. 2026; Toledo et al. 2026; Yang et al. 2025). AIDE [14] organizes generated scripts into a solution tree and repeatedly applies drafting, debugging, and improvement operations to promising nodes. AIRA-dojo (Toledo et al., 2026) generalizes this formulation by separating the search policy from the operations that each search can make, enabling controlled comparisons among search/operation strategies. MLE-STAR (Nam et al., 2026) strengthens the initial solution through web search, then uses ablation studies to identify influential code components. nents for targeted refinement. MARS (Chen et al., [2]) extends code search to modular repositories and introduces budget-aware planning and comparative reflective memory for long-running AI research. Other systems use case retrieval, hierarchical agent coordination, or agentic tree search to improve solution generation and execution (Guo et al., [9]; Yamada et al., 2025; Zhang et al., 2026a). Despite these differences, their primary research state remains centered on the current codebase, its evaluation score, and the history of previous modifications.

A codebase state is necessary for autonomous AI research, but it provides only a partial view of the research process. It records what has been implemented, how the current solution performs, and which modifications have already been attempted. However, it does not explicitly capture the agent’s evolving understanding of why the task remains difficult. As a result, the agent may repeatedly propose locally reasonable code changes while staying within the wrong solution region. In this case, the experimental result is used only to accept or reject a code change, without updating a higher-level explanation of the problem. Figure 1 illustrates this distinction: codebase-centered agents iterate directly between code modification and code testing, whereas a problem-centered agent runs experiments to provide evidence for hypotheses and update its understanding of the problem before deciding what to implement next.

From codebase state to problem state

Figure 1. From codebase state to problem state. Existing AI research agents (gray) mainly iterate between code modification and code testing, using experimental results to select better implementations. Pro2 Agent (full loop, including the blue and purple components) maintains an explicit understanding of the problem and uses experiments to do hypothesis testing to update this understanding and guide future implementations.

We introduce Pro2 Agent, where Pro2 stands for Problem Probing. Its central idea is to make the agent’s understanding of the problem a first-class state of autonomous AI research. We define the Problem State as an explicit representation of what may be limiting performance, which candidate solutions are likely to address it, and their confidence obtained from literature or hypothesis testing. This changes the role of experimentation. Instead of directly searching for the next code modification, Pro2 Agent uses experiments to test and revise its understanding of the problem. The updated Problem State then guides solution design, allowing the agent to combine evidence-supported treatments for the most important problems into a strong initial solution and to focus later iterations on the remaining uncertainty. In this way, Problem Probing turns a sequence of local code improvements into a directed research process: the agent first determines what needs to be solved, then tests how it should be solved, and only then commits the supported decisions to implementation and optimization.

This formulation provides two practical advantages. First, Pro2^2 Agent constructs substantially stronger initial solutions by grounding each major design choice in an explicit understanding of the problem rather than in the language model’s immediate preference. Second, it uses hypothesis-driven experiments to reduce uncertainty in the Problem State, directing compute toward a small number of scientifically distinct decisions instead of many local code modifications. On the complete MLE-Bench, Pro2^2 Agent achieves a 76.0% medal rate with a 48-hour budget and 70.7% with the standard 24-hour budget. On challenging tasks, it reaches medal-level performance within five high-quality scientific iterations, while MARS typically evaluates more than 70 repository variants without consistently reaching comparable scores.2 On PostTrainBench, Pro2^2 Agent, which uses Gemini 3.5 Flash for implementation and Gemini 3.1 Pro as the supervising PI agent, achieves performance comparable to Claude Code powered by Opus 4.7. These results suggest that stronger autonomous AI research depends not only on deeper solution search or more expensive models, but also on maintaining and continuously improving an explicit understanding of the problem.

Our contributions are threefold:

  1. We introduce the Problem State, an explicit representation of the agent’s understanding of performance-limiting problems, supporting evidence, candidate solutions, and confidence.

  2. We develop Pro2^2 Agent, which performs scientific Problem Probing to construct and update the Problem State through evidence and controlled hypothesis testing, then uses it to guide solution design and engineering optimization.

  3. We evaluate Pro2^2 Agent on MLE-Bench and PostTrainBench, showing stronger initial solutions, rapid convergence with a small number of scientific iterations, a 76.0% (48-hour) and 70.7% (24-hour) medal rate on the complete MLE-Bench, and performance comparable to Claude Code with Opus 4.7 while using Gemini 3.5 Flash as the implementation model.

Related Work

Automated AI model development. Traditional automated machine learning methods reduce human effort by searching over predefined model families, architectures, features, and hyperparameters [5] (He et al. 2021; Olson et al. 2016; Thornton et al. 2013). While effective within well-specified search spaces, these methods depend on human expertise to define the candidate space and cannot readily introduce new algorithms or modify complete training systems. Recent large language model agents instead search directly over executable code. AIDE organizes candidate scripts in a solution tree and applies drafting, debugging, and improvement operators to promising nodes [14]. AIRA-dojo separates the operators that generate solutions from the search policies that select them, enabling systematic comparisons of greedy, evolutionary, and Monte Carlo tree search (Toledo et al., 2026). AIRA2^2 further improves experiment throughput, evaluation consistency, and interactive implementation through asynchronous workers and ReAct-based operators [10]. Other systems separate research planning from implementation, coordinate specialized agents, or maintain multiple solution trajectories (Team et al., 2025; Yang et al., 2025; Zhang et al., 2026a). These approaches substantially improve autonomous AI model development, but their main search objects remain candidate implementations and their measured performance.

Knowledge-grounded and long-horizon solution search. Several AI research agents improve code search using external knowledge, structured memory, or finer search operators. MLE-STAR retrieves task-relevant models from the web to construct its initial solution, then applies ablation-guided refinement to influential code components (Nam et al., 2026). AutoMLGen combines a curated domain knowledge base with Monte Carlo Graph Search to reuse information across solution trajectories (Du et al., 2025), while KAPSO organizes external documents, repositories, implementation knowledge, and experimental lessons into a retrievable knowledge system (Nadafian et al., 2026). AIBuildAI-2 maintains an evolving hierarchical knowledge base that grounds model design and implementation decisions in externally verifiable sources (Zhang et al., 2026b). ML-Master and ML-Master 2.0 focus on accumulating and selecting useful experience over long research horizons [19] (Zhu et al. 2026). MARS searches over modular repositories using budget-aware planning and comparative reflective memory, allowing lessons derived from code and performance differences to guide later solution refinement [2]. These methods improve the information available to solution search. In contrast, Pro2^{2} Agent uses external evidence to construct a task-specific model of the problems that must be solved, rather than retrieving knowledge only to propose or refine code.

Hypothesis-driven autonomous AI research. A broader line of work aims to automate the scientific process beyond model optimization. The AI Scientist and AI Scientist-v2 generate research ideas, execute experiments, and produce scientific manuscripts, with the latter using agentic tree search to manage experimental branches (Lu et al., 2024; Yamada et al., 2025). CodeScientist combines scientific literature and executable code through genetic search to generate and evaluate research ideas [13]. InternAgent and InternAgent-1.5 organize autonomous discovery around hypothesis generation, verification, evolution, and long-horizon memory [6] (Team et al. 2025). PiFlow views scientific discovery as principle-guided uncertainty reduction (Pu et al., 2025), while OR-Agent represents branching research hypotheses and experimental refinements in a structured research tree [18]. AutoScientists allows multiple agents to interpret a shared experimental state and organize around promising hypotheses [8]. SAGE focuses on recovery from failed experiments by maintaining multiple causal explanations and testing them through structured failure attribution (Ma et al., 2026).

These systems make hypotheses and experiments more explicit, but generally begin with research ideas or observed experimental failures rather than first constructing a complete representation of what limits performance in the given AI research task.

Explicit research states and evidence-based belief revision. Very recent work has begun to externalize scientific reasoning as a persistent state. Arbor introduces Hypothesis Tree Refinement, in which a global research state links hypotheses, executable artifacts, experimental evidence, and reusable insights [16]. Its coordinator updates the tree and selects hypotheses, while isolated executors implement and evaluate individual interventions. The Hypothesis Evolution Protocol maintains hypotheses in an auditable registry, associates each hypothesis with evidence and a belief probability, and supports explicit transitions among proposed, supported, refuted, and dormant states (Takahara and Mizoguchi, 2026). These methods are closely related to Pro2^{2} Agent in treating experiments as evidence for updating a higher-level state rather than only as scores for selecting code. However, their state is centered on hypotheses that have already been proposed and the experimental trajectories that test them. Pro2^{2} Agent instead begins with Problem Probing: before solution search, it constructs a Problem State that represents the performance-limiting problems in the task, the evidence for each problem, the candidate solutions associated with it, and the evidence and confidence supporting each solution. The Problem State is first used to synthesize a strong initial solution and is then revised through controlled hypothesis testing. Thus, Pro2^{2} Agent connects problem diagnosis, solution construction, and iterative experimentation within a single problem-centered representation.

Method

We present Pro2^{2} Agent, an autonomous research agent system designed to advance AI research through explicit problem state modeling and hypothesis-driven experimentation. We also integrate a multi-agent design in the system to ensure its implementation capability. We start from formulating the Problem State in § 3.1, and then introduce the three-phase framework in § 3.2, finally dive into the details of the multi-agent collaboration in § 3.3.

Problem Formulation

Formally, traditional AI research agents frame automated model development as code-space optimization: finding an optimal executable script m∗=arg⁡max⁡m∈Mh(m)m^* = \arg\max_{m \in\mathcal{M}} h(m), where M\mathcal{M} denotes the space of valid code implementations and h(⋅)h(\cdot) is a performance metric evaluated on a validation set.

In Pro2^2 Agent, we redefine the primary state of autonomous AI research from a pure codebase representation to a structured Problem State StS_t. At any research step tt, the Problem State represents the agent’s explicit, evolving understanding of the task constraints, performance bottlenecks, candidate solutions, and associated empirical evidence. We express the Problem State as a nested structure:

St={(Pi,Eip),{Ci,j,bi,j,Ei,jc}j=1Li}i=1K(1)S_t = \left\{ (P_i, E_i^p), \left\{ C_{i,j}, b_{i,j}, E_{i,j}^c \right\}_{j=1}^{L_i} \right\}_{i=1}^{K} \tag*{(1)}

where PiP_i denotes the ii-th identified performance-limiting problem, and EipE_i^p represents its supporting evidence derived from diagnostic profiling. For each problem PiP_i, the agent maintains a list of LiL_i candidate solutions Ci,jC_{i,j}, each assigned a dynamic belief confidence score bi,j∈[0,1]b_{i,j} \in[0, 1] and backed by a solution evidence set Ei,jcE_{i,j}^c compiled from literature or empirical execution traces.

Universal Git-Backed Infrastructure. Crucially, every instance of the Problem State StS_t maintains a one-to-one physical mapping with an executable codebase snapshot Mt∈MM_t \in\mathcal{M}. To guarantee absolute workspace isolation and prevent state corruption during execution failures, Pro2^2 Agent grounds its operational execution on a Git Version Control System (VCS) infrastructure. Both the scientific research phase and the engineering optimization phase manage their exploration graph via isolated Git branches, enabling deterministic rollback upon refutation and seamless state recovery.

Pro2^2 Agent Framework

The full conceptual framework of the agent system is illustrated in Figure 2.

Overview of the Pro² Agent Framework

Figure 2. Overview of the Pro² Agent Framework. Pro² Agent couples an explicit Problem State with a Git-backed Execution Sandbox across three phases: Initialization builds the initial problem state and modular baseline; Scientific Exploration tests single-variable hypotheses and updates evidence-backed beliefs; Engineering Optimization performs cost-aware MCTS over engineering configurations while preserving the validated architecture.

Problem State Initialization

The initialization phase constructs the initial Problem State S0S_0 and establishes a robust, modular baseline snapshot M0M_0 through systematic environment probing, literature synthesis, and physical execution validation.

Rather than relying on static metadata, Pro2^2 Agent first conducts dynamic runtime profiling via interactive execution probes inside the sandbox. By running lightweight diagnostic scripts on high-dimensional raw tensors, the framework extracts actual processing latencies, memory footprints, and domain-specific structural signals, including visual diagnosis for multimodal tasks. These empirical measurements are extrapolated mathematically to the full dataset scale against strict compute bounds, proactively unearthing execution bottlenecks {Pi}i=1K\{P_i\}_{i=1}^{K} such as out-of-memory risks or I/O starvation.

Concurrently, Pro2^2 Agent performs a bottleneck-conditioned literature review to seed its initial domain belief bank. By mapping identified physical constraints {Pi}i=1K\{P_i\}_{i=1}^{K} to targeted web and academic search queries, the system retrieves state-of-the-art architectures, domain-specific augmentations, and specialized loss functions. Each retrieved solution is structured into candidate hypotheses enriched with literature references and initial belief scores bi,jb_{i,j}, forming the grounded baseline blueprint and completing the initial Problem State S0S_0.

Guided by S0S_0, Pro2^2 Agent constructs the modular baseline M0M_0 under strict security and profiling constraints. To prevent target leakage and self-grading manipulation, validation evaluation is completely decoupled outside of the experiment sandbox as an HTTP grading service backed by isolated ground-truth labels. Furthermore, before committing M0M_0 to the primary Git branch, the framework executes a sanity-check trial on mini-batches to profile runtime health across memory consumption, GPU compute efficiency, and loss stability. Once verified under these operational health gates, the baseline M0M_0 is fully executed and committed as the reference anchor for subsequent scientific exploration. The mechanism penalizes repetitive failures on a single bottleneck and forces the framework to broaden its search horizon.

Scientific Exploration Phase

Once S0S_0 and M0M_0 are established, Pro² Agent enters an iterative scientific exploration phase, organized as a resource-bounded best-first search over a tree of hypothesis branches Tsci\mathcal{T}_{sci} (Algorithm 1). At each iteration tt, the system identifies a target problem PkP_k from Stage 1 alongside a relevant domain belief to propose a quantitative, atomic hypothesis Ht=(Pk,Ck,m,Δmt)\mathcal{H}_t = (P_k, C_{k,m}, \Delta m_t), establishing an expected target metric improvement δtarget\delta_{target} relative to the current baseline. To balance exploration and exploitation across under-investigated bottlenecks, candidate hypotheses in the scientific queue are prioritized using a frequency-penalized score:

Pri⁡(Ht)=bk,mN(Pk)+1(2)\operatorname{Pri}(\mathcal{H}_t) = \frac{b_{k,m}}{N(P_k)+1} \tag*{(2)}

where bk,mb_{k,m} denotes the associated belief score and N(Pk)N(P_k) counts the historical exploration attempts targeting problem PkP_k. This mechanism penalizes repetitive failures on a single bottleneck and forces the framework to broaden its search horizon.

To preserve scientific attribution, Pro² Agent strictly enforces single-variable control at both code and architecture levels. Upon selecting the highest-priority hypothesis Ht\mathcal{H}_t, the system branches an isolated version-controlled environment hypothesis/H_t from the current best-performing parent node MbestM_{best} in Tsci\mathcal{T}_{sci}. The framework then applies the minimal code mutation Δmt\Delta m_t and rigorously verifies that the modification strictly adheres to single-variable isolation, rejecting any updates that simultaneously introduce confounding variables unless they are necessary (e.g., batch size or learning rate for another model backbone). Once verified, Mt+1=Mbest⊕ΔmtM_{t+1} = M_{best} \oplus\Delta m_t is executed under strict resource watchdogs and a blind grading interface to prevent data leakage.

Following execution, Pro² Agent performs a post-hoc qualitative debriefing by evaluating execution telemetry, loss curves, and actual performance gains Δh\Delta h. The update logic operates on dual fronts depending on the experimental outcome:

  • Supported Hypothesis (Δh≥δtarget\Delta h \geq\delta_{target}): The

Algorithm 1 Scientific Exploration (Phase 2)

Require: Problem State S0S_0, baseline M0M_0, budget BB

  1. Mbest←M0M_{\mathrm{best}} \leftarrow M_0; Q←Q \leftarrow candidate hypotheses from S0S_0; N(Pk)←0 ∀kN(P_k) \leftarrow0\ \forall k

  2. while budget remains and Q≠∅Q \ne\varnothing do

  3. Ht=(Pk,Ck,m,Δmt)←arg max⁡H∈QPri⁡(H)\mathcal{H}_t = (P_k, C_{k,m}, \Delta m_t) \leftarrow\operatorname*{arg\,max}_{\mathcal{H}\in Q} \operatorname{Pri}(\mathcal{H}); remove Ht\mathcal{H}_t from QQ

  4. N(Pk)←N(Pk)+1N(P_k) \leftarrow N(P_k)+1

  5. Branch hypothesis/Ht\mathcal{H}_t from MbestM_{\mathrm{best}}; implement Δmt\Delta m_t

  6. Reviewer checks single-variable isolation; revise until approved or fall back

  7. Execute Mbest⊕ΔmtM_{\mathrm{best}} \oplus\Delta m_t and measure Δh\Delta h

  8. if Δh≥δtarget\Delta h \ge\delta_{\mathrm{target}} then

  9. Mbest←Mbest⊕ΔmtM_{\mathrm{best}} \leftarrow M_{\mathrm{best}} \oplus\Delta m_t; bk,m←min⁡(1,bk,m+Δbpos)b_{k,m} \leftarrow\min(1,b_{k,m}+\Delta b_{\mathrm{pos}})

  10. else

  11. Roll back to MbestM_{\mathrm{best}}; bk,m←max⁡(0,bk,m−Δbneg)b_{k,m} \leftarrow\max(0,b_{k,m}-\Delta b_{\mathrm{neg}})

  12. Update StS_t with distilled insights; re-score pending hypotheses in QQ

  13. return Mbest,StM_{\mathrm{best}}, S_t

branch hypothesis/Ht\mathcal{H}_t is retained as a new valid node in Tsci\mathcal{T}_{\mathrm{sci}} and updates MbestM_{\mathrm{best}}. The underlying belief score is reinforced via bk,m←min⁡(1.0,bk,m+Δbpos)b_{k,m} \leftarrow\min(1.0,b_{k,m}+\Delta b_{\mathrm{pos}}), where Δbpos>0\Delta b_{\mathrm{pos}}>0.

  • Falsified or Unstable Hypothesis (Δh<δtarget\Delta h < \delta_{\mathrm{target}} or Crash): The branch hypothesis/Ht\mathcal{H}_t is physically purged via a hard VCS rollback to MbestM_{\mathrm{best}}. The belief score is penalized via bk,m←max⁡(0.0,bk,m−Δbneg)b_{k,m} \leftarrow\max(0.0,b_{k,m}-\Delta b_{\mathrm{neg}}), where Δbneg>0\Delta b_{\mathrm{neg}}>0.

Beyond updating the static belief bank, the framework distills post-hoc insights into a contextual summary that actively propagates through the unexecuted queue. By re-evaluating and adjusting the belief scores of remaining pending hypotheses based on newly acquired attribution feedback, Pro2^2 Agent dynamically redirects its priority-guided search.

Engineering Optimization Phase

Upon concluding the scientific exploration phase, Pro2^2 Agent transitions to fine-grained engineering optimization to maximize performance from the best validated ML pipeline. This phase models hyperparameter tuning, execution optimization, and model ensembling as a classical Monte Carlo Tree Search (MCTS) operating over a symmetric Git-branch tree structure. Rooted at the optimal scientific snapshot MbestM_{\mathrm{best}}, each child node NkN_k evolves on an isolated branch engNk\mathrm{eng}_{N_k}, guaranteeing physical reproducibility across competing engineering configurations.

To prevent regression or unverified structural mutations during hyperparameter search, Pro2^2 Agent enforces an audit firewall that guarantees strict pipeline invariance:

C(Diff⁡(Mroot,Mchild))∩{MODEL,ALGO,DATA}=∅(3)\mathcal{C}\left(\operatorname{Diff}(M_{\mathrm{root}},M_{\mathrm{child}})\right)\cap\{\mathrm{MODEL},\mathrm{ALGO},\mathrm{DATA}\}=\varnothing \tag*{(3)}

where C(⋅)\mathcal{C}(\cdot) maps a code diff to the set of pipeline components it modifies, as determined by the Reviewer Agent. The system restricts modifications strictly to engineering variables, such as learning-rate schedules, batch sizes, weight decay, and ensemble weights. It rejects any candidate diff that tampers with model architecture, algorithm design, and data representation.

The tree search navigates the engineering space using the Upper Confidence Bound for Trees (UCT) criterion to balance exploration and exploitation. Candidate nodes are evaluated using a cost-aware reward function R(Nk)R(N_k) that penalizes computational overhead:

R(Nk)=Δh(Nk)−γln⁡(Texec(Nk))(4)R(N_k)=\Delta h(N_k)-\gamma\ln\left(T_{\mathrm{exec}}(N_k)\right) \tag*{(4)}

where Δh(Nk)=h(Mk)−h(Mroot)\Delta h(N_k)=h(M_k)-h(M_{\mathrm{root}}) represents the validation performance gain relative to the root node (with metrics oriented so that higher is better), Texec(Nk)T_{\mathrm{exec}}(N_k) is the execution duration in seconds, and γ>0\gamma>0 is a calibrated penalty weight. This logarithmic cost penalty suppresses computationally wasteful configurations that yield marginal accuracy gains. Upon reaching the allocated engineering budget, the trajectory with the highest validation performance is automatically merged back into the primary Git branch as the final reference model.

The Tripartite Multi-Agent Loop

While the high-level framework governs strategic exploration, executing reliable codebase modifications requires strong engineering implementations. We propose a multi-agent loop to ensure engineering needs can be successfully fulfilled without any omission, non-compliance, and cheating. It is invoked for 1) interactive probing (phase 1), 2) baseline construction (phase 1), 3) hypothesis implementation (phase 2), and 4) engineering improvement (phase 3). As illustrated in Figure 3, Pro2^{2} Agent establishes a tripartite governance architecture comprising three specialized roles: the Principal Investigator (PI) Agent (API\mathcal{A}_{PI}), the Implementation Agent (Aimp\mathcal{A}_{imp}), and the Reviewer Agent (Arev\mathcal{A}_{rev}). The PI Agent acts as a supervisor that maintains the Problem State, formulates experimental goals alongside time budgets, and provides continuous runtime supervision by inspecting the execution trajectory every 10 steps. The Implementation Agent functions as an engineer inside a sandboxed environment, iterating through a ReAct loop (Reasoning, Acting, and Observing) equipped with file and diagnostic tools to implement code mutations and resolve errors. To enforce scientific rigor, all modified code must pass through the Reviewer Agent before launching full experiments. In Phase 2, the Reviewer enforces single-variable isolation; in Phase 3, it guards against unauthorized mutations to core scientific modules. If an implementation fails audit or encounters unresolvable blockers, structured rejection feedback (Request Revision

Tripartite Multi-Agent Loop

Figure 3. Tripartite Multi-Agent Loop. We use a multi-agent engineering loop to ensure every code implementation is as expected without non-compliance and cheating. The PI Agent (API\mathcal{A}_{PI}) sets goals and acts as a strong-model runtime supervisor, checking execution trajectories every 10 steps to keep the Implementation Agent (Aimp\mathcal{A}_{imp}) aligned. Once coding and debugging is completed, the Reviewer Agent (Arev\mathcal{A}_{rev}) performs code auditing, either approving the submission back to the PI Agent or rejecting it back to the Implementation Agent for targeted remediation.

or Request Fallback) is routed back to trigger targeted remediation or trajectory adjustments.

To ensure long-horizon execution stability and prevent resource exhaustion, Pro2^{2} Agent integrates a dynamic budgeting protocol enforced alongside an automated monitoring sentinel. Computational allocations are dynamically partitioned across three primary execution phases: data preprocessing, model training, and blind evaluation. During runtime, the monitoring sentinel polls process telemetry to apply early-stopping policies: halting execution immediately upon loss divergence (NaN/∞\infty), terminating stalled I/O data loading that exceeds preprocessing caps, or granting soft-margin extensions to late-stage runs near completion to preserve sunk compute investment. This dynamic resource governor prevents runaway processes from triggering cluster evictions while maximizing effective compute utilization.

Complementing runtime supervision, the framework incorporates an Experience Bank (Ebank\mathcal{E}_{bank}) within the sandbox to enable persistent long-term memory and cross-iteration self-healing. The Experience Bank captures structured engineering lessons structured as error signatures, root causes, and verified fixes. Before embarking on a code mutation, Aimp\mathcal{A}_{imp} queries relevant historical experiences (retrieve_experience) to preemptively avoid recurring software bugs or library incompatibilities. Upon successfully resolving a novel execution fault, Aimp\mathcal{A}_{imp} distills and writes back the debugging insight (write_experience) to Ebank\mathcal{E}_{bank}. These accumulated reflections are inherited across search phases, allowing the multi-agent framework to prune historically failed parameter regimes and continuously refine its execution velocity.

Experiments

Experimental Setup

Datasets. We evaluate Pro2^{2} Agent on two complementary benchmarks. MLE-Bench contains 75 Kaggle competitions spanning vision, language, tabular data, time series, signal processing, and structured prediction [1]. We evaluate all 75 tasks using one NVIDIA A100 GPU per task under both a 24-hour and a 48-hour wall-clock budget, with one run per budget. For controlled studies, we use the official 22-task MLE-Bench Lite split, with a 24-hour budget and three independent runs per task. PostTrainBench contains 28 configurations formed by pairing four base language models with seven target benchmarks covering mathematics, science, code generation, function calling, creative writing, and medical dialogue (Rank et al., 2026). Each configuration is run three times, each for 24 hours on one A100 GPU. All budgets include analysis, web research, implementation, training, evaluation, and final artifact generation. Unless otherwise noted, the PI Agent uses Gemini 3.1 Pro, and the Implementation and Reviewer Agents use Gemini 3.5 Flash.

Compared Methods. For end-to-end evaluation on the complete MLE-Bench, we compare against published systems that report results on all 75 tasks, including ML-Master, R&D-Agent, InternAgent, Famou-Agent, Kapso, ML-Master 2.0, MARS, MARS+, AIBuildAI, Famou-Agent 2.0, Iris, MLEvolve, ScienceFlow, and AIBuildAI-2. Because these results use different language models, hardware, runtime, and parallelism, they provide system-level context rather than a controlled comparison. Our controlled experiments use the same models, tools, implementation agents, software environments, data splits, and training budgets for all matched variants. For MARS, we use the trajectories publicly released in its official repository, which reflect MARS under its native configuration with Gemini 3 Pro Preview. We compare Pro2^{2} Agent with two matched variants: a Direct Coding Loop that selects code changes from execution history without a Problem State and a Search-Augmented Agent that retrieves relevant methods before doing tasks but does not organize them around diagnosed problems.

Evaluation Metrics. On MLE-Bench, we report Valid Submission, Above Median, Bronze, Silver, Gold, and Any Medal rates, with Any Medal Rate as the main metric. On PostTrainBench, we follow the official evaluation and report the weighted average and per-benchmark scores. For controlled studies, we evaluate both the first complete solution and the subsequent search trajectory. Initial quality is measured by medal rates and the normalized bronze gap

Gbronze(st)=bt−st∣bt−mt∣+ϵ,(5)G_{\mathrm{bronze}}(s_t) = \frac{b_t - s_t}{\lvert b_t - m_t \rvert+ \epsilon}, \tag*{(5)}

where all task metrics are oriented so that higher is better, and btb_t and mtm_t denote the bronze threshold and leaderboard median. Thus, Gbronze<0G_{\mathrm{bronze}} < 0 indicates medal-level performance. Iteration efficiency is measured by Medal@3, Medal@5 (medal rates at the 3rd and 5th node), and Node AUC. Let st,k∗s^*_{t,k} be the best score found by task tt within the first kk valid evaluated nodes. We define

NodeAUCt=1T∑k=1Tst,k∗−bt∣bt−mt∣+ϵ,(6)\mathrm{NodeAUC}_t = \frac{1}{T} \sum_{k=1}^{T} \frac{s^*_{t,k} - b_t}{\lvert b_t - m_t \rvert+ \epsilon}, \tag*{(6)}

which rewards methods that reach and maintain strong solutions early along their own search trajectories.

Performance on Complete AI Research Benchmarks

MLE-Bench. Table 1 compares Pro2^{2} Agent with published systems on all 75 MLE-Bench tasks.

Table 1 | Performance on the complete 75-task MLE-Bench. Published results are from the corresponding papers or the official MLE-Bench leaderboard under their native settings; “–” denotes not reported. Pro2 Agent results are from one run per budget. Following the official leaderboard, submissions that used test-set feedback are not included. ‡Implementation and Reviewer Agents; the PI Agent uses Gemini 3.1 Pro.

AgentBackbone LLMComputeValidAbove MedianBronzeSilverGoldAny Medal
ML-Master ([19])DeepSeek-R1A100, 12h93.344.94.47.617.329.3
R&D-Agent ((Yang et al., 2025))GPT-5V100, 12h53.340.46.712.016.435.1
InternAgent ((Team et al., 2025))DeepSeek-R1A800, 12h96.448.47.110.718.736.4
Famou-Agent ((Li et al., 2025))Gemini 2.5 ProA800, 24h96.951.68.412.422.743.6
Kapso ((Nadafian et al., 2026))Gemini 3 Pro Preview–, 24h–––––50.7
ML-Master 2.0 ((Zhu et al., 2026))DeepSeek-V3.2-Speciale2×4090, 24h95.663.111.125.819.656.4
MARS ([2])Gemini 3 Pro PreviewA100, 24h98.765.89.315.631.156.0
MARS+ ([2])Gemini 3 Pro Preview2×H100, 24h100.074.212.416.433.862.7
AIBuildAI ((Zhang et al., 2026a))Claude Opus 4.6A100, 24h100.071.1––25.863.1
Famou-Agent 2.0 ((Li et al., 2025))Gemini 3 Pro PreviewA800, 24h–––––64.4
Iris ((Fu et al., 2026))Claude Opus 4.6–, 12h–––––64.9
MLEvolve ((Du et al., 2026))Gemini 3.1 Pro PreviewH200, 12h100.076.0––34.765.3
ScienceFlow ((ScienceFlow Team, 2026))DeepSeek-V4-Flash-Preview≤2 GPUs, 24h–––––70.2
AIBuildAI-2 ((Zhang et al., 2026b))Claude Opus 4.7A100, 24h–––––70.7
Pro2 AgentGemini 3.5 Flash‡A100, 24h100.084.025.321.324.070.7
Pro2 AgentGemini 3.5 Flash‡A100, 48h100.084.029.321.325.376.0

Table 1.

Pro2 Agent produces valid submissions for every task and exceeds the human leaderboard median on 84.0% of them. It earns 57 medals: 22 bronze, 16 silver, and 19 gold, corresponding to an Any Medal Rate of 76.0%. Under the standard 24-hour budget, Pro2 Agent already reaches 70.7%, matching the strongest previously reported result, AIBuildAI-2 ((Zhang et al., 2026b)), which is powered by Claude Opus 4.7. Extending the budget to 48 hours raises the medal rate to 76.0%, 5.3 points above AIBuildAI-2 and 13.3 points above MARS+ ([2]), showing that Problem Probing continues to turn additional research time into new medals rather than saturating. Both results are obtained on a single A100 GPU, with the lightweight Gemini 3.5 Flash performing all implementation and review, and Gemini 3.1 Pro acting as the PI Agent.

The improvement is primarily in the breadth of competitive solutions rather than the number of top-ranked solutions. MARS+ achieves a higher Gold Medal Rate than Pro2 Agent (33.8% versus 25.3%), but its combined Bronze and Silver rate is only 28.8%, compared with 50.7% for Pro2 Agent. Similarly, Pro2 Agent raises the Above Median Rate to 84.0%, compared with 74.2% for MARS+ and 76.0% for MLEvolve. Thus, the main gain comes from converting tasks that previous agents fail to solve competitively into bronze- or silver-level solutions. This result is consistent with the goal of Problem Probing: improving robustness across heterogeneous and difficult tasks, rather than concentrating the search budget on tasks where a strong solution is already easy to identify.

PostTrainBench. Table 2 evaluates whether the same research framework transfers from constructing prediction pipelines to post-training language models. Pro2^{2} Agent obtains a weighted average of 30.69 ±\pm 3.1 across all 28 model–benchmark configurations. Although it remains below the strongest agent result, Fable 5 at 41.79 ±\pm 1.7, it exceeds several systems powered by stronger frontier models, including Opus 4.7 at 28.56 ±\pm 1.7, GPT 5.5 at 27.23 ±\pm 0.6, and Gemini 3.1 Pro at 21.99 ±\pm 1.8. Relative to Opus 4.7 on Claude Code, Pro2^{2} Agent performs better on five of the seven target benchmarks, with the largest gains on ArenaHard (28.59 versus 19.59) and HumanEval (50.63 versus 42.07), while remaining slightly weaker on AIME 2025 and GPQA. Its gains are therefore distributed across writing, function calling, mathematics, medical dialogue, and code generation rather than arising from a single favorable benchmark.

Table 2 | Performance on the complete PostTrainBench. Published rows are from the official PostTrainBench results. They use a 10-hour H100 budget, while Pro2 Agent uses a 24-hour A100 budget. ‡Implementation and Reviewer Agents; the PI Agent uses Gemini 3.1 Pro.

MethodAvg.AIME 2025ArenaHardBFCLGPQAGSM8KHealthBenchHumanEval
Official Instruct Models51.1429.1770.2185.0036.2187.0043.3271.49
Fable 5 (Claude Code)41.79 ± 1.713.33 ± 2.461.46 ± 10.873.00 ± 32.928.35 ± 2.783.53 ± 1.940.12 ± 9.458.38 ± 13.8
GPT 5.6 (Sol, Codex)36.23 ± 0.27.50 ± 3.526.40 ± 13.594.38 ± 1.230.13 ± 1.269.48 ± 2.727.39 ± 3.463.95 ± 2.7
Opus 5 (Claude Code)34.068.3349.581.5030.1382.9639.9453.66
Opus 4.8 (Claude Code)32.90 ± 5.810.83 ± 2.436.09 ± 23.047.13 ± 32.728.35 ± 2.768.87 ± 12.931.68 ± 2.447.33 ± 22.8
Kimi K2 (Claude Code)31.96 ± 0.316.66 ± 1.936.71 ± 18.99.67 ± 14.123.25 ± 4.476.32 ± 3.131.84 ± 6.262.30 ± 3.2
GLM 5.2 (Claude Code)31.70 ± 2.17.78 ± 2.126.98 ± 9.447.92 ± 39.929.65 ± 2.072.71 ± 6.826.55 ± 5.452.49 ± 11.8
Opus 4.7 (Claude Code)28.56 ± 1.76.39 ± 3.219.59 ± 18.171.91 ± 28.028.47 ± 4.060.72 ± 17.017.81 ± 8.742.07 ± 22.9
GPT 5.5 (Codex)27.23 ± 0.63.75 ± 4.112.89 ± 13.256.13 ± 49.030.66 ± 2.256.70 ± 13.419.79 ± 3.948.86 ± 5.9
Gemini 3.1 Pro (OpenCode)21.99 ± 1.83.89 ± 1.97.42 ± 5.463.59 ± 27.718.53 ± 8.345.51 ± 22.316.33 ± 9.840.19 ± 8.4
Pro2 Agent (Gemini 3.5 Flash)‡30.69 ± 3.15.75 ± 4.428.59 ± 12.278.60 ± 17.826.45 ± 3.364.47 ± 5.119.22 ± 6.950.63 ± 16.6

Table 2.

The two benchmarks require substantially different research outputs: MLE-Bench requires complete data-processing, training, inference, and submission pipelines, whereas PostTrainBench requires the agent to select training data, design a post-training method, and produce a valid model checkpoint. Strong performance in both settings indicates that Pro2^{2} Agent is not limited to competition-specific code optimization. At the same time, the gap from the official instruction-tuned models on PostTrainBench (30.69 versus 51.14) shows that broad autonomous post-training remains unsolved. Since published systems use different models and compute settings, these tables establish end-to-end capability and cross-domain generality; the following controlled experiments isolate whether these gains arise from Problem Probing and hypothesis-guided iteration.

Problem Probing Produces Stronger Starts and Faster Convergence

We next examine how Problem Probing changes the entire research trajectory, from the first complete solution to subsequent score-guided improvement. Unlike a comparison from a shared root, each method constructs its own initial solution and follows its own sequence of evaluated nodes. We therefore evaluate both the quality of the first valid solution and the performance reached after a fixed number of valid evaluated nodes.

Figure 4 gives a direct view of this behavior across four diverse and highly specialized domains (e.g., NLP, standard computer vision, and specialized medical imaging) mapped against actual wall-clock search time. Across all cases, Pro2^{2} Agent starts from a stronger first solution and reaches medal-level performance substantially earlier than MARS, often within a few hours. On Plant Pathology, while both methods’ initial valid solutions land above the Gold threshold, Pro2^{2} Agent steadily optimizes to a stable 0.9938 peak. In contrast, MARS’s exploration exhibits high variance, frequently proposing degraded solutions that fall below Gold. On Text Normalization EN, Pro2^{2} Agent achieves a Silver-medal-level score (0.9938) with its first hypothesis at 6 hours, whereas MARS needs roughly 12 hours of exploration to cross the medal thresholds. On APTOS 2019 Blindness, Pro2^{2} Agent starts at a high baseline and crosses the Silver threshold in 2.5 hours; although MARS’s trajectory visually appears to reach the Silver line simultaneously, it actually plateaus at 0.9194—strictly below the 0.9196 Silver threshold—for several hours, crossing it only after about 11 hours, more than four times later than Pro2^{2} Agent. Finally, on Histopathologic Cancer, although both methods eventually plateau, their early trajectories differ drastically. MARS spends its first 8 hours exploring suboptimal, low-scoring solutions before reaching the Gold plateau, whereas Pro2^{2} Agent’s very first evaluated hypothesis (at 1.7 hours) lands directly at an exceptional 0.9937, far above the Gold limit. This illustrates how Problem Probing helps the agent avoid spending its early budget in suboptimal regions. Across these cases, Problem Probing provides a stronger starting point, and hypothesis-guided experiments close the remaining gap within a fraction of the time budget.

Figure 4. Pro2 Agent starts higher and reaches medal thresholds earlier. Validation trajectories on four diverse MLE-Bench tasks plotted against wall-clock search time (hours). The solid blue lines represent Pro2 Agent’s optimization trajectory, while the orange lines represent MARS. MARS trajectories are taken from its public repository. Horizontal dashed lines indicate the corresponding Kaggle leaderboard medal thresholds. On all four tasks, Pro2 Agent starts from a stronger first solution and reaches its medal tier earlier than MARS. Higher is better for all four metrics.

Table 3 confirms that the trajectory patterns extend across the full MLE-Bench Lite split. Before any score-guided revision, Pro2^{2} Agent already reaches an Any Medal Rate of 57.6%, twice that of Search-Augmented and MARS initialization at 28.8%. Its first solutions also exceed the leaderboard median on 81.8% of tasks and obtain gold medals on 27.3%, compared with 50.0% and 12.1% for MARS. The normalized bronze gap further changes from 0.96 for MARS to −0.57 for Pro2 Agent, meaning that the average first solution moves from below the bronze boundary to inside the medal region. This gain is not explained by longer initialization: Pro2 Agent requires less construction time than MARS on average. The advantage persists as each method follows its own search trajectory. Within three evaluated nodes, Pro2 Agent reaches a 63.6% medal rate, compared with 34.8% for MARS; after five nodes, the rates are 66.7% and 39.4%, respectively. The higher Node AUC shows that Pro2 Agent maintains stronger solutions throughout the search rather than obtaining its advantage only at the final node. These results support a combined account of the improvement: Problem Probing places the first solution in a more suitable region of the solution space, while hypothesis-guided iteration spends the remaining evaluations on unresolved task bottlenecks instead of repairing basic mismatches in data representation, model choice, or evaluation design.

Initial solution quality and end-to-end node efficiency on the 22-task MLE-Bench Lite split. The left block evaluates the first complete solution before score-guided revision. The right block reports the best Any Medal Rate reached within the first three and five valid evaluated nodes along each method’s own trajectory. Node indices are method-specific, and the methods do not begin from a shared root. MARS results are computed from its publicly released trajectories. Rates are percentages; results are reported as mean ± standard error over three runs.

First Complete Solution (Baseline)Own Search Trajectory
MethodAbove MedianAny MedalGoldGbronze↓G_{\mathrm{bronze}} \downarrowBuild Time (min)Medal@3Medal@5Node AUC ↑\uparrow
Direct Coding Loop25.8 ± 1.512.1 ± 3.04.5 ± 0.01.56 ± 0.092.1 ± 1.221.2 ± 3.030.3 ± 3.0−0.60 ± 0.07
Search-Augmented39.4 ± 3.028.8 ± 4.012.1 ± 1.51.23 ± 0.078.4 ± 2.330.3 ± 1.536.4 ± 5.5−0.44 ± 0.12
MARS50.0 ± 2.628.8 ± 4.012.1 ± 1.50.96 ± 0.2014.8 ± 2.634.8 ± 3.039.4 ± 5.5−0.39 ± 0.09
Pro2 Agent81.8 ± 2.657.6 ± 1.527.3 ± 0.0−0.57 ± 0.0511.2 ± 4.463.6 ± 2.666.7 ± 1.50.58 ± 0.17

Table 3. Initial solution quality and end-to-end node efficiency on the 22-task MLE-Bench Lite split. The left block evaluates the first complete solution before score-guided revision. The right block reports the best Any Medal Rate reached within the first three and five valid evaluated nodes along each method’s own trajectory. Node indices are method-specific, and the methods do not begin from a shared root. MARS results are computed from its publicly released trajectories. Rates are percentages; results are reported as mean ± standard error over three runs.

Ablation of the Problem State

Table 4 separates the contributions of constructing, grounding, and updating the Problem State. Replacing the Problem State with a Codebase State substantially weakens both initialization and final performance. Constructing a Problem State without evidence grounding recovers much of this loss, but remains less reliable because diagnosed bottlenecks and candidate solutions cannot be distinguished from unsupported language-model suggestions. A grounded but static Problem State produces a nearly identical initial solution to the full method, yet cannot incorporate

VariantInitial MedalFinal MedalNode AUC ↑\uparrow
Codebase State10.6 ±\pm 1.556.1 ±\pm 3.00.06
Prob. State w/o Grounding47.0 ±\pm 1.577.3 ±\pm 2.60.27
Static Prob. State56.1 ±\pm 1.583.3 ±\pm 3.00.45
Full Pro2^2 Agent57.6 ±\pm 1.589.4 ±\pm 1.50.66

Table 4. Ablation of the Problem State on MLE-Bench Lite. Initial Medal measures the first complete solution. Final Medal measures the best solution reached within the full 24-hour budget (mean ±\pm standard error over 3 runs). Full-Trajectory Node AUC summarizes the normalized best-score trajectory over all valid evaluated nodes.

Table 4 | Ablation of the Problem State on MLE-Bench Lite. Initial Medal measures the first complete solution. Final Medal measures the best solution reached within the full 24-hour budget (mean ±\pm standard error over 3 runs). Full-Trajectory Node AUC summarizes the normalized best-score trajectory over all valid evaluated nodes.

later experimental evidence into subsequent research decisions.

Under the complete 24-hour budget, the full Pro2^2 Agent reaches medal-level performance on 20 of the 22 MLE-Bench Lite tasks in two of the three runs and on 19 in the third (89.4% on average). The Static Problem State averages 83.3%, about 1.3 fewer medaled tasks per run, showing that the Problem State is not only an initialization artifact. Continually revising the state allows later experiments to update solution beliefs, reject unsupported explanations, and redirect the remaining budget toward unresolved bottlenecks.

Analysis of Expert Technique Discovery

To further understand how the Problem State aids in searching the hypothesis space on extremely difficult tasks, we analyze the discovery of expert-level techniques (Figure 5). We track the recall of known expert techniques (derived from Kaggle winning solutions) and correlate them with the normalized quality of the solutions over time across the 5 hardest tasks.

Figure 5. Expert Technique Discovery on Hard Tasks. Left: Technique recall over a 48-hour search budget. Pro2^{2} Agent (blue) recalls more expert techniques over time than the baseline without a Problem State (yellow); recall can drop when a falsified hypothesis is rolled back. Right: Correlation between technique recall and normalized solution quality. At comparable recall, Pro2^{2} Agent tends to reach higher solution quality, suggesting that the techniques it adopts are better aligned with the diagnosed bottlenecks.

As shown in the left subplot of Figure 5, our method (Pro2^2 Agent) discovers a higher fraction of expert techniques on average compared to the baseline without a Problem State. Pro2^2 Agent starts with higher technique recall on every task and keeps a higher recall throughout the search, even though recall occasionally drops when a falsified hypothesis is rolled back.

Furthermore, the right subplot illustrates that the solution quality of Pro2^2 Agent is overall higher than the baseline across all recall levels. Both regression lines show a positive correlation, confirming that discovering more expert techniques generally leads to better performance. The regression line for our method lies above the baseline across the observed recall range. This suggests that the Problem State does not merely increase the number of techniques collected, but guides the agent toward techniques that address the diagnosed bottlenecks, yielding higher performance at a similar level of technique recall.

Case Studies: Problem Diagnosis, Scientific Iteration, and Remaining Limits

To examine how Pro2^2 Agent conducts autonomous research, we analyze its qualitative trajectories across four representative tasks spanning both MLE-Bench and PostTrainBench. Prior autonomous systems such as AIDE (Jiang et al., [14]) and MARS (Chen et al., [2]) organize long-horizon exploration primarily around candidate code implementations, using reflective memory to compare score changes across script revisions. In contrast, Pro2^2 Agent additionally maintains an explicit, task-level Problem State (PP) that tracks suspected performance bottlenecks, supporting evidence, and hypothesis status. The essential question is therefore how the agent’s understanding of the task evolves over time: what bottlenecks were initially diagnosed (P0P_0), how controlled experiments (H1H_1, H2H_2) altered those beliefs, and how the system navigated both successful resolutions and hard task boundaries.

We analyze four distinct cases covering domain representation learning, compute feasibility boundaries, verifiable reinforcement learning, and high-order reasoning limits (Figure 6):

Evolution of the Problem State across representative success and failure cases

Figure 6. Evolution of the Problem State across representative success and failure cases. Each panel shows how experiments transform the Problem State (P0→P1→P2P_0 \rightarrow P_1 \rightarrow P_2). The trajectories illustrate how Pro2^{2} Agent reprioritizes bottlenecks, incorporates resource constraints, and distinguishes resolved, resource-limited, and unresolved problems.

  1. MLE-Bench Success (bms-molecular-translation): Overcoming domain representation fragility and stereochemical resolution degradation to achieve a competition bronze medal.

  2. MLE-Bench Failure (rsna-breast-cancer-detection): Correctly diagnosing micro-calcification lesion loss while identifying compute-feasibility limits within the task budget.

3. PostTrainBench Success (gemma3-4b-gsm8k): Resolving reasoning chain elicitation and optimizing mathematical consistency via verifiable policy optimization.

4. PostTrainBench Failure (qwen3-1.7b-aime): Eliminating secondary extraction failures while delineating an unresolved multi-step reasoning bottleneck.

MLE-Bench: Resolving a Domain-Specific Bottleneck (bms-molecular-translation). The Bristol Myers Squibb (BMS) challenge requires translating 2.42 million grayscale chemical skeletal formulas into textual InChI identifiers, evaluated by character-level Mean Levenshtein distance. Across the reported AIRA variants and the public MARS/MARS+ [2] runs we inspected, none obtained a medal on BMS: InChI strings follow a strict hierarchical grammar (chemical formula /c, atom connectivity /h, and stereocenters /t/m/s), where a single mispredicted atom count catastrophically corrupts the downstream sequence.

During Problem Probing (P0P_0), Pro2^{2} Agent identified two primary bottlenecks: Bond Detail Loss from standard 224×224 image resizing and InChI Syntax Fragility under autoregressive token generation. In the first iteration, the agent evaluated H1H_1, applying non-white bounding-box cropping with 384 × 384 patch tokenization. This intervention reduced stereochemical layer errors by 42% and improved internal validation Levenshtein distance from > 15.0 to 4.61. Updating the Problem State (P1P_1), the agent determined that visual resolution was substantially mitigated, elevating chemical syntax decoding to the primary bottleneck. It then tested H2H_2, introducing valency-constrained beam search with RDKit chemical validation. This dropped internal validation error to 1.7257. On the hidden test submission evaluated by the competition grader, the solution scored 1.8860, crossing the competition Bronze medal threshold.

MLE-Bench: Resource Feasibility within Task Constraints (rsna-breast-cancer-detection). The RSNA Screening Mammography challenge requires detecting malignant lesions from 3000 × 2000 16-bit DICOM mammograms using the non-monotonic Probabilistic F1 (pF1) metric. The task presents severe class imbalance (< 2% positive malignant cases) and micro-calcifications occupying less than 0.1% of the pixel canvas.

In the initial Problem State (P0P_0), Pro2^{2} Agent diagnosed High-Resolution Lesion Loss (micro-calcifications lost if downsized) and Extreme Class Imbalance. The agent formulated hypothesis H1H_1 to scale visual capacity to a high-resolution pipeline (1024×10241024 \times1024) using a convnextv2_nano backbone combined with Focal Loss. This successfully resolved the signal preservation and imbalance issues, yielding a highly competitive validation pF1 of 0.3514 (a massive improvement over the 0.2577 baseline). Updating the Problem State (P1P_1), the agent confirmed that feature extraction was now stable,

leaving model capacity as the next potential bottleneck. It subsequently tested H2H_2, attempting to scale the backbone further to convnextv2_tiny and doubling the training epochs. However, the larger model size at high resolution resulted in severe gradient instability, causing the validation pF1 to collapse to 0.0441. When the agent logically attempted to stabilize training using Exponential Moving Average (EMA) and reduced learning rates, the expanded memory footprint and step time caused the hypothesis to collide with the strict per-hypothesis compute budget (exceeding the 4-hour monitoring timeout). Rather than attributing failure to incorrect medical assumptions, the Problem State logged a *ResourceLimited Bottleneck (P2P_2): high-capacity visual scaling remained theoretically plausible, but the optimal boundary of performance within the strict hardware constraints was already achieved by the smaller nano model.

PostTrainBench: Verifiable Reasoning Alignment (gemma3-4b-gsm8k). GSM8K evaluates multi-step mathematical reasoning on grade-school arithmetic word problems. When fine-tuning small base models (Gemma3-4B-Base), standard zero-shot baselines often struggle with prompt formatting interference and intermediate arithmetic drift.

The initial Problem State (P0P_0) identified Reasoning Chain Elicitation (direct answers lacking structured scratchpads) and Arithmetic Context Drift as dual limiting factors. The agent first tested H1H_1, applying Supervised Fine-Tuning (SFT) on curated Chain-of-Thought demonstrations with strict prompt loss masking (labels = -100 on prompt tokens). This intervention resolved step elicitation and boosted validation accuracy from 0.0% to 52.50%. In the updated Problem State (P1P_1), elicitation was marked as resolved, shifting the focus to multi-step policy consistency. The agent then tested H2H_2, applying Group Relative Policy Optimization (GRPO) with rule-based mathematical equivalence rewards. The RL policy converged at an accuracy of 56.50% (P2P_2), far above the untuned base model (0.0%). The Problem State concluded with a Resolved Bottleneck, demonstrating that targeted formatting followed by verifiable policy optimization systematically lifts small-model mathematical reasoning.

PostTrainBench: Delineating Reasoning Limits (qwen3-1.7b-aime). The American Invitational Mathematics Examination (AIME 2025) requires multi-step mathematical reasoning with integer answers (000–999). On Qwen3-1.7B-Base, the initial Problem State (P0P_0) highlighted two potential failure modes: Format/Extraction Fragility (regex answer parsing failures) and Deductive Reasoning Breakdown across long multi-step solutions.

The agent first tested H1H_1, applying Supervised Fine-Tuning (SFT) on strict Chain-of-Thought traces combined with a robust regex parser. This eliminated extraction errors (0% parsing failure) and established an initial accuracy of 6.67%. Updating the Problem State (P1P_1), the agent confirmed that formatting fragility was resolved, leaving core Olympiad-level deductive reasoning as the dominant bottleneck. It then tested H2H_2, attempting to optimize the multi-step reasoning policy via Group Relative Policy Optimization (GRPO). However, the training telemetry revealed that the RL policy collapsed (reward variance exactly zero): the model completely failed to sample any successful reasoning traces during exploration, resulting in a total lack of learning signal. Consistently, AIME is the weakest benchmark in our main evaluation (5.75 ± 4.4 averaged over base models and runs; Table 2), indicating that the low performance is not specific to this trajectory. The Problem State correctly finalized this trajectory as an Unresolved Reasoning Bottleneck (P2P_2). Crucially, rather than blindly continuing to tune RL hyperparameters, the agent correctly identified that RL requires sufficient base capability to explore successful long-chain traces, and it accurately characterized the failure as a fundamental reasoning deficit under the available capacity, rather than an implementation bug.

Three-State Bottleneck Taxonomy. Across diverse trajectories, Pro2^{2} Agent’s Problem State provides a structured tripartite taxonomy of research outcomes:

  • Resolved Bottleneck: A diagnosed bottleneck is experimentally mitigated enough that it is no longer the dominant limitation (bms-molecular-translation, gemma3-4b-gsm8k).

  • Resource-Limited Bottleneck: The performance bottleneck is correctly diagnosed and supported by literature, but the requisite high-fidelity intervention cannot be trained to convergence within the available hardware or compute budget (rsna-breast-cancer-detection).

  • Unresolved Bottleneck: The available experiments narrow the likely source of failure but do not establish an effective intervention

(qwen3-1.7b-aime).

By explicitly recording whether bottlenecks are resolved, resource-bounded, or unresolved, Pro2^{2} Agent provides human researchers with transparent, inspectable records of empirical research progress.

Discussion and Future Directions

Problem Probing scales with research time. Moving from 24 to 48 hours raises the complete-benchmark medal rate from 70.7% to 76.0%, indicating that an explicit Problem State keeps directing additional compute toward unresolved bottlenecks instead of saturating. Scaling Problem Probing to longer horizons and parallel hypothesis testing is a natural next step.

Strong supervision, lightweight execution. Pro2^{2} Agent pairs a stronger PI Agent with a lightweight implementation model: Gemini 3.5 Flash carries out all implementation, debugging, and code review, while Gemini 3.1 Pro focuses on high-level diagnosis and supervision. This division of labor reserves the stronger model for the decisions where it matters most, and exploring other model allocations is a promising direction.

Richer belief revision. The current belief updates are deliberately simple and already yield strong gains from continual Problem State revision (Table 4). Because the Problem State explicitly separates problems, candidate solutions, and evidence, it can directly accommodate probabilistic or noise-aware belief updates and repeated measurements for high-stakes hypotheses.

Reusable research knowledge. Each run produces an inspectable record of diagnosed bottlenecks, tested hypotheses, and their outcomes. These records can be shared with human researchers and reused across tasks, opening a path toward agents that accumulate scientific understanding rather than only code.

Conclusion

We introduced Pro2^{2} Agent, an autonomous AI research agent that treats the agent’s understanding of the problem as a first-class research state. Instead of representing progress only through the current codebase, evaluation scores, and modification history, Pro2^{2} Agent maintains a Problem State that records performance-limiting problems, candidate solutions, supporting evidence, and confidence. Problem Probing uses literature, task analysis, and controlled hypothesis testing to construct and revise this state, which then guides implementation and optimization. This formulation changes experimentation from direct code selection into a process for testing explanations of why performance is limited and determining which solutions are supported. Our experiments show that this problem-centered formulation improves both the starting point and the subsequent research trajectory. On MLE-Bench, Pro2^{2} Agent constructs stronger first solutions, reaches medal-level performance with fewer evaluated nodes, and achieves a 76.0% medal rate on the complete benchmark with a 48-hour budget (70.7% with 24 hours). On PostTrainBench, Pro2^{2} Agent with Gemini 3.5 Flash as its implementation model performs comparably to Claude Code powered by Opus 4.7, showing that the method transfers beyond conventional ML pipelines to autonomous LLM post-training. The ablation results further show that evidence grounding and continual Problem State updates contribute beyond static planning. These findings suggest that progress in autonomous AI research depends not only on stronger language models or larger code-search budgets, but also on maintaining an explicit, evidence-grounded, and revisable understanding of the problem.

References

  1. [1]J. S. Chan, N. Chowdhury, O. Jaffe, J. Aung, D. Sherburn, E. Mays, G. Starace, K. Liu, L. Maksin, T. Patwardhan, et al. MLE-bench: Evaluating machine learning agents on machine learning engineering. In International Conference on Learning Representations, volume 2025, pages 50466–50494, 2025.arxiv.org/abs/2410.07095
  2. [2]J. Chen, B. D. Mishra, J. Nam, R. Meng, T. Pfister, and J. Yoon. MARS: Modular agent with reflective search for automated AI research. arXiv preprint arXiv:2602.02660, 2026.arxiv.org/abs/2602.02660
  3. [5]N. Erickson, J. Mueller, A. Shirkov, H. Zhang, P. Larroy, M. Li, and A. Smola. AutoGluon-Tabular: Robust and accurate AutoML for structured data. arXiv preprint arXiv:2003.06505, 2020.arxiv.org/abs/2003.06505
  4. [6]S. Feng, R. Ma, X. Yan, Y. Fan, Y. Hu, S. Huang, S. Zhang, Z. Cao, T. Peng, J. Yuan, et al. InternAgent-1.5: A unified agentic framework for long-horizon autonomous scientific discovery. arXiv preprint arXiv:2602.08990, 2026.arxiv.org/abs/2602.08990
  5. [8]S. Gao, A. Fang, and M. Zitnik. AutoScientists: Self-organizing agent teams for long-running scientific experimentation. arXiv preprint arXiv:2605.28655, 2026.arxiv.org/abs/2605.28655
  6. [9]S. Guo, C. Deng, Y. Wen, H. Chen, Y. Chang, and J. Wang. DS-Agent: Automated data science by empowering large language models with case-based reasoning. In International Conference on Machine Learning, pages 16813–16848. PMLR, 2024.arxiv.org/abs/2402.17453
  7. [10]K. Hambardzumyan, N. Baldwin, E. Toledo, R. Hazra, M. Kuchnik, B. A. Omari, T. S. Foster, A. Protopopov, J.-C. Gagnon-Audet, I. Mediratta, et al. AIRA₂: Overcoming bottlenecks in AI research agents. arXiv preprint arXiv:2603.26499, 2026.arxiv.org/abs/2603.26499
  8. [12]S. Hong, Y. Lin, B. Liu, B. Liu, B. Wu, C. Zhang, D. Li, J. Chen, J. Zhang, J. Wang, et al. Data Interpreter: An LLM agent for data science. In Findings of the Association for Computational Linguistics: ACL 2025, pages 19796–19821, 2025.arxiv.org/abs/2402.18679
  9. [13]P. Jansen, O. Tafjord, M. Radensky, P. Siangliulue, T. Hope, B. Dalvi, B. P. Majumder, D. S. Weld, and P. Clark. CodeScientist: End-to-end semi-automated scientific discovery with code-based experimentation. In Findings of the Association for Computational Linguistics: ACL 2025, pages 13370–13467, 2025.arxiv.org/abs/2503.22708
  10. [14]Z. Jiang, D. Schmidt, D. Srikanth, D. Xu, I. Kaplan, D. Jacenko, and Y. Wu. AIDE: AI-driven exploration in the space of code. arXiv preprint arXiv:2502.13138, 2025.arxiv.org/abs/2502.13138
  11. [15]C. E. Jimenez, J. Yang, A. Wettig, S. Yao, K. Pei, O. Press, and K. Narasimhan. SWE-Bench: Can language models resolve real-world GitHub issues? In International Conference on Learning Representations, volume 2024, pages 54107–54157, 2024.arxiv.org/abs/2310.06770
  12. [16]J. Jin, Y. Hu, K. Qiu, Q. Dai, C. Luo, G. Dong, X. Li, T. Zhao, X. Ma, G. Zhang, et al. Toward generalist autonomous research via hypothesis-tree refinement. arXiv preprint arXiv:2606.11926, 2026.arxiv.org/abs/2606.11926
  13. [18]Q. Liu, R. Hao, C. Li, and W. Ma. OR-Agent: Bridging evolutionary search and structured research for automated algorithm discovery. arXiv preprint arXiv:2602.13769, 2026.arxiv.org/abs/2602.13769
  14. [19]Z. Liu, Y. Cai, X. Zhu, Y. Zheng, R. Chen, Y. Wen, Y. Wang, S. Chen, et al. ML-Master: Towards AI-for-AI via integration of exploration and reasoning. arXiv preprint arXiv:2506.16499, 2025.arxiv.org/abs/2506.16499

Paper details

vlnc:W_v22kxwg5
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 2

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents