Elamur Research

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

Paper · 2026 · Subinay Adhikary, Upal Bhattacharya, Vivek Kumar Singh et al.

Summary

A recommendation to look up a criminal statute is more useful when the reader can see which facts make it relevant. In one case studied in PROSLEX, GPT-4 correctly identifies the provision for rioting but points to a scuffle. The legal experts point elsewhere in the same account, to a report that the appellant led a group that assaulted and threatened hospital personnel. Both selections concern the same disturbance. The difference is whether the selected facts support the specific provision. PROSLEX makes that difference measurable in legal AI.

The dataset contains 1,623 documents based on Indian Supreme Court judgments and 7,450 passages marked as explanations for particular statutes. Its seven Indian Penal Code sections were chosen for their legal and social importance, the availability of suitable cases, and the differences between their provisions. Legal experts extracted the case facts and independently marked supporting passages in the same documents. The authors tested how well a measure of textual overlap identified disagreements that needed senior review, then used the resulting threshold to route annotations for adjudication.

The strongest supervised baseline for predicting statutes alone was InLegalBERT, with macro F1 of 0.82. Macro F1 gives each provision equal weight after scoring how reliably it was identified and how often it was missed. DeepSeek led the direct prompting comparisons with macro F1 of 0.64 when given descriptions of the provisions and 0.71 when also given worked examples. For prediction with explanations, GPT-4 achieved macro F1 of 0.75 with chain-of-thought prompting, which asks for intermediate reasoning in a sequence. The tested tree-of-thoughts procedure, which explores alternative sequences, produced weak prediction scores across the evaluated systems.

The authors assess explanations by comparing their wording and meaning with expert references and by asking legal experts to judge how well each explanation supports its predicted statute. GPT-4 led the expert evaluation with a mean of 3.91 on the scale from 0 to 4. DeepSeek averaged 3.83, ahead of Llama-3.1-70B at 3.16, although Llama-3.1-70B scored higher on the automatic reference comparisons. Together with the rioting example, that reversal explains the value of keeping evidence quality visible alongside classification success. The experiments support conclusions about the explanations readers receive for these cases. Whether the explanations reveal how a prediction was made, or make automated legal advice dependable in practice, falls outside what the study establishes.

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

PROSLEX uses Indian Supreme Court case facts and expert-marked passages to test which criminal statutes apply and how well the evidence supports them. · about 36 minutes to read

The problem and its context

What counts as a successful identification?

A written account can describe an injury, the circumstances that led to it, the conduct of several people, and what someone did afterwards. The laws relevant to that account may address different parts of the same sequence. A system that has room for only one answer would have to discard some of those distinctions. The task in PROSLEX allows several provisions to apply to one case. In computational terms, each provision is a label, and predicting a set of labels from the case facts is a form of text classification.

The authors motivate this work through the practical difficulty of locating the law that governs a situation. They describe the Indian judiciary as working with codified provisions alongside elements of common law, and they point to a substantial backlog of cases. They also note the cost and effort involved when someone without legal training seeks advice. Statute identification could serve as an early step in that process by directing attention to provisions worth examining. The research problem is how to evaluate such a suggestion when the reader needs to know which details of the case give it force.

A benchmark built from case descriptions and statutory labels answers a straightforward question. Given the description, does the system return the sections expected for the case? Each prediction can be compared with the recorded outcome. The result says little about which part of the description could justify that prediction. A document may offer many chances to recognize the topic of a case, including language about violence, a property dispute, or intimidation. Some of those clues may be too broad to establish the particular law suggested. Without an evidentiary reference, the label comparison cannot distinguish a well-supported selection from a plausible guess.

The paper connects this issue to transparency in high-stakes uses of automated systems. It invokes provisions of the EU AI Act concerning information that helps deployers interpret and use outputs appropriately. Here, the piece of an output a reader can inspect is the explanation associated with a statute. A reader should be able to ask where the explanation finds its support and whether the passage it relies on describes conduct relevant to the provision. That gives an otherwise broad concern about transparency a specific meaning for interpretability.

The distinction also separates two activities that can look similar in a demonstration. Finding a passage about the same incident is a retrieval problem. Deciding that what the passage says bears on the requirements of a provision is a legal interpretation problem. Legal experts can use the same text for both activities, but a benchmark needs some way to make the connection explicit. PROSLEX records that connection as a link between a statute and a piece of the factual account.

How earlier work connected case descriptions to law

In the history given by the authors, researchers initially treated statute prediction as a problem of learning from textual features. Liu and colleagues used support vector machines, which learn a boundary between examples with different labels, to associate legal documents with statutes. The features allowed a system to distinguish patterns across cases even when the relevant section was not being searched for by name. The central question remained how well it could assign the expected labels.

Later approaches tried to make the connection to legal material more explicit. The authors describe a hierarchical attention system by Luo and colleagues that selected relevant law articles as part of charge prediction. Attention in this account gives different pieces of information different influence on the prediction. They also describe work by Wei and Lin that brings knowledge drawn from legal texts into a task with multiple possible labels. These approaches treat the law associated with a label as information a predictor can use, beyond the identity of the label itself.

A particular difficulty in this literature is telling apart charges that can sound similar at the level of the full narrative. The early broad features of a case may point toward a family of offenses while the distinction depends on a smaller detail. The paper describes work that used the elements constituting an offense as discriminating features, as well as work that relied on combinations of words. Hu and colleagues gave a predictor explicit legal attributes to help it tell apart charges that were easy to confuse, an approach described in Few-Shot Charge Prediction with Discriminative Legal Attributes.

The related work includes an approach that directs attention to differences between law articles whose similarity can lead to prediction errors. This is another way of bringing a legal distinction into the prediction procedure itself. The comparison is between what separates related provisions, as opposed to how strongly a whole case resembles the general topic they share. The paper discusses it through Distinguish Confusing Law Articles for Legal Judgment Prediction.

