Elamur Research

NitiBench: Benchmarking LLM Frameworks on Thai Legal Question Answering Capabilities

Paper · 2025 · Pawitsapak Akarajaradwong, Pirat Pothavorn, Chompakorn Chaksangchaichot et al.

Summary

A legal answer can sound convincing while relying on the wrong provision, overlooking an exception, or applying a rule from an unrelated branch of law. NitiBench studies these problems in Thai legal question answering, where the authors identify a shortage of suitable datasets and consistent evaluation methods. Its central question is practical: how well can a system find the relevant statutory provisions, use them to answer a question, and identify the sources behind its answer? These are related abilities, but success at one does not establish success at the others.

The benchmark contains separate collections with different demands. NitiBench-CCL covers financial, corporate, and commercial legislation. Its evaluation set contains 3729 questions, each associated with a single reference section. NitiBench-Tax contains 50 cases drawn from official tax inquiries and responses from 2021-2024. These questions are longer, more closely tied to practical circumstances, and frequently require several provisions. This contrast is central to the study. A retriever that performs well when a question closely corresponds to an individual statutory section may struggle when the question describes a situation whose legal treatment depends on several interconnected rules.

The authors compare retrieval-augmented generation, or RAG, with an approach that supplies the legislation directly within a long context. They also examine how the RAG pipeline changes when documents respect statutory boundaries, when references between provisions are followed automatically, when retrieval is adapted using reviewed training examples, and when the answer generator changes. Their measurements distinguish retrieval quality from answer coverage, contradiction, and citation quality. They additionally propose retrieval measures intended to reward finding the complete set of provisions needed for a question, rather than merely finding a useful section.

The strongest overall pattern is that supplying legal information helps, but does not remove the difficulty of applying it. In the full NitiBench-CCL evaluation, the proposed RAG configuration reaches coverage of 89.7, compared with 77.3 for naive RAG and 60.3 without supplied statutory context. On NitiBench-Tax, the corresponding coverage scores are 51.0, 50.0, and 46.0. Even the experiment supplied with the reference provisions reaches only 52.0 coverage on Tax. Automatically following statutory references can recover additional relevant material, yet its effect on answers is inconsistent. More evidence in the prompt does not reliably produce a better legal conclusion.

Long-context processing also fails to provide a general replacement for retrieval in these experiments. Direct answering over the legislation trails the proposed RAG configuration on coverage and contradiction in the comparison used by the authors. However, using long-context processing to select provisions is more promising on the difficult Tax collection. The paper therefore offers a benchmark and a diagnosis instead of a universal architecture: statutory structure matters, retrieval remains a substantial constraint, citation behavior can diverge from answer correctness, and access to the right text does not establish sound legal reasoning.

Interesting ideas

Preserve the unit that carries meaning. A fixed text window can divide a rule or combine unrelated provisions. NitiBench treats statutory sections as meaningful retrieval units and compares that choice with conventional chunking. The reusable idea is to identify the smallest source unit that remains interpretable on its own. It applies to technical specifications, policy manuals, scientific methods, and other documents where boundaries express relationships that arbitrary text lengths conceal.

Measure the whole evidence requirement. Finding a relevant item is insufficient when an answer depends on several items together. The paper’s multi-label retrieval measures attempt to reward complete evidence sets and useful rankings. This principle transfers to questions requiring several documents, diagnoses involving multiple findings, and proofs with several necessary premises. An evaluation should distinguish partial support from support sufficient for the intended conclusion.

Separate discovery from use. A retriever can recover the correct material while the answering component overlooks or misapplies it. NitiBench measures both stages and includes a reference-context condition that removes ordinary retrieval errors. This makes failures more informative: improving search is a different task from improving interpretation. The same separation helps evaluate document assistants, scientific search systems, and structured reasoning pipelines.

Treat reference expansion as a controlled intervention. Following links between provisions sounds beneficial because it adds relevant context. NitiLink shows why that expectation needs testing: expansion also adds length, competing material, and additional opportunities for confusion. The general lesson is to record what an expansion recovers, where it enters the context, and whether it improves the final decision. A larger evidence collection is a hypothesis about usefulness, not proof of it.

Validate automatic supervision where it will be used. Automatically reranked training examples produce retrieval performance close to expert-reviewed examples on CCL, but the difficult Tax collection exposes weaker transfer. This suggests a practical division of labor: automation can propose or prioritize supervision, while evaluation tests whether its apparent adequacy survives a change in task complexity. The lesson applies to annotation pipelines and inexpensive substitutes for expert review.

Keep correctness and provenance separate. A substantively correct answer can have incomplete or excessive citations; an answer with plausible citations can still contradict the reference answer. Measuring coverage, contradiction, and citation quality independently prevents a favorable aggregate from concealing these differences. This is useful whenever readers need both an answer and an auditable account of its support.

Test simpler and more realistic questions together. CCL questions are deliberately tied to sampled sections, whereas Tax cases originate in actual inquiries. Their contrasting results expose limitations that the simpler collection alone would obscure. A reusable evaluation design combines controlled examples with questions whose relevance structure is less explicit, while keeping their results separate so that success on the easier setting cannot stand in for general competence.

Deep dive: NitiBench: Benchmarking LLM Frameworks on Thai Legal Question Answering Capabilities

NitiBench tests Thai legal question answering, showing how retrieval, statutory structure, citations and long contexts affect reliability. · about 36 minutes to read

How Mova uses it

Mova is a transparent language system written in Rust. Its native path builds dependency trees, reads them into frames, and maintains a world of entities and changes. It also has source-aware data tools, explicit domain routing, bounded recursive capabilities, and separate teaching and assessment paths. These mechanisms provide concrete places to test ideas from NitiBench. They do not establish that Mova already performs Thai statutory retrieval or legal question answering.

The status marks below describe proposed connections against Mova’s documented mechanisms. They are not records of an implementation or measured transfer from NitiBench. Where the digest gives no evidence of an exact counterpart, novelty remains provisional.

Idea: Preserve meaningful source boundaries. Where: §4.1 and Appendix G. Area: data and retrieval. Mova: частково є (tools/dictindex retains document and sentence identity; prag builds frames). A legal document adapter could preserve sections and their enclosing structure rather than treating every window as interchangeable text. Why Mova: This would let a logical reader distinguish a complete rule from a fragment before attempting inference.

Idea: Measure evidence-set completeness. Where: §3.2.1. Area: evaluation. Mova: частково є (groupants record checks and evidence; readers retain reasons). Tasks requiring several premises could declare their complete support set and report whether every required member was recovered. Why Mova: A correct-looking result should not hide a missing premise. The exact NitiBench-style metric is not established by the digest.

