Stargazer: A Scalable Model-fitting Benchmark Environment for AI Agents under Astrophysical Constraints

Xinge Liu, Terry Jingchen Zhang, Bernhard Schölkopf, Zhijing Jin, Kristen Menou

TL;DR

This paper introduces STARGAZER, a new benchmark environment for evaluating AI agents on the complex task of exoplanet discovery using radial velocity data. Their evaluation of leading AI agents reveals a significant gap: while agents can fit data statistically, they struggle to recover accurate physical parameters, highlighting a critical limitation in current AI for scientific discovery.

What Problem Does This Paper Address?

The development of autonomous AI agents capable of performing scientific research is a major goal. However, evaluating these agents requires dynamic, feedback-driven environments that mimic real-world scientific workflows. Existing benchmarks often focus on simpler tasks like equation discovery or factual recall, failing to capture the iterative, hypothesis-driven nature of scientific investigation. Specifically, in astrophysics, discovering exoplanets involves analyzing noisy observational data (radial velocity time series) to infer physical properties of planetary systems. This process requires not just fitting a model to the data but also understanding the underlying physics to avoid spurious solutions and correctly identify planetary parameters. The authors aim to bridge this gap by creating a benchmark that specifically tests AI agents' ability to perform this complex, physics-grounded model-fitting task.

Methods

STARGAZER is a novel benchmark environment designed to simulate exoplanet discovery using radial velocity (RV) data. The core of the environment involves:

  • Physics-Grounded Simulation: RV time series are synthesized by modeling the gravitational influence of planets on their host stars. This simulation incorporates realistic factors like orbital parameters (period, eccentricity, etc.), measurement noise, and correlated stellar activity.
  • Scalable Task Generation: The environment includes 100 synthetic tasks, procedurally generated from random seeds, allowing for an infinitely scalable benchmark. These tasks are categorized into three difficulty tiers (Easy, Medium, Hard) based on six physical factors (planet multiplicity, SNR, resonance, period coverage, observation count, correlated noise).
  • Real-World Data Integration: 20 tasks are derived from actual archival RV datasets, providing a crucial "sim-to-real" evaluation component.
  • Iterative Agent Environment: AI agents interact with the environment in a ReAct-style loop, using tools like a Python REPL for analysis (e.g., periodograms, Keplerian fitting) and an submit_action interface to propose candidate planetary systems.
  • Automated Grading: Submissions are evaluated against four criteria:
  • Statistical Fit: ok_rms (residual quality) and ok_delta_bic (model selection).
  • Physical Recovery: ok_match (accuracy of recovered orbital parameters) and ok_count (correct number of planets).
  • Resource Budgets: Tasks have defined token and time budgets, along with a limited number of submission attempts, to encourage efficient exploration.

Datasets

  • Synthetic Datasets: 100 synthetic RV tasks are generated by the STARGAZER pipeline, offering a scalable and controllable benchmark.
  • Real-World Datasets: 20 tasks are constructed from published archival radial velocity datasets, sourced from the NASA Exoplanet Archive and VizieR. These datasets are anonymized to prevent data contamination.

Key Insights and Ideas

  • Statistical Fit ≠ Physical Recovery: This is the paper's central finding. AI agents excel at achieving good statistical fits (low RMS, favorable BIC) but frequently fail to recover the correct physical parameters (planet count, orbital elements). This suggests current models are good at curve fitting but lack deeper scientific reasoning.
  • Difficulty Matters: Performance degrades significantly as task difficulty increases, particularly on "Hard" tiers. This validates the benchmark's design and highlights the challenges of complex astrophysical scenarios.
  • Token Usage is Misleading: Simply increasing compute (tokens) doesn't guarantee better performance. Agents often get stuck in "recursive failure loops," repeatedly submitting incorrect hypotheses without meaningful exploration.
  • Procedural Skills Have Limits: While domain-expert skills can improve efficiency on simpler tasks, they don't fundamentally enhance physical reasoning on harder problems. They can even degrade performance for weaker models by interfering with necessary exploratory strategies.
  • Sim-to-Real Gap is Critical: The stark performance drop on real-world data compared to synthetic tasks underscores the challenge of transferring learned policies from simulated environments to messy, real-world data with instrument systematics.

Key Results

  • Agent Performance: Eight frontier AI models were evaluated. Top performers achieved over 70% pass rates on "Easy" tasks but dropped to 17-35% on "Medium" and below 6% on "Hard" tasks.
  • Statistical vs. Physical Pass Rates: Statistical criteria (ΔBIC, RMS) remained high (above 70%) across models and tiers, while physical criteria (Match Score, Planet Count) dropped significantly, especially on Hard tasks (below 40%).
  • Real-World Failure: No model achieved a single pass on the 20 real-data tasks. While statistical criteria often passed, physical recovery metrics (Match Score) were consistently at 0%.
  • Non-LLM Baselines: Traditional methods (Classical Pipeline, Nested Sampling) performed well on Easy tasks (95%) but degraded sharply on harder tiers, showing that even these methods struggle with complexity.
  • Skills Impact: Skills injection improved efficiency, allowing more episodes to complete within budget, but did not significantly improve physical recovery on Hard tasks.

Limitations and Future Work

  • Sim-to-Real Gap: The paper explicitly identifies the sim-to-real gap as a limitation and suggests future work should focus on evaluating transferability and designing curricula that bridge this gap.
  • Model Selection Bottleneck: The authors highlight that the core challenge is model selection and parameter recovery, which requires physical reasoning beyond simple optimization. Future AI scientists need to be trained to escalate model complexity and revise hypotheses based on diagnostic feedback.
  • Scalability of Real Data: While 20 real-world tasks are included, expanding this set would further strengthen the benchmark.
  • Generalizability: The authors propose that their methodology for designing simulation-driven environments can be generalized to other scientific domains requiring model-fitting.

Summary updated

BibTeX
@inproceedings{liu2026stargazer,
  author = {Xinge Liu and Terry Jingchen Zhang and Bernhard Schölkopf and Zhijing Jin and Kristen Menou},
  title = {{Stargazer: A Scalable Model-fitting Benchmark Environment for AI Agents under Astrophysical Constraints}},
  booktitle = {COLM},
  year = {2026},
  url = {https://openreview.net/forum?id=QLJaIenMoY},
}
Figure