SUPER: Evaluating Agents on Setting Up and Executing Tasks from Research Repositories

Ben Bogin, Kejuan Yang, Shashank Gupta, Kyle Richardson, Erin Bransom, Peter Clark, Ashish Sabharwal, Tushar Khot

Abstract

Given that Large Language Models (LLMs) have made significant progress in writing code, can they now be used to autonomously reproduce results from research repositories? Such a capability would be a boon to the research community, helping researchers validate, understand, and extend prior work. To advance towards this goal, we introduce SUPER, the first benchmark designed to evaluate the capability of LLMs in setting up and executing tasks from research repositories. SUPER aims to capture the realistic challenges faced by researchers working with Machine Learning (ML) and Natural Language Processing (NLP) research repositories. Our benchmark comprises three distinct problem sets: 45 end-to-end problems with annotated expert solutions, 152 sub-problems derived from the expert set that focus on specific challenges (e.g., configuring a trainer), and 602 automatically generated problems for larger-scale development. We introduce various evaluation measures to assess both task success and progress, utilizing gold solutions when available or approximations otherwise. We show that state-of-the-art approaches struggle to solve these problems with the best model (GPT-4o) solving only 16.3% of the end-to-end set, and 46.1% of the scenarios. This illustrates the challenge of this task, and suggests that SUPER can serve as a valuable resource for the community to make and measure progress.

Introduction: The Reproducibility Gap

While Large Language Models (LLMs) have become remarkably proficient at writing isolated snippets of code, the "reproducibility crisis" in science persists. For a researcher, the most significant hurdle to building on prior work is often not the conceptual complexity, but the practical "grunt work" of environment setup: installing outdated dependencies, fixing version conflicts, configuring data loaders, and debugging runtime errors in repositories that are often poorly documented.

Existing benchmarks like SWE-bench focus on popular, well-maintained repositories. However, most research happens in "low-profile" repositories—the authors found a median of just 14 GitHub stars for their set. These "in-the-wild" repos are messy and fragile. The SUPER benchmark asks: Can LLM agents handle the end-to-end messiness of actual research code?

Methodology: Evaluating Autonomous Agents

The authors developed a system to evaluate agents in a sandboxed, stateful environment using a Jupyter notebook engine. This allows agents to interactively run bash commands (to install packages) and Python code (to edit files and run scripts) as they navigate the complexities of a new repository.

An example of an LLM agent workflow within the SUPER benchmark, illustrating the iterative process of setting up an experiment, resolving dependency issues, and reporting final metrics.

To provide a nuanced view of performance, the framework introduces three evaluation layers:

  1. Outcome-based Evaluation: Does the agent's reported metric (e.g., "Accuracy: 0.27") match the gold standard?
  2. Landmark-based Evaluation: Instead of a binary pass/fail, this tracks "landmarks"—specific states like "successfully loaded data" or "started training"—to provide partial credit for progress.
  3. Code Masking: A novel technique where specific parts of a successful expert solution are "masked" (removed). This creates targeted sub-problems to see exactly where agents stumble, such as fixing a specific dependency bug.

The SUPER Benchmark

SUPER is distinguished from existing benchmarks by its focus on repository setup and its use of low-profile, realistic research codebases.

A comparison of SUPER against other major benchmarks, highlighting its unique requirements for repository setup and its focus on low-profile repositories with significantly fewer stars.

The benchmark consists of three distinct sets:

  • Expert Set (45 problems): Manually curated, end-to-end tasks from real research papers (2021 or later) with expert-written solutions.
  • Masked Set (152 sub-problems): Derived from the Expert set, focusing on specific hurdles like CPU/GPU compatibility, data configuration, and dependency resolution.
  • Auto Set (604 problems): Automatically generated using GPT-4o to filter and create tasks from thousands of GitHub repositories, allowing for larger-scale testing.

Key Results and Insights

The evaluation results serve as a wake-up call for the current state of autonomous agents:

  • The Performance Gap: GPT-4o was the top performer but solved only 16.3% of the end-to-end Expert tasks. While it fared better on isolated Masked sub-problems (46.1%), stringing these solutions together remains a major challenge.
  • Configuration is the Bottleneck: The hardest categories for agents were Data Configuration (27% success) and General Configuration (38% success). In contrast, fixing simple CPU/GPU issues was much easier (73% success).
  • Hallucination under Pressure: When faced with complex repositories, agents often "hallucinate" script arguments rather than reading the source code to verify them.
  • Proprietary vs. Open Source: There is a massive performance chasm. Open-source models like Llama 3.1-70B and Mixtral-8x22B were almost entirely unable to solve the end-to-end tasks, often scoring near zero.

Conclusion

The SUPER benchmark highlights a significant gap between writing code and managing complex, real-world software environments. While agents show promise in resolving isolated errors, the open-ended nature of research reproduction remains a difficult frontier. The authors suggest that the Auto set could be a valuable resource for fine-tuning models specifically for autonomous research, potentially closing the gap between current LLM capabilities and the needs of the scientific community.

Summary updated

BibTeX
@inproceedings{bogin2024super,
  author = {Ben Bogin and Kejuan Yang and Shashank Gupta and Kyle Richardson and Erin Bransom and Peter Clark and Ashish Sabharwal and Tushar Khot},
  title = {{SUPER: Evaluating Agents on Setting Up and Executing Tasks from Research Repositories}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  url = {https://openreview.net/forum?id=SLRwB5fOJs},
}
Figure