Enhancing Legal Document Understanding and Analysis Using Retriever-Augmented Generation (RAG)

This paper presents a Retriever-Augmented Generation (RAG) framework for analyzing Arabic legal texts, focusing on Egypt's 2024 Unified Insurance Law. We apply article-level semantic chunking and evaluate three embedding models—AraBERT, multilingual-E5, and Cohere's embed-multilingual-v3.0—using Pinecone for retrieval and a local LLaMA 3.2 model for generation. Experiments show Cohere's model achieved the best performance (MRR@K 0.843, Precision@K 0.356). Our modular pipeline addresses challenges in Arabic legal NLP for low-resource languages.

Authors

Institutions

Publication Details

Published
2025-07-12
DOI
https://doi.org/10.1109/imsa65733.2025.11167628
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing Legal Document Understanding and Analysis Using Retriever-Augmented Generation (RAG)

Wael H. Gomaa, Mahmoud Ahmed Abdelsabour
Topic Modeling
article

Enhancing Legal Document Understanding and Analysis Using Retriever-Augmented Generation (RAG)

Wael H. Gomaa, Mahmoud Ahmed Abdelsabour
article en

Abstract

This paper presents a Retriever-Augmented Generation (RAG) framework for analyzing Arabic legal texts, focusing on Egypt's 2024 Unified Insurance Law. We apply article-level semantic chunking and evaluate three embedding models—AraBERT, multilingual-E5, and Cohere's embed-multilingual-v3.0—using Pinecone for retrieval and a local LLaMA 3.2 model for generation. Experiments show Cohere's model achieved the best performance (MRR@K 0.843, Precision@K 0.356). Our modular pipeline addresses challenges in Arabic legal NLP for low-resource languages.

Beni-Suef University (EG), October University of Modern Sciences and Arts (EG)
Openalex Percentile: Top 86%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.