A Dated Corpus and a Seven-Layer Benchmark for Kazakhstani Legal Question Answering
Open Access
- 19 October 2026
- journal article
- research article
- Published by MDPI AG in Information
- Vol. 17 (10) , 1042
Abstract
Legal question answering is usually evaluated as if the law were static. In Kazakhstan, it changed twice within one year: a new Constitution replaced the 1995 text on 1 July 2026, and a new Tax Code replaced its predecessor on 1 January 2026, both reusing article numbers for different norms. We release a dated corpus of 41 Kazakhstani acts parsed to article level in both official languages (12,235 Russian and 11,973 Kazakh articles) and a benchmark of 150 question-answer pairs in seven layers, two of which score declining to answer and asking for a date. Two practising lawyers confirmed every pair. Comparing a no-retrieval baseline, retrieval-augmented generation and a tool-using agent, we find that retrieval rather than generation accounts for most citation error, measured against each pair’s source articles: given the gold article, the model cites it in 92% of cases, and retrieval alone reduces citations of non-existent norms from 31% to zero. The agent adds nothing on this measure and abstains far less often. Dense retrieval improves citation recall but nearly doubles the repealed norms presented as current; date-aware ranking removes them for every retriever, although under dense retrieval it also removes three historically required citations. The retrieval findings are reproduced on two open models.Keywords
Funding Information
- Committee of Science of the Ministry of Science and Higher Education of the Republic of Kazakhstan (BR27101389)
This publication has 18 references indexed in Scilit:
- Know Your Limits: A Survey of Abstention in Large Language ModelsTransactions of the Association for Computational Linguistics, 2025
- Hallucination‐Free? Assessing the Reliability of Leading AI Legal Research ToolsJournal of Empirical Legal Studies, 2025
- Fine Tuning vs. Retrieval Augmented Generation for Less Popular Knowledge2024
- Interpretable Long-Form Legal Question Answering with Retrieval-Augmented Large Language ModelsProceedings of the AAAI Conference on Artificial Intelligence, 2024
- CLAMBER: A Benchmark of Identifying and Clarifying Ambiguous Information Needs in Large Language Models2024
- Large Legal Fictions: Profiling Legal Hallucinations in Large Language ModelsJournal of Legal Analysis, 2024
- Enabling Large Language Models to Generate Text with Citations2023
- Time-Aware Language Models as Temporal Knowledge BasesTransactions of the Association for Computational Linguistics, 2022
- SituatedQA: Incorporating Extra-Linguistic Contexts into QA2021
- LEGAL-BERT: The Muppets straight out of Law School2020