Other studies in the authors’ account added structure of a different kind. An approach by Bi and colleagues used interacting graphs to bring external legal knowledge to bear on confusing charges. Work by Chen and colleagues tailored the representation of charges to cases with multiple defendants. That setting presents an assignment problem within the case as well as a choice of provision. A charge can be relevant to the account while the wrong person is associated with it. PROSLEX discusses these studies to show the different relationships earlier predictors tried to capture. Its own basic annotation is a relationship between a factual passage and an applicable statute.

The gap in Indian case resources

The authors point to the FIRE 2019 Artificial Intelligence for Legal Assistance track as an important earlier effort on retrieval and statute identification in India. In this line of work, finding materials relevant to a query and identifying laws associated with a description both help readers navigate legal texts. The paper also cites surveys of available Indian resources and describes a study by Vats and colleagues that tested generative approaches for statute prediction. In its account of that study, the few-shot chain-of-thought experiment used 45 documents.

The surrounding dataset landscape helps explain the project’s choice of scope. In the authors’ comparison, ILSI contains 66,090 cases, and LeSICiN contains 100,000. The European ECtHR-B resource has 10,000 cases in that comparison. The associated benchmark paper is LexGLUE. The figures describe resources designed for different legal settings and inventories. They show that assembling a large corpus of legal labels and assembling a corpus with expert-marked support are distinct undertakings.

The authors’ case for PROSLEX rests on the scarcity of the second kind of resource in their setting. An explanatory field needs a definition before it can be collected systematically. It could contain an account written in a lawyer’s own words, a complete statement of the legal argument, or a selection from the document. PROSLEX takes the last approach. A passage identifies the part of a case that experts associate with a provision. That choice makes it possible to put a generated explanation and the reference next to each other and ask what each treats as the basis for the claim.

This addition changes the kinds of mistakes an assessment can reveal. A missed provision is visible in a label comparison. A correct provision attached to an inadequate passage becomes visible only when the support is also available for inspection. The resulting benchmark therefore addresses a question that the authors’ survey of earlier predictors leaves open. When a system supplies a provision, can it show the reader facts with a legally meaningful connection to it?

The method, step by step

Decide which provisions the dataset will cover

The starting material is a collection of 33,546 Supreme Court of India judgments from 1950 to 2016. The authors report that the collection covers 444 Acts and 3,428 sections. Criminal matters account for 30% of the collection in their description. The annotation project starts by narrowing the legal inventory and then looking for cases that can support a study of that inventory. A general sample of the collection would serve a different purpose and could devote substantial annotation effort to judgments outside the intended task.

The experts used several considerations to select provisions. Legal and social significance mattered because the project aimed to cover consequential offenses. The supply of suitable documents mattered because each provision needed enough cases to be studied. Distinctiveness mattered because the authors wanted the smaller collection to cover provisions that differed in what they addressed. They explain the last consideration with IPC 302, which concerns punishment for murder. In discussing IPC 300 and IPC 304, they show how covering related homicide provisions would have spent part of the budget on distinctions within a single area. They selected IPC 302 for the benchmark.

The resulting inventory includes rioting under IPC 147, causing evidence of an offense to disappear under IPC 201, punishment for murder under IPC 302, and punishment for rape under IPC 376. The other provisions concern cheating that induces delivery of property under IPC 420, cruelty under IPC 498A, and criminal intimidation under IPC 506. These descriptions identify the categories used by the authors. The procedure works with those categories throughout, from choosing cases to supplying the descriptions in a prompt.

The authors aimed to gather up to 250 cases for a section. Their budget decision was to give each selected provision substantial attention before extending the range of provisions represented. The target could not be reached for every section. They report spending 94 INR per document and approximately 152,562 INR overall on annotation. This cost is part of the method’s design. Each increase in case coverage requires someone with legal expertise to read source material, identify the factual portion, recognize the applicable provision, and mark the support. A count of labels alone would leave out most of that work.

Building and testing PROSLEX

The steps in order.

Building and testing PROSLEXStep 1: Choose statutory provisions for the benchmark1. Choose statutory provisions for the benchmarkStep 2: Find judgments that sustain those provisions2. Find judgments that sustain those provisionsStep 3: Extract factual accounts from the judgments3. Extract factual accounts from the judgmentsStep 4: Mark passages independently for each provision4. Mark passages independently for each provisionStep 5: Resolve disagreements and retain final annotations5. Resolve disagreements and retain final annotationsStep 6: Partition cases for training, validation, and testing6. Partition cases for training, validation, and testingStep 7: Run direct classification and prompted prediction7. Run direct classification and prompted predictionStep 8: Score predictions and examine their supporting passages8. Score predictions and examine their supporting passages

Move from the ruling to the supporting facts

For each provision, the project involved two postgraduate legal experts. The paper uses the following notation for the section under consideration.

Sₖ

The capital S designates a statutory section in this part of the procedure. The subscript k identifies the section currently being annotated.

The authors designate the experts as follows.

L₁, L₂

L refers to a legal expert. The subscripts 1 and 2 identify the independent annotators assigned to the section, and the comma lists the two roles together.

The experts worked on the same cases independently. An eligible case for a given provision was one in which the ruling upheld that provision. If a section appeared earlier in the proceedings and was eventually set aside, the case was excluded from the annotation list for that section. This rule links the label to how the court ultimately treated the provision. For an exercise based on word matching alone, an earlier charge might look much like a sustained one, since both could appear explicitly in the judgment. The selection rule gives those appearances different meanings for PROSLEX.

