Hallucination—when an AI confidently generates false or nonsensical outputs—is the most notorious failure mode for AI applications.