betaFeedback

WorksComputer Science

Breaking Bureaucracy: Evaluating open-source LLMs for legal document review

Abstract

In this paper, we evaluate open-source generative LLMs on legal Natural Language Inference (NLI). Legal inspectorial processes take place in specific domains and often deal with confidential data. This creates a need for working with local models that do not require labeled training data. We evaluate our models on the ContractNLI benchmark and two NLI4Wills datasets. We successfully reproduce the baseline for the task (Span NLI BERT) and we evaluate multiple open-source LLMs on the same task. We analyze the invalid rate of the models, and their stability across temperature settings and domains. Among the generative models, Gemma-4 26B performs the best, reaching an accuracy of 81.2%, even outperforming the supervised model on one metric. On accuracy, it is not possible to beat the supervised model with zero-shot approaches. Qwen-3.6 35B performs well on both ContractNLI and additional datasets in the legal wills domain. Our findings indicate that zero-shot, open-source, generative LLMs are a viable alternative for real-world legal NLI when no supervised data is available. Our code is available at https://github.com/fbaratov/contractnli-llms.

Introduction

Document review is a task that involves human experts investing considerable hours reading and reviewing a number of legal documents, and is a large burden on legal processes for organizations (Nithya et al., 2024). This includes government inspectorates, whose administrative inspections are heavily focused on document review for regulatory non-compliance detection. As a result, there has been an interest from inspectorates in applying computational methods to their inspections, hence reducing the workload for human experts.

One potential method for computer-assisted document review is natural language inference (NLI). NLI is especially fitting to assist inspectors in their responsibility of reviewing documents with regards to government regulations in order to assess their regulatory compliance. However, there are several obstacles in effectively integrating deep learning-based methods into inspectorial processes. First, inspections are expected to be confidential, meaning that API-based proprietary models would pose a security risk. Second, inspectorial processes take place in specific legal domains, such as education and transport, thus supervised methods require substantial data labeling for each newly presented domain. This issue is often exacerbated by the bureaucratic obstacles of gaining access to potentially viable data, eliminating the option of extensive training or fine-tuning supervised methods.

In this paper, we evaluate open-source LLMs on ContractNLI [7], an English-language legal NLI dataset, to investigate the potential of these models in settings without labelled training data. Open-source LLMs are especially suited for our use case, as they (a) can be run locally, and can thus be trusted with sensitive documents, (b) can be used without extensive fine-tuning through zero-shot and few-shot learning, and (c) have accessible inner workings, allowing them to convey predictive uncertainty.

Our contributions are as follows: (1) We reproduce Koreeda and Manning [7]’s model for ContractNLI, Span NLI BERT, in order to verify their results and confirm it as a reliable baseline; (2) We evaluate several state-of-the-art open-weight quantized LLMs on ContractNLI, finding that they do not meet the supervised results but reach reasonable accuracy (up to 81%) without any finetuning. We additionally assess generalizability to different legal domains by validating on the NLI4Wills dataset; (3) We conduct a temperature and logit-based stability analyses, finding that the models are robust against changes in temperature, but that logits for most models do not reliably reflect uncertainty.

Related work

Hashemi Chaleshtori et al. [5] conclude that, based on criteria such as task difficulty, as well as real-world risks and applications, ContractNLI is a good dataset for evaluating AI-assisted decision making. Multiple previous studies, such as Schuster et al. (2022), and Tang (2023), have evaluated models on the ContractNLI dataset. Narendra et al. [12] present results based on GPT4 and a fine-tuned Mixtral implementation. However, they exclude the “NotMentioned” labels from their evaluation, as the focus of their study was on ContractNLI’s evidence identification task. Most recently, Liu et al. [10] evaluated multiple proprietary and open-source LLMs on the CUAD dataset (Hendrycks et al., [6]), which focuses on identifying clauses relevant to a specific label. They find that, on this task, proprietary models generally outperform open-source models. They also find that results are improved by larger model size and reasoning capabilities, and that quantization negatively impacts performance. Their results indicate that open-source LLMs need to be fine-tuned to reach the performance of proprietary models. We put open-source zero-shot models to the test for a different task, legal NLI, to investigate their potential in domain-specific settings without labelled data for fine-tuning.

Uncertainty estimation for LLMs

Shorinwa et al. (2025) present an overview of current uncertainty quantification (UQ) methods, including white-box methods which assume that the model’s architecture is at least partially visible. Methods such as predictive entropy, proposed by Shannon (1948) and applied to deep learning by authors such as Gal et al. [3] and Ashukha et al. [1], also consider the output distribution of a given token by assessing the log-probabilities of every possible token.

Methods

Generative legal NLI

Output structures In order to use generative LLMs for the NLI task, we apply the JSON output structures (see Appendix § 11) during inference to improve inference quality and minimize invalid answer rates. The structures consist of a free-text “explanation” field, followed by a “classification” field that outputs one of the dataset labels. We choose this order so that the explanation will be in the model’s context window when it generates a label. This way, the LLMs initially generate a free-text explanation that can be read and interpreted by a human user, and then summarize the outcomes of this explanation into a single label.

Prompts We evaluate on two prompts, provided in Appendix § 10, that closely resemble those used by Narendra et al. [12]. These prompts are relatively simple and allow for the face-value evaluation of LLM performance, focusing more on their inherent capability to handle the challenge posed by our datasets, and less on how performance can be increased through prompt engineering.

Uncertainty quantification

We use two of the token-level white-box UQ methods compiled by Shorinwa et al. (2025): Average negative log-probability and maximum negative token log-probability1 (Appendix § 12 for equations).

Experiments

Datasets

ContractNLI We focus on ContractNLI2 (Koreeda and Manning, [7]) to evaluate our models. ContractNLI is a document-level NLI dataset which defines legal contracts as premises, and a set of 17 different statements as hypotheses. The dataset contains 607 contracts to be used as premises for the NLI task, with each contract containing annotations for 17 hypotheses. The annotations include an NLI label for whether the document entails, contradicts, or is unrelated to the hypothesis. We use the test set of 123 documents for our experiments. It contains a total of 2091 document-hypothesis samples, 1188 of which are labelled either “Contradiction” or “Entailment”, and 903 are labelled “NotMentioned”.

NLI4Wills The NLI4Wills datasets3 (Kwak et al., [8]) are legal NLI datasets that focus on evaluating the validity of legal will statements in the US states of Idaho and Tennessee. Three inputs are provided: a statement from a will, a condition, and a law. The task is to evaluate whether the law and condition support, refute, or are unrelated to the given statement. NLI4Wills consists of two datasets: NLI4Wills-Idaho and NLI4Wills-Tennessee. NLI4Wills-Idaho contains 154 input samples, and NLI4Wills-Tennessee contains 255 input samples.

Baseline reproduction

To reproduce the Span NLI BERT baseline introduced by Koreeda and Manning [7], we utilize the code and instructions provided by the authors on GitHub.4 We were able to train the model provided by the authors with no significant problems and with minimal changes to the code itself.

LLM evaluation

Models We evaluate models of varying sizes from four different language families: Gemma-4 (E2B, E4B, 26B) (Gemma Team, Google DeepMind [4]), Ministral-3 (3B, 8B, 14B) (Liu et al. [9]), Qwen-3.5 (4B, 9B, 27B) (Qwen Team [4]), and Qwen-3.6 (35B) (Qwen Team [4]). These model families are primarily chosen for their recency and variance in size, which will allow us to compare models from the same family or models of similar sizes. We run all models larger than 20 billion parameters in reasoning mode, as we expect that their larger size will allow them to make better use of reasoning mode when quantized compared to smaller models.

We set the temperature to 0.3 for all models to encourage differences in explanations across seeds, while still keeping stochasticity low enough to keep classifications reliable. We provide output structures for all models except Gemma-4 26B to follow (see Appendix § 11). We set context windows to 16,384 tokens, and limit the outputs to 5,000 tokens.

We use Ollama to conduct our experiments. All models use 4-bit quantization. As a result, all models can comfortably run on relatively inexpensive consumer-grade hardware.

Evaluation We use the three NLI metrics proposed by Koreeda and Manning [7]: the contradiction F1-score F1(C)F1(C), entailment F1-score F1(E)F1(E), and overall model accuracy. We micro-average these scores over documents and then macro-average them over labels. We evaluate our

results against Span NLI BERT for the all-label setting. Because generative models sometimes lead to invalid output, we modify the evaluation script provided by Koreeda and Manning [7] to handle invalid LLM outputs by treating them as incorrect. For all datasets, we report the mean and standard deviations of metrics over three seeds, as well as invalid output rates.

Additional analyses

Temperature analysis We repeat our evaluation for each model on several temperatures between 0.1 and 0.5. Comparing metrics between various temperature settings will help us assess the models’ robustness against changes in temperature.

Uncertainty analysis For each model-label-seed combination, we perform a Mann-Whitney U Test ([11]) to determine whether the distribution of uncertainty metrics for correct answers is stochastically less than the distribution of uncertainty metrics for incorrect answers. We use Benjamini-Hochberg false discovery control ([2]) and calculate effect sizes using Rank Biserial Correlation ((Wendt, 1972)). We evaluate primarily only on the logits of the label. We also provide results on (a) the logits of the whole answer and (b) the logit of the label’s first token (Appendix § 15).

NLI4Wills validation To assess generalizability to other legal domains, we evaluate the best performing configurations for each model on the NLI4Wills datasets. Following Kwak et al. [8], we report results on Precision, Recall, F1-scores, and Accuracy.

Ablation study We perform an ablation study for reasoning and structured outputs on all reasoning-capable models (Appendix § 17).

Results

Span NLI BERT reproduction

