AI Agents Can Write Perfect Code But Can't Do Real Science: Princeton's Sobering Finding
Frontier AI agents can debug GPU clusters, run hundreds of experiments, and produce camera-ready research papers without human help, yet both papers submitted in a new Princeton study were unambiguously rejected by domain experts. The finding exposes a fundamental limitation in how AI systems approach open-ended scientific discovery, even as the field races toward more ambitious automation goals.
The timing of the research is particularly striking. OpenAI CEO Sam Altman announced in October 2025 that the company would deliver a working "automated AI research intern" before September 2026, a deadline now just 32 days away. The Princeton study is the first empirical test designed to measure whether frontier agents can actually do what that intern would need to do: identify which experiments matter, recognize when an approach is failing, and produce research that domain experts find credible.
Sam Altman
Why Standard AI Research Benchmarks Miss the Real Problem
The researchers identified a structural flaw in how the field currently measures AI research capability. Existing benchmarks like SWE-Bench, MLE-Bench, and EXP-Bench test agents on tasks with known answers: fix this software bug, beat this Kaggle competition score, or run these experiments and hit this target metric. Any task that can be graded automatically can also be optimized against during training, making the measure and the target the same thing.
EXP-Bench, which curated 461 research tasks from 51 top-tier AI papers, represents the ceiling of the current benchmark-only approach. On complete, executable experiments with known answers, the success rate across frontier models was just 0.5%. The Princeton team asked a different question: what happens when the answers are genuinely unknown ?
How the Princeton Team Tested Real Research Capability
The researchers introduced a method called "shadow evaluations," where AI agents attempted the same intellectual problems that human researchers had tackled, without access to the published papers, findings, or methods. The design had three critical properties that distinguished it from prior approaches:
- Real, Unpublished Questions: Research questions came from two NeurIPS 2026 submissions not yet public, so agents could not have memorized answers from training data.
- Expert Graders: The original scientists who posed the questions evaluated the results, making them the most qualified judges on Earth to assess whether meaningful progress was made.
- Genuinely Open-Ended Tasks: There was no automated verification rubric because the questions did not yet have verified answers, forcing agents to navigate true uncertainty.
One paper concerned the structure and controllability of large language model personas using weight-space interventions (the Personas paper). The other involved designing a distribution-shift detector for tabular foundation models (the TabPFN paper). Both represent the kind of empirical machine learning research that appears in top-tier AI conferences where career-defining publications are made.
Each agent received the research question, full access to a Linux virtual machine running in Amazon Web Services, the same datasets and code available to the human authors, a subagent for running AI self-review against a NeurIPS rubric, access to external AI review tools including the Stanford Agentic Reviewer and the CMU Paper Reviewer, and $3,000 in Anthropic API credits plus GPU compute credits. The goal was to produce a paper worthy of publication at a top-tier AI conference.
What the Rejections Revealed About AI Research Thinking
Both papers were rejected decisively. The Personas paper received a score of 2 out of 6 (Reject); the TabPFN paper received a 1 out of 6 (Strong Reject). Both reviewers scored their confidence at 4 or 5 out of 5, indicating high certainty in their assessments.
David Africa of the UK AI Security Institute, who graded the Personas submission, wrote that the experiments and methodological choices "were bizarre, and hard to understand," and that results "seem clearly a result of post hoc choices." Viet Nguyen of the University of Toronto, who graded the TabPFN submission, flagged what he described as a non-scientific leap: the agent tested a few unsuccessful approaches using a model's internal signals and concluded that no such signals could work, reasoning he called "a kind of 'proof by example' fallacy".
"The experiments and methodological choices were bizarre, and hard to understand. Results seem clearly a result of post hoc choices," said David Africa, evaluator at the UK AI Security Institute.
David Africa, UK AI Security Institute
Both reviewers also flagged the writing quality. Nguyen called the prose "impossible to quickly distill," making it impossible to tell what was noise and what mattered. Africa found the writing "dense and heavily hedged, often to the point of obscuring what was actually done and found".
The Engineering Success That Masked Scientific Failure
The contrast between engineering and science performance was stark. Both agents completed extensive literature reviews, debugged GPU environments, ran hundreds of experiments and robustness checks, retrieved external reviews via the web, and submitted full camera-ready LaTeX documents, all without human intervention. The only human interventions were logistical: resolving a scaffold bug, providing credentials, setting up a repository, and granting a 24-hour deadline extension when agents submitted early drafts.
Yet this technical competence masked deeper failures in scientific reasoning. The team's detailed log analysis identified five recurring failure patterns that explain why engineering excellence did not translate to publishable research:
- Poor Publishability Judgment: Agents consistently misjudged what level of contribution would constitute a meaningful scientific advance, settling on their weakest available hypothesis after faster initial experiments failed.
- Uncreative Problem Solving: When AI self-review tools returned "Weak Reject" across all 10 rounds in the TabPFN run, the agent responded by adding caveats and narrowing claims, never by redesigning the experiment or abandoning the approach.
- Ineffective Backtracking: Agents could backtrack locally by rerunning experiments and adjusting parameters, but never backtracked at the project level, continuing to pursue the same negative-results framing for 110 hours after falsifying all six initial hypotheses.
- Poor Resource Awareness: The Personas agent used just 37% of its API budget, while the TabPFN agent used 41%, with both runs ending hours before the deadline with incomplete exploration.
- Weak Scientific Judgment: One agent declared the project complete seven hours before the deadline while its own reviewer still returned a "Weak Reject," showing no understanding of when a research direction was genuinely exhausted.
What Does This Mean for AI Research Automation?
The Princeton findings suggest that the gap between AI agents' ability to execute research tasks and their ability to conduct research is far wider than recent benchmarks suggest. Agents excel at well-defined, measurable problems with clear success criteria. They struggle with the judgment calls that define scientific work: deciding which questions matter, recognizing when an approach is fundamentally flawed, and knowing when to abandon a direction entirely.
This distinction matters because it reveals what current AI systems are actually optimizing for. When a benchmark has a known answer, agents can be trained to hit that target. When the answer is unknown, agents lack the metacognitive framework to navigate genuine uncertainty. They cannot distinguish between a hypothesis that needs refinement and one that should be discarded entirely.
The research also highlights a broader tension in AI capability assessment. As AI systems become more capable at engineering tasks, the field risks conflating technical competence with scientific competence. A system that can write perfect LaTeX and debug GPU clusters looks impressive on a resume, but those skills are orthogonal to the judgment required to ask good questions and recognize when you have found something worth publishing.
The Princeton team's shadow evaluation method itself represents a significant contribution, offering a template for how to test AI systems on genuinely open-ended problems where the answer cannot be known in advance. As AI agents become more ambitious, this kind of evaluation may become essential for distinguishing real progress from benchmark gaming.