Manuscript Offprint

arXiv:2608.30327

Do Small Models Use the Law You Give Them? Measuring Context Use on a Bilingual Bangladesh Legal Benchmark

Moniruzzaman Mahadi, Abrar Mohammed Tanzim Alam, Sayma Siddika Monalisa, Mir Mohammad Asif Abdullah, Swakkhar Shatabda, Md Adnan Arefeen

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Fine-tuning can improve legal question-answering accuracy without improving how models use law supplied in context. We study this distinction in bilingual Bangladeshi legal QA, where observed errors can arise from answer scoring, retrieval, or failure to use relevant law. We construct a hierarchy-preserving statutory corpus, 2,165 reviewed bilingual fine-tuning examples, and a 150-item supplied-law control. We evaluate six instruction-tuned models: Llama-3.2-1B, Llama-3.2-3B, Qwen3.5-0.8B, Qwen3.5-2B, Qwen3.5-4B, and Gemma-4-E2B, with three LoRA seeds per model. To separate effects, we combine constrained option-letter scoring, cyclic option rotation, and controlled removal of the governing provision. On 398 Bar Council outputs, an exact-line parser attributes an accuracy gain of 50.0% to the Qwen3.5-2B seed-42 adapter, whereas option scoring yields only 3.0%. For Gemma-4-E2B, the two scoring methods favor different systems. When the governing provision is guaranteed to be present, five of six reference models improve by 14.7%–19.3% under the four-order criterion. Removing that provision reduces accuracy by 8.0%–15.3% for models and by 13.8%–14.9% points for their adapters. However, difference-in-differences estimates show no increase in reliance on the governing provision after fine-tuning. Results show that legal adaptation claims require separating scorer, retriever, and model effects. Our Code and data are available at https://anonymous.4open.science/r/bangladesh-legal-qa-11E3.

1 Introduction

Fine-tuning can appear to improve legal question answering without improving a model's use of the law provided in context. In multiple-choice legal QA, observed accuracy depends not only on whether a model identifies the correct answer, but also on whether the relevant law was retrieved, whether the model used that law correctly, and whether the evaluation procedure correctly interprets the model's output. Conflating these sources of error can therefore produce misleading conclusions about what fine-tuning has actually learned. We study MCQs where sections of Bangladeshi law are supplied as context. We observe that a wrong answer can reflect three different failures: retrieval may miss the relevant section, the model may fail to use a section that is present, or the evaluation procedure may misread the model's answer. Figure 1 summarizes how our evaluation separates these failures.

We evaluate six instruction-tuned models before and after LoRA fine-tuning. For each model, we train three adapters on 2,165 reviewed bilingual examples. Each training example pairs a question with the section of Bangladeshi law needed to answer it. We evaluate on the 2022–2023 Bangladesh Bar Council examinations in Bangla and machine-translated English.

Fine-tuning also teaches the required MCQ answer format, FINAL ANSWER: (A|B|C|D). This creates a scoring problem: an exact-line parser can reward correct formatting as well as the answer itself. On the same 398 Bar Council rows, the Qwen3.5-2B seed-42 adapter gains 50.0% over the original model under exact-line parsing, but only 3.0% when the answer is read from next-token scores. For Gemma-4-E2B, the two methods favor different systems.

Our primary evaluation therefore avoids parsing generated answers. We append FINAL ANSWER and select the highest-scoring answer letter, following option-ID scoring (Robinson et al., 2023). Option order is a separate source of instability. We therefore rotate the four choices through all four positions and require the correct answer in every rotation, following CircularEval (Liu et al., 2024).

In this way, the error in parsing is reduced, but

Figure

Figure 1: Study design. Panel B places the governing provision in the prompt, removing retrieval failure. The scoring chain then reads the answer from the option-letter logits, removing format from the measurement, and keeps it only if it survives all four option orders. A tick marks each executed arm.

retrieval remains uncertain. As Bar Council keys do not identify the governing section, a wrong answer cannot indicate whether the retrieval missed the right section or the model failed to use it. We therefore construct 150 new bilingual MCQs. Each contains the governing section and four distractor sections from the same act, so the right section is guaranteed to be present. Before fine-tuning, five of six models gain 14.7–19.3% over no law under the four-order criterion; all five 95% confidence intervals lie above zero. For these five models, we then replace the governing section with another section from the same act, leaving five sections in the prompt but no governing section. Accuracy falls by 8.0–15.3% before fine-tuning and 13.8–14.9% after fine-tuning.

To test whether fine-tuning specifically increases reliance on supplied law, we compare the benefit of the governing section before and after fine-tuning. Difference-in-differences estimates show no detectable increase in reliance on the governing section.

Contributions: We contribute (1) a hierarchy-preserving Bangladesh statutory corpus and an author-reviewed bilingual fine-tuning set; (2) a 150-item supplied-law control and an evaluation protocol that separates scoring, retrieval, and model failure; and (3) a six-model, three-seed evaluation showing that fine-tuning changes answer behavior but does not detectably increase reliance on the supplied governing law. We release per-item outputs, frozen retrieval inputs, manifests, and analysis scripts to support reproducibility (Appendix J).