arXiv:2611.05528cs.LGNov 2026

Manuscript Offprint

arXiv:2611.05528

The Confidence Score: a New Measure on Kernels

Elizabeth Hofer, Martin v. Mohrenschildt

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.

Abstract

Across a wide range of applications, kernel measures are used to tune hyperparameters, select among candidate kernels, and assess the suitability of kernels for specific learning tasks. For classification, kernel measures are used to predict which kernels may produce accurate kernel classifiers. Many existing kernel measures, such as alignment to the ideal kernel, are designed to reward kernels which captures all samples from the same class as similar. While effective in many settings, this requirement is unnecessarily restrictive for classification, where classes may exhibit substantial internal structure. In this work, the 'Confidence Score', a new kernel measure, is proposed. Unlike alignment-to-the-ideal kernel measures, the Confidence Score measures the alignment between an encoding of the ground truth and that ground truth projected by the kernel, allowing kernels that preserve intra-class structure to achieve high scores. Through experiments, it is demonstrated that the Confidence Score exhibits a higher correlation with classification accuracy across a variety of kernels on both real-world and synthetic datasets, compared to select other kernel measures.

1 Introduction

Similarity is a fundamental concept in machine learning: similar things are clustered together, and similarity is the key concept in classification. The kernel, representing the inner product in some Hilbert space, is a mathematical tool that is used successfully in this domain to capture similarity between points [1–8]. Learning algorithms obtain their information from the similarity encoded by the kernel; thus the potential performance can be assessed from a measure on that kernel.

Many approaches of generating kernels are possible; entire, potentially infinite families of kernels can be constructed. For example, many kernels have parameters that can be tuned (e.g. bandwidth) [8–11], and some kernels are created by selecting and combining kernels into a new kernel, this is known as Multiple Kernel Learning (MKL) [6, 7, 12–18]. This creates an infinitely large search space of possible kernels. While kernels themselves measure similarity between data points, a measure on kernels is needed to evaluate a candidate kernel pulled from this search space.

For classification, the objective of a kernel measure is to identify kernels or kernel parameters that maximize accuracy. The evaluation of the kernel measure should be computationally less expensive than computing the classification accuracy on a training dataset. Kernel measures and their applications, ranging from classification to neural networks, have been extensively studied in the literature.

Kernel Alignment [12], and its notable refinement Centred Kernel Alignment (CKA) [18], measures how well a kernel 'aligns' with a learning target. The learning target is usually the ideal kernel, the kernel that measures the similarity between two points of the same class as 1, and -1 otherwise. To measure alignment with the ideal kernel is to assume that all points belonging to the same class are similar; that is, 'similar ↔ same class'. It is known that the CKA is not well-correlated with classification accuracy [6]. This problem is particularly pronounced in cases where the data is distributed following a multimodal class distribution, for example, if data belonging to one class is distributed across many isolated clusters, because the assumption of 'similar ↔ same class' does not hold in this case. The kernel measure proposed in this work follows the 'weaker' assumption: if data points are similar, they should belong to the same class; that is, 'similar → same class'.

We demonstrate that a kernel measure based on the 'weaker' assumption allows for the identification of more suitable kernels for classification. After a review of the mathematics behind kernels in Section 2, the literature review follows in Section 3. In Section 4, the Confidence Score — a new kernel measure — is introduced, and Section 5 presents experimental results evaluating its performance. The discussion of future work and conclusion are presented in Sections 6 and 7 respectively.

References (67)