Thinking with Imitation: Adaptive Reinforcement-Imitation Learning for Tool-Augmented Scientific Reasoning

Fanrui Zhang, Hongmin Zhan, Qiang Zhang, Sizhuo Zhou, Zhaoyu Wang, Kaipeng Zhang, Jiawei Liu, Zheng-Jun ZhaNeurIPS 2026

TL;DR

When human scientists face a bizarre new lab result, they don’t solve it from pure memory—they think by analogy, recalling a structurally similar experiment and adapting its procedure. Today's AI models fail at this, even when you paste analogous examples directly into their prompt. This paper introduces MimicAgent and a clever training switch called ARIS, teaching a relatively small 8B multimodal model to actively retrieve and adapt scientific procedures—ultimately outperforming heavyweight frontier models like GPT-5.2 and Gemini-3-Flash.

What Problem Does This Paper Address?

Multimodal Large Language Models (MLLMs) have gotten remarkably good at textbook exams, where memorized facts and closed-form multiple-choice strategies shine. Authentic experimental inquiry, however, is open-ended: you have to design controls, inspect visual apparatus, run calculations, and infer hidden mechanisms from partial observations.

Naturally, you might try handing an MLLM a suite of tools (Python, web search, Retrieval-Augmented Generation) and feeding it solved, analogous problems as in-context examples. Surprisingly, the authors find this doesn't work—passively prepending expert solutions yields almost no improvement and can even slightly hurt performance due to surface-level lexical distractions. Meanwhile, trying to train models via Reinforcement Learning (RL) to figure this out on their own hits a wall: on genuinely hard scientific problems, every single attempt the model makes fails, resulting in zero reward, collapsed gradients, and a stalled learning loop.

Figure 1: Traditional MLLMs either rely on parametric memory or treat retrieved exemplars as static context, which fails to support effective analogical transfer and imitation. MimicAgent instead retrieves a structurally analogous precedent and transfers its procedural structure to the target task through tool-augmented reasoning. In this example, the MimicAgent maps the source exemplar’s phase-partition phenomenon, competing-cause analysis, control-experiment design, and measurement- correction strategy onto a new Fe3+–SCN−/TBP experimental setting, yielding a grounded solution rather than surface-level retrieval.

Methods

The authors tackle imitation at two scales: how the agent acts at test time (MimicAgent), and how it learns during training (ARIS).

  • Active Exemplar Retrieval & Analogy Rewards: Built on Qwen3-VL-8B-Instruct, MimicAgent uses five tools: web search, knowledge graph lookup, a Python interpreter, image cropping, and exemplar_recall (which fetches three structurally aligned companion problems). Crucially, the agent isn't rewarded just for calling the retrieval tool. Using an outcome-conditioned multi-dimensional reward, an external judge (gemini-3-flash) scores the post-retrieval reasoning trace for three specific behaviors: identifying the core schema, mapping variables between the old and new problem, and transferring the step-by-step procedure.
  • ARIS (Adaptive Reinforcement-Imitation Switching): Standard Group Relative Policy Optimization (GRPO) samples a group of $G=8$ attempts per prompt and compares them to each other. When all 8 fail—a "zero-answer group"—the relative advantage is zero and learning dies. Instead of throwing those hard prompts away or relying on a static pre-training phase, ARIS dynamically intervenes. Whenever a zero-answer group occurs, ARIS swaps out the dead RL update for an online imitation learning update, asking a teacher model (gpt-5.2) to demonstrate a valid tool-use trajectory. As the student improves, zero-answer groups naturally vanish, creating an automatic, self-decaying curriculum from imitation to pure RL.
Figure 2: The overall architecture is illustrated, with the upper part showing the SciExplore-Bench construction process and the lower part presenting the training pipeline of MimicAgent.

Datasets

  • SciExplore-Bench (New): A bilingual (Chinese/English) multimodal benchmark for open-ended experimental science across physics, chemistry, and biology (~70% containing diagrams, plots, or microscopy). Multiple-choice cues are stripped out into open-ended inquiry tasks (6,000 train; 480 test). Uniquely, each problem is paired with a curated repository of analogous exercises taken from textbook instructional units—meaning alignment is based on deep scientific structure rather than embedding similarity. To prevent data contamination, the test set is drawn exclusively from 2026 sources.
  • External Benchmarks: Evaluated on SceMQA (150 free-response science questions) and two out-of-domain, non-scientific visual reasoning benchmarks: MM-IQ (Raven-style abstract matrices) and VisualPuzzles (algorithmic, deductive, and spatial puzzles).