The values we report in Table 1 are very close to those reported by Koreeda and Manning [7]. For all metrics except F1(E), our results are within one standard deviation from those reported by the authors. For F1(E), our reproduction scores 0.008 less than the values reported by Koreeda, a difference of about 1%. As our reproduction has results very close to those reported by the authors on all metrics, we consider the method to have been successfully reproduced.

MetricK&MReproductionRe-OrO.SDR.SD
mAP0.922 ± 0.0060.919 ± 0.005−0.003✓✓
P@R800.793 ± 0.0180.801 ± 0.022+0.008✓✓
Acc0.875 ± 0.0060.869 ± 0.006−0.006✓✓
F1 (C)0.357 ± 0.0390.341 ± 0.043−0.034✓✓
F1 (E)0.834 ± 0.0020.826 ± 0.004−0.008××

caption: Reproduction results for Span NLI BERT. “Re-Or” indicates the reproduction’s gain or loss over the values reported by Koreeda and Manning [7] (‘K&M’). O.SD and R.SD indicate whether the difference is less than or equal to the original standard deviations reported by the authors or the reproduction’s standard deviations respectively.

:::

LLM evaluation

ContractNLI Our main results on three-way classification are in Table 2. We find that all models outperform the majority baseline. None of the models reach the performance of the fine-tuned Span NLI BERT on Accuracy and F1(E). However, several models match or surpass its performance on F1(C). Of the tested LLMs, Gemma-4 26B performs best on all metrics, outperforming Span NLI BERT on F1(C) and outperforming all other models on other metrics. Qwen-3.5 27B achieves a slightly worse, but still similar, performance to Gemma-4 26B. Qwen-3.6 35B performs noticeably worse than these two models on most metrics, but still outperforms several other models. For medium-sized models (8B-14B parameters), Qwen-3.5 9B yields the best performance on overall accuracy and F1(E). On F1(C), it is outperformed by Ministral-3 14B. Ministral-3 8B overall has the lowest scores on metrics. Among small models (2B-4B), Qwen-3.5 4B outperforms all other generative models on F1(C). Ministral-3 3B reports the lowest results out of all models, performing worse on all metrics compared to the similarly-sized Gemma-4 E2B and Qwen-3.5 4B.

ModelAccuracyF1(C)F1(E)Invalid Rate (%)
Majority (Ent.)0.4630.0000.590—
Span NLI BERT0.869 ± 0.0060.357 ± 0.0390.834 ± 0.002—
Gemma-4 E2B †0.688 ± 0.0030.254 ± 0.0180.681 ± 0.0010.0 ± 0.0
Gemma-4 E4B †0.746 ± 0.0060.343 ± 0.0120.753 ± 0.0050.0 ± 0.0
Gemma-4 26B *0.812 ± 0.0020.443 ± 0.0300.808 ± 0.0031.0 ± 0.1
Ministral-3 3B †0.575 ± 0.0030.110 ± 0.0190.628 ± 0.0010.0 ± 0.0
Ministral-3 8B †0.682 ± 0.0080.325 ± 0.0450.691 ± 0.0090.0 ± 0.0
Ministral-3 14B †0.720 ± 0.0030.372 ± 0.0080.728 ± 0.0020.0 ± 0.0
Qwen-3.5 4B †0.741 ± 0.0070.370 ± 0.0250.742 ± 0.0060.1 ± 0.1
Qwen-3.5 9B †0.759 ± 0.0040.330 ± 0.0020.749 ± 0.0020.0 ± 0.0
Qwen-3.5 27B † *0.793 ± 0.0050.422 ± 0.0240.783 ± 0.0060.3 ± 0.0
Qwen-3.6 35B † *0.760 ± 0.0060.330 ± 0.0050.780 ± 0.0080.6 ± 0.2

Table 2. Results on three-way classification. Boldface indicates the best-performing model per metric, and the “Invalid Rate (%)” column indicates the average percentage of answers outputted by the LLM from which we were unable to retrieve a coherent label. The green row highlights the best-performing LLM. * Reasoning enabled † Output structure applied

Invalid answer rates are very low across all models. All non-reasoning models have a 0.0% invalid answer rate, with the exception of Qwen-3.5 4B, which has a 0.1% invalid answer rate. Interestingly, the best performing model, Gemma-4 26B, has the highest invalid answer rate, with 1% of its answers not containing a valid label.

Temperature analysis The temperature analysis reveals that the tested models are largely robust against changes in temperature. Accuracy and F1(E) barely changes across all models, with F1(C) showing the most change. These changes can be attributed to the much smaller number of contradiction labels in the dataset. This imbalance would result in small changes in the number of correctly classified contradictions having a noticeable effect on F1(C). See Appendix § 14 (Figure 1) for detailed results.

Effect of temperature on ContractNLI results grouped by model family, showing Accuracy, F1(C), and F1(E) versus Temperature for Gemma-4, Ministral-3, and Qwen-3.5/3.6 models

Figure 1. Effect of temperature on ContractNLI results grouped by model family.

Uncertainty analysis The Mann-Whitney U Tests for the label-only analysis (Table 3) indicate that, for most tested models, average negative log-probability and maximum negative log-probability do not reliably reflect answer correctness. The tests for Gemma-4 E2B and Gemma-4 E4B all have significant p~i\tilde{p}_i-values for prediction token logits across all seeds and ground truth labels, suggesting that their output label logits are sufficiently aligned with predictive uncertainty.

ModelEntailment AvgEntailment MaxContradiction AvgContradiction MaxNotM. AvgNotM. Max
Gemma-4 E2B✓✓✓✓✓✓
Gemma-4 E4B✓✓✓✓✓✓
Gemma-4 26B××××××
Ministral-3 3B××××××
Ministral-3 8B××××××
Ministral-3 14B××××✓✓
Qwen-3.5 4B✓✓××✓✓
Qwen-3.5 9B××××✓✓
Qwen-3.5 27B✓✓××✓✓
Qwen-3.6 35B××××××

Table 3. Uncertainty analysis summary for the main results (Table 2) on the label-only scope. ✓ indicates tests on all 3 seeds are significant (p~i<0.05\tilde{p}_i < 0.05). × indicates otherwise.

Some models have significant p~i\tilde{p}_i-values on several tests, with Qwen-3.5 27B doing so on most label-only tests. However, it fails to achieve significant p~i\tilde{p}_i-values across all seeds.

The results do not suggest a wider, generalizable trend between models of the same parameter counts or families. Detailed results are available in Appendix F.

NLI4Wills Our cross-domain evaluation on the NLI4Wills datasets shows that Qwen-3.6 35B is the best-performing LLM on these datasets. However, it falls short of the RoBERTa-based baseline results reported by Kwak et al. [8] on the Tennessee dataset. Detailed results are shown in Table 36 and Table 37 in Appendix G.

ModelPrecisionRecallF1AccuracyInvalid Rate
Majority0.1970.3330.2480.591—
Gemma-4 E2B †0.766 ± 0.0110.722 ± 0.0230.713 ± 0.0250.786 ± 0.0160.0 ± 0.0
Gemma-4 E4B †0.808 ± 0.0110.751 ± 0.0100.768 ± 0.0150.840 ± 0.0060.0 ± 0.0
Gemma-4 26B *0.591 ± 0.0140.590 ± 0.0010.584 ± 0.0070.766 ± 0.0050.1 ± 0.0
Ministral-3 3B †0.618 ± 0.0280.598 ± 0.0170.516 ± 0.0260.526 ± 0.0280.0 ± 0.0
Ministral-3 8B †0.795 ± 0.0060.806 ± 0.0090.800 ± 0.0080.848 ± 0.0060.0 ± 0.0
Ministral-3 14B †0.804 ± 0.0310.789 ± 0.0260.785 ± 0.0290.842 ± 0.0210.0 ± 0.0
Qwen-3.5 4B †0.775 ± 0.0710.765 ± 0.0580.768 ± 0.0630.883 ± 0.0280.0 ± 0.0
Qwen-3.5 9B †0.861 ± 0.0180.824 ± 0.0250.830 ± 0.0240.874 ± 0.0170.0 ± 0.0
Qwen-3.5 27B†*0.763 ± 0.1100.699 ± 0.1090.722 ± 0.1110.900 ± 0.0120.0 ± 0.0
Qwen-3.6 35B†*0.884 ± 0.0050.864 ± 0.0090.873 ± 0.0060.903 ± 0.0000.0 ± 0.0

Table 36. NLI4Wills Idaho results. Each metric reports the average and standard deviation across three seeds. Boldface indicates the best-performing model per metric, and the “Invalid Rate (%)” column indicates the average percentage of answers outputted by the LLM from which we were unable to retrieve a coherent label. The green row highlights the best-performing LLM. Majority baseline results are given for the unrelated label.

ModelPrecisionRecallF1AccuracyInvalid Rate
Majority0.1820.3330.2350.545—
RoBERTa-large-mnli0.9670.9620.9640.969—
Gemma-4 E2B0.676 ± 0.0110.616 ± 0.0050.616 ± 0.0040.701 ± 0.0080.0 ± 0.0
Gemma-4 E4B0.785 ± 0.0210.673 ± 0.0140.702 ± 0.0160.766 ± 0.0120.0 ± 0.0
Gemma-4 26B*†0.553 ± 0.0050.497 ± 0.0060.521 ± 0.0050.685 ± 0.0050.1 ± 0.0
Ministral-3 3B0.560 ± 0.0310.562 ± 0.0350.503 ± 0.0310.499 ± 0.0350.0 ± 0.0
Ministral-3 8B0.684 ± 0.0090.662 ± 0.0010.671 ± 0.0030.720 ± 0.0020.0 ± 0.0
Ministral-3 14B0.770 ± 0.0060.703 ± 0.0090.728 ± 0.0080.769 ± 0.0030.0 ± 0.0
Qwen-3.5 4B0.769 ± 0.0120.724 ± 0.0190.742 ± 0.0170.779 ± 0.0100.0 ± 0.0
Qwen-3.5 9B0.789 ± 0.0940.719 ± 0.0880.745 ± 0.0900.841 ± 0.0050.0 ± 0.0
Qwen-3.5 27B0.649 ± 0.0020.547 ± 0.0060.580 ± 0.0050.808 ± 0.0060.0 ± 0.0*
Qwen-3.6 35B0.831 ± 0.0180.771 ± 0.0080.794 ± 0.0100.818 ± 0.0080.0 ± 0.0*

