[논문 리뷰] Late-to-Early Training: LET LLMs Learn Earlier, So Faster and Better
LET은 더 큰 모델의 초기 층이 더 작은 사전학습 모델의 후기층 표현으로부터 학습하는 "늦은-에서-초기" 학습을 도입하여 수렴 속도를 높이고 다운스트림 성능을 향상시킨다. 교사가 훨씬 작더라도 표준 학습을 1.4B 및 7B 모델에서 능가한다.
As Large Language Models (LLMs) achieve remarkable empirical success through scaling model and data size, pretraining has become increasingly critical yet computationally prohibitive, hindering rapid development. Despite the availability of numerous pretrained LLMs developed at significant computational expense, a fundamental real-world question remains underexplored: extit{Can we leverage existing small pretrained models to accelerate the training of larger models?} In this paper, we propose a Late-to-Early Training (LET) paradigm that enables LLMs to explicitly learn later knowledge in earlier steps and earlier layers. The core idea is to guide the early layers of an LLM during early training using representations from the late layers of a pretrained (i.e. late training phase) model. We identify two key mechanisms that drive LET's effectiveness: late-to-early-step learning and late-to-early-layer learning. These mechanisms significantly accelerate training convergence while robustly enhancing both language modeling capabilities and downstream task performance, enabling faster training with superior performance. Extensive experiments on 1.4B and 7B parameter models demonstrate LET's efficiency and effectiveness. Notably, when training a 1.4B LLM on the Pile dataset, our method achieves up to 1.6$ imes$ speedup with nearly 5\% improvement in downstream task accuracy compared to standard training, even when using a pretrained model with 10$ imes$ fewer parameters than the target model.
연구 동기 및 목표
- 기존의 작은 사전학습 LLM을 활용하여 더 큰 LLM의 사전학습을 가속화하되 아키텍처 제약 없이 활용하는 것을 모티브로 한다.
- LET 패러다인(늦은-초기 계층 학습과 늦은-초기 스텝 학습)을 도입한다.
- 1.4B 및 7B 모델에 대한 경험적 평가를 통해 LET의 효과와 효율성을 입증한다.
- LET가 다운스트레이드 작업 성능과 언어 모델링 perplexity를 개선하면서 학습 스텝 수를 줄임을 보인다.
제안 방법
- 대상 모델의 초기 층과 더 작은 사전학습 모델의 후기 층 간의 정식 정렬 objective를 정의한다.
- 필요한 경우 표현 안정화를 위해 projection과 cosine-similarity 손실(L_proj)을 사용한다.
- 가이던스에서 자율 학습으로 전환하기 위한 감소하는 가중치 lambda를 도입한다(L_total = L_NLL + lambda * L_proj).
- The Pile 데이터셋에서 학습된 서로 다른 소형 교사 모델(OPT-125M, Pythia-160M, SmolLM-135M)과 대상 크기(1.4B, 7B)로 실험한다.
- LET를 Baseline, RKD, SALT와 비교하여 다운스트레이드 작업과 언어 모델링 perplexity를 평가한다.
- 레이어 정렬 전략 및 하이퍼파라미터(lambda를 특히) 등에 대한 제거 실험을 보고한다.
실험 결과
연구 질문
- RQ1작은 사전학습 모델을 일반적으로 활용해 훨씬 큰 LLM의 사전학습을 가속화할 수 있는가?
- RQ2늦은-레이어 학습과 늦은-스텝 학습 메커니즘이 더 빠른 수렴과 더 나은 일반화로 이어지는가?
- RQ3교사 모델이 대상 모델보다 상당히 작을 때도 LET는 여러 크기에 대해 어떤 성능을 보이나?
- RQ4다른 레이어 정렬 구성과 정렬 가중치가 성능 및 학습 속도에 미치는 영향은 어떠한가?
주요 결과
- LET는 1.4B 및 7B 모델 모두에서 Baseline보다 평균 다운스트레이드 정확도가 더 높다.
- 1.4B의 경우 LET는 다운스트레이드 개선이 최대 1.6배 빠르면서 교사가 파라미터 수가 10배 더 적은 경우에도 유사하거나 더 나은 평균 성능에 도달한다.
- LET는 세 가지 어휘 설정 전반에서 언어 모델링 perplexity를 지속적으로 낮춘다.
- LET는 학습 속도를 높여 Baseline을 능가하는 데 필요한 학습 스텝의 2/3 미만으로 단축시키며, 심지어 10x 더 작은 교사와도 동일한 효과를 보인다.
- ABLATIONS는 L2E(늦은-레이어에서 초기-레이어로의 정렬)가 교사의 늦은 레이어와의 정렬에서 가장 강력하고 안정적인 성능을 보임을 시사한다.
- Optimal lambda가 대략 0.1쯤에서 가이드와 데이터 기반 학습의 균형을 이룬다; 너무 높거나 낮은 값은 성능을 저하시킨다.
- LET-1.4B는 파라미터 수가 더 적은 Baseline-3B를 능가할 수 있어 데이터 효율성이 향상됨을 시사한다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.