The experts extracted the factual presentation from each chosen judgment before marking support. The two operations work at different scales. Fact extraction determines the account that will serve as the input to the task. Passage marking identifies the part of that account that bears on an individual statute. An event can belong in the account because it explains the sequence of what happened without being the portion the experts would use to establish a particular offense.

The paper’s example from the Bhimanna case shows the difference. The account describes people trying to cross land, an objection from the person on the land, and an escalation into an assault with implements they had been carrying. A passage about urging the others to attack is associated with IPC 147. The description of the blows is associated with IPC 302 as well as IPC 147. Other narrative details describe what happened afterwards, including efforts to seek help and transport the injured person. Keeping the story readable and identifying the text associated with a provision are separate jobs within the annotation.

The example also shows why an explanation in PROSLEX has an address in the source account. An expert can indicate the same passage for more than one section, and a case can contain multiple passages worth marking. The expert is identifying facts that matter for a legal label by placing boundaries around text and linking it to the label. The boundaries make the judgment inspectable. Another reader can look at the same selection and ask whether it includes the conduct that gives the provision its relevance.

Turn two independent readings into a reference

Independent annotations can differ even when both experts accept the same section. One reader might select a clause describing the decisive act. Another might include the preceding sentence to account for the participants or the sequence of events. The adjudication procedure needs to decide which differences justify another expert’s involvement. The authors use a measure that checks how much wording the selections share, in the order it occurs.

That measure is ROUGE-L. Its underlying idea is a longest common subsequence, meaning a sequence of shared words that preserves their order while allowing intervening words to differ. Two passages can therefore share much of a narrative in spite of having different starting points, different endpoints, or some wording in between. The agreement score used by the authors runs from 0 for no overlap to 1 for perfect overlap. The method comes from the family of measures introduced in ROUGE.

Across the annotation pairs, the authors report a mean ROUGE-L of 0.79 and a standard deviation of 0.12, which describes the spread of the scores around their mean. The median overlap is 0.80. The lower and upper quartile scores are 0.72 and 0.87, respectively. These figures summarize the agreement signal before adjudication. They concern the text that the annotators chose and have to be interpreted in light of that specific measurement.

The authors drew a random sample of 50 pairs to determine where to send a pair for additional review. A senior legal expert who had more than 15 years of experience assessed the sampled pairs under blinded conditions and flagged those requiring adjudication. The authors found that 90% of pairs below the overlap threshold of 0.75 warranted adjudication in that exercise. This relates a text measurement to a concrete action that a legal expert judged necessary.

The first branch of the policy is written as follows.

ROUGE-L < 0.75

ROUGE-L is the overlap score for the two annotations. The less-than sign identifies scores below the review threshold of 0.75. In this branch, the senior expert reads both annotations and selects the more accurate one or prepares a revised version drawing on the two.

The other branch is as follows.

ROUGE-L ≥ 0.75

Here ROUGE-L refers to the same pairwise score, and the greater-than-or-equal sign includes the boundary value of 0.75. For those pairs, the project keeps the annotation that gives the more detailed account of the legal support. About 37% of cases are reported as going to senior adjudication.

This gives the benchmark a procedure for arriving at a reference even when the initial selections differ. It uses overlap as a signal about whether independent review is likely to be worth the effort. The senior expert’s task in the lower-overlap cases is substantive. Choosing between two versions can require deciding which facts matter under the provision, and a combined version can preserve support that each individual selection captures only in part.

Establish the partitions and train direct classifiers

The authors report a stratified random split with 70% of the data for training, 10% for validation, and 20% for testing. Stratification is intended to preserve representation of the different statute categories across the partitions. The fixed random seed is 42. That value determines the randomization for the partition so that repeating the same procedure can reproduce the selection. Training examples are the material used to learn the task or construct demonstrations. The validation portion is available for decisions about settings, including the preliminary choices for tree search. The test portion supplies the prediction comparison.

For the direct classification baseline, the task is to assign statute labels to the case facts. The systems are adapted to PROSLEX through supervised training, meaning that the known labels are supplied as targets during training. The baseline group includes LegalBERT, InLegalBERT, Longformer and RoBERTa. It also includes a BERT baseline, listed as BERT-base in the results table. The training description refers to a large BERT configuration, which leaves the identity of that baseline uncertain. The associated works include LEGAL-BERT, Longformer and RoBERTa. The general BERT family is described in BERT.

The authors use batches of 32, so a training update draws on a group of examples of that size. They use the Adam optimizer, which determines how to adjust the learned parameters in response to the training objective. The learning rate is 5e-6 and training runs for 20 epochs, where an epoch is a pass through the training data. Other settings are left at the HuggingFace defaults. InLegalBERT is particularly relevant to the design because its prior training uses Indian legal documents. It appears both as a direct baseline and as the system that represents texts for demonstration selection. Its prior development is discussed in Pre-trained Language Models for the Legal Domain.

Describe the available labels in a prompt

The prompting experiments give the system a legal case and a list of the allowed sections with descriptions. This is an alternative to learning a new direct classifier for each prompting configuration. The prompt can also contain completed instances showing the sort of output the system is expected to produce. In the explanation format, an instance contains case facts, the selected sections, and corresponding support. The template asks the system to use the supplied labels and avoid fabricated ones. The new facts are set apart from the preceding instructions and any demonstrations.

The systems named in the setup are GPT-4, claude-sonnet-4-20250514, Llama-3.1-70B and deepseek-r1-distill-llama-70b. The last appears as DeepSeek in the comparisons. The authors set temperature to 0 for Claude and GPT, and to 0.01 for Llama and DeepSeek. Temperature controls how broadly the system samples among possible continuations, with these settings favoring highly probable choices. The reported top-p value is 0.95 throughout. This setting limits the candidates considered at a generation step using their cumulative probability.

