Extended Experimental Details (Reviewers XNge, 27VK)
We agree that the experimental details are not sufficient to keep our work self-contained.
To free up space, we move the bias-variance decomposition of the reproducing kernel Hilbert space (Paragraph around Equation 7) to Appendix B since it offers little additional insights for the practitioner compared to Theorem 3.2.
We use the gained space to provide more details on the experiments, including a major extension of the natural language experiment details in Section 5.3:
“An instance-level uncertainty measure is supposed to predict the correctness of an individual prediction and should therefore be highly correlated to the loss.
In all experiments so far, we observed a very high correlation between kernel entropy and kernel score.
This indicates that kernel entropy is an excellent measure of uncertainty.
In the following, we examine kernel entropy to predict the correctness of LLMs on question answering datasets.
Here, the setup differs from the previous experiments by two aspects.
First, we follow Kuhn et al. (2023) and do not use a kernel score as loss but a binarized version of the $\operatorname{RougeL}$ loss.
For two sequences $s, t$, it is defined as $\operatorname{RougeL} \left(s, t \right) = \frac{2}{\operatorname{length} \left( s \right) + \operatorname{length} \left( t \right)} \operatorname{LCS} \left(s, t \right)$, where $\operatorname{LCS}$ is the length of the **l**ongest **c**ommon **s**equence between its two inputs (Lin et al, 2004).
Kuhn et al (2023) propose to use the binary loss $L ( answer, target ) = \mathbf{1}_{ \operatorname{RougeL} \left(answer, target \right) > 0.3 }$.
This turns predicting the loss value into a binary classification problem.
Consequently, the Pearson correlation is not appropriate anymore to assess uncertainty measures.
Instead, the AUROC is used to evaluate the performance of uncertainty measures (Kadavath et al, 2022; Kuhn et al, 2023).”
**References:**
Lorenz Kuhn, Yarin Gal, and Sebastian Farquhar. Semantic uncertainty: Linguistic invariances for uncertainty estimation in natural language generation. In The Eleventh International Conference on Learning Representations, 2023.
Chin-Yew Lin and Franz Josef Och. Automatic evaluation of machine translation quality using longest common subsequence and skip-bigram statistics. In Proceedings of the 42nd Annual Meeting of the Association for Computational Linguistics (ACL-04), pp. 605–612, 2004.
Saurav Kadavath, Tom Conerly, Amanda Askell, Tom Henighan, Dawn Drain, Ethan Perez, Nicholas Schiefer, Zac Hatfield-Dodds, Nova DasSarma, Eli Tran-Johnson, et al. Language models (mostly) know what they know. arXiv preprint arXiv:2207.05221, 2022.