Skip to main content
QUICK REVIEW

[논문 리뷰] LlaSMol: Advancing Large Language Models for Chemistry with a Large-Scale, Comprehensive, High-Quality Instruction Tuning Dataset

YU Bo-tao, Frazier N. Baker|arXiv (Cornell University)|2024. 02. 14.
Topic ModelingComputer Science인용 수 12
한 줄 요약

본 논문은 SMolInstruct를 화학 분야를 위한 3.4M-sample의 14-task 지도-조정 데이터세트를 도입하고, Galactica, Llama 2, Code Llama, Mistral을 기반으로 한 미세조정된 LlaSMol 모델이 화학 태스크에서 GPT-4를 능가하고 특정 작업-최첨단 모델에 근접함을 보인다.

ABSTRACT

Chemistry plays a crucial role in many domains, such as drug discovery and material science. While large language models (LLMs) such as GPT-4 exhibit remarkable capabilities on natural language processing tasks, existing research indicates that their performance on chemistry tasks is discouragingly low. In this paper, however, we demonstrate that our developed LLMs can achieve very strong results on a comprehensive set of chemistry tasks, outperforming the most advanced GPT-4 and Claude 3 Opus by a substantial margin. To accomplish this, we propose SMolInstruct, a large-scale, comprehensive, and high-quality dataset for instruction tuning. It contains 14 selected chemistry tasks and over three million samples, laying a solid foundation for training and evaluating LLMs for chemistry. Using SMolInstruct, we fine-tune a set of open-source LLMs, among which, we find that Mistral serves as the best base model for chemistry tasks. Our analysis further demonstrates the critical role of the proposed dataset in driving the performance improvements.

연구 동기 및 목표

  • 작업-특정 모델을 넘어 화학 분야에서 LLM의 필요성을 동기 부여한다.
  • 화학 태스크를 위한 대규모이고 고품질의 지도학습 데이터세트를 제공한다.
  • 다양한 화학 태스크에서 미세조정된 LLM이 GPT-4를 능가할 수 있음을 보여준다.
  • 성능에 미치는 기본 모델 선택과 학습 가능한 매개변수의 영향을 분석한다.

제안 방법

  • 다양한 소스에서 14개 화학 태스크와 3M 샘플을 초과하는 SMolInstruct를 구성한다.
  • 누출을 피하기 위한 엄격한 데이터 정리, 분할 및 SMILES 표현의 표준화를 적용한다.
  • LoRA를 사용하여 SMolInstruct에서 네 가지 오픈소스 LLM(Galactica, Llama 2, Code Llama, Mistral)을 미세조정한다.
  • 여러 화학 태스크에 걸쳐 GPT-4 및 SoTA 작업-특정 모델을 포함한 벤치마크와 비교하여 평가한다.
  • 학습 가능한 매개변수 크기와 모듈 선택의 영향을 연구하기 위해 다양한 LoRA 구성들을 비교한다.
Figure 1 : An overview of tasks in the proposed SMolInstruct dataset.
Figure 1 : An overview of tasks in the proposed SMolInstruct dataset.

실험 결과

연구 질문

  • RQ1대규모의 고품질 지시-조정 데이터세트가 LLM들이 광범위한 화학 태스크를 효과적으로 수행하게 할 수 있는가?
  • RQ2SMolInstruct로의 미세조정이 화학 벤치마크에서 제로샷 혹은 비조정 LLM과 어떻게 비교되는가?
  • RQ3화학 태스크 성능에 대한 기본 모델 선택과 LoRA 매개변수화의 영향은 무엇인가?
  • RQ4LLMs가 화학 태스크에서 최첨단 작업-특정 모델에 얼마나 근접하거나 이를 능가할 수 있는가?

주요 결과

  • SMolInstruct에서 테스트된 모든 화학 태스크에서 LlaSMol 모델이 GPT-4를 능가한다.
  • Mistral 기반 LlaSMol이 네 가지 기본 모델 중 일관되게 가장 강한 성능을 보인다.
  • 약 0.59%의 학습 가능한 매개변수(~7B 중 ~40M)로 LlaSMol은 여러 태스크에서 SoTA에 근접하거나 이를 능가할 수 있다(예: NC-I2S, PP-SIDER, MC).
  • 일반 태스크에서 LlaSMol 모델이 Molinst( Mol-Instructions 미세조정)보다 때때로 우위를 점하며, 더 크고 고품질의 SMolInstruct 데이터세트의 이점을 시사한다.
  • Code Llama 및 Mistral 기반은 프로그래밍-언어/코딩 구조와 화학 표현 간의 시너지를 보여주며 SMILES 관련 태스크를 개선한다.
  • 더 큰 기본 모델과 더 많은 LoRA 모듈은 일반적으로 더 좋은 결과를 내지만, 기본 모델의 능력은 여전히 성능의 핵심 결정요인이다.
Figure 2 : Performance on the FS task under different LoRA settings and base models.
Figure 2 : Performance on the FS task under different LoRA settings and base models.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.