Natural Language Inference
The NLP task of determining the logical relationship between two sentences — whether one entails, contradicts, or is neutral with respect to the other.
Why It Matters
NLI is a fundamental test of language understanding. It powers fact verification, question answering, and detecting contradictions in documents.
Example
Given 'All dogs are animals' (premise) and 'Some animals are dogs' (hypothesis), the model determines: entailment (the hypothesis follows from the premise).
Think of it like...
Like a logic teacher checking if one statement follows from another — 'Does the conclusion actually follow from the premise?'
Related Terms
Natural Language Understanding
The ability of an AI system to comprehend the meaning, intent, and context of human language, going beyond surface-level word matching to grasp semantics, pragmatics, and implied meaning.
Text Classification
The NLP task of assigning predefined categories or labels to text documents. It is one of the most common and commercially important NLP applications.
Reasoning
An AI model's ability to think logically, make inferences, draw conclusions, and solve problems that require multi-step thought. Reasoning goes beyond pattern matching to genuine logical analysis.