ファナル・サーディク:接地されたイスラム教QAのためのマルチエージェントアーキテクチャ
Fanar-Sadiq: A Multi-Agent Architecture for Grounded Islamic QA
March 9, 2026
著者: Ummar Abbas, Mourad Ouzzani, Mohamed Y. Eltabakh, Omar Sinan, Gagan Bhatia, Hamdy Mubarak, Majd Hawasly, Mohammed Qusay Hashim, Kareem Darwish, Firoj Alam
cs.AI
要旨
大規模言語モデル(LLM)は宗教知識に関する問い合わせに流暢に回答できるが、しばしば虚偽の内容を生成したり出典を誤って帰属させたりする。これは、ユーザーが正典(クルアーンとハディース)や法学(フィクフ)のニュアンスに基づいた回答を求めるイスラーム圏の文脈では特に重大な問題となる。検索拡張生成(RAG)は外部の証拠に基づいて生成を行うことでこれらの制限の一部を軽減する。しかし、単一の「検索-生成」パイプラインでは、多様なイスラーム関連の問い合わせに対応するには限界がある。ユーザーは逐語的な聖典の引用、引用付きのファトワ形式の指導、あるいは厳密な算術計算と法的な不変項を要するザカート(喜捨)や相続などの規則に基づく計算を求める場合がある。本研究では、Fanar AIプラットフォームの中核コンポーネントである、Fanar-Sadiqと名付けた二言語(アラビア語/英語)対応のマルチエージェント型イスラームアシスタントを提案する。Fanar-Sadiqは、エージェント型のツール利用アーキテクチャ内で、イスラーム関連の問い合わせを専門モジュールに振り分ける。本システムは、意図を認識したルーティング、確定的な引用正規化と検証トレースを備えた検索基盤型フィクフ回答、引用検証機能付きの正確な節検索、さらにマズハブに応じた分岐を可能にするスンニ派のザカートと相続の確定的計算機をサポートする。公開されているイスラームQAベンチマークを用いてエンドツーエンドのシステム全体を評価し、有効性と効率性を実証する。本システムは現在、APIおよびWebアプリケーションを通じて公開され無料で利用可能であり、1年未満で約190万回のアクセスを記録している。
English
Large language models (LLMs) can answer religious knowledge queries fluently, yet they often hallucinate and misattribute sources, which is especially consequential in Islamic settings where users expect grounding in canonical texts (Qur'an and Hadith) and jurisprudential (fiqh) nuance. Retrieval-augmented generation (RAG) reduces some of these limitations by grounding generation in external evidence. However, a single ``retrieve-then-generate'' pipeline is limited to deal with the diversity of Islamic queries. Users may request verbatim scripture, fatwa-style guidance with citations or rule-constrained computations such as zakat and inheritance that require strict arithmetic and legal invariants. In this work, we present a bilingual (Arabic/English) multi-agent Islamic assistant, called Fanar-Sadiq, which is a core component of the Fanar AI platform. Fanar-Sadiq routes Islamic-related queries to specialized modules within an agentic, tool-using architecture. The system supports intent-aware routing, retrieval-grounded fiqh answers with deterministic citation normalization and verification traces, exact verse lookup with quotation validation, and deterministic calculators for Sunni zakat and inheritance with madhhab-sensitive branching. We evaluate the complete end-to-end system on public Islamic QA benchmarks and demonstrate effectiveness and efficiency. Our system is currently publicly and freely accessible through API and a Web application, and has been accessed approx1.9M times in less than a year.