Skip to main content
QUICK REVIEW

[논문 리뷰] OLMo: Accelerating the Science of Language Models

Dirk Groeneveld, Iz Beltagy|arXiv (Cornell University)|2024. 02. 01.
Topic ModelingComputer Science인용 수 9
한 줄 요약

OLMo는 완전한 오픈 소스의 1B/7B(이상) 디코더 전용 Transformer 언어 모델 프레임워크로, 가중치, 데이터, 학습/추론 코드 및 평가 도구를 공개하여 LM에 대한 오픈 과학적 연구를 가능하게 한다.

ABSTRACT

Language models (LMs) have become ubiquitous in both NLP research and in commercial product offerings. As their commercial importance has surged, the most powerful models have become closed off, gated behind proprietary interfaces, with important details of their training data, architectures, and development undisclosed. Given the importance of these details in scientifically studying these models, including their biases and potential risks, we believe it is essential for the research community to have access to powerful, truly open LMs. To this end, we have built OLMo, a competitive, truly Open Language Model, to enable the scientific study of language models. Unlike most prior efforts that have only released model weights and inference code, we release OLMo alongside open training data and training and evaluation code. We hope this release will empower the open research community and inspire a new wave of innovation.

연구 동기 및 목표

  • 과학 연구를 위한 엔드 투 엔드 LM 개발 산출물(데이터, 코드, 모델, 평가)을 공개하여 언어 모델의 연구를 촉진합니다.
  • 사전학습 데이터, 아키텍처, 학습 선택이 능력, 편향, 위험에 미치는 영향을 엄밀하게 분석할 수 있도록 합니다.
  • 오픈 모델과 최첨단 클로즈드 모델의 확장 가능한 프레임워크를 제공하고 결과 재현을 가능하게 합니다.

제안 방법

  • 바이어스가 없고 비매개변수 계층 정규화, SwiGLU, RoPE, 수정된 BPE 토크나이저를 갖춘 디코더 전용 Transformer 아키텍처를 채택합니다.
  • Dolma를 프리트레이닝 코퍼스로 사용하는 최소 2조 토큰 이상에서 1B 및 7B 등 여러 모델 크기를 사전 학습합니다(65B는 학습 중).
  • ZeRO + FSDP 분산 학습을 사용하여 AMD/NVIDIA 하드웨어에서 혼합 정밀도로 학습을 확장합니다.
  • Apache 2.0 하에서 Dolma 및 WIMBD 도구를 포함한 중간 체크포인트, 학습 로그, 완전한 데이터 및 도구를 공개합니다.
  • Catwalk으로 다운스트림 태스크를 평가하고 Paloma로 perplexity를 평가합니다; 아키텍처 및 데이터 선택을 안내하기 위한 루프 내 학습 소거(ablations)를 수행합니다.
  • Open Instruct 데이터를 사용한 명령학습(instruction-tuning) 및 Direct Preference Optimization (DPO)으로 적응을 보여줍니다.
Figure 1: Accuracy score progression of OLMo-7B on 8 core end-tasks score from Catwalk evaluation suite described in Section 2.4 . We can see the benefit of decaying LR to 0 in the final 1000 steps of training on most tasks.
Figure 1: Accuracy score progression of OLMo-7B on 8 core end-tasks score from Catwalk evaluation suite described in Section 2.4 . We can see the benefit of decaying LR to 0 in the final 1000 steps of training on most tasks.

실험 결과

연구 질문

  • RQ1오픈되고 완전히 공개된 LM 인프라(데이터, 가중치, 학습/평가 코드)가 LM에 대한 과학적 연구를 어떻게 가능하게 하는가?
  • RQ2편향 항, 계층 정규화, 활성화 함수, RoPE와 같은 모델 설계 선택이 학습 안정성 및 처리량에 어떤 영향을 미치는가?
  • RQ3Dolma와 같은 대규모 오픈 프리트레이닝 데이터셋이 다양한 과제 및 perplexity 영역에서 모델의 능력과 데이터 도메인 커버리지를 어떻게 영향을 미치는가?
  • RQ4지침-조정 및 정렬(DPO)이 안전성 및 다운스트림 작업 성능에 대해 기본 오픈 모델에 어떤 영향을 미치는가?
  • RQ5오픈 모델은 제로샷 다운스트림 태스크 및 오염 제거된 데이터로 평가할 때 동시대의 기준선과 비교하여 어떤 차이가 있는가?

주요 결과

  • OLMo-7B는 제로샷 평가에서 8개 핵심 다운스트림 태스크에서 공개적으로 사용 가능한 7B 규모 모델과 경쟁력이 있다.
  • OLMo-7B는 학습 토큰이 증가함에 따라 성능이 향상되며, 최종 단계에서 학습률이 0으로 감소할 때 특히 큰 이득을 얻는 경향이 있다.
  • 지시 학습 및 DPO 적응은 안전성 및 태스크 지표를 크게 개선하여 종종 다른 채팅 버전들을 능가하고 기본 모델의 활용성을 강하게 보여준다.
  • Paloma 기반의 고유 평가에서 프리퀀시 11개 데이터 소스에서 오염 제거된 경우 경쟁력 있는 perplexity 적합도를 보인다.
  • 적응 결과는 일부 조정된 동료들(Tülu 2 등) 대비 격차를 보이며, 이는 데이터 세트 정렬 및 테스트 오염 가능성 때문일 수 있다.
  • 중간 체크포인트 및 데이터 파이프라인의 공개는 재현성과 연구 커뮤니티의 추가 실험을 가능하게 한다.
Figure 2: Bits per byte on 11 evaluation data sources from Paloma and their combination (Magnusson et al., 2023 ) , decontaminated from OLMo’s pretraining data. While models follow a general data scaling trend, sample efficiency is most favorable on in-distribution data. For example, OLMo-7B overtak
Figure 2: Bits per byte on 11 evaluation data sources from Paloma and their combination (Magnusson et al., 2023 ) , decontaminated from OLMo’s pretraining data. While models follow a general data scaling trend, sample efficiency is most favorable on in-distribution data. For example, OLMo-7B overtak

이 논문 읽기

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

누빈트에서 이 논문 읽기

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