Idea: Separate retrieval failure from interpretation failure. Where: §4.2.3 and Table 5. Area: evaluation. Mova: вже є (fastread.rs distinguishes representation, inference, parameter, and parsing failures within its stated reading setup). A legal-domain evaluation could extend that diagnostic approach with ordinary retrieval and reference-context runs. Why Mova: It directs changes toward the stage responsible for a failure.

Idea: Bound recursive reference expansion. Where: §4.1 and Appendix J. Area: operational reasoning. Mova: частково є (recursive capability calls have explicit interfaces and budgets). A statutory-reference resolver could retain each traversed link and stop at a configured depth or evidence budget. Why Mova: It would make expanded context inspectable and prevent an apparently helpful lookup from becoming uncontrolled document accumulation.

Idea: Validate automated supervision against experts. Where: §4.2.1 and §5.2.1. Area: annotation and evaluation. Mova: вже є (treeagree, the teacher loop, and admission gates distinguish proposed annotations from reviewed supervision). NitiBench suggests evaluating cheaper candidate-ranking procedures separately on straightforward and complex tasks. Why Mova: Agreement with experts on easy examples should not authorize broader use without a transfer check.

Idea: Score answers and provenance independently. Where: §3.2.2 and Appendix M. Area: evaluation. Mova: частково є (native answers retain reasons; source-index records retain credits and posting identities). Mova could assess conclusion coverage, contradiction, and support accuracy as separate outputs. Why Mova: A valid source pointer does not prove a valid conclusion, and a correct conclusion does not repair an unsupported explanation.

Idea: Pair controlled questions with practical inquiries. Where: §3.1 and Appendices A and C. Area: benchmark design. Mova: частково є (school assessments, story readers, and contrast sets cover different stated tasks). A domain benchmark could combine section-derived questions with independently sourced inquiries and report each separately. Why Mova: This would reveal dependence on question construction instead of attributing all success to general understanding.

Idea: Retain legislative ancestry. Where: Appendix G and Table 18. Area: knowledge representation. Mova: частково є (onto represents concepts; layers routes among domains). A legal module could attach a provision to its code, title, and chapter and make that ancestry available to applicability checks. Why Mova: Similar wording can express rules with different scopes, so lexical resemblance alone should not determine the governing source.

Idea: Represent references as typed edges. Where: §4.1 and Table 18. Area: knowledge graphs. Mova: частково є (graph knowledge and typed groupant interfaces are documented). A legal extension could distinguish a provision’s reference to a definition, condition, or incorporated rule where the source supports that distinction. Why Mova: Typed dependencies could support more selective expansion than treating all statutory links as equivalent.

Idea: Preserve evidence order during expansion. Where: §4.1, NitiLink’s depth-first placement. Area: data processing. Mova: нове (this particular legal-context ordering is not evidenced in the digest; novelty is provisional). A proposed adapter could store both the original retrieval rank and the expansion position. Why Mova: This would make it possible to test whether an answer changes because evidence was added or because its presentation order changed.

Idea: Evaluate expansion by final-task utility. Where: §5.1 and Table 2. Area: evaluation. Mova: частково є (mova-enrich warns that additional frames do not establish improvement). Reference-following experiments could measure recovered premises and the final answer on identical questions. Why Mova: A larger intermediate graph should earn its place through improved task behavior rather than through size alone.

Idea: Select context under a resource budget. Where: §4.1 and Appendix J. Area: efficiency. Mova: частково є (bounded worker calls, job estimates, and cost tooling are documented). A legal reasoning module could compare shallow expansion with more selective additions while recording time and memory. Why Mova: Unrestricted evidence growth can make a logically organized system slower without resolving its actual uncertainty.

Idea: Test adaptation across difficulty levels. Where: §5.2.1 and Table 4. Area: evaluation and learning. Mova: вже є (held-out checks and regression gates govern native changes). A candidate rule or dictionary addition could be assessed on local examples and on questions requiring combined inference. Why Mova: Gains on familiar forms should not conceal reduced reliability when the same knowledge participates in a harder task.

Idea: Keep source-derived and independently authored tests distinct. Where: Appendices A.1 and A.2. Area: data provenance. Mova: вже є (tools/enrich, school assessment boundaries, and source discovery distinguish teaching material from tests). Dataset manifests could expose how each question was created without allowing test answers into training. Why Mova: Construction history helps interpret performance and detect accidental dependence on teaching procedures.

Idea: Audit the question’s origin, not only its labels. Where: Limitations, discussion of section-sampled questions. Area: benchmark design. Mova: частково є (source-bound enrichment packets retain evidence and fingerprints). A question may have several accepted sources yet still originate from a single narrow passage. Why Mova: Tracking that origin would prevent a superficially multi-source dataset from being mistaken for a genuine test of combined reasoning.

Idea: Preserve concise and explanatory answer versions. Where: §3.1 and Appendix C. Area: data. Mova: частково є (Mode::Answer and explanation modes distinguish output purposes). Evaluation records could retain a short target conclusion alongside a separately reviewed rationale. Why Mova: A concise target simplifies answer comparison while the rationale remains available for auditing conditions and inference.

Idea: Exclude tasks requiring institutional discretion. Where: Appendix C. Area: task scope. Mova: частково є (layers can mark escalation; unsupported operational requests retain failure). A domain adapter could distinguish questions answerable from rules from requests requiring an authorized decision-maker. Why Mova: The existence of relevant text does not give a logical module authority to grant an exception or make an administrative decision.

Idea: Preserve case metadata and source versions. Where: Appendix C. Area: provenance. Mova: вже є (tools/sources records provenance; dictindex requires new versions when indexed sources change). Legal evidence could retain case identity, date, and the exact statutory source version used. Why Mova: Reproducible conclusions require more than a remembered section name when the underlying material can change.

Idea: Separate substantive relevance from literal citation matching. Where: §3.2.2 and the CCL limitations. Area: evaluation. Mova: частково є (source identities and semantic frames are separate representations). A proposed legal evaluator could report exact source matches alongside reviewed judgments about alternative support. Why Mova: Ambiguous questions can make an uncited but relevant provision appear wrong under an overly narrow reference set.

Idea: Diagnose overcitation explicitly. Where: Appendix M. Area: evaluation and explanation. Mova: частково є (native reasons and source-bound evidence are retained). An explanation evaluator could identify sources that are present but contribute no accepted premise. Why Mova: A long justification should not gain credibility merely from containing many references.