Table 37. NLI4Wills Tennessee results. Each metric reports the average and standard deviation across three seeds. Boldface indicates the best-performing model per metric, and the “Invalid Rate (%)” column indicates the average percentage of answers outputted by the LLM from which we were unable to retrieve a coherent label. The green row highlights the best-performing LLM. Majority baseline results are given for the unrelated label.

Ablation study The best-performing settings per model are shown in Table 4. The ablations on Gemma-4 models do not have a large effect on the accuracy, but F1(C) scores on the smaller models tend to be higher for the reasoning-only settings. This difference is less noticeable for Gemma-4 26B, where scores between reasoning-only and structure-only are mostly the same.

ModelAccuracyF1(C)F1(E)IR (%)
S-NLI-BERT0.8690.006_{0.006}0.3570.039_{0.039}0.8340.002_{0.002}—
Gemma-4 E2B *0.6800.013_{0.013}0.2680.026_{0.026}0.6920.008_{0.008}0.00.0_{0.0}
Gemma-4 E4B *0.7440.004_{0.004}0.3860.013_{0.013}0.7470.004_{0.004}0.00.0_{0.0}
Gemma-4 26B †0.8270.003_{0.003}0.4560.016_{0.016}0.8030.001_{0.001}0.00.0_{0.0}
Qwen-3.5 4B †0.7410.007_{0.007}0.3700.025_{0.025}0.7420.006_{0.006}0.10.1_{0.1}
Qwen-3.5 9B †0.7590.004_{0.004}0.3300.002_{0.002}0.7490.002_{0.002}0.00.0_{0.0}
Qwen-3.5 27B †0.7930.005_{0.005}0.4220.024_{0.024}0.7830.006_{0.006}0.30.0_{0.0}
Qwen-3.6 35B *0.7910.005_{0.005}0.3870.021_{0.021}0.7930.003_{0.003}0.10.1_{0.1}

Table 4. Ablation study – best setting per model. Boldface indicates the best-performing model per metric. The IR (%) column corresponds to the invalid answer rate. Subscripts correspond to standard deviations. The green row highlights the best-performing LLM. * Reasoning enabled; † Output structure applied.

Qwen-3.5 models tend to have a very high invalid output rate (12–69%) when for the reasoning-only ablation. This results in a much lower model accuracy compared to other settings. The invalid output rate decreases greatly when both structures and reasoning are used, and becomes negligible (≤ 0.1%) for the structure-only ablation. Qwen-3.6 35B performs best across all metrics in the reasoning-only ablation while maintaining a very low invalid output rate.

Across all models, using structured outputs and reasoning simultaneously rarely results in higher scores compared to using only one of the two, nor does it result in lower invalid output rates. Detailed results are available in Appendix I.

Conclusion

In this paper, we successfully reproduced Span NLI BERT, and investigated the performance of ten zero-shot LLMs in three model families on the NLI task of the ContractNLI dataset. We found that the best performing LLM is Gemma-4 26B with an accuracy of 81.2%, scoring 5.7% below the supervised model. Qwen-3.6 35B shows promising results on both the ContractNLI and NLI4Wills datasets. This indicates that although zero-shot open-source generative quantized LLMs underperform fine-tuned models on ContractNLI, they are a viable alternative in settings without any labelled data. As next steps, we plan to bring our models to the inspectorates’ work practice to evaluate them for other languages and subdomains. Additionally, we will experiment with UQ methods, including the use of reasoning capabilities to provide explanations for the generated label.

Acknowledgments

This research is funded by the ICAI lab AI4Oversight.

We thank SURF ({link}www.surf.nl) for the support in using the National Supercomputer Snellius.

This work was partially performed using the compute resources from the Academic Leiden Interdisciplinary Cluster Environment (ALICE) provided by Leiden University.

Limitations

We test a good number of LLMs, all quantized via Ollama, but adding more models is always possible. Therefore, the results we present may not be representative of all quantized models’ performance on this task.

Our study mostly uses a fixed configuration for variables such as reasoning modes, structures, and prompts. Therefore, our results are non-exhaustive, and we do not make claims on the performance of our setup compared to alternate configurations for the same models.

While our experimental procedures and temperature settings prevent label predictions generated by the LLM from being misaligned from the generated explanations, the stochastic nature of such models means that this is still a small possibility. As a result, different seeds and temperatures may result in small variations in classification even if the input and explanation remain the same. We expect that this does not have a meaningful effect on results.

We have not been able to find any legal NLI datasets with documents longer than ContractNLI, which has a maximum document length of about 12,000 tokens. All datasets used contain inputs that fit comfortably into our LLMs’ context windows, and using methods for handling very lengthy documents was not necessary for our experiments. Therefore, our results are not representative of these models’ performance on very lengthy documents that exceed their context windows, or their performance when combined with methods explicitly designed for handling very long documents.

Ethical considerations

Our work is intended to assist experts in their decision-making processes by providing them with helpful tools. We do not seek to design systems that replace experts, especially given the risky nature of the regulatory domain. We maintain regular communication with several inspectorates, and ensure that the experts and the inspectorates as a whole are aware of this.

Prompts

ContractNLI Prompt

Document: {context_text}

Hypothesis: {hypothesis_text}

Given a document and a hypothesis, determine whether the document entails, contradicts, or is unrelated to the hypothesis. Be concise, and limit your answer to no more than 200 words. Answer strictly as "Entailment", "Contradiction", or "NotMentioned".

NLI4Wills Prompt

Law: {law_text}

Conditions: {conditions_text}

Statement: {statement_text}

Given a law, conditions, and statement, determine whether the law and condition refute, support, or are unrelated to the statement. Be concise, and limit your answer to no more than 200 words. Answer strictly as "Refute", "Support", or "Unrelated".

Structures

Structures are implemented in Python using the Pydantic package BaseModel class.

Main Structure

{
    explanation: str
    classification: [
        "Contradiction",
        "Entailment",
        "NotMentioned"
    ]
}

NLI4Wills Structure

{
    explanation: str
    classification: [
        "support",
        "refute",
        "unrelated"
    ]
}

Uncertainty Quantification Metrics

All equations are taken from the survey work by Shorinwa et al. (2025). See Footnote 1 for details.

Maximum Negative Token Log-Probability

Maximum⁡(p)=max⁡j(−log⁡(pij))(1)\operatorname{Maximum}(p) = \max_{j}\left(-\log(p_{ij})\right) \tag*{(1)}

Average Negative Token Log-Probability

Average⁡(p)=−1Li∑jlog⁡(pij)(2)\operatorname{Average}(p) = -\frac{1}{L_i}\sum_j \log(p_{ij}) \tag*{(2)}

Hardware

Span NLI Reproduction In order to closely replicate the author’s hardware, we train the model on Nvidia A100 GPUs. We use four GPUs instead of eight.

Other experiments We ran our experiments on a variety of hardware, with availability being the main factor in hardware selection. The following GPU models were used:

  • Nvidia RTX 5070 Ti

  • Nvidia RTX 3090

  • Nvidia L4

  • Nvidia A100

  • Nvidia A100 MIG (40GB instances)

Temperature analysis

