arXiv(opens in a new tab)astro-ph.IMOct 2026

Manuscript Offprint

arXiv:2610.30282

Astro2Method: Benchmarking LLMs on Machine Learning Method Selection in Astronomy

Xingzhong Fan, Hangfeng He, Fatemeh Nargesian

Abstract

Machine learning (ML) is increasingly used in astronomy, but choosing a suitable method for a scientific problem often requires expertise in both astronomy and ML. Large language models (LLMs) could help astronomers make such choices, yet this ability remains underexplored in existing benchmarks. We introduce Astro2Method, a benchmark of 500 expert-reviewed binary questions from 346 astronomy papers (2024/01–2026/06), based on clear performance differences and complete (Easy) or partial (Hard) explanations from the authors. Across five LLMs, direct prompting achieves 87.50–92.55% accuracy on Easy questions but only 58.87–64.52% on Hard. Using historical papers, neither retrieval-augmented generation nor most agent methods with additional reasoning or retrieval (including ReAct, Self-Ask, and CRITIC) bring consistent improvement. Agents required to search the web improve accuracy mainly when they find the papers the questions are based on, with no consistent improvement otherwise. Providing the source paper's pipeline description with method names masked improves Hard accuracy, matching or exceeding web search. Together, these results suggest that relevant experimental information helps distinguish ML methods, but inferring it from related studies and domain knowledge remains challenging for LLMs in astronomy. 1^{1}

1 Introduction

With the rapid growth of astronomical data, machine learning (ML) is increasingly used in astronomy, contributing to discoveries such as the Galactic neutrino signal observed by IceCube (Ting, 2026; Collaboration*† et al., 2023). However, choosing an ML method often requires expertise in both astronomy and ML. Large language models (LLMs) can assist astronomical research, but they can also make mistakes (Sokol, 2026). Can they reliably help astronomers choose ML methods?

Existing LLM benchmarks in astronomy, such as AstroMLab (Ting et al., 2025) and Astro-QA (Li et al., 2025), mainly assess LLMs' astronomical knowledge; AstroVisBench (Joseph et al., 2025) evaluates code generation for astronomical data processing and visualization. Broader scientific benchmarks evaluate LLMs on competition and college-level questions (Qiu et al., 2025; He et al., 2024; Wang et al., 2023). This leaves a gap in evaluating LLMs' ability to select ML methods.

To address this gap, we introduce Astro2Method, a benchmark of 500 binary questions asking which ML method performs better for a given astronomical problem. Candidate methods may differ in model design, training strategy, or data processing. We screened 1,028 astronomy papers published between 2024/01/01 and 2026/06/30, selecting ML method comparisons from 346 papers based on clear performance differences and complete (Easy) or partial (Hard) explanations from the authors. All questions were reviewed and revised by human experts; 376 are Easy and 124 are Hard.

We test five LLMs with direct prompting and three with retrieval-augmented generation (RAG) and agent methods. Direct prompting shows a large accuracy gap between Easy and Hard. With retrieval limited to historical papers, RAG brings no consistent improvement, while agent methods using ReAct, Self-Ask, and CRITIC score 1.4–6.2 percentage points (pp) below direct prompting in Overall accuracy. In contrast, agents using web search can access the papers underlying the questions, with gains concentrated when those papers are found. Providing only the source paper's pipeline with method names masked improves Hard accuracy by 12.1–14.5 pp over direct prompting. These results suggest that relevant experimental information helps distinguish ML methods, but inferring it from related studies and domain knowl-

1^{1}The Astro2Method benchmark dataset is publicly available at https://huggingface.co/datasets/Xingzhongfan/Astro2Method.

Figure

Human expert refinement at every stage

Figure 1: Dataset construction pipeline. We extract comparisons from astronomy papers, screen them using performance differences and authors' explanations, and write binary questions with expert review throughout.

edge remains challenging for LLMs in astronomy.