The simplest prompt condition is zero-shot. It supplies the descriptions of the labels and the new factual account. The system has the information needed to understand what its permissible answers refer to without seeing an example completed for this task. The few-shot condition supplies examples drawn from training material. At inference, those demonstrations are part of the immediate input, showing both which statute was assigned and what accompanying text looks like in the explanation template. This is the sense in which the paper uses few-shot learning.

Use annotated support to rank demonstrations

The demonstration-selection procedure starts with the language describing a statutory provision and asks which training examples express its substance well. The expert annotation gives the authors a compact piece of the case to compare with that description. A complete factual account can include many events for other purposes, such as how a dispute started or what happened after the conduct at issue. The marked passage has already been selected to show why the provision is relevant. The comparison uses that selection.

The paper denotes the document collection used in this comparison as follows.

D_train = {d₁, d₂, …, dₙ}

D_train is the set of training documents. Each d is a document, and the subscript gives its position in the notation. The subscripts 1 and 2 mark the initial entries, n marks the total number of training documents and the index of the last entry, and the ellipsis stands for the intervening entries. The braces enclose the members of the set, and the equals sign introduces the set’s definition.

The statute inventory is written separately.

S = {s₁, s₂, …, sₘ}

S denotes the set of target statutes. A lower-case s is a member of that set. The indices 1 and 2 identify its initial entries, and m is the number of statutes and the index of the final entry. The ellipsis represents the intervening statutes, the braces mark a set, and the equals sign defines S.

The authors compare the description and explanation using a similarity function applied to them as a pair.

σ(tⱼ, aᵢⱼ)

The Greek letter σ denotes the function that measures similarity. Its first argument, tⱼ, is the textual description of statute sⱼ, with j indexing the statute. Its second argument, aᵢⱼ, is an annotated span for that statute in training document dᵢ, with i indexing the document. The parentheses enclose the arguments and the comma distinguishes the two texts supplied to the function. The authors describe representing each text with the vector at InLegalBERT’s [CLS] position and give cosine similarity as an example of the function. Cosine similarity compares the directions of those vectors. In this use, a strong score suggests that the marked facts are close in meaning to the description of the provision, the comparison targeted by semantic similarity.

The paper represents a selected example with a starred pair.

(sⱼ*, aᵢ*ⱼ)

The parentheses and comma group a statute label sⱼ* with the selected span aᵢⱼ. The index j identifies the provision, and i marks the chosen training-document index for its representative passage. The stars indicate the selected instance in the authors’ notation. The general procedure ranks candidates for a provision and selects the highest-scoring examples.

The authors specify these alternatives for the number of demonstrations.

K ∈ {2, 4, 6}

K is the number of demonstrations selected for each statute. The membership sign means that K takes a value from the set enclosed in braces. The values 2, 4 and 6 are the tested example counts per provision. When attached to the prompt, the selected examples give the system an account of facts and an illustration of the label and support expected from those facts.

The workflow illustration depicts retrieval being used to find similar cases. The detailed selection procedure specifies that the comparison is between the provision description and annotated training text. The query in that description is therefore the provision itself. A search that takes each incoming case as its query would select examples according to a different relationship, namely which completed cases resemble that particular input. How the illustration’s broader description relates to any additional retrieval at test time is left open by the reported procedure.

Ask for a sequence or search among alternatives

Chain-of-thought prompting asks for intermediate steps in reaching a conclusion. In the legal setting, the intended sequence brings the reader from observations about the case to a view about which provisions apply. Earlier legal prompting work described in the paper asked for an explanation before predicting, and the study by Vats and colleagues used demonstrations for this style of prompt. PROSLEX applies the general approach across its own annotated material. The prompting technique is introduced in Chain-of-Thought Prompting.

Tree-of-thoughts turns an intermediate step into a point from which several continuations can be explored. Each partial sequence is treated as a state. Its child states extend it with different possible thoughts, and the procedure evaluates the candidates as it searches. The implementation uses breadth-first search. This means that candidates at a given depth are considered before continuing farther down a line of reasoning. The authors report that preliminary work on validation material made this preferable to depth-first search for comparing candidate approaches at similar stages.

The paper specifies a maximum depth.

d_max = 7

The variable d_max is the deepest search level allowed by the setting, with max indicating a maximum. The equals sign assigns the reported value of 7.

It gives a separate limit on how many continuations may be proposed from one state.

c_max = 3

The variable c_max is the maximum number of child states per current state. The equals sign fixes the branching limit at 3.

A third setting bounds the number of nodes at each level.

n_max = 10

The variable n_max stands for the maximum number of nodes at a search level. The equals sign assigns the level cap of 10.

A confidence threshold of 0.4 also applies. The authors describe this value as a minimum normalized probability for expanding a path. Low-scoring paths can be pruned, meaning that the procedure stops extending them. This allows the search to stop spending effort on candidates that the scoring procedure regards as weak even if those candidates have yet to reach the depth limit.

For a full tree at the stated branching factor and depth, the authors provide this calculation.

3⁷ = 2,187

The base 3 is the maximum number of children at a state, and the raised exponent 7 is the depth used for the theoretical calculation. The equals sign gives the resulting full-branching count of 2,187 paths stated by the authors. It describes the scale of an unrestricted expansion under those depth and branching values. The actual procedure also imposes the level cap and prunes candidates. The paper says pruning typically reduces exploration to 15–30% of the theoretical maximum, without giving a run-level accounting of how that estimate relates to the level cap.

The authors make the PROSLEX data and accompanying code available through the repository named Legal_Statute_Prediction_Explanation. The experimental material includes both the facts used to make predictions and the expert references used to examine the explanations.

Experiments and results

What the prediction scores count

