cs.CLMar 25, 2026

CVPD at QIAS 2026: RAG-Guided LLM Reasoning for Al-Mawarith Share Computation and Heir Allocation

Authors: Wassim Swaileh, Mohammed-En-Nadhir Zighem, Hichem Telli, Salah Eddine Bekhouche, Abdellah Zakaria Sellam, Fadi Dornaika, Dimitrios Kotzinos

Organizations: ETIS (UMR 8051), CY Cergy Paris Univ., ENSEA, CNRS, France · Computer Engineering Dept, Sana’a Community College, Yemen · VSC Laboratory, Department of Electronics and Automation, University of Biskra, Algeria · Dept. of CS & AI, Univ. of the Basque Country (UPV/EHU), Spain · CNR-ISASI "E. Caianiello", Lecce, Italy

Abstract

Islamic inheritance (Ilm al-Mawarith) is a multi-stage legal reasoning task requiring the identification of eligible heirs, resolution of blocking rules (hajb), assignment of fixed and residual shares, handling of adjustments such as awl and radd, and generation of a consistent final distribution. The task is further complicated by variations across legal schools and civil-law codifications, requiring models to operate under explicit legal configurations. We present a retrieval-augmented generation (RAG) pipeline for this setting, combining rule-grounded synthetic data generation, hybrid retrieval (dense and BM25) with cross-encoder reranking, and schema-constrained output validation. A symbolic inheritance calculator is used to generate a large high-quality synthetic corpus with full intermediate reasoning traces, ensuring legal and numerical consistency. The proposed system achieves a MIR-E score of 0.935 and ranks first on the official QIAS 2026 blind-test leaderboard. Results demonstrate that retrieval-grounded, schema-aware generation significantly improves reliability in high-precision Arabic legal reasoning tasks.

Figures & tables

Explore similar work

CardsList
  1. MAWARITH: A Dataset and Benchmark for Legal Inheritance Reasoning with LLMs

    Mar 8, 2026Abdessalam Bouchekif, Shahd Gaben, Samer Rashwani +5Legal ReasoningLLM Evaluation

  2. QIAS 2026: Overview of the Shared Task on Islamic Inheritance Reasoning

    Jun 11, 2026Abdessalam Bouchekif, Somaya Eltanbouly, Samer Rashwani +5LLM EvaluationLegal Reasoning