ModelTempAccuracyF1(C)F1(E)Invalid Rate (%)
Gemma-4 E2B {sup}†`0.10.689 ± 0.0020.258 ± 0.0180.676 ± 0.0040.000 ± 0.000
0.20.685 ± 0.0010.263 ± 0.0060.675 ± 0.0020.000 ± 0.000
0.30.688 ± 0.0030.254 ± 0.0180.681 ± 0.0010.016 ± 0.023
0.40.683 ± 0.0080.236 ± 0.0110.676 ± 0.0060.016 ± 0.023
0.50.685 ± 0.0070.233 ± 0.0030.678 ± 0.0060.000 ± 0.000
Gemma-4 E4B {sup}†`0.10.743 ± 0.0040.359 ± 0.0400.751 ± 0.0020.000 ± 0.000
0.20.745 ± 0.0050.335 ± 0.0070.751 ± 0.0060.000 ± 0.000
0.30.746 ± 0.0060.343 ± 0.0120.753 ± 0.0050.000 ± 0.000
0.40.744 ± 0.0030.325 ± 0.0030.750 ± 0.0020.000 ± 0.000
0.50.744 ± 0.0050.359 ± 0.0180.746 ± 0.0050.000 ± 0.000
Gemma-4 26B {sup}*`0.10.813 ± 0.0020.428 ± 0.0220.807 ± 0.0021.004 ± 0.078
0.20.815 ± 0.0020.438 ± 0.0270.805 ± 0.0020.861 ± 0.170
0.30.812 ± 0.0020.443 ± 0.0300.808 ± 0.0030.972 ± 0.148
0.40.812 ± 0.0010.430 ± 0.0180.802 ± 0.0010.733 ± 0.180
0.50.813 ± 0.0020.459 ± 0.0220.806 ± 0.0010.956 ± 0.217
Ministral-3 3B {sup}†`0.10.570 ± 0.0020.113 ± 0.0110.628 ± 0.0040.000 ± 0.000
0.20.570 ± 0.0050.113 ± 0.0110.626 ± 0.0010.000 ± 0.000
0.30.575 ± 0.0030.110 ± 0.0190.628 ± 0.0010.000 ± 0.000
0.40.575 ± 0.0050.123 ± 0.0140.632 ± 0.0030.000 ± 0.000
0.50.574 ± 0.0060.120 ± 0.0290.627 ± 0.0040.000 ± 0.000
Ministral-3 8B {sup}†`0.10.686 ± 0.0030.352 ± 0.0160.698 ± 0.0070.000 ± 0.000
0.20.684 ± 0.0000.341 ± 0.0590.695 ± 0.0090.000 ± 0.000
0.30.682 ± 0.0080.325 ± 0.0450.691 ± 0.0090.000 ± 0.000
0.40.686 ± 0.0030.316 ± 0.0260.698 ± 0.0080.000 ± 0.000
0.50.680 ± 0.0010.303 ± 0.0180.690 ± 0.0020.000 ± 0.000
Ministral-3 14B {sup}†`0.10.716 ± 0.0050.362 ± 0.0190.725 ± 0.0090.000 ± 0.000
0.20.720 ± 0.0030.362 ± 0.0280.726 ± 0.0040.000 ± 0.000
0.30.720 ± 0.0030.372 ± 0.0080.728 ± 0.0020.000 ± 0.000
0.40.722 ± 0.0060.375 ± 0.0100.730 ± 0.0040.000 ± 0.000
0.50.721 ± 0.0030.380 ± 0.0190.726 ± 0.0030.000 ± 0.000
Qwen-3.5 4B {sup}†`0.10.739 ± 0.0060.369 ± 0.0110.735 ± 0.0070.080 ± 0.081
0.20.737 ± 0.0040.374 ± 0.0220.736 ± 0.0020.159 ± 0.081
0.30.741 ± 0.0070.370 ± 0.0250.742 ± 0.0060.112 ± 0.060
0.40.741 ± 0.0060.404 ± 0.0050.741 ± 0.0070.112 ± 0.060
0.50.737 ± 0.0070.404 ± 0.0260.731 ± 0.0110.112 ± 0.081
Qwen-3.5 9B {sup}†`0.10.769 ± 0.0040.322 ± 0.0140.762 ± 0.0040.016 ± 0.023
0.20.763 ± 0.0020.330 ± 0.0110.752 ± 0.0020.032 ± 0.023
0.30.759 ± 0.0040.330 ± 0.0020.749 ± 0.0020.016 ± 0.023
0.40.760 ± 0.0100.335 ± 0.0510.751 ± 0.0080.016 ± 0.023
0.50.759 ± 0.0060.344 ± 0.0380.744 ± 0.0080.016 ± 0.023
Qwen-3.5 27B {sup}†*`0.10.795 ± 0.0050.431 ± 0.0180.786 ± 0.0070.351 ± 0.137
0.20.792 ± 0.0020.419 ± 0.0240.782 ± 0.0060.351 ± 0.081
0.30.793 ± 0.0050.422 ± 0.0240.783 ± 0.0060.319 ± 0.060
0.40.791 ± 0.0050.412 ± 0.0300.785 ± 0.0060.239 ± 0.068
0.50.795 ± 0.0030.443 ± 0.0110.786 ± 0.0020.223 ± 0.090
Qwen-3.6 35B {sup}†*`0.10.757 ± 0.0010.333 ± 0.0040.779 ± 0.0020.670 ± 0.141
0.20.755 ± 0.0030.335 ± 0.0020.771 ± 0.0030.701 ± 0.060
0.30.760 ± 0.0060.330 ± 0.0050.780 ± 0.0080.622 ± 0.207
0.40.757 ± 0.0040.321 ± 0.0140.781 ± 0.0070.574 ± 0.103
0.50.759 ± 0.0020.328 ± 0.0100.778 ± 0.0060.542 ± 0.126

Table 5. Temperature analysis results. Each metric reports the average and standard deviation across three seeds. Boldface indicates the best-performing model per metric, and the “Invalid Rate (%)” column indicates the average percentage of answers outputted by the LLM from which we were unable to retrieve a coherent label. The green row highlights the best-performing temperature setting per LLM.

  • Reasoning enabled † Output structure applied

Logit analysis results

Gemma-4 E2B

LabelSeedp~i\tilde{p}_iEffect sizeLabelSeedp~i\tilde{p}_iEffect size
Ent01.0-0.207Ent01.0-0.406
Ent11.0-0.19Ent11.0-0.4
Ent421.0-0.154Ent421.0-0.396
Cont00.4780.083Cont01.0-0.318
Cont10.4350.093Cont11.0-0.235
Cont420.6840.056Cont421.0-0.208
NotM01.0-0.035NotM0p~i<0.01\tilde{p}_i < 0.010.379
NotM11.0-0.044NotM1p~i<0.01\tilde{p}_i < 0.010.413
NotM421.0-0.116NotM42p~i<0.01\tilde{p}_i < 0.010.445

Table 6. (a) Average negative log-probability; (b) Maximum negative token log-probability. Gemma-4 E2B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with logits of the whole response.

LabelSeedp~i\tilde{p}_iEffect sizeLabelSeedp~i\tilde{p}_iEffect size
Ent0p~i<0.01\tilde{p}_i < 0.010.493Ent0p~i<0.01\tilde{p}_i < 0.010.493
Ent1p~i<0.01\tilde{p}_i < 0.010.501Ent1p~i<0.01\tilde{p}_i < 0.010.501
Ent42p~i<0.01\tilde{p}_i < 0.010.539Ent42p~i<0.01\tilde{p}_i < 0.010.539
Cont0p~i<0.01\tilde{p}_i < 0.010.375Cont0p~i<0.01\tilde{p}_i < 0.010.373
Cont1p~i<0.01\tilde{p}_i < 0.010.451Cont1p~i<0.01\tilde{p}_i < 0.010.448
Cont42p~i<0.01\tilde{p}_i < 0.010.423Cont42p~i<0.01\tilde{p}_i < 0.010.42
NotM0p~i<0.01\tilde{p}_i < 0.010.505NotM0p~i<0.01\tilde{p}_i < 0.010.505
NotM1p~i<0.01\tilde{p}_i < 0.010.524NotM1p~i<0.01\tilde{p}_i < 0.010.524
NotM42p~i<0.01\tilde{p}_i < 0.010.583NotM42p~i<0.01\tilde{p}_i < 0.010.583

Table 7. (a) Average negative log-probability; (b) Maximum negative token log-probability. Gemma-4 E2B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with only the label logits.

LabelSeedp~i\tilde{p}_iEffect sizeLabelSeedp~i\tilde{p}_iEffect size
Ent0p~i<0.01\tilde{p}_i < 0.010.493Ent0p~i<0.01\tilde{p}_i < 0.010.493
Ent1p~i<0.01\tilde{p}_i < 0.010.501Ent1p~i<0.01\tilde{p}_i < 0.010.501
Ent42p~i<0.01\tilde{p}_i < 0.010.539Ent42p~i<0.01\tilde{p}_i < 0.010.539
Cont0p~i<0.01\tilde{p}_i < 0.010.365Cont0p~i<0.01\tilde{p}_i < 0.010.365
Cont1p~i<0.01\tilde{p}_i < 0.010.44Cont1p~i<0.01\tilde{p}_i < 0.010.44
Cont42p~i<0.01\tilde{p}_i < 0.010.416Cont42p~i<0.01\tilde{p}_i < 0.010.416
NotM0p~i<0.01\tilde{p}_i < 0.010.505NotM0p~i<0.01\tilde{p}_i < 0.010.505
NotM1p~i<0.01\tilde{p}_i < 0.010.524NotM1p~i<0.01\tilde{p}_i < 0.010.524
NotM42p~i<0.01\tilde{p}_i < 0.010.583NotM42p~i<0.01\tilde{p}_i < 0.010.583

Table 8. (a) Average negative log-probability; (b) Maximum negative token log-probability. Gemma-4 E2B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with the first token of the predicted label.

Gemma-4 E4B

LabelSeedp~i\tilde{p}_iEffect sizeLabelSeedp~i\tilde{p}_iEffect size
Ent00.0540.086Ent0p~i<0.01\tilde{p}_i < 0.010.116
10.0170.1021p~i<0.01\tilde{p}_i < 0.010.119
420.0410.08942p~i<0.01\tilde{p}_i < 0.010.124
Cont0p~i<0.01\tilde{p}_i < 0.010.307Cont0p~i<0.01\tilde{p}_i < 0.010.543
1p~i<0.01\tilde{p}_i < 0.010.2851p~i<0.01\tilde{p}_i < 0.010.549
42p~i<0.01\tilde{p}_i < 0.010.31142p~i<0.01\tilde{p}_i < 0.010.557
NotM01.0-0.443NotM01.0-0.01
11.0-0.28110.6840.067
421.0-0.29420.9650.007

Table 9. (a) Average negative log-probability; (b) Maximum negative token log-probability. Table 9: Gemma-4 E4B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with logits of the whole response.

LabelSeedp~i\tilde{p}_iEffect sizeLabelSeedp~i\tilde{p}_iEffect size
Ent0p~i<0.01\tilde{p}_i < 0.010.324Ent0p~i<0.01\tilde{p}_i < 0.010.314
1p~i<0.01\tilde{p}_i < 0.010.331p~i<0.01\tilde{p}_i < 0.010.325
42p~i<0.01\tilde{p}_i < 0.010.29242p~i<0.01\tilde{p}_i < 0.010.286
Cont0p~i<0.01\tilde{p}_i < 0.010.471Cont0p~i<0.01\tilde{p}_i < 0.010.473
1p~i<0.01\tilde{p}_i < 0.010.4381p~i<0.01\tilde{p}_i < 0.010.438
42p~i<0.01\tilde{p}_i < 0.010.4642p~i<0.01\tilde{p}_i < 0.010.457
NotM0p~i<0.01\tilde{p}_i < 0.010.772NotM0p~i<0.01\tilde{p}_i < 0.010.772
1p~i<0.01\tilde{p}_i < 0.010.6981p~i<0.01\tilde{p}_i < 0.010.698
42p~i<0.01\tilde{p}_i < 0.010.68342p~i<0.01\tilde{p}_i < 0.010.684