The prediction results are reported as F1 for individual statutes and as macro F1 for the benchmark. F1 combines precision and recall. For a given provision, precision asks how often the assigned label was correct when the system used it. Recall asks how often the system found that label among cases where it was expected. A system can miss many expected instances by assigning a section only rarely, or lose precision by assigning it too freely. The score depends on both kinds of performance. Macro F1 averages the provision scores so a less often represented section still has the same weight in the aggregate.

The dataset statistics illustrate the variation across the held-out material. For IPC 147 the table gives 214 training documents, 30 validation documents and 62 test documents, with mean lengths of 1052, 1100 and 1043 tokens in those partitions. A token is a unit into which the text is divided for processing. IPC 201 has the same reported training and validation counts, 214 and 30, and 63 test documents. Its mean lengths are 1584 tokens in training, 1540 in validation and 1534 in testing. The groups for these two provisions are similar in reported document count, while the amount of text in a typical account differs.

Other provisions are represented by shorter accounts in the table. IPC 498A has 118 training documents at an average of 270 tokens, 17 validation documents at 274 tokens, and 35 test documents at 323 tokens. IPC 506 has 116 training documents, 16 validation documents and 34 test documents. Its respective average lengths are 488, 498 and 502 tokens. Counts by statute describe participation in each label group in a multi-label task. Cases with several applicable provisions can matter to more than one group.

These differences are useful when reading the results. The classifier encounters case accounts of varying lengths and labels with different amounts of training material. Macro averaging deals with how much each label contributes to the final reported score. It does not account for why the label was easy or difficult to learn. The per-statute F1 results show where systems struggled under the benchmark’s particular mix of cases.

Direct classification results

InLegalBERT leads the supervised, prediction-only comparison with macro F1 of 0.82. LegalBERT follows at 0.80. The remaining baselines have lower aggregates, with BERT-base and Longformer both at 0.67 and RoBERTa at 0.64. The results table identifies the aggregate as macro F1, the measure appropriate for these comparisons. The authors’ narrative also calls the leading score accuracy, but the table’s metric is more specific.

Supervised statute prediction on PROSLEX, test macro F1

The legally pretrained baselines lead the prediction-only comparison.

Supervised statute prediction on PROSLEX, test macro F1InLegalBERT (this paper): 0.82InLegalBERT (this paper)0.82LegalBERT: 0.80LegalBERT0.80Longformer: 0.67Longformer0.67BERT-base: 0.67BERT-base0.67RoBERTa: 0.64RoBERTa0.64
The numbers
System or settingmacro F1
InLegalBERT (this paper)0.82
LegalBERT0.80
Longformer0.67
BERT-base0.67
RoBERTa0.64

InLegalBERT’s strongest individual results include F1 of 0.94 for IPC 420 and 0.91 for IPC 498A. It reaches 0.80 for IPC 201 and 0.76 for IPC 147. The lowest score in its row is 0.45 for IPC 506. That provision also has weak results elsewhere in the supervised comparison. LegalBERT scores 0.37, BERT-base 0.06, and Longformer 0.02. The difficulty survives the choice of the leading overall classifier, so an aggregate result alone would give an incomplete picture of likely performance on criminal intimidation.

The ranking also depends on the provision. LegalBERT achieves F1 of 0.90 for IPC 376, where InLegalBERT achieves 0.87. For IPC 302, the corresponding scores are 0.84 and 0.83. Both reach 0.91 for IPC 498A. The domain-specific systems lead overall, and their differences are concentrated in particular parts of the inventory. These are results for predicting labels. There is no corresponding set of generated explanations from these baselines in the expert-rating comparison.

Direct prompting and prompts with intermediate reasoning

Without demonstrations, DeepSeek leads with macro F1 of 0.64. Claude reaches 0.61, GPT-4 reaches 0.56, and Llama-3.1-70B reaches 0.47. With demonstrations, DeepSeek remains first at 0.71 and GPT-4 reaches 0.66. Llama-3.1-70B and Claude each reach 0.64. Each system’s aggregate rises when examples are available in the reported direct prompting comparison. For IPC 147, DeepSeek’s zero-shot F1 is 0.68 and its few-shot F1 is 0.87. The demonstrations accompany improvement on that provision as well as on the aggregate.

The table also shows why an aggregate improvement need not look the same across different provisions. DeepSeek’s IPC 302 F1 is 0.75 in both the zero-shot and few-shot conditions. In few-shot prompting, Llama-3.1-70B scores 0.83 on IPC 420, compared with DeepSeek’s 0.82, even though DeepSeek has the better macro F1. For IPC 506, GPT-4 records few-shot F1 of 0.46, the highest of the few-shot scores for that label, with DeepSeek at 0.43. A system can lead on a particular statute without leading on the collection of statutes as a whole.

When the authors turn to explicit reasoning prompts, GPT-4 has the highest reported chain-of-thought macro F1, 0.75. DeepSeek follows at 0.73. Claude records 0.66 and Llama-3.1-70B records 0.57 in that condition. The authors report that, among the reasoning methods they evaluated, chain-of-thought prompting performed best at predicting statutes and explaining those predictions. Taken together with the direct prompting results, the table shows that the highest-scoring system depends on what the prompt asks it to do.

Chain-of-thought and tree-of-thoughts on PROSLEX, test macro F1

The tested sequence-based prompts score above the branching setup for every system.

