Skip to content

Commit 5b17173

Browse files
authored
Update index.md
1 parent 64abaa8 commit 5b17173

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

docs/index.md

+15-10
Original file line numberDiff line numberDiff line change
@@ -66,34 +66,39 @@
6666

6767
## Introduction
6868
<p align="justify">
69-
SciCode is a challenging benchmark designed to evaluate the capabilities of language models (LMs) in generating code for solving realistic scientific research problems. It has a diverse coverage of **16** subdomains from **6** domains: Physics, Math, Material Science, Biology, and Chemistry. Unlike previous benchmarks that consist of exam-like question-answer pairs, SciCode is converted from real research problems. SciCode problems naturally factorize into multiple subproblems, each involving knowledge recall, reasoning, and code synthesis. In total, SciCode contains **338** subproblems decomposed from **80** challenging main problems, and it offers optional descriptions specifying useful scientific background information and scientist-annotated gold-standard solutions and test cases for evaluation. Claude3.5-Sonnet, the best-performing model among those tested, can solve only **4.6%** of the problems in the most realistic setting. Broadly, SciCode demonstrates a realistic and scientists' everyday workflow of identifying critical science concepts and facts and then transforming them into computation and simulation code. We believe SciCode not only helps demonstrate contemporary LLMs' progress towards helpful assistant for scientists but also helps shed light on future building and evaluation of scientific AI.
69+
SciCode is a challenging benchmark designed to evaluate the capabilities of language models (LMs) in generating code for solving realistic scientific research problems. It has a diverse coverage of </strong>16</strong> subdomains from </strong>6</strong> domains: Physics, Math, Material Science, Biology, and Chemistry. Unlike previous benchmarks that consist of exam-like question-answer pairs, SciCode is converted from real research problems. SciCode problems naturally factorize into multiple subproblems, each involving knowledge recall, reasoning, and code synthesis. In total, SciCode contains </strong>338</strong> subproblems decomposed from </strong>80</strong> challenging main problems, and it offers optional descriptions specifying useful scientific background information and scientist-annotated gold-standard solutions and test cases for evaluation. Claude3.5-Sonnet, the best-performing model among those tested, can solve only </strong>4.6%</strong> of the problems in the most realistic setting. Broadly, SciCode demonstrates a realistic and scientists' everyday workflow of identifying critical science concepts and facts and then transforming them into computation and simulation code. We believe SciCode not only helps demonstrate contemporary LLMs' progress towards helpful assistant for scientists but also helps shed light on future building and evaluation of scientific AI.
7070
</p>
7171

7272

7373
## Overview
74+
<p align="justify">
7475
SciCode sources challenging and realistic research-level coding problems across 6 natural science disciplines, covering a total of 16 subfields. This diverse selection ensures a comprehensive representation of the natural sciences, where extensive code development is essential. SciCode is mainly drawn from the scripts that scientists use in their everyday workflow. Many of these have been used in one or more publications, demonstrating their robustness and correctness.
7576

7677
Among various coding necessities, Scicode mainly focuses on: 1. Numerical methods 2. Simulation of systems 3. Scientific calculation. These are the tasks we believe require intense scientific knowledge and reasoning to optimally test LM’s science capability. The below figure is an example of the combination of 1 and 3.
7778

78-
In designing test cases for evaluation, we incorporate domain-specific test cases in addition to numerical cases. These tests are extracted from real scientific workflows: scientists must design domain-specific test cases to verify code accuracy by reproducing results published in papers or matching analytical solutions derived from theoretical models. Each problem goes through **3** rounds of validation (i.e. by in-domain scientists, out-of-domain scientists, GPT4) for quality control.
79+
In designing test cases for evaluation, we incorporate domain-specific test cases in addition to numerical cases. These tests are extracted from real scientific workflows: scientists must design domain-specific test cases to verify code accuracy by reproducing results published in papers or matching analytical solutions derived from theoretical models. Each problem goes through </strong>3</strong> rounds of validation (i.e. by in-domain scientists, out-of-domain scientists, GPT4) for quality control.
80+
</p>
7981
![Image Title](figures/SciCode_example_problem.png)
8082
## Benchmark Statistics
8183

