arXiv:2610.27029cs.LGOct 2026

Manuscript Offprint

arXiv:2610.27029

EGiME: Entropy-Guided Model Evaluation in Few-Shot Learning

Dequan Jin, Tao Li, Lifeng Xing, Shihui Ying, Hui Zhao

Abstract

The feature-extraction quality of pre-trained models sets the ceiling of downstream transfer learning, yet few-shot model selection remains difficult: supervised evaluation on scarce labels is unstable and yields fluctuating rankings. We propose Entropy-Guided Model Evaluation (EGiME), a semi-supervised criterion that assesses a candidate model from the clustering structure of its feature space without any classifier training. EGiME performs K-means clustering over all labeled and unlabeled samples, then combines two entropy terms: an inter-cluster entropy measuring global separability, and an intra-cluster entropy measuring the compactness of labeled anchors, fused through an inverse-frequency weight that emphasizes small clusters. On five few-shot benchmarks and nine pre-trained models, EGiME achieves a correlation score of 0.966 with the full-pool ground-truth accuracy obtained by averaging the accuracies of K-means, KNN, and SVM. At labeling ratios of 4%–20%, it produces markedly more stable model rankings than cross-validated supervised baselines, establishing it as a practical alternative to conventional supervised evaluation for pre-trained model selection under data scarcity.

Keywords: Few-shot learning, information entropy, model selection, representation

  • Abbreviations: EGiME, Entropy-Guided Model Evaluation; ViT, Vision Transformer; KNN, K-nearest neighbor; SVM, support vector machine; LEEP, Log Expected Empirical Prediction; LogME, Logarithm of Maximum Evidence; PACTran, PAC-Bayesian Transferability.

∗^{*}Corresponding author

Email addresses: dqjin@gxu.edu.cn (Dequan Jin), 2406301025@st.gxu.edu.cn (Tao Li), 2406301052@st.gxu.edu.cn (Lingfeng Xing), shying@shu.edu.cn (Shihui Ying), zhaohui_2020@gxu.edu.cn (Hui Zhao) evaluation, semi-supervised learning, transfer learning

1. Introduction

The powerful feature extraction capability of deep neural networks is fundamental in image recognition tasks. It enables the mapping of raw pixel data into high-dimensional representations with distinct semantic discriminability, determines the generalization, transferability, and robustness of network models [1, 2], and serves as a core prerequisite for stable task performance in challenging scenarios such as few-shot learning and domain adaptation. In practical industrial and academic scenarios including industrial defect detection, medical image analysis, and fine-grained species identification, annotated sample scarcity is a ubiquitous and restrictive constraint. Accordingly, the capability validation and quantitative evaluation of deep models in few-shot settings have become a key bottleneck limiting the practical deployment of deep learning models. Therefore, exploring stable, interpretable quantitative evaluation methods for feature extraction capabilities in few-shot scenarios is of significant theoretical research value and practical engineering significance.

Existing evaluation paradigms for the feature extraction capacity of deep neural networks fall into two mainstream categories. The first way corresponds to indirect evaluation grounded on downstream task performance, which adopts task metrics such as classification accuracy and Top-k precision to quantify feature quality, serving as a standard protocol across academia and industry. Nevertheless, such methods heavily rely on large-scale annotated test sets, and their outcomes are susceptible to irrelevant confounding factors including classifier design and training strategies. In few-shot learning tasks, these evaluation methods suffer severe fluctuations due to prominent sampling bias, failing to eliminate interferences introduced by task layers and reflect the intrinsic model performance in feature extraction. The second way to directly evaluate model performance is based on geometric properties of the feature space. It characterizes the distribution property of “intra-class compactness and inter-class separability” via metrics such as intra-cluster and inter-class distances and silhouette coefficients, delivering superior interpretability. However, these approaches compute met-rics using labeled samples and yield poor statistical stability in few-shot learning tasks. Furthermore, they fail to exploit global distribution constraints embedded in massive unlabeled samples, and thus cannot comprehensively measure the overall quality of the feature space.

To address these issues, cross-validation acts as a widely adopted statistical augmentation technique. It iteratively partitions and cross-reuses limited labeled samples. Its representative implementations include k-fold cross-validation and leave-one-out cross-validation. Cross-validation reduces evaluation variance induced by single random splits, improving the confidence and stability of generalization performance. Within the N-way K-shot evaluation protocol in few-shot learning, the standard pipeline that repeatedly samples support and query sets and averages the corresponding accuracy metrics essentially constitutes a task-specific variant derived from the cross-validation paradigm. Nevertheless, cross-validation merely reuses available annotated samples without lifting the limitation of limited annotation volume, nor can it incorporate global distribution information from unlabeled samples to fundamentally mitigate systematic biases inherent to few-shot evaluation. Furthermore, cross-validation only outputs statistical distributions of task metrics and lacks interpretability at the feature space level, making it incapable of revealing intrinsic structural discrepancies in the feature extraction capacity of different models.

