LegalRAG: A Hybrid RAG System for Multilingual Legal Information Retrieval
Muhammad Rafsan Kabir, Rafeed Mohammad Sultan, Fuad Rahman, Mohammad Ruhul Amin, Sifat Momen, Nabeel Mohammed, Shafin Rahman
TL;DR
This work tackles the problem of extracting precise legal information from bilingual Bangla–English government documents by developing a specialized multilingual Retrieval-Augmented Generation (RAG) QA framework for Bangladesh Police Gazettes. It contrasts a Vanilla RAG pipeline with an Advanced RAG approach that adds a relevance-checking and query-refinement stage, using multiple LLMs for generation. Experiments on a diverse 168 QA-pair dataset show that the Advanced RAG consistently improves retrieval accuracy and answer quality, particularly in handling multilingual and unstructured gazette content. The study demonstrates the feasibility and impact of applying advanced RAG techniques to low-resource legal documents, with implications for accessible, AI-assisted legal information retrieval in regulatory domains.
Abstract
Natural Language Processing (NLP) and computational linguistic techniques are increasingly being applied across various domains, yet their use in legal and regulatory tasks remains limited. To address this gap, we develop an efficient bilingual question-answering framework for regulatory documents, specifically the Bangladesh Police Gazettes, which contain both English and Bangla text. Our approach employs modern Retrieval Augmented Generation (RAG) pipelines to enhance information retrieval and response generation. In addition to conventional RAG pipelines, we propose an advanced RAG-based approach that improves retrieval performance, leading to more precise answers. This system enables efficient searching for specific government legal notices, making legal information more accessible. We evaluate both our proposed and conventional RAG systems on a diverse test set on Bangladesh Police Gazettes, demonstrating that our approach consistently outperforms existing methods across all evaluation metrics.