82-
| **Fields** | **Subfields** |
84+
| </strong>Fields</strong> | </strong>Subfields</strong> |
8385
|----------------------|---------------------------------------------------------------------------------------------------------------|
84-
| **Mathematics** | [Numerical Linear Algebra](problems.md#numerical-linear-algebra) (8), [Computational Mechanics](problems.md#computational-mechanics) (5), [Computational Finance](problems.md#computational-finance) (1) |
85-
| **Physics** | [Condensed Matter Physics](problems.md#condensed-matter-physics) (13), [Optics](problems.md#optics) (10), [Quantum Information/Computing](problems.md#quantum-informationcomputing) (6), [Computational Physics](problems.md#computational-physics) (5), [Astrophysics](problems.md#astrophysics) (2), [Particle Physics](problems.md#particle-physics) (1) |
86-
| **Chemistry** | [Quantum Chemistry](problems.md#quantum-chemistry) (5), [Computational Chemistry](problems.md#computational-chemistry) (3) |
87-
| **Biology** | [Ecology](problems.md#ecology) (6), [Biochemistry](problems.md#biochemistry) (1), [Genetics](problems.md#genetics) (1) |
88-
| **Material Science** | [Semiconductor Materials](problems.md#semiconductor-materials) (7), [Molecular Modeling](problems.md#molecular-modeling) (6) |
86+
| </strong>Mathematics</strong> | [Numerical Linear Algebra](problems.md#numerical-linear-algebra) (8), [Computational Mechanics](problems.md#computational-mechanics) (5), [Computational Finance](problems.md#computational-finance) (1) |
87+
| </strong>Physics</strong> | [Condensed Matter Physics](problems.md#condensed-matter-physics) (13), [Optics](problems.md#optics) (10), [Quantum Information/Computing](problems.md#quantum-informationcomputing) (6), [Computational Physics](problems.md#computational-physics) (5), [Astrophysics](problems.md#astrophysics) (2), [Particle Physics](problems.md#particle-physics) (1) |
88+
| </strong>Chemistry</strong> | [Quantum Chemistry](problems.md#quantum-chemistry) (5), [Computational Chemistry](problems.md#computational-chemistry) (3) |
89+
| </strong>Biology</strong> | [Ecology](problems.md#ecology) (6), [Biochemistry](problems.md#biochemistry) (1), [Genetics](problems.md#genetics) (1) |
90+
| </strong>Material Science</strong> | [Semiconductor Materials](problems.md#semiconductor-materials) (7), [Molecular Modeling](problems.md#molecular-modeling) (6) |
8991

9092
![Image Title](figures/SciCode_chart.png)
9193
<p style="text-align: center;">Left: Distribution of Main Problems Right: Distribution of Subproblems</p>
9294

93-
We include several research problems that are built upon or reproduce methods used in Nobel Prize-winning studies to highlight current trends in scientific research: the self-consistent field (SCF) method for density functional theory (DFT) calculations (**The Nobel Prize in Chemistry 1998**), the PMNS matrix for neutrino oscillation in matter (**The Nobel Prize in Physics 2015**), the Haldane model for the anomalous quantum Hall effect (**The Nobel Prize in Physics 2016**), optical tweezer simulations for microscopic thermodynamics (**The Nobel Prize in Physics 2018**), and the replica method for spin glasses (**The Nobel Prize in Physics 2021**).
94-
95+
<p align="justify">
96+
We include several research problems that are built upon or reproduce methods used in Nobel Prize-winning studies to highlight current trends in scientific research: the self-consistent field (SCF) method for density functional theory (DFT) calculations (</strong>The Nobel Prize in Chemistry 1998</strong>), the PMNS matrix for neutrino oscillation in matter (</strong>The Nobel Prize in Physics 2015</strong>), the Haldane model for the anomalous quantum Hall effect (</strong>The Nobel Prize in Physics 2016</strong>), optical tweezer simulations for microscopic thermodynamics (</strong>The Nobel Prize in Physics 2018</strong>), and the replica method for spin glasses (</strong>The Nobel Prize in Physics 2021</strong>).
97+
</p>
9598
## Experiment Results
99+
<p align="justify">
96100
We evaluate our model using zero-shot prompts. We keep the prompts general and design different ones for different evaluation setups only to inform the model about the tasks. We keep prompts the same across models and fields, and they contain the model’s main and sub-problem instructions and code for previous subproblems. The standard setup means the model is tested without background knowledge and carrying over generated solutions to previous subproblems. The scientists' annotated background provides the necessary knowledge and reasoning steps to solve the problems, shifting the evaluation’s focus more towards the models’ coding and instruction-following capabilities.
101+
</p>
97102
![Image Title](figures/Standard_Setup.png)
98103
![Image Title](figures/Standard_Background.png)
99104
![Image Title](figures/Performance_Gain.png)

0 commit comments

Comments
 (0)