[논문 리뷰] Qalb: Largest State-of-the-Art Urdu Large Language Model for 230M Speakers with Systematic Continued Pre-training
Qalb는 LLaMA-3.1 8B를 1.97B 토큰의 우르두 계속 사전 학습(여기에 140M 영어 추가)과 지시 미세조정으로 확장하여, 7개 작업에서 가중 평균 90.34로 우르두에서 최첨단 성능을 달성했다.
Despite remarkable progress in large language models, Urdu-a language spoken by over 230 million people-remains critically underrepresented in modern NLP systems. Existing multilingual models demonstrate poor performance on Urdu-specific tasks, struggling with the language's complex morphology, right-to-left Nastaliq script, and rich literary traditions. Even the base LLaMA-3.1 8B-Instruct model shows limited capability in generating fluent, contextually appropriate Urdu text. We introduce Qalb, an Urdu language model developed through a two-stage approach: continued pre-training followed by supervised fine-tuning. Starting from LLaMA 3.1 8B, we perform continued pre-training on a dataset of 1.97 billion tokens. This corpus comprises 1.84 billion tokens of diverse Urdu text-spanning news archives, classical and contemporary literature, government documents, and social media-combined with 140 million tokens of English Wikipedia data to prevent catastrophic forgetting. We then fine-tune the resulting model on the Alif Urdu-instruct dataset. Through extensive evaluation on Urdu-specific benchmarks, Qalb demonstrates substantial improvements, achieving a weighted average score of 90.34 and outperforming the previous state-of-the-art Alif-1.0-Instruct model (87.1) by 3.24 points, while also surpassing the base LLaMA-3.1 8B-Instruct model by 44.64 points. Qalb achieves state-of-the-art performance with comprehensive evaluation across seven diverse tasks including Classification, Sentiment Analysis, and Reasoning. Our results demonstrate that continued pre-training on diverse, high-quality language data, combined with targeted instruction fine-tuning, effectively adapts foundation models to low-resource languages.
연구 동기 및 목표
- 230M 이상 사용자가 사용하는 언어의 LLM에서의 대표성 부족 문제를 해결함으로써 우르두 NLP의 개선을 촉진한다.
- 대규모의 다양하고 넓은 우르두 말뭉치에 대한 지속적 사전 학습의 효과를 입증한다.
- 이후의 지시 미세조정이 우르두 작업에서 강력한 성능을 낳는다는 것을 보인다.
- 저자원 언어에 기초 모델을 적응시키기 위한 재현 가능한 방법론을 제공한다.
제안 방법
- 사라짐 방지를 위해 1.84B Urdu 토큰과 140M English 토큰을 포함하는 크고 다채로운 우르두 말뭉치를 구성한다.
- LoRA를 사용해 LLaMA-3.1 8B에서 지속적 사전 학습을 수행하여 약 1.18B 파라미터(14.72%)를 업데이트한다.
- bfloat16, AdamW-8bit, 코사인 스케줄, 그리고 모든 선형/임베딩 계층에서 128 LoRA 랭크로 학습한다.
- 2에포크의 시스템-사용자-도우미 프롬프트 형식을 사용해 Alif Urdu-instruct 데이터로 지속적 모델을 미세조정한다.
- 7개 우르두 작업에 걸쳐 GPT-4o 기반 자동 평정을 사용하고 신뢰성을 위해 사람 검증을 수행한다.
실험 결과
연구 질문
- RQ1대규모 고품질 우르두 데이터를 활용한 지속적 사전 학습이 기초 다국어/우르두 모델을 실질적으로 향상시킬 수 있는가?
- RQ2지속적 사전 학습 후의 지시 미세조정이 다양한 벤치마크에서 최첨단 우르두 작업 성능을 이끌어내는가?
- RQ3우르두 데이터와 영어를 혼합하는 것이(리플레이 버퍼) 일반적 추론 및 영어 능력 유지에 어떤 영향을 미치는가?
주요 결과
- Qalb는 우르두 벤치마크에서 가중 평균 90.34를 달성하여 Alif-1.0-Instruct(87.1)을 3.24포인트 앞섰다.
- Qalb는 기본 LLaMA-3.1 8B-Instruct보다 44.64포인트 향상(90.34 vs 45.7).
- Qalb는 7개 작업 중 6개에서 Alif를 능가(가장 큰 향상은 QA, 번역, 추론).
- 4-bit 양자화된 Qalb는 약 86.02의 가중 평균과 95%의 성능, 약 25%의 메모리 점유를 유지한다.
- 겹치는 네 작업에서 Lughaat과 비교하면 Qalb는 경쟁력 있는 성능을 보이며(평균: 89.95 대 90.43 네 작업에서).
- 질적 분석은 강한 지시 준수와 간결한 응답을 보여주고, 일부 서명 허위 진술이 있다.]
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.