Table 10. (a) Average negative log-probability; (b) Maximum negative token log-probability. Table 10: Gemma-4 E4B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with only the label logits.

LabelSeedp~i\tilde{p}_iEffect sizeLabelSeedp~i\tilde{p}_iEffect size
Ent0p~i<0.01\tilde{p}_i < 0.010.325Ent0p~i<0.01\tilde{p}_i < 0.010.325
1p~i<0.01\tilde{p}_i < 0.010.3321p~i<0.01\tilde{p}_i < 0.010.332
42p~i<0.01\tilde{p}_i < 0.010.29442p~i<0.01\tilde{p}_i < 0.010.294
Cont0p~i<0.01\tilde{p}_i < 0.010.443Cont0p~i<0.01\tilde{p}_i < 0.010.443
1p~i<0.01\tilde{p}_i < 0.010.4061p~i<0.01\tilde{p}_i < 0.010.406
42p~i<0.01\tilde{p}_i < 0.010.42442p~i<0.01\tilde{p}_i < 0.010.424
NotM0p~i<0.01\tilde{p}_i < 0.010.772NotM0p~i<0.01\tilde{p}_i < 0.010.772
1p~i<0.01\tilde{p}_i < 0.010.6981p~i<0.01\tilde{p}_i < 0.010.698
42p~i<0.01\tilde{p}_i < 0.010.68442p~i<0.01\tilde{p}_i < 0.010.684

Table 11. (a) Average negative log-probability; (b) Maximum negative token log-probability. Table 11: Gemma-4 E4B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with the first token of the predicted label.

Gemma-4 26B

LabelSeedp~i\tilde{p}_iEffect size
Ent0p~i<0.01\tilde{p}_i < 0.010.572
Ent1p~i<0.01\tilde{p}_i < 0.010.518
Ent42p~i<0.01\tilde{p}_i < 0.010.647
Cont00.0620.51
Cont10.1320.434
Cont420.4070.265
NotM00.7180.242
NotM10.5620.421
NotM420.1020.602

(a) Average negative log-probability

LabelSeedp~i\tilde{p}_iEffect size
Ent0p~i<0.01\tilde{p}_i < 0.010.46
Ent10.0350.324
Ent42p~i<0.01\tilde{p}_i < 0.010.515
Cont00.50.235
Cont10.070.505
Cont420.7460.128
NotM00.2930.516
NotM10.7460.25
NotM420.1160.585

(b) Maximum negative token log-probability

Table 12. Gemma-4 26B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with logits of the whole response.

LabelSeedp~i\tilde{p}_iEffect size
Ent00.899-0.151
Ent10.5740.001
Ent420.5090.023
Cont00.688-0.069
Cont10.0380.465
Cont420.0580.402
NotM00.010.826
NotM10.4360.171
NotM420.2440.295

(a) Average negative log-probability

LabelSeedp~i\tilde{p}_iEffect size
Ent00.969-0.234
Ent10.62-0.015
Ent420.795-0.085
Cont00.5830.0
Cont10.0190.535
Cont420.0490.419
NotM00.0140.808
NotM10.4360.171
NotM420.2740.267

(b) Maximum negative token log-probability

Table 13. Gemma-4 26B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with only the label logits.

LabelSeedp~i\tilde{p}_iEffect size
Ent00.5380.01
Ent10.2410.119
Ent420.1360.164
Cont00.732-0.118
Cont10.3350.152
Cont420.4870.051
NotM00.0110.817
NotM10.4080.197
NotM420.2420.284

(a) Average negative log-probability

LabelSeedp~i\tilde{p}_iEffect size
Ent00.5380.01
Ent10.2410.119
Ent420.1360.164
Cont00.732-0.118
Cont10.3350.152
Cont420.4870.051
NotM00.0110.817
NotM10.4080.197
NotM420.2420.284

(b) Maximum negative token log-probability

Table 14. Gemma-4 26B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with the first token of the predicted label.

Ministral-3 3B

LabelSeedp~i\tilde{p}_iEffect size
Ent01.0-0.163
Ent11.0-0.062
Ent421.0-0.107
Cont01.00.0
Cont10.7460.667
Cont421.00.0
NotM01.0-0.029
NotM11.0-0.077
NotM420.9920.006
LabelSeedp~i\tilde{p}_iEffect size
Ent00.4450.105
Ent10.3530.122
Ent421.0-0.101
Cont01.00.0
Cont10.7460.667
Cont421.0-0.222
NotM00.7310.125
NotM11.0-0.003
NotM421.0-0.035

Table 15. (a) Average negative log-probability; (b) Maximum negative token log-probability. Ministral-3 3B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with logits of the whole response.

LabelSeedp~i\tilde{p}_iEffect size
Ent00.746-0.05
Ent10.5740.001
Ent420.899-0.116
Cont00.370.4
Cont10.5090.333
Cont420.688-0.111
NotM00.250.183
NotM10.583-0.003
NotM420.5080.04
LabelSeedp~i\tilde{p}_iEffect size
Ent00.728-0.045
Ent10.5740.001
Ent420.894-0.107
Cont00.370.4
Cont10.5090.333
Cont420.688-0.111
NotM00.20.216
NotM10.651-0.044
NotM420.4070.089

Table 16. (a) Average negative log-probability; (b) Maximum negative token log-probability. Ministral-3 3B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with only the label logits.

LabelSeedp~i\tilde{p}_iEffect size
Ent00.715-0.045
Ent10.5510.002
Ent420.876-0.105
Cont00.3680.4
Cont10.50.333
Cont420.677-0.111
NotM00.2010.212
NotM10.57-0.003
NotM420.430.073
LabelSeedp~i\tilde{p}_iEffect size
Ent00.715-0.045
Ent10.5510.002
Ent420.876-0.105
Cont00.3680.4
Cont10.50.333
Cont420.677-0.111
NotM00.2010.212
NotM10.57-0.003
NotM420.430.073

Table 17. (a) Average negative log-probability; (b) Maximum negative token log-probability. Ministral-3 3B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with the first token of the predicted label.

Ministral-3 8B

LabelSeedp~i\tilde{p}_iEffect sizeLabelSeedp~i\tilde{p}_iEffect size
Ent0p~i<0.01\tilde{p}_i < 0.010.418Ent01.0-0.163
Ent10.0830.233Ent11.0-0.13
Ent420.0540.261Ent421.0-0.133
Cont01.0-0.086Cont00.7520.105
Cont11.0-0.035Cont10.8880.06
Cont421.0-0.119Cont421.0-0.04
NotM00.8340.096NotM0p~i<0.01\tilde{p}_i < 0.010.841
NotM11.0-0.837NotM10.0290.652
NotM421.0-0.437NotM42p~i<0.01\tilde{p}_i < 0.010.749

Table 18. (a) Average negative log-probability; (b) Maximum negative token log-probability. Ministral-3 8B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with logits of the whole response.

LabelSeedp~i\tilde{p}_iEffect sizeLabelSeedp~i\tilde{p}_iEffect size
Ent00.1870.126Ent00.0910.173
Ent10.2070.117Ent10.2040.119
Ent420.2040.119Ent420.1410.149
Cont00.2880.162Cont00.2990.156
Cont10.5450.022Cont10.62-0.022
Cont420.2750.183Cont420.2850.175
NotM00.0330.508NotM00.0360.495
NotM10.3720.148NotM10.3530.163
NotM420.0180.508NotM420.0190.504

Table 19. (a) Average negative log-probability; (b) Maximum negative token log-probability. Ministral-3 8B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with only the label logits.

LabelSeedp~i\tilde{p}_iEffect sizeLabelSeedp~i\tilde{p}_iEffect size
Ent00.130.151Ent00.130.151
Ent10.2270.108Ent10.2270.108
Ent420.140.146Ent420.140.146
Cont00.4870.048Cont00.4870.048
Cont10.606-0.022Cont10.606-0.022
Cont420.4020.103Cont420.4020.103
NotM0p~i<0.01\tilde{p}_i < 0.010.907NotM0p~i<0.01\tilde{p}_i < 0.010.907
NotM1p~i<0.01\tilde{p}_i < 0.010.741NotM1p~i<0.01\tilde{p}_i < 0.010.741
NotM42p~i<0.01\tilde{p}_i < 0.010.754NotM42p~i<0.01\tilde{p}_i < 0.010.754

Table 20. (a) Average negative log-probability; (b) Maximum negative token log-probability. Ministral-3 8B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with the first token of the predicted label.

Ministral-3 14B

LabelSeedp~i\tilde{p}_iEffect sizeLabelSeedp~i\tilde{p}_iEffect size
Ent00.0540.256Ent01.0-0.123
Ent10.3370.153Ent11.0-0.137
Ent420.1160.211Ent421.0-0.178
Cont00.3770.292Cont01.0-0.303
Cont11.0-0.23Cont11.0-0.412
Cont420.5320.208Cont421.0-0.285
NotM00.4070.56NotM00.0240.96
NotM11.0-0.698NotM10.0290.953
NotM421.0-0.886NotM42p~i<0.01\tilde{p}_i < 0.011.0

Table 21. (a) Average negative log-probability; (b) Maximum negative token log-probability. Ministral-3 14B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with logits of the whole response.

LabelSeedp~i\tilde{p}_iEffect sizeLabelSeedp~i\tilde{p}_iEffect size
Ent0p~i<0.01\tilde{p}_i < 0.010.362Ent0p~i<0.01\tilde{p}_i < 0.010.356
Ent10.2820.092Ent10.3010.085
Ent420.0190.252Ent420.0230.245
Cont00.0910.364Cont00.0730.395
Cont10.728-0.088Cont10.67-0.049
Cont420.1710.262Cont420.0730.369
NotM00.0190.9NotM00.0190.9
NotM10.0380.837NotM10.0380.837
NotM420.010.955NotM420.010.955

