ChatPaper.aiChatPaper

파나르-사디크: 접근 가능한 이슬람 질의응답을 위한 다중 에이전트 아키텍처

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)은 종교 지식 질의에 유창하게 답변할 수 있지만, 종종 허구적인 정보를 생성하거나 출처를 잘못 귀속시키는 경우가 많습니다. 이는 사용자들이 권위 있는 경전(꾸란과 하디스) 및 법학적(fiqh) 미묘함에 기반한 답변을 기대하는 이슬람 맥락에서 특히 중요한 문제입니다. 검증 증거에 기반한 생성(RAG)은 외부 증거에 답변을 근거시킴으로써 이러한 한계를 일부 완화합니다. 그러나 단일한 "검색 후 생성" 파이프라인은 다양한 이슬람 관련 질의를 처리하는 데 한계가 있습니다. 사용자는 문자 그대로의 경전 인용, 인용문이 포함된 파트와(fatwa) 스타일의 지침, 또는 엄격한 산술 및 법적 불변량이 요구되는 자카트(zakat) 및 상속 계산과 같은 규칙 기반 연산을 요청할 수 있습니다. 본 연구에서는 파나르(Fanar) AI 플랫폼의 핵심 구성 요소인 이중 언어(아랍어/영어) 다중 에이전트 이슬람 어시스턴트인 파나르-사디크(Fanar-Sadiq)를 소개합니다. 파나르-사디크는 에이전트 기반 도구 활용 아키텍처 내에서 이슬람 관련 질의를 특화된 모듈로 라우팅합니다. 본 시스템은 의도 인식 라우팅, 결정적 인용 정규화 및 검증 추적이 가능한 검증 기반 피크(fiqh) 답변, 인용 검증이 포함된 정확한 경절(verse) 조회, 그리고 마드하브(madhhab) 민감 분기를 지원하는 수니파 자카트 및 상속을 위한 결정적 계산기를 지원합니다. 우리는 공개된 이슬람 질의응답 벤치마크를 통해 종단간(end-to-end) 시스템 전체를 평가하고 효과성과 효율성을 입증합니다. 우리 시스템은 현재 API 및 웹 애플리케이션을 통해 공개적으로 무료로 접근 가능하며, 출시 후 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.
PDF02March 20, 2026