Chain-of-thought and tree-of-thoughts on PROSLEX, test macro F1GPT-4 chain-of-thought (this paper): 0.75GPT-4 chain-of-thought (this paper)0.75DeepSeek chain-of-thought: 0.73DeepSeek chain-of-thought0.73Claude chain-of-thought: 0.66Claude chain-of-thought0.66Llama-3.1-70B chain-of-thought: 0.57Llama-3.1-70B chain-of-thought0.57GPT-4 tree-of-thoughts: 0.21GPT-4 tree-of-thoughts0.21Claude tree-of-thoughts: 0.18Claude tree-of-thoughts0.18DeepSeek tree-of-thoughts: 0.17DeepSeek tree-of-thoughts0.17Llama-3.1-70B tree-of-thoughts: 0.13Llama-3.1-70B tree-of-thoughts0.13
The numbers
System or settingmacro F1
GPT-4 chain-of-thought (this paper)0.75
DeepSeek chain-of-thought0.73
Claude chain-of-thought0.66
Llama-3.1-70B chain-of-thought0.57
GPT-4 tree-of-thoughts0.21
Claude tree-of-thoughts0.18
DeepSeek tree-of-thoughts0.17
Llama-3.1-70B tree-of-thoughts0.13

The branching setup has low macro F1 across all evaluated systems. Its best aggregate is GPT-4’s 0.21, followed by Claude at 0.18, DeepSeek at 0.17, and Llama-3.1-70B at 0.13. Some individual tree-of-thoughts results vary markedly across provisions. Claude obtains F1 of 0.74 for IPC 376 and 0.02 for IPC 201 in that setting. A successful category can coexist with poor coverage of the inventory. The branch search as tested gives little support for regarding extra candidate lines of reasoning as a dependable route to better statute identification.

The leading prediction-only result of 0.82 and the leading chain-of-thought result of 0.75 answer different experimental questions. The supervised classifier learns directly from PROSLEX labels and returns section predictions. The prompted system returns material the reader can inspect as a justification as well as a list of sections. Both statute scores concern agreement with the expected labels. The explanation experiment adds a separate evaluation of what the reader receives in support of those labels.

Comparing explanations with the references

The first group of explanation measures looks at wording. ROUGE-1 compares individual words, ROUGE-2 compares neighboring word pairs, and ROUGE-L reflects overlap that preserves word order. A selection using many of the same words as the expert can score well on one aspect while ordering or combining them differently on another. The paper also uses the BLEU score, which compares short word sequences against a reference. The cited method was originally presented in BLEU.

The second group compares texts using learned representations. BERTScore and BLEURT are used to measure resemblance where wording overlap can miss a relationship in meaning. The idea is pertinent here because a generated passage can describe an event in terms different from those selected by an expert. These scores still depend on the reference they are compared with. The paper cites BLEURT for the learned evaluation approach.

GPT-4 leads the reported automatic explanation comparisons. Its scores are 0.20 for ROUGE-1, 0.23 for ROUGE-2, 0.31 for ROUGE-L, and 0.28 for BLEU. It also obtains BLEURT of 0.63 and BERTScore of 0.67. Llama-3.1-70B ranks second on the reported automatic measures. It scores 0.18 for ROUGE-2, 0.58 for BLEURT, and 0.65 for BERTScore. That position is consistent across measures that treat resemblance in different ways, which makes its position in expert review especially informative.

DeepSeek’s automatic scores are generally lower than Llama-3.1-70B’s. DeepSeek obtains 0.15 for ROUGE-L, 0.42 for BLEURT, and 0.46 for BERTScore, compared with Llama-3.1-70B’s 0.21, 0.58, and 0.65 on those same measures. Claude obtains 0.43 for BERTScore and 0.40 for BLEURT. These results describe similarity to the expert references within the explanation comparison. To determine whether the generated text actually supports the section it accompanies, the paper adds a review with a different reference point: the explanation and the provision as a legal pair.

The legal reviewers receive the predicted statutes and their explanations. Their scale runs from 0 to 4 and asks how well the explanation supports the prediction. A rating of 4 signifies that the explanation provides direct and complete support. A 3 indicates substantial support with a small gap or tangential material. A 2 is for an explanation that contributes relevant observations but also contains material that does not support the choice. A 1 indicates a barely relevant connection, and a 0 indicates that the explanation is irrelevant or conflicts with the provision. Cases with no explanation can also fall in the bottom category.

Explanations on PROSLEX, mean legal-expert support rating

GPT-4 leads expert review, with DeepSeek ahead of Claude and Llama.

Explanations on PROSLEX, mean legal-expert support ratingGPT-4 (this paper): 3.91GPT-4 (this paper)3.91DeepSeek: 3.83DeepSeek3.83Claude: 3.51Claude3.51Llama-3.1-70B: 3.16Llama-3.1-70B3.16
The numbers
System or settingmean legal-expert rating
GPT-4 (this paper)3.91
DeepSeek3.83
Claude3.51
Llama-3.1-70B3.16

GPT-4 leads expert review as well as the automatic evaluations. The two assessments diverge for the other systems. DeepSeek, whose outputs are less similar to the reference text under the automatic measures, receives the next best expert mean of 3.83. Llama-3.1-70B receives the lowest expert mean of 3.16 despite its high relative scores for lexical and semantic resemblance. Claude’s expert average is 3.51. The reversal matters because the two assessments serve different uses. An evaluator looking for text comparable to the reference might favor Llama-3.1-70B over DeepSeek. An evaluator deciding how well the explanation supports the selected section would draw the opposite conclusion from the reported ratings.

The distribution clarifies where some of that difference comes from. GPT-4 receives 47 ratings of 4 and has no outputs in the 0 or 1 categories in the reported distribution. DeepSeek has 46 explanations rated 4, and Claude has 43. Llama-3.1-70B produces 38 explanations rated 4, alongside 10 assigned a 0, including occasions on which it provided no explanation. Its lower mean therefore coexists with many fully supported outputs. The cases at the bottom matter to a reader in a different way from small imperfections in many otherwise adequate explanations.

