매일 아침, 어제의 AI를 한 통으로 정리해 보내드립니다메일로 받아보기

METAL LAB

SWE-bench Science: Can Coding Agents Resolve Engineering Tasks in Science?

arXiv:2608.197992026-08-21

AI 코딩 에이전트에게 과학 소프트웨어 수리를 시켜보니, 절반도 제대로 못 고쳤다

연구자들이 화학, 생물학, 물리학 등 20개 과학 분야의 실제 깃허브 저장소 98곳에서 뽑은 119개 수리 과제로 'SWE-bench Science'라는 새 시험지를 만들었다. 가장 성적이 좋았던 AI 코딩 에이전트(Claude Code + Opus-5)조차 정확 성공률(pass@1)이 50%를 넘지 못했다. 연구팀은 왜 실패하는지 네 가지 유형으로 분석하고, 과학적 배경지식을 알려주는 것이 항상 도움이 되는 건 아니라는 점도 확인했다.

무엇을 했나

  1. 기존 코딩 벤치마크는 단순 함수 작성이나 일반 소프트웨어 버그 수정 위주였는데, 이번 연구는 실제 과학 연구용 소프트웨어(시뮬레이션, 실험 데이터 처리 코드 등)를 고치는 능력을 테스트했다
  2. 과제를 세 유형으로 나눴다: 알려진 버그를 고치는 '이슈 기반', 원인을 스스로 추리해야 하는 '전문가 탐색형', 여러 모듈을 연결해야 하는 '엔지니어링 통합형'
  3. GPT-5.6-sol, Claude-Opus-5, DeepSeek-V4-Pro 등 8개 AI 에이전트 조합을 테스트한 결과, 눈에 보이는 공개 테스트는 대부분 90%대로 잘 통과했지만 숨겨진 정밀 검증(비공개 테스트)에서는 성공률이 크게 떨어졌다
  4. 실패 원인을 지식 부족, 겉핥기식 수리, 통합 누락, 일반화 실패의 네 가지로 분류해 분석했다
  5. 과학적 배경 설명을 추가로 주는 실험에서, 어떤 모델(DeepSeek-V4-flash)은 성적이 올랐지만 다른 모델(GPT-5.6-sol)은 오히려 정확 성공률이 떨어졌다. 즉 정보를 더 준다고 무조건 더 잘 고치는 게 아니었다
SWE-bench Science: Can Coding Agents Resolve Engineering Tasks in Science? figure 0
Table 4 Distribution of the 119 SWE-bench Science tasks across 20 scientific domains.
Scientific domainTasks
Chemistry24
Materials Science and Engineering16
Biology13
Biomedical Engineering12
Physics11
Mathematics7
Astronomy7
Atmospheric Science5
Civil Engineering5
Surveying and Mapping Science and Technology3
Geophysics3
Mechanics3
Electrical Engineering2
Marine Science2
Geography1
Aeronautical and Astronautical Science and Technology1
Nuclear Science and Technology1
Computer Science and Technology1
Statistics1
Information and Communication Engineering1
Total119
Figure 1 Pass@1 comparison of coding agents on SWE-bench Science.
Figure 1 Pass@1 comparison of coding agents on SWE-bench Science.

왜 중요한가

AI가 과학 논문을 뒷받침하는 코드까지 대신 고쳐주는 시대가 다가오는데, 겉보기 테스트만 통과시키고 실제 과학적 타당성은 놓치는 '눈속임 수리'가 흔하다는 걸 이 연구가 구체적으로 보여준다. 연구 소프트웨어를 다루는 개발자나 AI 도구 개발자 모두 이런 실패 유형을 알아야 더 신뢰할 수 있는 도구를 만들 수 있다.

Figure 3 Evaluation pipeline in SWE-bench Science for an example task. The diagram shows the frozen agent-visible inputs, the agent-driven coding loop, and the clean evaluation phase with separate public diagnostics and private scientific cases.
Figure 3 Evaluation pipeline in SWE-bench Science for an example task. The diagram shows the frozen agent-visible inputs, the agent-driven coding loop, and the clean evaluation phase with separate public diagnostics and private scientific cases.

이 논문의 용어

  • pass@1 · AI가 한 번 시도해서 숨겨진 모든 정밀 테스트를 완벽히 통과했는지 보는 엄격한 성공률 지표
  • 이슈 기반(Issue-driven) 과제 · 실제 보고된 버그를 그대로 고치는 유형의 과제
  • 전문가 탐색형(Expert-exploratory) 과제 · 원인이 알려지지 않은 상태에서 AI가 스스로 원인을 찾아내야 하는 유형
  • 엔지니어링 통합형(Engineering-integration) 과제 · 여러 파일과 모듈을 연결해 전체 기능을 완성해야 하는 유형
  • 공개/비공개 테스트 · AI가 미리 볼 수 있는 검증용 테스트와, 제출 후에야 적용되는 숨겨진 정밀 검증 테스트
Figure 4 Combined overview of raw-task construction and class-specific task re-design.
Figure 4 Combined overview of raw-task construction and class-specific task re-design.

본문에 싣지 못한 그림

  • Figure 1
원문에서 그림 보기 →

논문 원문 초록 (영문)

Software increasingly functions as part of the scientific instrument itself, making failures in scientific code capable of compromising not only program behavior but also the evidence underlying scientific conclusions. Yet existing evaluations of coding agents largely emphasize aggregate task success, providing limited insight into why agents fail when repairing scientific software. We introduce \textbf{SWE-bench Science}, a repository-level benchmark for scientific software engineering comprising 119 tasks from 98 GitHub repositories across 20 scientific domains. Each task is organized into one of three paradigms: Issue-driven, Expert-exploratory, and Engineering-integration. Even the best-performing agent, \textbf{Claude Code with Opus-5 (max), achieves a pass@1 below 50\%}, highlighting the substantial challenges posed by scientific software engineering. We identify four recurring failure mechanisms: deficits in scientific knowledge or abstraction, misguided exploration or surface-level repair, incomplete repair coverage or system integration, and failures to generalize scientific knowledge beyond observed cases in our analysis. We further conduct a paired ablation that removes explicit scientific guidance while preserving the repository and executable engineering context. The results show that scientific knowledge is not uniformly beneficial: well-grounded information can constrain repair and improve average performance and token efficiency, whereas poorly aligned guidance can induce anchoring and does not necessarily improve exact repair success. Together, SWE-bench Science provides a broad testbed for studying both the capabilities and failure mechanisms of coding agents in scientific software engineering.

저자 · Zhipeng Xu, Jiahao Lu, Yining Zheng, Yuxin Wang, Xipeng Qiu

arXiv에서 원문 보기

최신 논문

논문 전체 보기 →

METAL LAB 최신 기사

그림 출처: Zhipeng Xu et al., arXiv:2608.19799, CC BY 4.0