Mind the Unseen Mass: Unmasking LLM Hallucinations via Soft-Hybrid Alphabet Estimation

· Source: cs.CL updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Data Science & Analytics · Depth: Expert, long

Summary

Researchers from The Chinese University of Hong Kong, Shenzhen, introduce SHADE (Soft-Hybrid Alphabet Dynamic Estimator), a novel method for quantifying uncertainty in large language models (LLMs) under black-box access with limited sampling budgets. SHADE addresses the challenge of undercounting rare semantic modes by combining Generalized Good–Turing (GGT) coverage with a heat-kernel trace of a normalized Laplacian from an entailment-weighted graph of sampled responses. The estimator adaptively fuses these two signals: a convex combination is used under high coverage, while a LogSumExp fusion is applied under low coverage to emphasize weakly observed semantic modes. A finite-sample correction stabilizes the cardinality estimate, which is then converted into a coverage-adjusted semantic entropy score. Experiments on alphabet-size estimation and QA incorrectness detection using models like OPT-6.7B, Qwen3-8B-Instruct, Mistral-7B-Instruct, and Phi-3.5-mini demonstrate SHADE's strongest improvements in the most sample-limited regimes (e.g., n=5 samples).

Key takeaway

For research scientists developing or deploying LLMs in risk-sensitive applications with strict sampling budgets, SHADE offers a robust method for uncertainty quantification. Its ability to accurately estimate semantic alphabet size and detect incorrectness, particularly with as few as 5 samples, means you can gain reliable insights into model behavior even when API access is limited. Consider integrating SHADE's entropy-based risk score into your monitoring pipelines to enhance abstention mechanisms and human oversight, ensuring more trustworthy LLM outputs.

Key insights

SHADE improves LLM uncertainty quantification by adaptively fusing missing-mass extrapolation and spectral graph analysis, especially with few samples.

Principles

Method

SHADE constructs an entailment-weighted graph, calculates GGT coverage and heat-kernel trace, then fuses these via convex combination or LogSumExp based on coverage, followed by a finite-sample correction and entropy readout.

In practice

Topics

Best for: Research Scientist, AI Scientist, Machine Learning Engineer, NLP Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.CL updates on arXiv.org.