Fisher-R1 is an open-weight large language model (LLM) agent designed to perform reliable scientific hypothesis testing. Researchers Jiacheng Miao, Jin Mu, Guanhua Chen, and James Zou developed this agent to address the tendency of current LLMs to produce technically valid code while making flawed inferential choices, such as selecting inappropriate statistical tests for a given dataset.
The Challenge of Automated Inference
While LLM agents can inspect data and write code, they often fail to perform rigorous hypothesis testing. The authors note that an agent might correctly identify data outliers but still proceed with a linear regression that produces a misleading result. Existing benchmarks for data analysis focus on code execution or factoid retrieval rather than the validity of the statistical method chosen or the accuracy of the resulting p-value. This creates a risk of "false discoveries" in high-stakes fields like medicine, biology, and economics.
P-Bench: A New Benchmark
To measure these inferential errors, the authors introduced P-Bench, a collection of 425 open-ended hypothesis-testing tasks. Each task includes a scientific question, a dataset, and a hidden answer key derived from canonical reference analyses. These tasks span various statistical methods—such as Cox regression, t-tests, and rank-based tests—and include adversarial data conditions like heteroskedasticity and clustered observations. The benchmark is designed to ensure that agents cannot succeed by relying on a single, fixed statistical recipe.
Training Fisher-R1
The researchers trained Fisher-R1 using a two-stage process: 1. Supervised Fine-tuning (SFT): The model was trained on 3,851 expert-generated trajectories that follow a structured workflow: exploratory data analysis, assumption checking, method selection, and conclusion drafting. 2. Reinforcement Learning (RL): The model was further optimized using synthetic tasks with verified answer keys. The RL process used a reward function that evaluates the accuracy of the reported p-value and the consistency of the final decision (reject or fail-to-reject the null hypothesis).
Performance Results
On P-Bench, the 14B-parameter version of Fisher-R1 outperformed several proprietary and open-source models, including GPT-5.4 and DeepSeek-V4-Pro. According to the paper, Fisher-R1-14B achieved a 21% average relative improvement in single-trial success over DeepSeek-V4-Pro, with performance gains reaching 26% on the most challenging tasks. These results suggest that reinforcement learning on tasks with verified statistical rewards is an effective way to improve the reliability of LLM agents in scientific reasoning.
Comments (0)
to join the discussion
No comments yet
Be the first to share your thoughts!