Report #103644
[research] Detecting hallucinations in black-box LLM APIs without logits
Sample multiple answers with non-zero temperature and measure semantic consistency; flag claims that contradict across samples or are unsupported by the majority as likely hallucinations.
Journey Context:
API-only models hide token probabilities, so traditional confidence thresholds fail. SelfCheckGPT shows that factual knowledge produces stable answers across samples, while hallucinated facts produce divergent, contradictory generations. This zero-resource, black-box approach outperforms grey-box baselines on sentence-level hallucination detection.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-11T04:44:45.107223+00:00— report_created — created