Idea: Measure evidence utilization. Where: Appendix M and Table 17. Area: evaluation. Mova: частково є (fastread.rs compares decisions with prepared evidence). Mova could record which recovered premises enter an accepted inference and which remain unused. Why Mova: This would expose cases where improving source retrieval cannot improve the answer because the reader fails to apply what it already has.

Idea: Check foundational premises separately. Where: Table 19, generic-section retrieval failures. Area: knowledge representation. Mova: частково є (compiled global knowledge and domain modules have distinct responsibilities). A domain reasoning task could declare foundational definitions or applicability rules as prerequisites. Why Mova: General rules may be essential while sharing few words with the immediate question.

Idea: Route by domain before matching near-duplicate rules. Where: Tables 18 and 19. Area: domain routing. Mova: вже є (layers reports coverage scores and routing thresholds). A legal module could use the document’s institutional context to constrain candidate sources, while preserving an escalation path for uncertainty. Why Mova: Similar language across unrelated laws should not silently override the intended jurisdiction or subject.

Idea: Preserve decisive modifiers. Where: Table 18, the secondary-guarantor example. Area: lexical semantics and syntax. Mova: частково є (dependency trees, attributes, and frames preserve grammatical structure). A targeted test could require distinctions between a general role and a modified subtype. Why Mova: A short modifier can determine which rule applies even when most of the surrounding sentence is shared.

Idea: Decompose questions requiring intermediate conclusions. Where: Table 18, complex-query failures. Area: reasoning. Mova: вже є (math::steps and deduct support bounded decomposition in their documented mathematical scope). The analogous legal extension would expose intermediate ownership or applicability questions before selecting a final rule. Why Mova: A necessary premise may not resemble the wording of the ultimate question.

Idea: Treat ambiguity as an observable outcome. Where: Limitations and Appendix M. Area: pragmatics. Mova: частково є (the native deputy retains missing_context for unsupported referents). A legal reader could preserve competing interpretations instead of expanding citations until something appears plausible. Why Mova: Explicit uncertainty offers a better diagnostic than a confident answer assembled from incompatible scopes.

Idea: Test source position sensitivity. Where: Appendix K. Area: evaluation. Mova: нове (the specific legal evidence-position experiment is not established; novelty is provisional). An evaluation could vary where unchanged evidence appears in a document while retaining its identity. Why Mova: Stable logical conclusions should depend on relevant content rather than accidental placement.

Idea: Compare retrieval replacements under the same role. Where: §4.3 and Table 7. Area: system evaluation. Mova: частково є (typed correspondences compare declared observations under explicit compatibility conditions). A proposed comparison could give native graph search and another selector the same evidence-selection task. Why Mova: This would separate selection quality from differences in answer generation or interface behavior.

Idea: Report cost alongside selection quality. Where: §5.3. Area: operational evaluation. Mova: вже є (tools/twin records predicted costs, measured runs, and calibration). A legal retrieval experiment could retain latency and resource receipts together with evidence quality. Why Mova: A more capable selector may still be unsuitable for routine use if its resource demands exceed the task’s budget.

Idea: Validate automated judges against human review. Where: Appendix F. Area: statistics and evaluation. Mova: частково є (teacher review is explicit and separate from native assessment). Any optional external evaluator could be checked against independently reviewed outputs for the exact scoring task. Why Mova: An evaluator’s authority should come from task-specific agreement, not from fluent explanations.

Idea: Inspect confusion between score categories. Where: Tables 14 and 15. Area: statistics. Mova: частково є (prag eval reports reliability diagnostics, though these are not the same confusion matrices). Evaluator analysis could distinguish neighboring-category mistakes from complete reversals. Why Mova: Aggregate agreement can hide materially different failure types.

Idea: Keep evaluator identity and settings in the receipt. Where: §3.2.2 and Appendix F. Area: reproducibility. Mova: вже є (external calls retain configuration identity and outcomes). A benchmark adapter could attach its scoring prompt version and evaluator settings to each result. Why Mova: Changes in assessment machinery should remain distinguishable from changes in the system being assessed.

Idea: Validate retrieval metrics against downstream behavior. Where: §5.4 and Table 8. Area: statistics. Mova: частково є (the project measures intermediate mechanisms and final tasks). A proposed study could test whether complete-support metrics predict successful native inference across several configurations. Why Mova: A convenient retrieval score should not become a proxy for reasoning quality without evidence.

Idea: Audit formulas against their intended behavior. Where: §3.2.1. Area: mathematics and evaluation. Mova: частково є (exact mathematics, executable checks, and groupant invariants are implemented). Metric definitions could include hand-checkable examples for empty results, partial evidence, and complete evidence. Why Mova: Ambiguous notation can change rankings even when every implementation appears internally consistent.

Idea: State correlation limits. Where: the multi-label-metric limitations. Area: statistics. Mova: вже є (measured claims are scoped to their datasets and controls). A metric-validation report should retain the configurations on which its correlation was observed. Why Mova: A strong association in a small comparison does not establish a universal evaluation law.

Idea: Separate final-answer assessment from reasoning assessment. Where: the legal-reasoning limitations. Area: reasoning evaluation. Mova: частково є (native conclusions retain rule-level reasons, but general legal reasoning is not demonstrated). A domain benchmark could evaluate the validity of intermediate rule applications independently of the final answer. Why Mova: A correct conclusion can result from an invalid chain, while an explicit chain makes that distinction testable.

Idea: Classify failures before changing rules. Where: Appendices L and M. Area: analysis. Mova: вже є (fastread.rs classifies misses; learning loops retain experiment journals). A legal extension could distinguish missing scope, missed detail, wrong source, and omitted inference. Why Mova: Different causes require different repairs, so one broad adjustment should not stand in for diagnosis.

Idea: Treat unexpected knowledge as a hypothesis. Where: §5.2.3, the parametric-citation analysis. Area: scientific method. Mova: вже є (consultant output, observations, and admitted knowledge have separate status). Correct answers lacking retrieved support could be retained for investigation without admitting them as established knowledge. Why Mova: An unexplained success is useful evidence about behavior, but not a verified account of how the system knew the answer.

Idea: Distinguish matched comparisons from deployment comparisons. Where: §4.1 and §4.2.3. Area: experimental design. Mova: частково є (paired assessments and fixed-question comparisons are documented). A component study could hold answerable inputs constant, while a separate full evaluation measures coverage lost through preprocessing. Why Mova: Removing difficult cases can clarify a mechanism while concealing its operational cost.

Idea: Keep minority-domain coverage visible. Where: Tables 11 and 12. Area: dataset analysis. Mova: частково є (dictindex retains source-domain strata and explicitly reports absent coverage). A domain benchmark could expose concentration in particular codes or question types. Why Mova: Strong aggregate results should not imply that rarely represented branches of knowledge received an adequate test.

