Introduction
The rapid advancement of Large Language Models (LLMs) has often left non-Western cultures behind. In the Arabic-speaking world, models frequently exhibit a "Western bias," lacking nuance regarding local customs, religious practices, and social norms. For instance, a model might inappropriately suggest "having a beer after prayer," a recommendation that contradicts fundamental Arab cultural values. Furthermore, while Modern Standard Arabic (MSA) is the formal standard, the 450 million people in the region primarily speak diverse local dialects (DA) in daily life. Most existing datasets overlook these linguistic variations.
The PALM project addresses these gaps by introducing a massive, human-curated dataset designed for "culturally aware" AI. It spans all 22 Arab countries and 20 diverse topics, providing over 18,000 instruction-response pairs in both MSA and various local dialects.
Methodology
The PALM dataset was developed using a community-driven, "human-in-the-loop" approach involving 44 native-speaking researchers. Unlike many contemporary datasets that rely on knowledge distillation from models like GPT-4, PALM is entirely human-produced.
- Annotation Standards: A 100-page manual was developed over three months to ensure consistency across the team.
- Data Sourcing: Annotators created instructions from scratch using trustworthy local sources such as Wikipedia, local news, and history books.
- Quality Assurance: Every sample underwent a rigorous multi-stage review process by at least two other researchers to ensure factual accuracy and linguistic authenticity.
- Evaluation: The team evaluated 18 different LLMs using an "LLM-as-Judge" framework (validated by human evaluation) to grade model performance across various dimensions.
The PALM Dataset
The primary contribution is the PALM dataset, which includes 17,411 unique instruction-response pairs. It covers all 22 Arab countries and includes 10 distinct regional dialects alongside MSA. The topical breadth is extensive, covering 20 areas such as local celebrations, geography, history, proverbs, and culinary arts.
The dataset is split into a training set (13,559), a public test set (1,926), and a private leaderboard test set (1,926). Compared to existing datasets like AYA or CIDAR, PALM is unique in its comprehensive geographic coverage and "from-scratch" human collection.
Key Results and Insights
Evaluation of 18 LLMs revealed several critical findings regarding the state of Arabic AI:
- Top Performers: Closed-source models like GPT-4o and Claude 3.5 Sonnet lead in performance, with median correctness scores exceeding 6.0/10. Among open-source models, Command R+ and Qwen 2.5-72B showed robust results.
- The "MSA Drift": A significant finding is that models prompted in a local dialect tend to respond in MSA approximately 90% of the time. This suggests that current models treat dialects as input-only and struggle to maintain a consistent local "voice."
- Resource Disparity: Performance varies significantly by country. Well-represented nations like Egypt, the UAE, and Saudi Arabia see better model performance than "low-resource" countries like Mauritania or Yemen.
Conclusion and Future Work
PALM highlights the "hallucination gap" in models trained primarily on translated data, which often fail on factual cultural context. While the project makes significant strides, limitations remain, including geographic imbalances in data density and the challenge of capturing hyper-local dialectal nuances (e.g., urban vs. rural). Future efforts will focus on expanding data for low-resource regions and improving models' ability to remain "in-dialect" during interactions.
Summary updated