CR-score: Detecting LLM Hallucinations via Confidence Robustness
Abstract
Hallucination in large language models (LLMs) severely limits their deployment in high-stakes domains. Existing confidence-based detection methods assume that low confidence signals high hallucination risk, yet theoretical results show that even calibrated language models must produce confident errors on low-support facts. We propose the Confidence Robustness Score (CR-score), a detection metric requiring no training, gradient computation, or external knowledge. CR-score probes the fragility of model memorization by measuring the robustness of self-reported confidence under lexical, structural, and embedding perturbations. We introduce the Rank-Preservation Heuristic—a working assumption that perturbation-induced confidence variation can serve as a proxy for loss landscape curvature. We empirically examine this heuristic via Kendall rank correlation between |Δc| and |ΔNLL| on HaluEval; the correlations are positive (τ = 0.43 / 0.51 / 0.62 for Qwen3-series models, all p < 0.001), supporting moderate-to-strong rank consistency on the stronger models but only moderate support on Qwen3-8B (τ = 0.43). The heuristic should therefore be read as an empirically motivated proxy, not as a generally valid assumption. Experiments on Qwen3-series models show CR-score achieves AUROC of 0.875–0.902 on HaluEval (statistically significant gains over all baselines, DeLong test) and 0.712–0.748 on TruthfulQA, where the improvements over the strongest baseline (Counterfactual Probing) are marginal (+0.004 to +0.030) and not statistically significant at the 95% confidence level given the 100-sample test set. An adaptive perturbation strength strategy yields a 5.1 percentage-point improvement in AUROC on high-confidence responses, and using only the Structural + Embedding subset of perturbations attains comparable AUROC with lower inference overhead. We also discuss the applicability boundary for deeply internalized hallucinations and outline future extensions.