The problem and its context

The paper addresses a gap between the apparent usefulness of legal assistants and the evidence available for judging them. Legal question answering involves more than locating text that resembles a question. The system must identify which rule governs the described facts, recognize dependencies between provisions, and state a conclusion with appropriate support. In Thai, the authors argue, evaluating that sequence was difficult because suitable benchmarks and accessible comparison systems were limited.

Their discussion of Thanoy illustrates the problem. The service operates through Line, and the authors report that interface limits obstruct large-scale testing. They also describe inconsistent citation granularity: an answer might identify an entire act in one case and an individual section in another. That variation complicates retrieval evaluation. A benchmark cannot fairly compare systems at the section level if the system’s output identifies sources at an incompatible level of detail.

NitiBench therefore fixes a unit of comparison. A relevant document is a statutory section drawn from a defined legislative collection. Questions have reference answers and associated sections, allowing the study to examine both source discovery and answer production. The authors choose financial and tax law because these areas combine practical relevance with structural difficulty. The Civil and Commercial Code has more than 1,700 sections, while the Revenue Code brings its own organization and dependencies.

The background on Thai legislation explains why document structure matters. Statutes have nested components, from broad divisions down to sections and smaller units. Provisions also refer to other provisions rather than repeating their content. A section describing an offense may depend on definitions or acts described elsewhere. A retrieval system that encodes every section independently can miss this dependence even when its representation captures the section’s broad subject.

The related-work discussion places this problem alongside existing evaluation benchmarks. The authors describe LexGLUE and LegalBench as covering important legal tasks, but distinguish those tasks from end-to-end open answering. They also discuss LegalBench-RAG as part of the retrieval-focused legal evaluation landscape. Their proposed contribution is a Thai benchmark that connects retrieval with the resulting answer.

Earlier work also motivates the separation of answer quality from support quality. The paper cites Large Legal Fictions and Hallucination-Free? in its discussion of unreliable legal outputs. It links this concern to evaluation approaches such as Ragas, which examine properties of retrieval-assisted responses. NitiBench’s coverage, contradiction, and citation measurements develop that concern into a domain-specific assessment.

The architectural alternative is to avoid a separate retriever and supply the legal collection directly. The authors connect this possibility with long-context research, including Gemini 1.5, Summary of a Haystack, and Can Long-Context Language Models Subsume Retrieval, RAG, SQL, and More?. Their experiment asks whether that alternative works for Thai legal answering, rather than assuming that a sufficiently large input allowance solves source selection and reasoning together.

The method, step by step

The study has several connected procedures: constructing questions and reference answers, defining their relevant provisions, building alternative answering pipelines, and measuring the resulting outputs. Keeping these procedures separate is essential. The data-construction process establishes what counts as a target, while the system experiments test how reliably different configurations reach it.

From legal sources to evaluated answers

The steps in order.

From legal sources to evaluated answersStep 1: Collect legislation and official tax inquiries1. Collect legislation and official tax inquiriesStep 2: Build reviewed questions and reference answers2. Build reviewed questions and reference answersStep 3: Preserve sections and statutory relationships3. Preserve sections and statutory relationshipsStep 4: Retrieve evidence or supply all legislation4. Retrieve evidence or supply all legislationStep 5: Generate answers with identified legal sources5. Generate answers with identified legal sourcesStep 6: Evaluate retrieval, coverage, contradiction and citations6. Evaluate retrieval, coverage, contradiction and citations

Representing an evaluation item

The authors describe a shared legislative collection and a dataset of question-answer pairs:

D = {(x₁, y₁), …, (x_N, y_N)},  xᵢ = (qᵢ, Tᵢ),  Tᵢ ⊂ L

Here, D is the dataset and N is its number of examples. For example i, qᵢ is the question, Tᵢ is the set of reference sections, and yᵢ is the free-form reference answer. L denotes the collection of sections available to the systems. The input description xᵢ associates a question with its reference evidence; it does not mean that ordinary retrieval experiments hand that evidence directly to the answering system.

This representation supports different evidence requirements. CCL evaluation questions have a reference set containing an individual section. Tax questions may require several. That distinction determines whether retrieving any relevant provision is enough to satisfy the benchmark’s evidence target.

Constructing the CCL material

NitiBench-CCL builds on WangchanX-Legal-ThaiCCL-RAG. The underlying legislative collection contains 35 instruments, while the evaluation questions cover 21 of them. Training questions were generated from sampled sections using Gemini 1.5 Pro. BGE-M3 then supplied candidate provisions. Answers were produced using Llama-3-70B, with Claude 3 Sonnet used when the first system declined to answer.

Legal reviewers intervened after generation. They could remove irrelevant provisions, add missing ones, reorder candidates, and correct the answer. As a consequence, the training examples can contain several relevant sections even though the original question-generation step begins with an individual sampled section. This is an important distinction between multiple labels and questions genuinely designed to require combined evidence.

The test questions follow a different procedure. Legal experts wrote the questions and answers from sampled sections, and another expert checked each item. The CCL benchmark then underwent additional processing, including extraction of section identifiers, removal of duplicate questions, and preparation of concise answers without the full rationale. The release retains answer versions with and without explanatory material.

The authors give practical reasons for shortening reference answers. A concise answer reduces the material the evaluator must compare and lowers evaluation token use. However, concise answer assessment and reasoning assessment remain different tasks: removing the rationale can simplify the first while supplying less information for the second.

Reviewer recruitment and compensation are also documented. From 97 applicants, the project selected 34 annotators with legal backgrounds. The paper reports a total annotation expenditure of approximately 274,240 THB, or approximately $8076. Different tasks received different payments, reflecting their different demands.

Constructing the Tax collection

NitiBench-Tax originates in official Revenue Department inquiries and responses. These cases include factual questions submitted to the institution rather than questions composed solely to match sampled passages. Personal identifying material was removed, and the authors retained case metadata such as identity and submission date.

Preprocessing used gpt-4o-mini-2024-07-18 to extract statutory references and assist other construction steps. Cases were restricted to laws represented in the shared collection. Duplicate references within a case were removed. The authors also excluded requests whose resolution depended on administrative discretion, such as granting certain extensions or exemptions, because their intended task concerns answers grounded in statutory interpretation.

Official responses were shortened to their essential conclusions. The final collection contains 50 cases from 2021-2024. Its questions commonly require several provisions: Table 10 reports a reference-count mean of 2.62 ± 1.96 and a maximum of 9. This differs substantially from CCL’s single-section reference structure.