An explanation rating and a statute score remain answers to different questions even when both are favorable. The legal rating asks whether the text supports the provision the system has chosen. Prediction F1 considers the pattern of label assignments against the benchmark. A reader who wants the full set of applicable sections needs both kinds of information. The paper’s error analysis illustrates the reverse combination as well, where the assigned section is right but the support fails.

What the ablations show

The paper gives no conventional component ablation in which a mechanism is removed with the rest of the setup held fixed, although it offers prompting comparisons, agreement calibration, and qualitative analysis of explanations.

What the comparisons can isolate

The comparison of zero-shot and few-shot prompting shows that supplying examples improves macro F1 for each of the evaluated systems in the reported conditions. The examples contain several kinds of information at once. They illustrate the case language expected in this task, show how statutes are assigned, and can establish the expected form of an explanation. Their annotated passages were selected through similarity to a statute description. The comparison evaluates that whole package against a prompt with descriptions alone. Its results leave open whether examples chosen at random, by a separate retrieval method, or without expert spans would have produced the same gains.

The same distinction applies to the exemplar counts. The authors describe testing 2, 4 and 6 examples per provision. They report aggregate scores by prompting condition and system without a corresponding breakdown by count. There is therefore evidence about the value of the reported few-shot condition, with the effect of moving between those specific counts left unresolved. Since each extra example adds more factual and legal text to the prompt, the counts represent materially different inputs even when the label inventory stays the same.

Chain-of-thought and tree-of-thoughts compare different organizations of intermediate reasoning. The authors suggest that branching can lead to competing interpretations of the same provision, while a sequential approach can maintain a coherent reading. Their result establishes a difference between the two implemented procedures. The branching one combines candidate generation, path scoring, pruning, and selection. The paper does not measure the interpretations inside branches or vary those mechanisms individually, so it leaves several possible explanations for the poor final scores. A good candidate may never be generated, or a useful path may be generated and then dropped. Final macro F1 cannot tell those scenarios apart.

The calibration exercise in annotation answers a narrower question with a human decision as a point of comparison. Lower textual agreement frequently corresponded to a need for adjudication among the sampled pairs. The result supports using the threshold to allocate expert attention in this dataset. It does not establish that maximizing overlap would improve legal quality, since the senior reviewer can choose between different valid spans or combine their support. The calibration is best understood as an analysis of which pairs to inspect.

A right prediction with the wrong supporting passage

The paper’s hospital example keeps the statute fixed and examines what each explanation emphasizes. The account contains a heated exchange, a scuffle, competing claims about responsibility, and a later report from the chief medical officer. GPT-4 predicts IPC 147 under chain-of-thought prompting and points to the scuffle. The expert annotation selects the part of the account in which the officer reports that the appellant arrived with a group, assaulted him, and that threats were made against other hospital personnel. The second passage identifies the relevant people and conduct in the group incident. The fact that a scuffle occurred has a much less specific connection to the rioting label.

Attribution is important in reading the case as a case. The later passage is a reported account, and the narrative also includes the appellant’s account of his involvement. The annotation shows which reported facts the paper’s experts used as support for the section. The figure makes no independent determination about a contested event. The analytical point is that the two passages differ in their legal relevance even though they appear in the same narrative and concern the same episode.

This example separates label success from evidence failure without needing to know how the system produced its answer. The choice of scuffle as support is observable and can be challenged on legal grounds. It could be the evidence that guided the answer, an incomplete explanation of the relevant conduct, or a justification attached after the section was selected. The experiment inspects the answer presented to a reader, and the same defect matters in that answer under any of those possibilities.

The expert-rating comparison supplies a complementary analysis at the level of the evaluated outputs. In the hospital example, a broad connection to a conflict is insufficient. Across systems, similar language and a similar account of events can likewise coexist with weak expert-rated support. The paper also gives examples from other provisions with varied human scores. Together these analyses establish that the question of which facts support a section can expose failures that would be hidden by a correct label or by a high score for resemblance to a reference.

Limitations

Limits stated by the authors

The authors identify money and annotator effort as boundaries on the dataset. Preparing cases involved extracting facts, independently marking support, and reviewing some disagreements. The authors chose to concentrate on provisions with enough suitable material and report that some fell short of the intended case count. The scale claim in the paper’s conclusion is about the combination of statute prediction and expert explanation. The paper’s own comparisons list legal datasets with substantially larger case counts for other purposes.

The authors also acknowledge that generated explanations vary in reliability. The error analysis identifies an explanation that can sound plausible because it describes a genuine part of the narrative but offers inadequate legal support for the predicted provision. The paper calls for human validation when such systems are used in legal settings. Its own examples show the basis for that concern at the level of individual outputs, even when the mean score for a system is high.

For the branching strategy, the authors discuss inconsistent readings of statutory language as a potential source of errors. The need to constrain the search is also explicit in the design. The depth, number of children and node cap were chosen with computational feasibility in mind. Since the results aggregate the effects of these choices, the observed weakness applies to the implementation examined in the study. The pipeline gives a bounded comparison from which to investigate the problem.

Boundaries set by the cases and labels

The provisions were deliberately selected for social and legal significance, case availability, and distinctiveness. A test of close alternatives across a more comprehensive IPC inventory would ask a different question. The authors’ choice of IPC 302 shows how a selection can cover a consequential category while leaving decisions between neighboring homicide provisions outside the task. Its success on the selected provisions is evidence for that inventory and case distribution.

The input cases are also drawn from a particular court and historical collection. The experiment contains no transfer study to another jurisdiction, a new court collection, or a corpus organized around later cases. The reported partitions provide an evaluation within the collection from which the cases were selected. Random stratification supports category representation there. It leaves open the effect of evaluating across time or on cases grouped according to related proceedings. The paper gives no separate such breakdown or analysis of overlap among related judgments across partitions.

