ArabLegalEval: A Multitask Benchmark for Assessing Arabic Legal Knowledge in Large Language Models

Faris Hijazi, Somayah AlHarbi, Abdulaziz AlHussein, Harethah Abu Shairah, Reem AlZahrani +3 more
8/15/2024
cs.CLcs.AIcs.CY

Official code: Thiqah/ArabLegalEval (20 stars, last commit 2025-05-21).

Abstract

The rapid advancements in Large Language Models (LLMs) have led to significant improvements in various natural language processing tasks. However, the evaluation of LLMs' legal knowledge, particularly in non-English languages such as Arabic, remains under-explored. To address this gap, we introduce ArabLegalEval, a multitask benchmark dataset for assessing the Arabic legal knowledge of LLMs. Inspired by the MMLU and LegalBench datasets, ArabLegalEval consists of multiple tasks sourced from Saudi legal documents and synthesized questions. In this work, we aim to analyze the capabilities required to solve legal problems in Arabic and benchmark the performance of state-of-the-art LLMs. We explore the impact of in-context learning and investigate various evaluation methods. Additionally, we explore workflows for generating questions with automatic validation to enhance the dataset's quality. We benchmark multilingual and Arabic-centric LLMs, such as GPT-4 and Jais, respectively. We also share our methodology for creating the dataset and validation, which can be generalized to other domains. We hope to accelerate AI research in the Arabic Legal domain by releasing the ArabLegalEval dataset and code: https://github.com/Thiqah/ArabLegalEval

View on arXivView PDF

Code Implementations(1)

An effort to benchmark Arabic legal reasoning in foundation models.

202Shell, PythonAug 8, 20241 years ago

Cite this paper

@article{hijazi2024arablegaleval,
  title  = {ArabLegalEval: A Multitask Benchmark for Assessing Arabic Legal Knowledge in Large Language Models},
  author = {Faris Hijazi and Somayah AlHarbi and Abdulaziz AlHussein and Harethah Abu Shairah and Reem AlZahrani and Hebah AlShamlan and Omar Knio and George Turkiyyah},
  year   = {2024},
  eprint = {2408.07983},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.07983v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2408.07983.svg)](https://codeofpaper.com/paper/2408.07983)

Discussion