LegalRAG: A Hybrid RAG System for Multilingual Legal Information Retrieval

Muhammad Rafsan Kabir, Rafeed Mohammad Sultan, Fuad Rahman, Mohammad Ruhul Amin, Sifat Momen +2 more
4/19/2025
cs.IRcs.CLcs.LG

No official code found. Best implementation: muhammadrafsan/LegalRAG (1 star, last commit 2025-09-11).

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.

View on arXivView PDF

Code Implementations(1)

[IJCNN 2025] Official Implementation of the paper "LegalRAG: A Hybrid RAG System for Multilingual Legal Information Retrieval."

10Jupyter NotebookAug 22, 20251 years ago

Similar Papers

Cite this paper

@article{kabir2025legalrag,
  title  = {LegalRAG: A Hybrid RAG System for Multilingual Legal Information Retrieval},
  author = {Muhammad Rafsan Kabir and Rafeed Mohammad Sultan and Fuad Rahman and Mohammad Ruhul Amin and Sifat Momen and Nabeel Mohammed and Shafin Rahman},
  year   = {2025},
  eprint = {2504.16121},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.16121v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.16121.svg)](https://codeofpaper.com/paper/2504.16121)

Discussion