预测不确定性感知的测试集选择方法
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

TP311

基金项目:

国家自然科学基金联合基金(U24A20327); 鹏城实验室重大攻关项目(PCL2025A14)


Prediction-uncertainty-aware Test Set Selection Method
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    随着深度学习模型在嵌入式与边缘设备中的广泛应用, 传统依赖完整测试集的模型评估方法因其高昂的计算开销与资源消耗, 难以满足低延迟且高效率的部署需求. 现有数据集选择方法往往难以兼顾评估精度与高压缩比, 导致性能估计偏差显著. 为此, 提出一种预测不确定性感知的测试集选择(prediction-uncertainty-aware test set selection, PUA-TSS)方法, 旨在通过构建高信息量的代理测试集, 实现对模型性能的高效准确评估. 该方法首先利用模型预测输出的信息熵量化样本不确定性, 对测试样本进行任务驱动排序; 在此基础上, 采用等间隔均匀采样策略, 保留关键分布特征, 尤其缓解长尾场景下稀有类别的丢失问题, 从而在低采样率下维持评估的敏感性与一致性. 在图像分类和目标检测以及分割等多个任务上的基准数据集及多种模型架构上的实验表明, 所提方法在仅保留5%测试样本的情况下, 代理集评估结果与完整测试集评估的平均绝对偏差分别控制在0.71个百分点 (分类)、2.90个百分点 (检测)以及0.40个百分点 (分割)以内, 显著优于随机采样与现有数据集压缩方法. 进一步地, 在评估不同位宽的量化模型时, 性能评估误差稳定控制在5个百分点以内, 且无需为各模型变体重复构建代理集或执行完整评估. 实验结果验证了PUA-TSS方法在大幅降低模型评估计算成本的同时, 具备高精度与强鲁棒性以及良好泛化能力, 为资源受限环境下的模型评估提供了一种有效解决方案.

    Abstract:

    With the widespread application of deep learning models in embedded and edge devices, traditional model evaluation methods that rely on the full test set struggle to meet the requirements of low-latency and highly efficient deployment because of their high computational overhead and resource consumption. Existing dataset selection methods often fail to balance evaluation accuracy with high compression ratios, resulting in significant deviations in performance estimation. To address this issue, this study proposes a prediction-uncertainty-aware test set selection (PUA-TSS) method. The proposed method aims to achieve efficient and accurate evaluation of model performance by constructing a highly informative proxy test set. The method first quantifies sample uncertainty using the information entropy of model prediction outputs and ranks the test samples in a task-driven manner. On this basis, an equal-interval uniform sampling strategy is adopted to preserve key distributional characteristics. In particular, it alleviates the loss of rare classes in long-tailed scenarios, thus maintaining evaluation sensitivity and consistency at low sampling rates. Experiments are conducted on benchmark datasets using multiple model architectures across various tasks, including image classification, object detection, and segmentation. The results show that when only 5% of the test samples are retained, the mean absolute deviations between the proxy test set evaluation results and the full test set evaluation results remain within 0.71 percentage points for classification, 2.90 percentage points for detection, and 0.40 percentage points for segmentation. The proposed method significantly outperforms random sampling and existing dataset compression methods. Furthermore, when quantized models with different bit widths are evaluated, the performance evaluation error consistently remains within 5 percentage points, without requiring the proxy set to be reconstructed or full evaluation to be performed repeatedly for each model variant. The results demonstrate that the proposed method substantially reduces the computational cost of model evaluation while providing high accuracy, strong robustness, and good generalization capability, thus offering an effective solution for model evaluation in resource-constrained environments.

    参考文献
    相似文献
    引证文献
引用本文

高玉鑫,黎浩坤,张书海,陈卓琨,马钟,魏璐,许守恺,游增,王宇丰,谭明奎,郑清芳.预测不确定性感知的测试集选择方法.软件学报,,():1-24

复制
相关视频

分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2025-09-26
  • 最后修改日期:2026-02-03
  • 录用日期:
  • 在线发布日期: 2026-09-23
  • 出版日期:
文章二维码
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京市海淀区中关村南四街4号,邮政编码:100190
电话:010-62562563 传真:010-62562533 Email:jos@iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号