Key Insights and Ideas

  • Context is not comprehension: Simply giving frontier models tools or prepending golden analogous examples into the prompt fails to move the needle. Models must explicitly learn when to consult a precedent and how to map its abstract variables onto a new scenario.
  • Failures are the best teaching moments: During ARIS training, the imitation branch triggers on ~50% of prompts early on, dropping smoothly to ~5% by the end (averaging just 0.32 teacher generations per prompt overall). Concentrating expert supervision strictly on the exact prompts where RL collapses outperforms both static supervised fine-tuning (SFT) and sequential SFT+GRPO.
  • Scientific analogy generalizes to pure abstraction: Training an agent to map experimental roles in chemistry and physics unexpectedly supercharges its ability to solve domain-free, abstract visual puzzles.

Key Results

  • Crushing the Benchmarks: On SciExplore-Bench and SceMQA combined, the 8B MimicAgent achieves 86.03% overall accuracy—more than doubling its Qwen3-VL-8B base (33.97%) and surpassing frontier proprietary models including Gemini-3-Flash (75.56%) and GPT-5.2 (74.44%), as well as SFT+GRPO (72.86%).
  • Out-of-Domain Transfer: On abstract visual benchmarks, MimicAgent leaps over its base model by more than 23 percentage points—scoring 50.11% on MM-IQ (vs. o3's 33.17%) and 59.93% on VisualPuzzles (vs. o3's 54.00%).
  • Ablations: Stripping away either the exemplar_recall tool or the analogy reward drops overall accuracy from 86.0% down to 48.6% and 47.9%, respectively, proving both active retrieval and process-level reward shaping are essential.

(Note: See Table 1 below for detailed breakdown across subjects and baselines.)

Table 1: Main results on SciExplore-Bench (CN, EN) and SceMQA. We report accuracy (%) on the physics (Phy.), chemistry (Chem.), and biology (Bio.) subsets of each benchmark.

Limitations and Future Work

Not discussed in the paper. (Note: The provided main text concludes at Section 6 without a dedicated limitations or future work section).

Summary updated

Abstract

Expert scientists rarely solve genuinely novel problems through parametric recall alone; instead, they reason by analogy to structurally related prior cases and adapt their solution procedures to new contexts. Yet current multimodal large language models (MLLMs), even when equipped with retrieval, computation, and visual tools, still struggle with this imitation-driven form of reasoning. We further observe a counterintuitive negative result: simply prepending expert problems and full solution trajectories as context does not improve performance on novel scientific tasks, and can even slightly degrade it. Motivated by this observation, we argue that scientific reasoning should shift from passive answer conditioning to an imitation-driven paradigm, in which models actively seek relevant precedents and reuse their solution structures. We instantiate this idea with MimicAgent, a tool-augmented scientific reasoning agent that retrieves structurally related exemplars, interprets their reasoning trajectories, and transfers their solution patterns to the target problem through multi-step reasoning and tool interaction. To train this behavior under sparse rewards, we introduce ARIS (Adaptive Reinforcement-Imitation Switching), which unifies on-policy reinforcement learning with online expert imitation. When all rollouts for a prompt fail, ARIS replaces degenerate reinforcement updates with expert-generated demonstrations, yielding an implicit imitation-to-reinforcement curriculum without requiring a cold-start stage or fixed-ratio offline mixing. To support training and evaluation, we further introduce SciExplore-Bench, a bilingual multimodal benchmark for open-ended experimental scientific reasoning, paired with a manually curated repository of analogical exemplars. The substantial gains and impressive generalization across multiple benchmarks suggest that imitation serves both as a global paradigm for exemplar-guided reasoning and as a local mechanism for stabilizing reinforcement learning.
BibTeX
@inproceedings{zhang2026thinking,
  author = {Fanrui Zhang and Hongmin Zhan and Qiang Zhang and Sizhuo Zhou and Zhaoyu Wang and Kaipeng Zhang and Jiawei Liu and Zheng-Jun Zha},
  title = {{Thinking with Imitation: Adaptive Reinforcement-Imitation Learning for Tool-Augmented Scientific Reasoning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=xVDIXQnJEw},
}
Figure