The example involving exported fabric shows why these questions are harder. The facts concern fabric sent abroad for manufacture and subsequent shipment to customers. Answering requires classifying the transaction, deciding whether zero-rate VAT applies, and determining the treatment of input tax while respecting exclusions. A general passage about exports is insufficient unless those legal relationships are resolved.

Preserving sections and following references

Hierarchy-aware chunking uses rules and regular expressions to recover the organization of legislation. The experiments select section nodes as retrieval units. This preserves the complete section instead of allowing a fixed window to split it or combine parts of several neighboring sections.

The naive baseline was selected through an explicit search among conventional chunking approaches. The authors compare character-based, line-based, and recursive methods, then tune chunk size and overlap. Their selected naive configuration uses line chunking with a size of 553 and an overlap of 50.

A matched chunking comparison requires additional filtering. A naive chunk might contain only part of a section, making section-level relevance difficult to score. The authors discard chunks that fail to contain any complete section and remove unmatched sections from the hierarchy-aware alternative. This leaves 2,625 CCL questions and 19 Tax questions. Because the remaining Tax collection is small, that specific comparison uses CCL only.

NitiLink addresses a separate problem: a retrieved section may refer to material stored elsewhere. The component follows those references recursively and inserts referenced sections immediately after the section that points to them. The main experiments use a maximum depth of 1. Additional depth can substantially increase the context, so the design treats recursion as a budgeted operation.

Retrieving provisions and generating answers

The retrieval comparisons include BM25, base BGE-M3, and BGE-M3 variants adapted using different supervision. Human-Finetuned BGE-M3 uses the reviewed training material. Auto-Finetuned BGE-M3 instead relies on bge-reranker-v2-m3 to reorder candidate provisions. This comparison tests whether automated ranking can approximate the value of expert-reviewed retrieval supervision.

The BGE-M3 settings combine its dense, multi-vector, and sparse scores with weights of 0.4, 0.4, and 0.2. The paper’s connection to M3-Embedding matters because the comparison concerns this combined retrieval configuration instead of a dense representation alone.

After choosing a retriever, the authors vary the answering component. The principal comparison includes GPT-4o and Claude 3.5 Sonnet, alongside Gemini 1.5 Pro and Typhoon V2 70b. Answer prompts contain 3-shot examples sampled from training data. The generation temperature is 0.5, and the output allowance is 2048 tokens.

The end-to-end comparison then examines answering without supplied provisions, naive RAG, hierarchy-aware RAG, and a reference-context condition. Although the earlier setup describes a proposed configuration containing NitiLink, the final comparison removes that component because its effects were inconclusive and it lengthened prompts. The final “Proposed RAG” results therefore should not be interpreted as evidence for the combined benefit of every proposed component.

Measuring retrieval

Let Rᵢᵏ denote the ranked list of retrieved sections retained up to cutoff k. The paper introduces hit-based and rank-based measures for questions with multiple relevant sections.

There are important inconsistencies between the accompanying explanations and the displayed notation. The prose describes HitRate as success when any relevant section is found, and Multi-HitRate as success when all required sections are found. The displayed subset expressions do not consistently match that distinction. Under the labels shown in the paper’s mathematical presentation, the formulas appear as follows:

Multi-HitRate@k = (1/N) Σᵢ₌₁ᴺ I(Rᵢᵏ ⊆ Tᵢ)

N is the number of questions, I is an indicator returning a success or failure value, Rᵢᵏ is the retrieved set at cutoff k, and Tᵢ is the reference set. The displayed inclusion checks whether retrieved items belong to the reference set. That differs from the prose requirement that all reference items must be retrieved.

HitRate@k = (1/N) Σᵢ₌₁ᴺ I(Tᵢ ⊆ Rᵢᵏ)

The symbols have the same meanings. Here the displayed inclusion checks whether the complete reference set occurs among the retrieved sections. That matches the stated intention of the multi-hit measure rather than an “any relevant item” hit measure. These differences should be resolved before reproducing the metrics; silently choosing a preferred interpretation would conceal a genuine specification problem.

The displayed recall formula is:

Recall@k = (1/N) × [Σᵢ₌₁ᴺ |Tᵢ ∩ Rᵢᵏ|] / [Σᵢ₌₁ᴺ |Tᵢ|]

The vertical bars give set size, and ∩ denotes intersection. The numerator counts retrieved reference sections across the dataset, while the denominator counts reference sections overall. The additional factor 1/N is present in the mathematical presentation, although it creates a normalization ambiguity relative to the described proportion. Reported recall values should therefore be treated as reported results, without assuming that this expression alone fully specifies their implementation.

The paper also gives a reciprocal-rank expression:

MRR@k = (1/N) Σᵢ₌₁ᴺ 1 / argmax(Tᵢ ∩ Rᵢᵏ)

MRR is mean reciprocal rank. The accompanying description uses argmax for the greatest rank number among correctly retrieved items and assigns zero when none is retrieved. This wording differs from the conventional first-relevant-item interpretation discussed elsewhere in the paper. A reproducible implementation needs an explicit decision about that ranking convention.

Finally, the proposed multi-relevant rank measure is:

MultiMRR@k = (1/N) Σᵢ₌₁ᴺ [Recallᵢ@k / |Tᵢ ∩ Rᵢᵏ|] × Σⱼ₌₁^|Tᵢ∩Rᵢᵏ| 1 / (rank(dⱼ) − j + 1)

Recallᵢ@k is the recall for question i. The term dⱼ denotes a correctly retrieved document considered in ranked order, rank(dⱼ) is its retrieval position, and j identifies its position among the correctly retrieved documents. The adjustment discounts intervening nonrelevant material while allowing several relevant items to contribute. Its intended purpose is clear: reward recovering the required evidence early. The empty-intersection case needs an explicit implementation convention because the displayed expression contains a division by the intersection size.

Measuring answers and long-context alternatives

Coverage compares the generated answer with the reference answer on a scale of 100, 50, and 0. These categories represent complete coverage, partial coverage, and no meaningful agreement. Citation evaluation reports precision, recall, and F1 over cited sections. Contradiction is a binary judgment about whether the answer conflicts with the reference.

The automatic evaluator uses gpt-4o-2024-08-06 with temperature 0.3. Its prompts were revised against human assessments. Appendix F reports agreement separately for coverage and contradiction rather than treating evaluator reliability as automatic.

The long-context experiments give Gemini 1.5 Pro the legislative collection, described as roughly 1.2 million tokens. One setting asks it to answer directly; another asks it to return relevant sections. Budget constraints limit the CCL comparison to a 20% stratified subset, while Tax uses the full collection of cases. These conditions must remain attached to the results because they differ from the full CCL evaluation.