Selection based on whether the provision was upheld makes the meaning of a positive label clearer. It also limits evaluation of a practically important distinction between an initially plausible charge and one the court ultimately rejects. The project explicitly filters cases where the target provision was set aside from that provision’s selection list. It does not report a separately constructed set of these difficult negative examples. Performance when a judgment repeatedly mentions a charge but ultimately rules it out remains an unmeasured case of the larger problem.

The source presented to the predictor has undergone expert fact extraction. A full judgment can contain procedural history, the parties’ arguments and references to other cases or sections. Experts have already performed part of the work of identifying the facts for the benchmark. An end-to-end system working from raw judgments would also have to find the right factual material before choosing passages that support individual provisions. Errors at that earlier stage cannot be estimated from the reported label and explanation scores.

What an explanatory span represents

A span is a record of where an expert locates support in the factual account. The format can capture the act itself, context that gives it legal significance, or text needed to identify participants. It has no required field for every legal element or a complete account of how competing evidence was weighed. A sufficiently informative passage for an expert reader may rely on legal knowledge that a newcomer would need explained. Conversely, a defensible explanation may express the connection to the law in terms absent from the selected passage. Both possibilities are important when interpreting reference-based metrics.

An overlap threshold is subject to a related limitation. ROUGE-L can signal that the independent annotations use much of the same text. The difference between them might still turn on a small detail within a long passage, such as who carried out an act or who reported it. At low overlap, the experts might independently choose different passages that genuinely support the same conclusion. The blind review of 50 sampled pairs gives a basis for triage in this project. There is no reported analysis showing how the threshold performs separately for different statutes, or how frequently the more detailed high-overlap version gives legally stronger support.

The expert evaluation of generated explanations assesses the connection between a prediction and the text offered for it. That rubric helps check whether the reader has been given usable support. A stronger test of complete legal advice would also have to ask whether any applicable provisions were omitted, whether an apparent exception matters, and whether the factual account is adequate to the question being posed. The benchmark gives a prediction score and an explanation score, but it does not report a joint test covering those wider legal judgments.

The generated intermediate reasoning is also an output of the system. Its coherence or legal adequacy is observable. Its role in causing the prediction would require a different kind of experiment, for example one that tests whether changing the cited support affects the decision. The reported chain-of-thought scores compare outputs under a prompting condition. They establish no causal correspondence between the reasoning a reader sees and the process that produced the statutory label.

Details that affect reconstruction

The paper reports useful settings for both training and prompting, including a split seed and the constraints on tree search. Some parameters are harder to recover. The BERT baseline is called BERT-base in the results table while the training account refers to a large configuration. The prediction score for that row can be cited under the table name, with the exact underlying configuration uncertain. The explanation discussion also names METEOR in one description of the semantic metrics. The table, numerical discussion, and evaluation setup identify BLEURT and BERTScore as the reported measures.

The case-count reporting likewise leaves an open question. The document-selection procedure describes a cap of 250 cases per section, while the partition counts shown for some sections appear difficult to reconcile with that cap. The paper does not explain the relationship between those counts and the cap. The overall dataset totals, the per-section partition figures, and the selection policy are safest to read as distinct reported quantities. The paper supplies no alternative counts with which to resolve the discrepancy.

Reported superiority is descriptive for the evaluation as run. The article gives point estimates, without confidence intervals or an account of variation across repeated runs. That matters especially when two systems have close scores. The expert explanation results give the rating scale, averages, and score counts, while leaving details such as how the rated outputs were sampled, how many reviewers rated each, and their agreement on generated outputs less clear. Agreement during dataset annotation and agreement during expert evaluation are separate questions.

The branching procedure has stated limits, but the results provide no observed path counts or runtime for each system. The theoretical count describes a full tree, while the implementation also stops expanding some branches and caps the nodes at each level. Without a breakdown of proposals, retained candidates and terminal paths, the reported pruning percentage cannot reconstruct the amount of work actually done. The empirical evidence for the search procedure is stronger about its final prediction quality than about its resource use.

Finally, the authors motivate PROSLEX as a resource that could support legal practitioners and other readers. The experiments measure performance on case facts and inspect generated justifications. They include no study of whether people using the outputs make better decisions, recognize an insufficient passage, or appropriately withhold trust. An individual explanation can still deserve scrutiny when the system that generated it has the best average. The hospital example gives a concrete reason for that scrutiny within the benchmark itself.

What came after

There are no documented follow-up studies to discuss here. The authors present PROSLEX as a starting point for studying statute predictions together with their justifications. Whether those results carry over to a broader range of provisions, and whether readers can reliably detect inadequately supported predictions, remain open questions from the original study.

Cite

Cite as Subinay Adhikary, Upal Bhattacharya, Vivek Kumar Singh, Anurag Sharma, Shubham Kumar Nigam, Suvasis Das, Shouvik Kumar Guha, Koustav Rudra and Kripabandhu Ghosh. 2026. PROSLEX: A Novel Dataset for Expert-Annotated Legal Statute Prediction for Indian Judiciary. arXiv:2608.08830.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.48550/arxiv.2608.08830 · arXiv 2608.08830

@misc{adhikary2026proslex,
  title = {{PROSLEX: A Novel Dataset for Expert-Annotated Legal Statute Prediction for Indian Judiciary}},
  author = {Subinay Adhikary, Upal Bhattacharya, Vivek Kumar Singh, Anurag Sharma, Shubham Kumar Nigam, Suvasis Das, Shouvik Kumar Guha, Koustav Rudra and Kripabandhu Ghosh},
  year = {2026},
  doi = {10.48550/arxiv.2608.08830},
  eprint = {2608.08830},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.48550/arxiv.2608.08830}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/adhikary-2026-proslex-novel-dataset-expert-annotated/