[논문 리뷰] Fanar: An Arabic-Centric Multimodal Generative AI Platform
Fanar는 두 개의 핵심 LLM(Fanar Star 7B를 처음부터, Fanar Prime 9B를 지속적 사전 학습을 통해)과 RAG, 음성, 이미지 생성, 콘텐츠 검증을 위한 속성 표기 기능을 갖춘 아랍어 중심 다중 모달 생성 AI 플랫폼을 제시합니다.
We present Fanar, a platform for Arabic-centric multimodal generative AI systems, that supports language, speech and image generation tasks. At the heart of Fanar are Fanar Star and Fanar Prime, two highly capable Arabic Large Language Models (LLMs) that are best in the class on well established benchmarks for similar sized models. Fanar Star is a 7B (billion) parameter model that was trained from scratch on nearly 1 trillion clean and deduplicated Arabic, English and Code tokens. Fanar Prime is a 9B parameter model continually trained on the Gemma-2 9B base model on the same 1 trillion token set. Both models are concurrently deployed and designed to address different types of prompts transparently routed through a custom-built orchestrator. The Fanar platform provides many other capabilities including a customized Islamic Retrieval Augmented Generation (RAG) system for handling religious prompts, a Recency RAG for summarizing information about current or recent events that have occurred after the pre-training data cut-off date. The platform provides additional cognitive capabilities including in-house bilingual speech recognition that supports multiple Arabic dialects, voice and image generation that is fine-tuned to better reflect regional characteristics. Finally, Fanar provides an attribution service that can be used to verify the authenticity of fact based generated content. The design, development, and implementation of Fanar was entirely undertaken at Hamad Bin Khalifa University's Qatar Computing Research Institute (QCRI) and was sponsored by Qatar's Ministry of Communications and Information Technology to enable sovereign AI technology development.
연구 동기 및 목표
- 웹상의 아랍어 데이터가 제한적이고 아랍어의 독특한 언어적 특징으로 인해 고품질 아랍어 LLM의 개발을 촉진한다.
- Fanar의 두 LLM(Star와 Prime)의 소개와 이들이 언어, 음성, 이미지 생성을 아우르는 아랍어 작업에 대해 어떻게 학습되고, 배치되며, 정렬되는지 설명한다.
- 약 1조 토큰의 아랍어, 영어, 코드 데이터를 수집, 정리, 선별하는 데이터 수집·정리·큐레이션 파이프라인을 기술한다.
- 문화 및 지역 콘텐츠를 위한 전문 아랍어 토크나이제이션 및 평가 벤치마크를 도입한다.
제안 방법
- Fanar Star(7B)에 대해 약 1조 토큰(아랍어 40%, 영어 50%, 코드 10%)으로 처음부터 수행하는 두 단계 커리큘럼 사전 학습과 이어지는 쿨다운 단계.
- Gemma-2 기반에서 Fanar Prime(9B)의 지속적 사전 학습에 어휘 자르기를 통해 128,256 토큰으로 축소하고, 안전성과 정렬을 위한 SFT와 DPO를 추가한다.
- 아랍어 중심 LLM 스택, ASR/TTS, 이미지 생성 및 안전 필터가 있는 RAG 모듈을 통해 프롬프트가 라우팅되는 다중 모달 플랫폼을 구성한다.
- 다국어 청소, 중복 제거, 구문/의미/모델 기반 필터링(혼란도, 교육 분류기) 및 기계 번역을 통한 아랍어 범위 확장을 포함한 데이터 큐레이션.
- RAG 모듈에는 이슬람 RAG, 최신성 RAG, 전기/약력 RAG, 속성 RAG이 포함되어 콘텐츠를 근거 있게 검증한다.
- 아랍어 형태소 및 방언 변이를 반영하는 특수 아랍어 토크나이저와 벤치마크.
실험 결과
연구 질문
- RQ1제한된 고품질 아랍어 데이터와 방언 변이로 인해 아랍어 LLM 성능을 어떻게 개선할 수 있는가?
- RQ2아랍어 사전 학습을 위한 효과적인 데이터 필터링 및 증강 전략(구문적, 의미적, 모델 기반)은 무엇인가?
- RQ3지속적 사전 학습과 사후 학습 정렬 기법이 아랍어 추론, 안전성 및 도메인 특화 프롬프트(STEM, 종교, 전기)에 어떤 영향을 미치는가?
- RQ4Retrieval Augmented Generation이 아랍어 생성 콘텐츠의 사실 정확성과 속성 부여를 어떻게 향상시킬 수 있는가?
주요 결과
- Fanar Star(7B)와 Fanar Prime(9B)은 동일 규모의 모델들 중에서 아랍어, 영어, 코드 데이터에 대한 확립된 벤치마크에서 최신 수준의 성능을 달성한다.
- 아랍어 중심의 1조 토큰 규모의 큐레이션된 데이터 파이프라인은 강력한 구문/의미 필터링 및 중복 제거를 포함하여 고품질 모델 훈련을 뒷받침한다.
- 9B 기반에서의 Fanar Prime의 지속적 사전 학습은 표적 어휘 자르기를 통해 STEM 및 추론 프롬프트에 모델을 효과적으로 정렬한다.
- RAG 시스템(이슬람, 최신성, 전기, 속성)은 사실적 질의에 대해 근거 있고 최신의 검증 가능한 콘텐츠를 제공한다.
- 다중 모달 기능(음성, 이미지)은 아랍어 방언 및 지역 문화적 고려에 맞춰져 있다.
- 지도 학습 파인튜닝(SFT) 및 직접 선호 최적화(DPO)를 통한 사후 정렬은 안전성과 윤리적 고려를 강화한다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.