Experiments and results

The benchmark’s contrasting datasets are essential to interpreting its findings. CCL offers broad statutory coverage but relatively short, section-centered questions. Tax offers fewer examples, longer factual descriptions, and more demanding evidence combinations. A single overall score would obscure those differences.

Dataset scale and composition

CCL contains 3729 evaluation entries and 3582 distinct sections appearing as reference contexts. Its question-length mean is 86.5 ± 54.4 characters, and its answer-length mean is 134.2 ± 142.1 characters. Every evaluation item has an individual positive context.

Tax contains 50 entries and 59 distinct reference sections. Its question-length mean is 941.8 ± 708.6 characters, while its answer-length mean is 140.2 ± 82.7 characters. The long factual setup combined with a comparatively concise conclusion makes it a different reading task: the system must determine which details matter before identifying the relevant legal treatment.

The collections are also uneven across legislation. In CCL, the Civil and Commercial Code contributes 1617 positive contexts, followed by the Revenue Code with 484. In Tax, the Revenue Code accounts for 116 positive-context occurrences. These distributions describe the benchmark’s actual emphasis; they do not establish equal coverage of every legislative instrument in the available corpus.

Full end-to-end performance

The principal full-dataset comparison uses Human-Finetuned BGE-M3 with Claude 3.5 Sonnet for retrieval-assisted answering. On CCL, hierarchy-aware RAG clearly improves coverage relative to both the naive pipeline and answering without supplied provisions.

NitiBench-CCL full evaluation, answer coverage

Preserving statutory sections produces stronger coverage than the naive pipeline.

NitiBench-CCL full evaluation, answer coverageParametric answering: 60.3Parametric answering60.3Naive RAG: 77.3Naive RAG77.3Proposed RAG (this paper): 89.7Proposed RAG (this paper)89.7Golden Context: 93.4Golden Context93.4
The numbers
System or settingcoverage
Parametric answering60.3
Naive RAG77.3
Proposed RAG (this paper)89.7
Golden Context93.4

The reference-context result shows that ordinary retrieval is not the only remaining constraint, but it also places the proposed pipeline relatively close to the reported reference-supported coverage on this dataset. The contradiction scores follow the same broad pattern: 0.199 without supplied context, 0.097 for naive RAG, 0.040 for the proposed pipeline, and 0.034 with reference context.

Tax is much less responsive to the same architectural improvements. Coverage is 46.0 for parametric answering, 50.0 for naive RAG, 51.0 for proposed RAG, and 52.0 with reference context. That final result is especially important. It indicates that simply supplying the benchmark’s designated sections does not resolve much of the answer difficulty under this setup.

NitiBench-Tax full evaluation, answer contradiction

The proposed pipeline has the lowest contradiction score, but substantial errors remain.

NitiBench-Tax full evaluation, answer contradictionParametric answering: 0.480Parametric answering0.480Naive RAG: 0.460Naive RAG0.460Proposed RAG (this paper): 0.440Proposed RAG (this paper)0.440Golden Context: 0.460Golden Context0.460
The numbers
System or settingcontradiction rate
Parametric answering0.480
Naive RAG0.460
Proposed RAG (this paper)0.440
Golden Context0.460

The reference-context condition should therefore be understood as an evidence-controlled diagnostic, not an absolute upper bound for every output metric. On Tax, its contradiction score is not the lowest observed. Reference context removes one source of failure, but generation and evaluation can still behave differently under that changed input.

Citation results also resist a simple ranking. On Tax, parametric answering has citation F1 of 0.530, whereas proposed RAG has 0.457. Yet the proposed pipeline has stronger coverage and lower contradiction. The benchmark thus demonstrates why citation accuracy cannot stand alone as a measure of legal answer quality.

The authors inspect this unexpected parametric behavior. Of 105 sections cited without supplied context, 58 were not retrieved by the best retriever, and 26 of those were correct. The proposed RAG system cited 101 sections, with only 5 absent from its retrieved material. This suggests a strong dependence of retrieval-assisted answers on what the retriever supplies. The proposed explanation involving possible training exposure to public tax cases remains explicitly unsupported by direct evidence.

Retriever comparisons

At cutoff 5 on CCL, Table 4 reports hit rate or recall of .658 for BM25 and .880 for base BGE-M3. Human-Finetuned BGE-M3 reaches .906, while Auto-Finetuned BGE-M3 reaches .900. This supports the authors’ conclusion that reviewed domain adaptation helps on the section-centered collection and that automated reranking can approach the expert-supervised variant there.

Tax changes the comparison. Human-Finetuned BGE-M3 has hit rate .740, while base BGE-M3 has .720. However, base BGE-M3 has recall .338 and MultiMRR .337, compared with .331 and .320 for the human-finetuned version. Finding a relevant section slightly more frequently does not mean recovering the fuller evidence set more effectively.

The appendix expands retrieval evaluation to other systems and cutoffs. At cutoff 10 on Tax, JINA V3 has hit rate .840, while base BGE-M3 has .820. Base BGE-M3 nevertheless has MultiMRR .354, compared with .311 for JINA V3. This is another instance where the preferred retriever depends on whether the objective is finding something relevant or ranking a more complete collection of evidence.

There are reporting inconsistencies worth preserving. Table 4 gives the Tax multi-hit result for base BGE-M3 as .294, while Tables 7 and 20 report .240 in their corresponding presentations. CCL MRR values also differ between the compact main comparison and the extended appendix. The shared pattern is clearer than exact cross-table reconciliation: adaptation is effective on CCL, while Tax exposes incomplete transfer and metric-dependent rankings.

Answer-generator comparisons

The paper identifies Claude 3.5 Sonnet as the most consistent overall choice for its final pipeline, but the detailed results show tradeoffs. On CCL without reference expansion, Claude’s coverage is 89.7 and contradiction is 0.040. GPT-4o has coverage 85.2 and contradiction 0.055, but stronger citation F1 of 0.714 compared with Claude’s 0.595.

Gemini 1.5 Pro without expansion reaches CCL coverage of 86.5 and citation F1 of 0.651. Typhoon V2 70b reaches coverage of 81.2 and citation F1 of 0.662 in that setting. These results show that an answer generator’s ability to cover the target conclusion and its tendency to select benchmark-matching citations are distinct behaviors.

Tax again complicates the overall preference. Without expansion, Claude has coverage 51.0, compared with GPT-4o’s 50.0. Typhoon benefits notably from NitiLink in this collection: its coverage changes from 42.0 without expansion to 54.0 with expansion, while contradiction changes from 0.58 to 0.46. The paper’s general choice of Claude therefore should not be read as victory on every metric and configuration.

