arXiv Computation and Language

Nepali Legal Expertise through Generative and Extractive Pre-trained Transformers (NepLEGiT)

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
arXiv AI
Oct 2

Legal text classification in Korean sexual offense cases: from traditional machine learning to large language models with XAI insights

The paper evaluates legal text classification models for Korean sexual offense cases, comparing traditional machine learning, large language models, and fine‑tuned domain models. Fine‑tuned KLUE‑BERT achieved the highest accuracy of 99.3%, outperforming GPT‑3.5, GPT‑4.0, and other traditional approaches. Explainable AI techniques were used to analyze predictions, revealing linguistic features that influence decisions and highlighting limitations in capturing subtle textual cues, especially in real‑world KICS data.

By Jeongmin Lee
arXiv Computation and Language
Oct 22

Where Do Legal Factors Live in LLMs?

The paper investigates how large language models (LLMs) internally encode legal knowledge, specifically the 26 CATO factors used in case-based legal reasoning. Experiments on three open models (Qwen3-1.7B, Qwen3-8B, Gemma-2 2B) demonstrate that all factors are linearly decodable and can be localized to single-layer readouts, with high test AUCs (0.86–1.00). The study identifies 78 model‑specific layer‑feature coordinates, linking symbolic legal abstractions (HYPO and CATO) to learned internal representations in LLMs.

By Li Zhang, Kevin Ashley
arXiv AI
Aug 11

PROSLEX: A Novel Dataset for Expert-Annotated Legal Statute Prediction for Indian Judiciary

arXiv:2608. 08830v1 Announce Type: new Abstract: Legal Statute Prediction (LSP) involves automatically identifying relevant legal statutes given factual descriptions in legal documents, typically framed as a multi-label classification task within natural language processing and information retrieval research.

By Subinay Adhikary, Upal Bhattacharya, Vivek Kumar Singh, Anurag Sharma, Shubham Kumar Nigam, Suvasis Das, Shouvik Kumar Guha, Koustav Rudra, Kripabandhu Ghosh
arXiv Computation and Language
Sep 1

Generative vs. Encoder Models for Multilingual NER: A Comprehensive Empirical Study on Naamapadam

The paper compares generative and encoder-based neural models for multilingual Named Entity Recognition (NER) across the eleven languages of the Naamapadam benchmark. Five classic model families, four decoder-only large language models fine‑tuned with LoRA and 4‑bit NF4 quantisation, and nine generative models in zero‑to‑5‑shot inference were evaluated under strict CoNLL span‑level metrics. Encoder-based models (mBERT and XLM‑R) achieved substantially higher F1 scores—up to 0.675 on Hindi—than any generative architecture, with gaps of 7.5–40 percentage points; the best few‑shot result reached only 28% of the encoder baseline. The study identifies three language clusters (encoder‑dominant, partial‑coverage, and failure‑zone) and offers deployment guidelines based on transfer learning and low‑resource NLP principles.

By Jakkala Mahesh, Jatavath Shravan Kumar, Komalla Shivani, Sujoy Sarkar