Table 22. (a) Average negative log-probability; (b) Maximum negative token log-probability. Ministral-3 14B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with only the label logits.

LabelSeedp~i\tilde{p}_iEffect sizeLabelSeedp~i\tilde{p}_iEffect size
Ent0p~i<0.01\tilde{p}_i < 0.010.356Ent0p~i<0.01\tilde{p}_i < 0.010.356
Ent10.2970.085Ent10.2970.085
Ent420.0220.245Ent420.0220.245
Cont00.0720.395Cont00.0720.395
Cont10.655-0.049Cont10.655-0.049
Cont420.0720.369Cont420.0720.369
NotM00.0190.9NotM00.0190.9
NotM10.0380.837NotM10.0380.837
NotM42p~i<0.01\tilde{p}_i < 0.010.955NotM42p~i<0.01\tilde{p}_i < 0.010.955

Table 23. (a) Average negative log-probability; (b) Maximum negative token log-probability. Ministral-3 14B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with the first token of the predicted label.

Qwen-3.5 4B

LabelSeedp~i\tilde{p}_iEffect sizeLabelSeedp~i\tilde{p}_iEffect size
Ent01.0-0.057Ent01.0-0.087
Ent10.9170.027Ent11.0-0.006
Ent420.6840.087Ent420.7460.066
Cont00.3350.284Cont00.7320.13
Cont11.0-0.041Cont10.9440.027
Cont420.5970.195Cont420.6590.176
NotM01.0-0.136NotM01.0-0.073
NotM11.0-0.04NotM10.9440.045
NotM421.0-0.516NotM421.0-0.144

Table 24. (a) Average negative log-probability; (b) Maximum negative token log-probability. Qwen-3.5 4B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with logits of the whole response.

LabelSeedp~i\tilde{p}_iEffect sizeLabelSeedp~i\tilde{p}_iEffect size
Ent0p~i<0.01\tilde{p}_i < 0.010.395Ent0p~i<0.01\tilde{p}_i < 0.010.408
Ent1p~i<0.01\tilde{p}_i < 0.010.42Ent1p~i<0.01\tilde{p}_i < 0.010.419
Ent42p~i<0.01\tilde{p}_i < 0.010.341Ent42p~i<0.01\tilde{p}_i < 0.010.344
Cont00.0850.34Cont00.080.347
Cont10.728-0.095Cont10.713-0.082
Cont420.4240.095Cont420.4070.104
NotM00.0190.691NotM00.0180.7
NotM1p~i<0.01\tilde{p}_i < 0.010.802NotM1p~i<0.01\tilde{p}_i < 0.010.808
NotM420.0140.656NotM420.0140.656

Table 25. (a) Average negative log-probability; (b) Maximum negative token log-probability. Qwen-3.5 4B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with only the label logits.

LabelSeedp~i\tilde{p}_iEffect sizeLabelSeedp~i\tilde{p}_iEffect size
Ent0p~i<0.01\tilde{p}_i < 0.010.408Ent0p~i<0.01\tilde{p}_i < 0.010.408
Ent1p~i<0.01\tilde{p}_i < 0.010.419Ent1p~i<0.01\tilde{p}_i < 0.010.419
Ent42p~i<0.01\tilde{p}_i < 0.010.344Ent42p~i<0.01\tilde{p}_i < 0.010.344
Cont00.0780.347Cont00.0780.347
Cont10.698-0.082Cont10.698-0.082
Cont420.4050.104Cont420.4050.104
NotM00.0170.7NotM00.0170.7
NotM1p~i<0.01\tilde{p}_i < 0.010.808NotM1p~i<0.01\tilde{p}_i < 0.010.808
NotM420.0130.656NotM420.0130.656

Table 26. (a) Average negative log-probability; (b) Maximum negative token log-probability. Qwen-3.5 4B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with the first token of the predicted label.

Qwen-3.5 9B

LabelSeedp~i\tilde{p}_iEffect sizeLabelSeedp~i\tilde{p}_iEffect size
Ent00.0620.307Ent01.0-0.265
Ent10.1750.225Ent11.0-0.298
Ent420.2110.229Ent421.0-0.204
Cont00.070.511Cont01.0-0.078
Cont10.7520.125Cont10.8880.062
Cont420.0240.636Cont421.0-0.057
NotM01.0-0.236NotM01.0-0.576
NotM11.0-0.428NotM11.0-0.542
NotM421.0-0.249NotM421.0-0.57

Table 27. (a) Average negative log-probability; (b) Maximum negative token log-probability. Qwen-3.5 9B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with logits of the whole response.

LabelSeedp~i\tilde{p}_iEffect sizeLabelSeedp~i\tilde{p}_iEffect size
Ent00.0360.284Ent00.0330.29
Ent10.0140.324Ent10.0140.324
Ent420.130.197Ent420.130.197
Cont00.4070.111Cont00.1260.333
Cont10.350.146Cont10.3320.156
Cont420.50.057Cont420.2990.182
NotM0p~i<0.01\tilde{p}_i < 0.010.75NotM0p~i<0.01\tilde{p}_i < 0.010.75
NotM1p~i<0.01\tilde{p}_i < 0.010.599NotM1p~i<0.01\tilde{p}_i < 0.010.589
NotM42p~i<0.01\tilde{p}_i < 0.010.658NotM42p~i<0.01\tilde{p}_i < 0.010.655

Table 28. (a) Average negative log-probability; (b) Maximum negative token log-probability. Qwen-3.5 9B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with only the label logits.

LabelSeedp~i\tilde{p}_iEffect sizeLabelSeedp~i\tilde{p}_iEffect size
Ent00.0320.29Ent00.0320.29
Ent10.0130.324Ent10.0130.324
Ent420.130.197Ent420.130.197
Cont00.0690.411Cont00.0690.411
Cont10.2250.229Cont10.2250.229
Cont420.2070.25Cont420.2070.25
NotM0p~i<0.01\tilde{p}_i < 0.010.75NotM0p~i<0.01\tilde{p}_i < 0.010.75
NotM1p~i<0.01\tilde{p}_i < 0.010.589NotM1p~i<0.01\tilde{p}_i < 0.010.589
NotM42p~i<0.01\tilde{p}_i < 0.010.655NotM42p~i<0.01\tilde{p}_i < 0.010.655

Table 29. (a) Average negative log-probability; (b) Maximum negative token log-probability. Qwen-3.5 9B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with the first token of the predicted label.

Qwen-3.5 27B

LabelSeedp~i\tilde{p}_iEffect sizeLabelSeedp~i\tilde{p}_iEffect size
Ent00.6920.032Ent01.0-0.235
Ent10.1850.081Ent11.0-0.153
Ent42p~i<0.01\tilde{p}_i < 0.010.158Ent421.0-0.182
Cont01.0-0.035Cont01.0-0.32
Cont11.0-0.06Cont11.0-0.284
Cont421.0-0.009Cont421.0-0.268
NotM01.0-0.111NotM01.0-0.128
NotM11.0-0.264NotM11.0-0.042
NotM421.0-0.304NotM421.0-0.041

Table 30. (a) Average negative log-probability; (b) Maximum negative token log-probability. Qwen-3.5 27B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with logits of the whole response.

LabelSeedp~i\tilde{p}_iEffect sizeLabelSeedp~i\tilde{p}_iEffect size
Ent0p~i<0.01\tilde{p}_i < 0.010.371Ent0p~i<0.01\tilde{p}_i < 0.010.376
Ent1p~i<0.01\tilde{p}_i < 0.010.417Ent1p~i<0.01\tilde{p}_i < 0.010.416
Ent42p~i<0.01\tilde{p}_i < 0.010.448Ent42p~i<0.01\tilde{p}_i < 0.010.447
Cont00.4830.017Cont00.4380.023
Cont1p~i<0.01\tilde{p}_i < 0.010.183Cont1p~i<0.01\tilde{p}_i < 0.010.182
Cont42p~i<0.01\tilde{p}_i < 0.010.227Cont42p~i<0.01\tilde{p}_i < 0.010.238
NotM0p~i<0.01\tilde{p}_i < 0.010.487NotM0p~i<0.01\tilde{p}_i < 0.010.549
NotM1p~i<0.01\tilde{p}_i < 0.010.293NotM1p~i<0.01\tilde{p}_i < 0.010.388
NotM42p~i<0.01\tilde{p}_i < 0.010.367NotM42p~i<0.01\tilde{p}_i < 0.010.434

Table 31. (a) Average negative log-probability; (b) Maximum negative token log-probability. Qwen-3.5 27B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with only the label logits.

LabelSeedp~i\tilde{p}_iEffect sizeLabelSeedp~i\tilde{p}_iEffect size
Ent0p~i<0.01\tilde{p}_i < 0.010.376Ent0p~i<0.01\tilde{p}_i < 0.010.376
Ent1p~i<0.01\tilde{p}_i < 0.010.416Ent1p~i<0.01\tilde{p}_i < 0.010.416
Ent42p~i<0.01\tilde{p}_i < 0.010.447Ent42p~i<0.01\tilde{p}_i < 0.010.447
Cont00.430.023Cont00.430.023
Cont1p~i<0.01\tilde{p}_i < 0.010.182Cont1p~i<0.01\tilde{p}_i < 0.010.182
Cont42p~i<0.01\tilde{p}_i < 0.010.242Cont42p~i<0.01\tilde{p}_i < 0.010.242
NotM0p~i<0.01\tilde{p}_i < 0.010.55NotM0p~i<0.01\tilde{p}_i < 0.010.55
NotM1p~i<0.01\tilde{p}_i < 0.010.387NotM1p~i<0.01\tilde{p}_i < 0.010.387
NotM42p~i<0.01\tilde{p}_i < 0.010.435NotM42p~i<0.01\tilde{p}_i < 0.010.435

