
natural language inference
Natural language inference (NLI) is a process in which a computer determines the relationship between two statements. It assesses whether the second statement logically follows from, contradicts, or is unrelated to the first. For example, given "All birds can fly" and "A penguin is a bird," NLI can identify whether the second statement supports, conflicts with, or is neutral compared to the first. This helps machines understand and reason with human language, enabling applications like question-answering, chatbots, and information extraction. NLI is fundamental to making human language processing more accurate and meaningful for machines.