Manuscript Offprint

arXiv:2610.30344

AQL-Lite: Enabling Efficient Knowledge Acquisition for Arabic LLMs via Data-Centric Continual Pretraining

Houssam Eddine Boukhalfa, Mourad Bouache, Mourad Dahmane

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Training Arabic large language models faces challenges from noisy web data, dialectal variation, and the high cost of continual pretraining (CPT). We introduce AQL-Lite (AQL: Arabic Quality Language), a time- and resource-efficient framework for adapting a multilingual LLM to Modern Standard Arabic (MSA). AQL-Lite couples a quality-first curation pipeline (structural cleaning, heuristic and model-based filtering, MSA selection, and deduplication) with a partial-parameter CPT recipe that trains RS-LoRA adapters across the network together with the last eight transformer blocks and the embedding matrix, under layer-wise learning rates. At a matched 1B-token budget, CPT on AQL-curated data raises a four-benchmark Arabic mean by 3.51 points over CPT on raw web text, which yields no gain over the base model. In a controlled 5B-token comparison, AQL-Lite recovers 94% of the gain of full-parameter CPT (mean 73.19 vs. 73.58) in 52% of the wall-clock time and outperforms adapter-only baselines on every benchmark, and a component ablation shows that adapters, unfrozen blocks, and embedding training each contribute. Scaled to 40B MSA tokens and instruction-tuned on one million examples, the resulting 12B model scores 75.3 on the seven-benchmark Open Arabic LLM Leaderboard v2 (OALL v2) suite.

1 Introduction

Large language models (LLMs) have significantly advanced natural language processing, yet Arabic remains comparatively under-served despite its wide use and linguistic diversity. This gap is driven not only by model architecture, but also by two practical bottlenecks: data quality and training cost. Arabic web corpora contain large amounts of noisy, duplicated, templated, and low-signal text, while also reflecting variation across Modern Standard Arabic (MSA), dialects, code-switching, and inconsistent orthography. As a result, scaling raw Arabic tokens alone is insufficient for building strong Arabic LLMs.

Recent Arabic LLMs such as Jais and ALLaM show that strong Arabic performance requires careful preprocessing, filtering, deduplication, and distribution control (Sengupta et al., 2023; Bari et al., 2024). At the same time, continual pretraining (CPT) remains costly, especially when updating all model parameters. Parameter-efficient methods such as LoRA reduce this cost (Hu et al., 2022), but adapter-only CPT may under-update the representations that a new language distribution requires (Biderman et al., 2024; Pezeshkpour and Hruschka, 2025). This motivates our central question: can we approximate the benefits of full Arabic CPT while substantially reducing training time and compute?

We introduce AQL-Lite (AQL: Arabic Quality Language), a data-centric framework for efficiently adapting a strong multilingual checkpoint to MSA. AQL-Lite first builds a high-quality corpus through a five-stage pipeline: structural cleaning, heuristic filtering, MSA/dialect control, model-based quality and safety scoring, and exact/near deduplication. It then performs partial-parameter CPT: RS-LoRA adapters on all linear layers, full-rank updates to the last eight transformer blocks and the embedding matrix, and layer-wise learning rates. This design sits between adapter-only CPT, which is efficient but limited, and full-parameter CPT, which is effective but computationally expensive.

We evaluate AQL-Lite in three controlled settings. First, at a matched 1B-token budget, we vary only the training data (raw, heuristically filtered, or fully curated) to measure the effect of curation. Second, at 5B tokens, we compare the recipe against full CPT, LoRA-only, and RS-LoRA on identical data and hardware, and ablate its components. Third, we scale the recipe to 40B MSA tokens, instruction-tune the result, and evaluate the 12B model before and after instruction tuning.

∗^{*} Core contributor.

on the seven-benchmark OALL v2 suite (El Filali et al., 2025).

Contributions. Our contributions are:

• Arabic quality-first data pipeline. We introduce the AQL pipeline, a five-stage MSA corpus curation pipeline combining structural cleaning, heuristic filtering, MSA/dialect control, model-based quality and safety scoring, and exact/near deduplication, and show at a matched token budget that the curated data adds 3.51 points over raw web text.

• Partial-parameter CPT. We propose AQL-Lite, a CPT recipe that combines RS-LoRA, selective upper-block unfreezing, embedding training, and layer-wise learning rates to approximate full-CPT gains at lower cost, and ablate its components.

• Empirical evaluation for MSA adaptation. We compare AQL-Lite against full and adapter-only CPT in a controlled 5B-token setting, then evaluate the final 12B model on the OALL v2 suite, separating the contributions of CPT and instruction tuning.

References (14)