Table 32. (a) Average negative log-probability; (b) Maximum negative token log-probability. Qwen-3.5 27B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with the first token of the predicted label.

Qwen-3.6 35B

LabelSeedp~i\tilde{p}_iEffect size
Ent01.0-0.071
Ent11.0-0.268
Ent421.0-0.243
Cont01.0-0.037
Cont11.0-0.165
Cont421.0-0.378
NotM00.9440.056
NotM11.0-0.13
NotM420.8880.099

Table 33. (a) Average negative log-probability

LabelSeedp~i\tilde{p}_iEffect size
Ent00.1380.205
Ent10.1760.199
Ent420.0460.233
Cont00.8880.042
Cont10.8340.059
Cont420.6610.11
NotM00.8430.157
NotM10.8340.174
NotM421.0-0.149

Table 33 (PDF p. 20). (b) Maximum negative token log-probability

Table 33: Qwen-3.6 35B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with logits of the whole response.

LabelSeedp~i\tilde{p}_iEffect size
Ent00.1060.167
Ent10.826-0.096
Ent420.1930.108
Cont00.2770.129
Cont10.1360.214
Cont420.0530.266
NotM00.648-0.079
NotM10.918-0.587
NotM420.1870.411

Table 34. (a) Average negative log-probability

LabelSeedp~i\tilde{p}_iEffect size
Ent00.0740.189
Ent10.802-0.085
Ent420.1450.126
Cont00.1870.178
Cont10.0890.252
Cont420.0360.293
NotM00.5540.034
NotM10.899-0.533
NotM420.1450.468

Table 34 (PDF p. 20). (b) Maximum negative token log-probability

Table 34: Qwen-3.6 35B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with only the label logits.

LabelSeedp~i\tilde{p}_iEffect size
Ent00.0720.189
Ent10.79-0.085
Ent420.140.126
Cont00.180.178
Cont10.0870.252
Cont420.0350.293
NotM00.5380.034
NotM10.889-0.533
NotM420.140.468

Table 35. (a) Average negative log-probability

LabelSeedp~i\tilde{p}_iEffect size
Ent00.0720.189
Ent10.79-0.085
Ent420.140.126
Cont00.180.178
Cont10.0870.252
Cont420.0350.293
NotM00.5380.034
NotM10.889-0.533
NotM420.140.468

Table 35 (PDF p. 20). (b) Maximum negative token log-probability

Table 35: Qwen-3.6 35B Mann-Whitney U Test results and effect sizes for uncertainty metrics calculated with the first token of the predicted label.

NLI4Wills results

NLI4Wills-Idaho

  • Reasoning enabled        † Output structure applied

NLI4Wills-Tennessee

  • Reasoning enabled        † Output structure applied

Model-specific results

This section contains confusion matrices and ablation studies per model. We did not perform an ablation study for Ministral-3 models, as they do not have a reasoning mode.

Gemma-4

Gemma-4 E2B

SettingAccuracyF1(C)F1(E)Invalid Rate (%)
Reasoning0.680 ±\pm 0.0130.268 ±\pm 0.0260.692 ±\pm 0.0080.0 ±\pm 0.0
Structure*0.688 ±\pm 0.0030.254 ±\pm 0.0180.681 ±\pm 0.0010.0 ±\pm 0.0
Both0.688 ±\pm 0.0110.246 ±\pm 0.0160.683 ±\pm 0.0080.0 ±\pm 0.0

Table 38. Gemma-4 E2B ablation results on the ContractNLI test set. The asterisk (*) indicates the setting used in the main results.

True \ PredNotMentionedEntailmentContradictionInvalidAnswer
NotMentioned455 ±\pm 3364 ±\pm 484 ±\pm 40 ±\pm 0
Entailment66 ±\pm 5861 ±\pm 441 ±\pm 20 ±\pm 0
Contradiction44 ±\pm 654 ±\pm 5122 ±\pm 20 ±\pm 0

Table 39. Gemma-4 E2B confusion matrix for the main results (Table 2).

Gemma-4 E4B

SettingAccuracyF1(C)F1(E)Invalid Rate (%)
Reasoning0.744 ±\pm 0.0040.386 ±\pm 0.0130.747 ±\pm 0.0040.0 ±\pm 0.0
Structure*0.746 ±\pm 0.0060.343 ±\pm 0.0120.753 ±\pm 0.0050.0 ±\pm 0.0
Both0.738 ±\pm 0.0000.357 ±\pm 0.0130.744 ±\pm 0.0030.0 ±\pm 0.0

Table 40. Gemma-4 E4B ablation results on the ContractNLI test set. The asterisk (*) indicates the setting used in the main results.

True \ PredNotMentionedEntailmentContradictionInvalidAnswer
NotMentioned513 ±\pm 10289 ±\pm 6101 ±\pm 50 ±\pm 0
Entailment32 ±\pm 3902 ±\pm 434 ±\pm 20 ±\pm 0
Contradiction23 ±\pm 152 ±\pm 2145 ±\pm 10 ±\pm 0

Table 41. Gemma-4 E4B confusion matrix for the main results (Table 2).

Gemma-4 26B

SettingAccuracyF1(C)F1(E)Invalid Rate (%)
Reasoning*0.812 ±\pm 0.0020.443 ±\pm 0.0300.808 ±\pm 0.0031.0 ±\pm 0.1
Structure0.827 ±\pm 0.0030.456 ±\pm 0.0160.803 ±\pm 0.0010.0 ±\pm 0.0

Table 42. Gemma-4 26B ablation results on the ContractNLI test set. The asterisk (*) indicates the setting used in the main results. No results are presented for reasoning-enabled structured outputs, as this leads to a ∼100%\sim100\% invalid output rate.

True \ PredNotMentionedEntailmentContradictionInvalidAnswer
NotMentioned654 ±\pm 1143 ±\pm 195 ±\pm 212 ±\pm 1
Entailment35 ±\pm 2893 ±\pm 333 ±\pm 37 ±\pm 2
Contradiction16 ±\pm 151 ±\pm 2152 ±\pm 12 ±\pm 1

Table 43. Gemma-4 26B confusion matrix for the main results (Table 2).

Ministral-3

Ministral-3 3B

True \ PredNotMentionedEntailmentContradictionInvalidAnswer
NotMentioned322±4322 \pm4535±5535 \pm546±346 \pm30±00 \pm0
Entailment67±267 \pm2847±4847 \pm454±254 \pm20±00 \pm0
Contradiction37±637 \pm6149±7149 \pm733±533 \pm50±00 \pm0

Table 44. Ministral-3 3B confusion matrix for the main results (Table 2).

Ministral-3 8B

True \ PredNotMentionedEntailmentContradictionInvalidAnswer
NotMentioned458±9458 \pm9337±9337 \pm9108±3108 \pm30±00 \pm0
Entailment74±674 \pm6832±6832 \pm662±362 \pm30±00 \pm0
Contradiction33±133 \pm150±250 \pm2136±3136 \pm30±00 \pm0

Table 45. Ministral-3 8B confusion matrix for the main results (Table 2).

Ministral-3 14B

True \ PredNotMentionedEntailmentContradictionInvalidAnswer
NotMentioned447±3447 \pm3293±4293 \pm4163±2163 \pm20±00 \pm0
Entailment24±324 \pm3888±1888 \pm156±356 \pm30±00 \pm0
Contradiction17±117 \pm134±234 \pm2169±2169 \pm20±00 \pm0

Table 46. Ministral-3 14B confusion matrix for the main results (Table 2).

Qwen-3.5

Qwen-3.5 4B

SettingAccuracyF1(C)F1(E)Invalid Rate (%)
Reasoning0.519±0.0130.519 \pm0.0130.325±0.0330.325 \pm0.0330.616±0.0060.616 \pm0.00636.3±1.736.3 \pm1.7
Structure{sup}*`0.741±0.0070.741 \pm0.0070.370±0.0250.370 \pm0.0250.742±0.0060.742 \pm0.0060.1±0.10.1 \pm0.1
Both0.750±0.0040.750 \pm0.0040.354±0.0460.354 \pm0.0460.737±0.0090.737 \pm0.0093.5±0.53.5 \pm0.5

Table 47. Qwen-3.5 4B ablation results on the ContractNLI test set. The asterisk (*) indicates the setting used in the main results.

True \ PredNotMentionedEntailmentContradictionInvalidAnswer
NotMentioned551±12551 \pm12206±16206 \pm16144±4144 \pm42±12 \pm1
Entailment57±257 \pm2845±6845 \pm667±467 \pm40±00 \pm0
Contradiction25±225 \pm241±241 \pm2154±3154 \pm30±00 \pm0

Table 48. Qwen-3.5 4B confusion matrix for the main results (Table 2).

Qwen-3.5 9B

SettingAccuracyF1(C)F1(E)Invalid Rate (%)
Reasoning0.704±0.0080.704 \pm0.0080.340±0.0280.340 \pm0.0280.748±0.0050.748 \pm0.00512.0±0.612.0 \pm0.6
Structure{sup}*`0.759±0.0040.759 \pm0.0040.330±0.0020.330 \pm0.0020.749±0.0020.749 \pm0.0020.0±0.00.0 \pm0.0
Both0.729±0.0200.729 \pm0.0200.339±0.0490.339 \pm0.0490.722±0.0220.722 \pm0.0220.2±0.10.2 \pm0.1

Table 49. Qwen-3.5 9B ablation results on the ContractNLI test set. The asterisk (*) indicates the setting used in the main results.

