arXiv:2610.40518cs.CLOct 2026

Manuscript Offprint

arXiv:2610.40518

IndicIPR-QA: A Benchmark for Extractive Question Answering on Indian IPR Laws

M. Mohaiminul Islam, Muhammad Abulaish

M. Mohaiminul Islam

Department of Computer Science and Engineering

South Asian University, New Delhi, India

niloy@students.sau.ac.in

Muhammad Abulaish ∗^{*}, SMIEEE

Department of Computer Science and Engineering

South Asian University, New Delhi, India

abulaish@ieee.org

Abstract—Legal Question Answering (QA) over statutory texts is a challenging task in Natural Language Processing (NLP), especially in low-resource settings with complex legal systems. It requires answers that are precise and grounded in the law. However, to the best of current knowledge, no existing extractive QA benchmark provides exact answer spans from statutory texts across all seven Indian Intellectual Property Rights (IPR) Acts. This paper presents IndicIPR-QA 1^{1}, an extractive QA benchmark for Indian IPR laws. The proposed dataset contains 4,462 QA pairs from 1,116 statutory contexts across seven Acts. Questions and answers are generated using GPT-4o and validated through nine automatic quality checks, single and multi-model LLM evaluations, and a 200-pair human audit. Section-level partitioning prevents source-context overlap across the training, validation, and test sets. Further analysis examines answer span length, lexical overlap, and multi-clause structure across the corpus and individual Acts. BM25 achieves a token-level F1 score of 20.21, while fine-tuned InLegalBERT reaches 85.02 under a unified sliding-window inference protocol. The large performance gap between BM25 (20.21 F1) and InLegalBERT (85.02 F1) shows that simple word matching is not enough to answer these legal questions. Performance also varies across the seven Acts, indicating substantial differences in answer-extraction performance.

Index Terms—IndicIPR-QA Dataset, Legal NLP, Extractive QA, Indian IPR Law, Quality Validation.

I. INTRODUCTION

Intellectual Property Rights (IPR) law covers many economically and socially important areas including pharmaceutical innovation, creative works, agricultural plant varieties, and region specific products. In India, IPR law is covered by seven principal statutes: the Patents Act, 1970; the Trade Marks Act, 1999; the Copyright Act, 1957; the Designs Act, 2000; the Geographical Indications of Goods (Registration and Protection) Act, 1999; the Semiconductor Integrated Circuits Layout-Design Act, 2000; and the Protection of Plant Varieties and Farmers' Rights Act, 2001. Although these Acts belong to the same legal domain, each covers different subject matter and uses its own terminology, procedures, exceptions, and cross references. As a result, finding the relevant legal provision can be difficult for legal professionals, researchers, and other stakeholders. A startup may need to determine trademark registration requirements; an inventor may need the legal conditions for patentability; a farmer or breeder may need information on plant-variety rights; and a designer or copyright owner may need to identify available forms of protection or remedies. The required information is present in the legislation, but it is often buried in long multi-clause provisions, nested subsections, and specialised legal language. The challenge is therefore not simply accessing the law, but locating a precise and traceable answer within it.

Statutory Question Answering (QA) also creates a specific evaluation challenge. A plausible paraphrase may be unsuitable when the exact wording of the law is required, while returning an entire provision may be correct but unnecessarily long. A useful benchmark should therefore evaluate both whether the relevant provision is found and whether the answer span is selected correctly. These considerations motivate IndicIPR-QA's focus on answer in context validity, span minimality, source-separated splits, and item-level error analysis.

Extractive QA provides a suitable setting for this problem because each predicted answer can be traced directly to its source provision. However, existing QA benchmarks are mainly general domain, contract based, non extractive, or focused on court judgments rather than Indian statutory IPR law. IndicIPR-QA addresses this gap by providing a benchmark for developing and evaluating statutory search and grounded legal QA systems. It is intended as a research benchmark, not as a deployed legal advice system. The major contributions of this paper can be outlined as follows:

  1. IndicIPR-QA contains 4,462 extractive QA pairs from 1,116 statutory contexts covering seven major Indian IPR Acts. The quality of the dataset is validated through nine automatic checks, LLM based evaluation, and a 200 pair human audit by two law graduates.

  2. The analysis studies answer length, word overlap between questions and legal texts, multi-clause answers, and differences in answer extraction performance across the seven Acts.

  3. Four BERT-based encoders and three open LLMs are benchmarked. BM25 achieves a token level F1 of 20.21, while InLegalBERT reaches 85.02, giving a 64.81 point gap that shows that simple word matching is not enough for this task (Section V).

∗^{*}Corresponding author: abulaish@ieee.org

1^{1}Dataset: https://huggingface.co/datasets/niloycste68/IndicIPRExtractiveQA; code: https://github.com/niloycste/Indic-IPR-Dataset-