Semi-supervised representation learning offers data-oriented solutions to address the issues of feature evaluation with very few samples. Advances in semi-supervised learning and self-supervised contrastive learning have fully demonstrated that abundant unlabeled samples can impose global distribution constraints on the semantic structure of feature spaces. Consistency regularization and contrastive loss guide models to learn more generalizable feature representations. Their effectiveness has been extensively validated in tasks such as few-shot classification and cross-domain transfer learning. Nevertheless, most existing studies focus on “how to leverage unlabeled samples to boost feature extraction performance”, while rarely reversing this logic to adopt distribution information of unlabeled samples for “evaluating feature extraction capacity”. It prevents the full exploitation of available samples to evaluate model performance on feature extraction in few-shot learning scenarios.

From the perspective of measurement tools, information entropy, a classical metric for characterizing the disorder degree of data distributions, has been employed in uncertainty estimation, representation quality assessment, and feature selection for deep models. Several studies quantify representation discriminability by calculating entropy values of feature dimensions or category distributions. Nonetheless, most existing entropy-based evaluation metrics still rely on labeled samples for measurement construction, excluding the global distribution entropy derived from unlabeled samples in evaluation frameworks. Meanwhile, a unified entropy measurement framework oriented toward the core criterion of “intra-class compactness and inter-class separability” remains absent. This makes it infeasible to comprehensively quantify feature extraction capacity. In summary, current literature has not established a unified few-shot feature evaluation paradigm integrating semi-supervised data utilization and information entropy measurement, and the distribution value of unlabeled samples during evaluation procedures has not been systematically excavated.

According to the above discussion, we can see that when labeled samples have become extremely scarce, any evaluation paradigm that relies on training a classifier with labeled data is inherently unsustainable. To address this issue, distribution information from unlabeled samples must be incorporated to reliably evaluate the representation quality of models. On the other hand, if the distribution of extracted samples in the feature space satisfies the core feature quality criterion of intra-class compactness and inter-class separability and exhibits a clear and well-defined clustering structure, the model can be regarded as possessing strong feature extraction capability. Motivated by this insight, this paper proposes a novel Entropy-Guided Model Evaluation (EGiME) method. EGiME first extracts feature representations of all available samples (both labeled and unlabeled) using each candidate pre-trained model, and then performs K-means clustering in the resulting feature space to reveal their latent geometric topology. Subsequently, entropy-guided metrics are formulated to quantitatively characterize the quality of the clustering configuration. Specifically, an inter-cluster entropy is defined to measure the uniformity of the sample distribution across different clusters, capturing global separability; concurrently, an intra-cluster entropy is introduced to evaluate the concentration of labeled samples within each individual cluster, reflecting local com-pactness. Finally, these two complementary indicators are fused into a unified metric that serves as a comprehensive measure of model performance. The primary contributions of this work are summarized as follows:

  1. We propose a novel semi-supervised evaluation paradigm for model assessment in few-shot scenarios. It breaks the purely supervised constraint of traditional pre-trained model evaluation and systematically integrates the global distribution of massive unlabeled samples into the feature extraction capability evaluation workflow, fundamentally alleviating the core issues of unstable model ranking caused by labeled data scarcity in few-shot scenarios.

  2. We provide a unified two-dimensional evaluation metric constructed on information entropy. Taking information entropy as the core theoretical instrument, we design the inter-cluster entropy and intra-cluster entropy to characterize the global separability of semantic clusters and the local compactness of homogeneous samples within each cluster and fuse them into a comprehensive metric, realizing accurate and interpretable quantification of the core feature quality principle of intra-class compactness and inter-class separability.

  3. We present a lightweight evaluation pipeline. The proposed method employs K-means clustering as the unsupervised structure discovery module. The entire evaluation procedure requires no auxiliary classifier training or fine-tuning of pre-trained models, which technically circumvents evaluation distortion induced by classifier overfitting under few-shot settings. With only the true class number of the target dataset as the prior parameter, this method features high computational efficiency and strong cross-domain adaptability, enabling efficient model selection for large-scale pre-trained model zoos.

The remainder of this paper is organized as follows. Section 2 reviews related work on transferable model selection, feature selection, and entropy-based clustering analysis. Section 3 presents the methodology. Section 4 reports the experimental setup and results. Section 5 concludes the paper and outlines future research directions.

References (31)