True \ PredNotMentionedEntailmentContradictionInvalidAnswer
NotMentioned606±4606 \pm4184±4184 \pm4113±8113 \pm80±00 \pm0
Entailment84±784 \pm7827±7827 \pm757±957 \pm90±00 \pm0
Contradiction22±022 \pm045±245 \pm2154±2154 \pm20±00 \pm0

Table 50. Qwen-3.5 9B confusion matrix for the main results (Table 2).

Qwen-3.5 27B

SettingAccuracyF1(C)F1(E)Invalid Rate (%)
Reasoning0.260±0.0020.260 \pm0.0020.178±0.0590.178 \pm0.0590.424±0.0020.424 \pm0.00268.6±0.068.6 \pm0.0
Structure0.796±0.0030.796 \pm0.0030.401±0.0190.401 \pm0.0190.786±0.0030.786 \pm0.0030.0±0.00.0 \pm0.0
Both*0.793±0.0050.793 \pm0.0050.422±0.0240.422 \pm0.0240.783±0.0060.783 \pm0.0060.3±0.00.3 \pm0.0

Table 51. Qwen-3.5 27B ablation results on the ContractNLI test set. The asterisk (*) indicates the setting used in the main results.

True \ PredNotMentionedEntailmentContradictionInvalidAnswer
NotMentioned636±7636 \pm7144±4144 \pm4120±4120 \pm43±23 \pm2
Entailment51±551 \pm5858±6858 \pm656±356 \pm33±13 \pm1
Contradiction11±311 \pm344±044 \pm0164±2164 \pm21±01 \pm0

Table 52. Qwen-3.5 27B confusion matrix for the main results (Table 2).

Qwen-3.6

Qwen-3.6 35B

SettingAccuracyF1(C)F1(E)Invalid Rate (%)
Reasoning0.791±0.0050.791 \pm0.0050.387±0.0210.387 \pm0.0210.793±0.0030.793 \pm0.0030.1±0.10.1 \pm0.1
Structure0.774±0.0050.774 \pm0.0050.364±0.0200.364 \pm0.0200.776±0.0020.776 \pm0.0020.1±0.00.1 \pm0.0
Both*0.760±0.0060.760 \pm0.0060.330±0.0050.330 \pm0.0050.780±0.0080.780 \pm0.0080.6±0.20.6 \pm0.2

Table 53. Qwen-3.6 35B ablation results on the ContractNLI test set. The asterisk (*) indicates the setting used in the main results.

True \ PredNotMentionedEntailmentContradictionInvalidAnswer
NotMentioned520±7520 \pm7197±12197 \pm12175±4175 \pm410±310 \pm3
Entailment23±323 \pm3897±6897 \pm645±245 \pm23±13 \pm1
Contradiction3±13 \pm146±146 \pm1171±1171 \pm10±00 \pm0

Table 54. Qwen-3.6 35B confusion matrix for the main results (Table 2).

ContractNLI class-specific metrics

ModelP(C)R(C)F1(C)
Gemma-4 E2B0.215 ± 0.0270.254 ± 0.0120.254 ± 0.018
Gemma-4 E4B0.203 ± 0.0090.382 ± 0.0440.343 ± 0.012
Gemma-4 26B0.287 ± 0.0130.472 ± 0.0510.443 ± 0.030
Ministral-3 3B0.124 ± 0.0260.128 ± 0.0620.110 ± 0.019
Ministral-3 8B0.219 ± 0.0400.427 ± 0.0290.325 ± 0.045
Ministral-3 14B0.190 ± 0.0060.558 ± 0.0090.372 ± 0.008
Qwen-3.5 4B0.208 ± 0.0210.407 ± 0.0190.370 ± 0.025
Qwen-3.5 9B0.187 ± 0.0020.377 ± 0.0080.330 ± 0.002
Qwen-3.5 27B0.255 ± 0.0200.534 ± 0.0260.422 ± 0.024
Qwen-3.6 35B0.156 ± 0.0030.534 ± 0.0040.330 ± 0.005

Table 55. Contradiction class metrics on the main results (Table 2). Boldface indicates the best-performing model per metric. All scores are micro averaged over documents, then macro averaged over labels.

ModelP(E)R(E)F1(E)
Gemma-4 E2B0.601 ± 0.0020.837 ± 0.0060.681 ± 0.001
Gemma-4 E4B0.708 ± 0.0070.868 ± 0.0050.753 ± 0.005
Gemma-4 26B0.781 ± 0.0050.867 ± 0.0020.808 ± 0.003
Ministral-3 3B0.541 ± 0.0010.866 ± 0.0080.628 ± 0.001
Ministral-3 8B0.639 ± 0.0110.830 ± 0.0070.691 ± 0.009
Ministral-3 14B0.672 ± 0.0040.851 ± 0.0010.728 ± 0.002
Qwen-3.5 4B0.730 ± 0.0090.796 ± 0.0060.742 ± 0.006
Qwen-3.5 9B0.757 ± 0.0020.804 ± 0.0030.749 ± 0.002
Qwen-3.5 27B0.781 ± 0.0030.821 ± 0.0080.783 ± 0.006
Qwen-3.6 35B0.747 ± 0.0060.860 ± 0.0100.780 ± 0.008

Table 56. Entailment class metrics on the main results (Table 2). Boldface indicates the best-performing model per metric. All scores are micro averaged over documents, then macro averaged over labels.

ModelP(N)R(N)F1(N)
Gemma-4 E2B0.779 ± 0.0190.430 ± 0.0040.511 ± 0.004
Gemma-4 E4B0.844 ± 0.0100.491 ± 0.0090.575 ± 0.007
Gemma-4 26B0.887 ± 0.0060.657 ± 0.0040.718 ± 0.003
Ministral-3 3B0.649 ± 0.0410.292 ± 0.0050.369 ± 0.011
Ministral-3 8B0.741 ± 0.0310.431 ± 0.0120.496 ± 0.016
Ministral-3 14B0.726 ± 0.0470.394 ± 0.0070.467 ± 0.014
Qwen-3.5 4B0.772 ± 0.0150.538 ± 0.0170.597 ± 0.015
Qwen-3.5 9B0.788 ± 0.0340.624 ± 0.0070.657 ± 0.012
Qwen-3.5 27B0.821 ± 0.0330.630 ± 0.0160.676 ± 0.018
Qwen-3.6 35B0.880 ± 0.0070.498 ± 0.0110.582 ± 0.013

Table 57. NotMentioned class metrics on the main results (Table 2). Boldface indicates the best-performing model per metric. All scores are micro averaged over documents, then macro averaged over labels.

References

  1. [1]Arsenii Ashukha, Alexander Lyzhov, Dmitry Molchanov, and Dmitry Vetrov. 2020. Pitfalls of domain-uncertainty estimation and ensembling in deep learning. arXiv preprint arXiv:2002.06470.arxiv.org/abs/2002.06470
  2. [2]Yoav Benjamini and Yosef Hochberg. 1995. Controlling the false discovery rate: a practical and powerful approach to multiple testing. Journal of the Royal statistical society: series B (Methodological), 57(1):289–300.DOI
  3. [3]Yarin Gal and 1 others. 2016. Uncertainty in deep learning.
  4. [4]Gemma Team, Google DeepMind. 2026. Gemma 4 model card. https://ai.google.dev/gemma/docs/core/model_card_4. Accessed: 2026-05-25.
  5. [5]Fateme Hashemi Chaleshtori, Atreya Ghosal, Alexander Gill, Purbid Bambroo, and Ana Marasovic. 2024. On evaluating explanation utility for human-AI decision making in NLP. In Findings of the Association for Computational Linguistics: EMNLP 2024, pages 7456–7504, Miami, Florida, USA. Association for Computational Linguistics.arxiv.org/abs/2407.03545
  6. [6]Dan Hendrycks, Collin Burns, Anya Chen, and Spencer Ball. 2021. Cuad: An expert-annotated nlp dataset for legal contract review. In Proceedings of the Neural Information Processing Systems Track on Datasets and Benchmarks, volume 1.
  7. [7]Yuta Koreeda and Christopher Manning. 2021. ContractNLI: A dataset for document-level natural language inference for contracts. In Findings of the Association for Computational Linguistics: EMNLP 2021, pages 1907–1919, Punta Cana, Dominican Republic. Association for Computational Linguistics.
  8. [8]Alice Kwak, Gaetano Forte, Derek Bambauer, and Mihai Surdeanu. 2023. Transferring legal natural language inference model from a us state to another: What makes it so hard? In Proceedings of the Natural Legal Language Processing Workshop 2023.DOI
  9. [9]Alexander H Liu, Kartik Khandelwal, Sandeep Subramanian, Victor Jouault, Abhinav Rastogi, Adrien Sadé, Alan Jeffares, Albert Jiang, Alexandre Cahill, Alexandre Gavaudan, and 1 others. 2026. Ministral 3. arXiv preprint arXiv:2601.08584.arxiv.org/abs/2601.08584
  10. [10]Shuang Liu, Zelong Li, Ruoyun Ma, Haiyan Zhao, and Mengnan Du. 2025. ContractEval: Benchmarking LLMs for clause-level legal risk identification in commercial contracts. In Proceedings of the Natural Legal Language Processing Workshop 2025, pages 291–291, Suzhou, China. Association for Computational Linguistics.arxiv.org/abs/2508.03080
  11. [11]Henry B Mann and Donald R Whitney. 1947. On a test of whether one of two random variables is stochastically larger than the other. The annals of mathematical statistics, pages 50–60.DOI
  12. [12]Savinay Narendra, Kaushal Shetty, and Adwait Ratnaparkhi. 2024. Enhancing contract negotiations with LLM-based legal document comparison. In Proceedings of the Natural Legal Language Processing Workshop 2024, pages 143–153, Miami, FL, USA. Association for Computational Linguistics.DOI

Paper details

vlnc:W_6hxpmh96
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents