arXiv Computation and Language
Sep 16

NepKANUN: A RAG-Based Nepali Legal Assistant

The paper introduces NepKANUN, an AI-powered legal assistant designed specifically for Nepali legal texts. Built on a fine‑tuned large language model and integrated into a Retrieval‑Augmented Generation (RAG) framework, it delivers precise answers to natural language legal queries. Evaluated with BERTScore, the system achieved strong F1 scores of 0.82, 0.77, and 0.71 across simple, moderate, and complex question categories, and expert reviews confirm its usability.

By Bhabuk Thapa, Prasiddha Koirala, Ranjit Raut, Sunil Regmi, Bal Krishna Bal
arXiv Computation and Language
Oct 12

Enhancing Legal Reasoning in Pre-trained Language Models via Knowledge Graph-Guided Multi-Task Pre-training

The paper introduces a multi‑task pre‑training strategy for German traffic law that integrates Knowledge Graph (KG) information through Next Sentence Prediction, KG‑Guided Clustering, and KG‑Aware Paragraph Classification. By embedding structured legal knowledge into Transformer weights, the model can perform zero‑shot legal reasoning without explicit graph traversal. Experiments on nine encoders and 324 runs show substantial gains—up to 155% over baselines on synthetic StVO QA and improved performance on four of seven LexGLUE benchmarks, with consistent zero‑shot transfer to Austrian driving regulations.

By Ibrahim Siddig, Munir Georges
arXiv Computation and Language
Sep 22

Efficient LLM Distillation for Bangladesh Legal Context: A Smartphone-Compatible Retrieval-Augmented Generation Model

The paper presents a smartphone‑compatible, retrieval‑augmented language model tailored to Bangladeshi statutory law. By distilling a 9‑billion‑parameter Gemma‑2 teacher into a 2‑billion‑parameter student using supervised fine‑tuning and QLoRA, the authors achieve significant gains in ROUGE‑L and BERTScore on an English benchmark while keeping the model lightweight (1.6 GB) and operable offline on a Pixel 6. The system retrieves from 36,029 statutory passages using a hybrid dense/BM25 approach, and cross‑lingual evaluation shows effective Bangla query handling against an English‑only corpus, with a practicing lawyer rating the responses highly in a pilot study.

By MD. Nafis Kamal, Mahadi Hasan Fahim, Talha Ridwan, Nadifa Zaman, Fariha Roushon Florin, Farig Yousuf Sadeque, Saadat Rafid Ahmed