Datasets:

Modalities:
Text
Languages:
English
Size:
< 1K
ArXiv:
License:
File size: 5,705 Bytes
e9bfb06
 
dbe27ff
5c930ba
 
 
 
dbe27ff
 
 
 
 
 
5c930ba
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
e9bfb06
dbe27ff
e9bfb06
 
9c6e96c
b9cefee
 
 
 
 
e9bfb06
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
---
license: cc-by-4.0
configs:
- config_name: default
  data_files:
  - split: verified
    path: data/verified-*
- config_name: validation
  data_files:
  - split: validation
    path: ScienceAgentBench.csv
language:
- en
dataset_info:
  features:
  - name: instance_id
    dtype: int64
  - name: domain
    dtype: string
  - name: subtask_categories
    dtype: string
  - name: github_name
    dtype: string
  - name: task_inst
    dtype: string
  - name: domain_knowledge
    dtype: string
  - name: dataset_folder_tree
    dtype: string
  - name: dataset_preview
    dtype: string
  - name: src_file_or_path
    dtype: string
  - name: gold_program_name
    dtype: string
  - name: output_fname
    dtype: string
  - name: eval_script_name
    dtype: string
  splits:
  - name: verified
    num_bytes: 280489
    num_examples: 102
  download_size: 129086
  dataset_size: 280489
---

## ScienceAgentBench

### Update 04/30/2026: To mitigate false negatives in evaluation, we have released a verified version of ScienceAgentBench. Please load our benchmark using the following code going forward and make sure you follow the latest instructions in our [github repository](https://github.com/OSU-NLP-Group/ScienceAgentBench): 
```py
from datasets import load_dataset
ds = load_dataset("osunlp/ScienceAgentBench", split="verified")
```

The advancements of language language models (LLMs) have piqued growing interest in developing LLM-based language agents to automate scientific discovery end-to-end, which has sparked both excitement and skepticism about their true capabilities.
In this work, we call for rigorous assessment of agents on individual tasks in a scientific workflow before making bold claims on end-to-end automation.
To this end, we present ScienceAgentBench, a new benchmark for evaluating language agents for data-driven scientific discovery: 
- To ensure the scientific authenticity and real-world relevance of our benchmark, we extract 102 tasks from 44 peer-reviewed publications in four disciplines and engage nine subject matter experts to validate them.
- We unify the target output for every task to a self-contained Python program file and employ an array of evaluation metrics to examine the generated programs, execution results, and costs.
- Each task goes through multiple rounds of manual validation by annotators and subject matter experts to ensure its annotation quality and scientific plausibility. 

## Benchmark Access

To prevent benchmark data contamination, we only provide the annotation sheet on Huggingface, which includes all necessary *inputs* to run an agent.

To evaluate the agent outcomes, i.e. generated code, please follow the instructions in our [github repository](https://github.com/OSU-NLP-Group/ScienceAgentBench).

## Benchmark Structure

- "instance_id" (str): unique id for each task
- "domain" (str): scientific discipline of each task
- "subtask_categories" (str): sub-tasks involved in each task
- "github_name" (str): the original github repository each task is adapted from
- "task_inst" (str): task goal description and output formatting instruction
- "domain_knowledge" (str): expert-annotated information about the task
- "dataset_folder_tree" (str): string representation of dataset directory structure for each task
- "dataset_preview" (str): string representation of the first few examples/lines in dataset files used in each task
- "src_file_or_path" (str): source program location in the original github repository that is adapted
- "gold_program_name" (str): name of annotated program (reference solution) for each task
- "output_fname" (str): output location to save the generated program for each task
- "eval_script_name" (str): name of evaluation script to check success criteria for each task

## Licensing Information

Most tasks in ScienceAgentBench is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
We retain their original licenses for tasks adapted from [rasterio/rasterio](https://github.com/rasterio/rasterio?tab=License-1-ov-file) (Instance ID: 32, 46, 53, 54, 84) and [hackingmaterials/matminer](https://github.com/hackingmaterials/matminer?tab=License-1-ov-file) (Instance ID: 3).

## Disclaimer

Our benchmark is constructed by adapting open-source code and data, to which we respect their creators' ownership and intellectual property. In Appendix I of our paper, we have made our best effort to cite the original papers, list the repositories, and provide their licenses. Still, we acknowledge that two repositories ([rasterio/rasterio](https://github.com/rasterio/rasterio) and [hackingmaterials/matminer](https://github.com/hackingmaterials/matminer)) are copyrighted and believe their terms for use are compatible with our research purpose. We welcome requests from the original authors to modify or remove relevant tasks related to those two repositories if needed.

## Citation

If you find our code and data useful, please consider citing our paper:

```
@misc{chen2024scienceagentbenchrigorousassessmentlanguage,
      title={ScienceAgentBench: Toward Rigorous Assessment of Language Agents for Data-Driven Scientific Discovery}, 
      author={Ziru Chen and Shijie Chen and Yuting Ning and Qianheng Zhang and Boshi Wang and Botao Yu and Yifei Li and Zeyi Liao and Chen Wei and Zitong Lu and Vishal Dey and Mingyi Xue and Frazier N. Baker and Benjamin Burns and Daniel Adu-Ampratwum and Xuhui Huang and Xia Ning and Song Gao and Yu Su and Huan Sun},
      year={2024},
      eprint={2410.05080},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2410.05080}, 
}
```