A preliminary appendix evaluates more recent systems only on Tax without reference expansion. Grok-4 records coverage 63.0 and contradiction 0.38. GPT-5 records coverage 57.0 and contradiction 0.36. Claude-4.1-opus has coverage 55.0, while Gemini-2.5-pro has coverage 59.0. Their restricted setting makes them a targeted snapshot rather than a replacement for the complete comparative study.

Long-context answering and retrieval

In the CCL subset comparison, direct long-context answering reaches coverage 83.2 and contradiction 0.063. Proposed RAG reaches coverage 90.1 and contradiction 0.028. On Tax, direct long-context answering reaches coverage 36.0 and contradiction 0.620, compared with proposed RAG’s 51.0 and 0.440.

Those results support a bounded conclusion: this long-context configuration does not replace the tested RAG pipeline effectively for direct answering. They do not show that every long-context design must fail, nor do they isolate context length from the choice of generator.

As a selector of sections, however, the long-context approach is more competitive on Tax.

NitiBench-Tax retrieval at cutoff 5, MultiMRR in Table 7

Long-context selection ranks the required evidence more effectively in this comparison.

NitiBench-Tax retrieval at cutoff 5, MultiMRR in Table 7BM25: .171BM25.171Base BGE-M3: .337Base BGE-M3.337Human-Finetuned BGE-M3: .320Human-Finetuned BGE-M3.320Auto-Finetuned BGE-M3: .329Auto-Finetuned BGE-M3.329LCLM as retriever (this paper): .370LCLM as retriever (this paper).370
The numbers
System or settingMultiMRR
BM25.171
Base BGE-M3.337
Human-Finetuned BGE-M3.320
Auto-Finetuned BGE-M3.329
LCLM as retriever (this paper).370

The authors regard this as technically promising but economically unattractive because of cost and latency. No detailed cost comparison accompanies that conclusion in the reported results. The useful finding is therefore role-specific: processing the entire collection can help identify evidence for difficult questions even when the same broad approach is weak at producing the final answer.

What the ablations show

The paper offers component comparisons, reference-depth experiments, evaluator checks, and manual error analyses. These are more informative than a single headline ranking because they reveal where apparently reasonable improvements stop helping.

Statutory boundaries help, but the matched gain is modest

The filtered chunking experiment compares configurations on the same surviving CCL questions. Hierarchy-aware chunking has retrieval MultiMRR 0.834, compared with 0.786 for naive chunking. Retrieval recall is 0.942 and 0.935, respectively.

The end-to-end coverage values are much closer: 86.7 for hierarchy-aware chunking and 86.6 for naive chunking. Citation F1 is 0.739 against 0.722. The authors suggest that the answer generator can discard some irrelevant material introduced by naive chunks, reducing the effect of better retrieval on the final answer.

That explanation is plausible, but it is not directly established by an attention or reasoning analysis. The controlled comparison demonstrates a retrieval advantage and a smaller answer-level effect on the filtered collection. It does not isolate how the generator removes noise internally.

This result also explains why the full evaluation and matched comparison should not be conflated. The matched study excludes questions whose reference sections do not survive naive preprocessing. The full comparison retains the broader task, including the consequences of those lost sections. They answer different questions about chunking quality.

Reference expansion recovers material without reliably improving answers

On Tax, NitiLink increases the recall reported after expansion from 0.437 to 0.535. The associated GPT-4o answer coverage nonetheless changes from 50.0 without expansion to 45.0 with expansion, while contradiction changes from 0.460 to 0.520.

The authors propose several explanations. Additional correct sections may appear late, where they are less useful. The answering component may be unable to combine them correctly. Expanded contexts may also increase distraction. The experiment establishes the mismatch between evidence recovery and answer quality, but does not separately identify the contribution of each proposed cause.

Deeper reference following reinforces the task difference. On Tax, retrieval improvement peaks at depth 6, with roughly 60 sections per question. On CCL, gains level off after depth 2, despite expansion reaching up to 30 sections at depth 9. A single-reference target has less to gain from broad recursive expansion than a question requiring connected provisions.

These depth results are retrieval analyses. They should not be taken as evidence that the deepest or most successful retrieval setting would produce the best final answers. The main answer experiments already demonstrate that those objectives can diverge.

Adaptation learns the easier setting more reliably than the harder one

Human and automated fine-tuning both help CCL retrieval. The close CCL results support the possibility of reducing expert annotation demands for similar questions. However, base BGE-M3 remains stronger on several Tax measures.

This is not evidence that expert review lacks value. It shows that supervision designed around section-derived questions may teach a retrieval distribution different from that required by long factual inquiries. The distinction concerns what the training task represents, not merely who supplies the labels.

Context position affects citation more strongly than answer coverage

Appendix K groups long-context results by the position of relevant legislation, using bins of 100,000 characters. The authors describe a modest deterioration in coverage and a more noticeable increase in contradiction as relevant material appears deeper in the context.

The stronger pattern concerns citation F1, which declines substantially with deeper evidence positions. This suggests that producing a roughly appropriate answer and identifying the exact supporting section can respond differently to context placement. The analysis does not provide enough numerical detail to reproduce the plotted values, so its conclusion should remain qualitative.

Multi-label metrics track downstream outcomes more closely in this sample

The metric-validation analysis uses results from 8 retrievers. Correlation with answer coverage is 0.741 for conventional hit rate and 0.989 for multi-hit rate. For citation F1, MRR has correlation 0.933, while MultiMRR has 0.991.

These associations support the motivation for measuring fuller evidence sets. They do not prove that a metric captures legal reasoning itself. The configurations are few, and the answer measurements inherit the limitations of the dataset and automatic evaluator.

Manual inspection identifies several distinct failure mechanisms

The CCL analysis separates confusion about legal ancestry, missing referenced material, overlooked details, and questions requiring intermediate inference. The secondary-guarantor example is especially clear: a general suretyship provision resembles the question, but the decisive rule concerns guaranteeing another guarantor’s obligation.

Tax failures add missed foundational provisions, selection from unrelated legislation, and confusion between tax categories. A question involving employment income can trigger corporate or export provisions because its wording mentions companies and foreign income. This is a mismatch between surface cues and the legal classification required by the facts.

The answer analysis also finds omitted intermediate reasoning and excessive citation. These failures explain why neither improved retrieval nor broader context alone is sufficient. Some errors concern what evidence is available; others concern how the system classifies the situation and applies the evidence it has.

Limitations

Limits acknowledged by the authors

