[논문 리뷰] Exploring the Impact of Instruction Data Scaling on Large Language Models: An Empirical Study on Real-World Use Cases
본 논문은 다양한 규모의 지시 데이터가 실제 중국어 사용 사례에서 지시를 따르는 LLM에 미치는 영향을 분석하고, 일부 작업에서 더 많은 데이터로 넓은 이득을 얻지만 수학 및 코드 작업은 개선이 고점에 이르는 것을 관찰한다. 또한 데이터 품질과 향후 방향에 대해서도 논의한다.
The success of ChatGPT has recently attracted numerous efforts to replicate it, with instruction-tuning strategies being a key factor in achieving remarkable results. Instruction-tuning not only significantly enhances the model's performance and generalization but also makes the model's generated results more consistent with human speech patterns. However current research rarely studies the impact of different amounts of instruction data on model performance, especially in the real-world use cases. In this paper we explore the performance of large language models based on instruction tuning across different scales of instruction data. An evaluation dataset consisting of 12 major online use cases is constructed in the experiment. With Bloomz-7B1-mt as the base model, the results show that 1) merely increasing the amount of instruction data leads to continuous improvement in tasks such as open-ended generation, 2) in tasks such as math and code, the model performance curve remains quite flat while increasing data size. We further analyze the possible causes of these phenomena and propose potential future research directions such as effectively selecting high-quality training data, scaling base models and training methods specialized for hard tasks. We will release our training and evaluation datasets, as well as model checkpoints.
연구 동기 및 목표
- 실세계 작업에서 지시 데이터 크기가 달라질 때 지시를 따르는 LLM의 성능에 미치는 영향을 조사한다.
- 12가지 온라인 사용 사례에 걸친 중국어 지시 학습 및 평가 데이터세트를 만든다.
- 과제별 확장 동향을 분석하여 병목 현상과 최적 데이터 범위를 식별한다.
- 데이터 품질, 기저 모델 확장, 작업 특화 학습 방법 등을 포함한 향후 연구 방향을 제시한다.
제안 방법
- 네 가지 데이터 규모(0.2M, 0.6M, 1M, 2M 지시문)로 Bloomz-7B1-mt 기본 모델을 미세조정하여 BELLE-7B-0.2M, BELLE-7B-0.6M, BELLE-7B-1M, BELLE-7B-2M를 생성한다.
- 시드를 중국어로 번역하고 ChatGPT를 활용한 인컨텍스트 학습으로 확장하여 지시 데이터 생성; 평가 데이터와 12가지 유형의 테스트 세트를 구성한다.
- 평가자로 ChatGPT를 사용하여 모델 응답을 평가하고, 각 지시를 0에서 1 사이로 점수화하며 세 차례 실행의 평균으로 산출한다.
- 과제별 성능을 분석하여 어떤 작업이 데이터 확장으로 이익을 얻고 어떤 작업이 포화되는지 식별하고, 데이터 품질을 한계 요인으로 논의한다.
실험 결과
연구 질문
- RQ1실세계 중국어 사용 사례에서 지시를 따르는 LLM의 성능에 지시 데이터 크기가 어떻게 영향을 미치는가?
- RQ2데이터가 더 많을 때 지속적으로 이익을 보는 작업 유형과 포화되는 작업은 무엇인가?
- RQ3수학, 코드, 사고 연쇄(COT)와 같은 어려운 작업의 개선을 제한하는 병목 현상은 무엇인가?
- RQ4데이터 품질 및 데이터 선택 전략을 어떻게 활용하여 지시 미세조정 결과를 더욱 개선할 수 있는가?
주요 결과
- 지시 데이터가 늘어날수록 성능이 일반적으로 향상되며, 특히 자유형 생성 작업에서 두드러진다.
- 수학, 코드, 및 COT 작업은 약 1M 데이터 를 넘어서도 이익이 제한적으로 나타내며, 이는 데이터 품질이나 모델 규모의 한계를 시사한다.
- 추출, 분류, 폐쇄형 질의응답(QA), 요약은 더 큰 데이터에서 계속 이득을 보이나, 매우 큰 규모에서는 이득이 포화될 수 있다.
- 번역, 재작성, 생성, 아이디어 스케치(브레인스토밍)는 2M 지시 이하에서도 잘 작동할 수 있다.
- 대략 20만 개의 학습 예제로도 기본 성능이 이미 강하다는 점은 작업 간 데이터 효율이 다름을 시사한다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.