用外部数据缓解小样本压缩中的类别不平衡问题
Compressing Model with Few Class-Imbalance Samples: An Out-of-Distribution Expedition
- 引入外部分布外数据,动态平衡训练分布
- 在多个数据集上提升压缩模型准确率,避免性能下降
- 适合小样本场景下需保护隐私的模型压缩任务
近年来,为兼顾隐私与性能,小样本模型压缩被广泛用于应对因隐私和安全问题导致的数据有限问题。然而当可用样本极少数时,类别不平衡成为常见且棘手的问题。在真实应用中,使各类样本数量相等通常成本高昂且不切实际,而以往的小样本压缩研究大多忽略了这一关键挑战。实验表明,类别不平衡会显著降低小样本压缩方法的整体性能。为此,我们提出一种新颖且自适应的框架——分布外增强型小样本模型压缩(OE-FSMC)。该框架将易获取的分布外(OOD)数据融入压缩与微调过程,有效重平衡训练分布。同时引入联合蒸馏损失与正则化项,降低模型对分布外数据过拟合的风险。在多个基准数据集上的大量实验表明,本框架可无缝集成至现有小样本压缩方法中,有效缓解类别不平衡带来的准确率下降。
原文摘要 · Abstract (English)
In recent years, as a compromise between privacy and performance, few-sample model compression has been widely adopted to deal with limited data resulting from privacy and security concerns. However, when the number of available samples is extremely limited, class imbalance becomes a common and tricky problem. Achieving an equal number of samples across all classes is often costly and impractical in real-world applications, and previous studies on few-sample model compression have mostly ignored this significant issue. Our experiments comprehensively demonstrate that class imbalance negatively affects the overall performance of few-sample model compression methods. To address this problem, we propose a novel and adaptive framework named OOD-Enhanced Few-Sample Model Compression (OE-FSMC). This framework integrates easily accessible out-of-distribution (OOD) data into both the compression and fine-tuning processes, effectively rebalancing the training distribution. We also incorporate a joint distillation loss and a regularization term to reduce the risk of the model overfitting to the OOD data. Extensive experiments on multiple benchmark datasets show that our framework can be seamlessly incorporated into existing few-sample model compression methods, effectively mitigating the accuracy degradation caused by class imbalance.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。