The authors explicitly identify the construction of CCL questions as a limitation. Questions originate from individual sections, which can produce broad wording compatible with several nearby provisions. A system may reasonably discuss related rules even though the reference set names only the sampled section.

This affects both interpretation and citation evaluation. An additional citation may be irrelevant, but it may also reveal that the question does not uniquely select its intended target. Exact matching against the reference set cannot, by itself, settle that distinction.

The authors also acknowledge that multiple training labels do not create genuinely multi-provision questions. Reviewers can add useful sections after question generation, but the underlying question still begins from a single provision. Tax partly addresses this weakness, yet its presence does not change the construction of the larger CCL collection.

Question style is another stated limitation. CCL questions can be formal and shaped by the annotation process rather than resembling ordinary user requests. A system successful on this wording may still struggle when users omit legal terminology, mix issues, or describe events indirectly.

The proposed multi-label metrics receive only limited validation. Their association with answer quality is calculated across 8 retrievers. The authors attribute this restriction to inference cost and the limited availability of appropriate retrieval systems. Strong correlations in this comparison remain preliminary evidence of broader usefulness.

Most importantly, the paper acknowledges that it evaluates final responses rather than legal reasoning as a process. Coverage, contradiction, and citations cannot establish whether each intermediate inference follows an appropriate legal principle. The discussion points toward work such as ROSCOE and ReCEval while recognizing the difficulty of defining and annotating good Thai legal reasoning.

Limits visible in the experimental setup

A careful reader should also keep the Tax sample size in view. Its 50 cases support valuable diagnosis, but they do not represent every form of Thai legal inquiry. The concentration in Revenue Department material further narrows what generalization can be inferred.

The source institution supplies useful context that a public-facing system might not receive explicitly. Many Tax questions implicitly concern the Revenue Code because of where they were submitted. A generic retriever searching a wider legislative collection must infer that scope. This makes the task realistic in one respect while creating a hidden contextual assumption.

The legal collection is restricted to the selected legislation. Cases outside that collection are filtered out. The benchmark therefore evaluates answering within a defined source universe, instead of the ability to discover every potentially applicable authority across Thai law.

Temporal reasoning is also not directly established. The Tax dates were restricted to recent cases, and case metadata is retained, but the experiments do not demonstrate systematic selection among historical statutory versions. A date range and a version-aware legal reasoning system are different achievements.

The automatic evaluator has meaningful human agreement, but it remains imperfect. Coverage F1 is .88 on the CCL agreement sample and .83 on Tax. Contradiction F1 is .98 and .91, respectively. These are useful validation results, yet small score differences between systems should not be interpreted as if every judgment were unquestionably correct.

The evaluator’s confusion matrices show that neighboring coverage categories are more frequently confused than the extreme categories. That supports broad distinctions between failure and strong agreement, while leaving greater uncertainty around partial versus complete coverage. The paper does not provide a complete uncertainty analysis for every system comparison.

Several causal interpretations remain hypotheses. The authors suggest that longer prompts create distraction, that CCL generators filter chunking noise, and that public tax cases might overlap with prior training exposure. The experiments motivate these explanations but do not directly verify them.

The direct long-context comparison also changes the answering configuration. The final RAG pipeline uses Claude, whereas the full-legislation answering experiment uses Gemini. The result compares practical systems, but does not isolate context organization while holding every other component constant.

The mathematical and tabular inconsistencies further limit exact reproducibility from the written specification alone. Subset directions, recall normalization, reciprocal-rank wording, and some repeated table values need reconciliation. They do not erase the observed patterns, but they matter to anyone implementing the metrics or comparing a new result against them.

Finally, golden context is only “golden” relative to the benchmark annotations. It can reveal failures despite access to the designated evidence, but it cannot guarantee that the annotations include every legally acceptable source or that concise reference answers express all relevant conditions. Its diagnostic value is substantial; its authority remains bounded by the construction of the benchmark.

What came after

The later citation record connects NitiBench with work on Thai legal research, grounded legal answering in other languages, and the evaluation of unreliable outputs. The available descriptions establish those directions, but they do not establish which NitiBench components each work adopted or whether its reported results were reproduced.

“So, How Much Do LLMs Hallucinate on Low-Resource Languages?” approaches the broader reliability problem through quantitative and qualitative analysis. Its stated subject connects with NitiBench’s concern that fluent answers in an underrepresented language require explicit checking. The citation record does not establish whether it uses NitiBench’s contradiction labels, datasets, or scoring procedure.

FourCorners concerns grounded Thai legal research organized around a temporal knowledge graph. Its topic is closely aligned with questions NitiBench exposes: how legal sources relate, how evidence supports an answer, and how legal information should remain grounded. The title additionally foregrounds time, but the available account does not specify how it represents statutory changes or extends NitiLink.

bLLeQA benchmarks grounded legal answering in French and Dutch. It places the concern with answer support in another multilingual legal setting. The connection is one of evaluation scope: legal answering should be examined together with the evidence behind it. Specific reuse of NitiBench’s multi-label formulas or evaluator is not established.

BenGER benchmarks legal reasoning based on subsumption in German law. Its stated focus relates to a boundary NitiBench identifies explicitly: final-answer quality does not fully measure the process of applying a legal rule to facts. The citation record supports that thematic continuation, while leaving the precise experimental relationship unknown.

These later works show that NitiBench participates in a wider effort to evaluate legal systems through language, evidence, and reasoning together. Its most durable contribution is the separation of those questions. Finding a provision, citing it, and reaching a defensible conclusion require distinct evidence of success.

Cite

Cite as Pawitsapak Akarajaradwong, Pirat Pothavorn, Chompakorn Chaksangchaichot, Panuthep Tasawong, Thitiwat Nopparatbundit, Keerakiat Pratai and Sarana Nutanong. 2025. NitiBench: Benchmarking LLM Frameworks on Thai Legal Question Answering Capabilities. Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/2025.emnlp-main.1739

@inproceedings{akarajaradwong2025nitibench,
  title = {{NitiBench: Benchmarking LLM Frameworks on Thai Legal Question Answering Capabilities}},
  author = {Pawitsapak Akarajaradwong, Pirat Pothavorn, Chompakorn Chaksangchaichot, Panuthep Tasawong, Thitiwat Nopparatbundit, Keerakiat Pratai and Sarana Nutanong},
  booktitle = {Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing},
  year = {2025},
  doi = {10.18653/v1/2025.emnlp-main.1739},
  url = {https://doi.org/10.18653/v1/2025.emnlp-main.1739}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/akarajaradwong-2025-nitibench-benchmarking-llm-frameworks-thai/