Abstract: We introduce Uncertain Natural Language Inference (UNLI), a refinement of Natural Language Inference (NLI) that shifts away from categorical labels, targeting instead the direct prediction of subjective probability assessments. We demonstrate the feasibility of collecting annotations for UNLI by relabeling a portion of the SNLI dataset under a probabilistic scale, where items even with the same categorical label differ in how likely people judge them to be true given a premise. We describe a direct scalar regression modeling approach, and find that existing categorically-labeled NLI data can be used in pre-training. Our best models correlate well with humans, demonstrating models are capable of more subtle inferences than the categorical bin assignment employed in current NLI tasks.
The Limitations of Categorical NLI
Standard Natural Language Inference (NLI) tasks typically treat inference as a three-way classification problem: given a premise, a hypothesis is either definitely true (Entailment), definitely false (Contradiction), or its truth value is unknown (Neutral). However, this categorical approach is inherently "lossy." Human language interpretation is often probabilistic and subjective; two sentence pairs labeled as "Neutral" may actually represent vastly different levels of likelihood.
As shown in the distribution of human assessments, the "Neutral" label acts as a catch-all for a wide range of probabilities. By forcing these nuances into discrete bins, standard NLI datasets lose fine-grained semantic information necessary for sophisticated language understanding.
The u-SNLI Dataset and Methodology
To address this, we introduce u-SNLI (Uncertain SNLI), a dataset of 61,597 premise-hypothesis pairs from the original SNLI corpus relabeled with subjective probability assessments.
Data Elicitation
We collected probability estimates via Amazon Mechanical Turk. Annotators were presented with a premise and hypothesis and asked to use a slider bar (with 10,000 discrete steps) to indicate the likelihood of the hypothesis. To account for the "certainty effect"—where humans are more sensitive to probability changes near 0.0 and 1.0—we applied a logistic transformation to the raw slider scores. This transformation aligns the data with psychological findings from Prospect Theory, allowing for finer distinctions at the edges of the probability spectrum.
Modeling as Scalar Regression
Rather than classification, we treat UNLI as a scalar regression problem. Our architecture utilizes a BERT-based model where the [CLS] token encoding is passed through a sigmoid-activated linear layer to output a continuous value between 0 and 1. To leverage existing large-scale NLI data, we employed a pre-training strategy where categorical labels were mapped to "surrogate" scalar values (e.g., Entailment $\approx$ 0.92, Neutral $\approx$ 0.42) before fine-tuning on the u-SNLI probabilistic data.
Results and Analysis
Our best BERT-based regression model achieved a Pearson correlation ($r$) of 0.627 on the test set, approaching the human-to-human correlation ceiling of 0.698.
The transition from pre-trained to fine-tuned models demonstrates that while categorical data provides a useful starting point, fine-tuning on scalar assessments is essential for capturing the true distribution of human judgment. The model successfully learns to distinguish between "likely" and "unlikely" neutrals, as well as varying degrees of contradiction.
Conclusion
Uncertain Natural Language Inference demonstrates that modern transformer models are capable of capturing subtle degrees of inference that categorical labels ignore. By shifting the task from discrete classification to continuous regression, we can more accurately reflect the rich, uncertain reality of human language interpretation. Future work should focus on scaling these scalar protocols and addressing remaining gaps in complex commonsense reasoning.
Summary updated