改进类无关计数的配方:基于马赛克的广义损失
A Recipe for CAC: Mosaic-based Generalized Loss for Improved Class-Agnostic Counting
AI总结:
本文指出现有类无关计数(CAC)模型在多类设置下盲目匹配主要对象的问题,提出结合马赛克增强与广义损失的方法,并引入新评估协议和指标,持续提升不同CAC模型性能。
摘要:
类无关计数(CAC)是一项视觉任务,用于统计查询图像中任意给定参考对象的总出现次数。该任务通常被表述为通过参考对象的少量图像样本与查询图像之间的相似性计算来估计密度图的问题。在本文中,我们指出现有CAC框架的一个严重问题:在多类设置下,模型不考虑参考图像,而是盲目匹配查询图像中的所有主要对象。此外,当前的评估指标和数据集无法用于忠实地评估模型的泛化性能和鲁棒性。为此,我们发现将马赛克增强与广义损失相结合,对于解决上述CAC模型不顾参考而统计多数对象(即主要对象)的问题至关重要。此外,我们引入了新的评估协议和指标,以解决现有CAC评估方案背后的问题,并以更公平的方式更好地对CAC模型进行基准测试。另外,广泛的评估结果表明,我们提出的配方能够持续提升不同CAC模型的性能。代码可在 https://github.com/littlepenguin89106/MGCAC 获取。
英文摘要:
Class agnostic counting (CAC) is a vision task that can be used to count the total occurrence number of any given reference objects in the query image. The task is usually formulated as a density map estimation problem through similarity computation among a few image samples of the reference object and the query image. In this paper, we point out a severe issue of the existing CAC framework: Given a multi-class setting, models don't consider reference images and instead blindly match all dominant objects in the query image. Moreover, the current evaluation metrics and dataset cannot be used to faithfully assess the model's generalization performance and robustness. To this end, we discover that the combination of mosaic augmentation with generalized loss is essential for addressing the aforementioned issue of CAC models to count objects of majority (i.e. dominant objects) regardless of the references. Furthermore, we introduce a new evaluation protocol and metrics for resolving the problem behind the existing CAC evaluation scheme and better benchmarking CAC models in a more fair manner. Besides, extensive evaluation results demonstrate that our proposed recipe can consistently improve the performance of different CAC models. The code is available at https://github.com/littlepenguin89106/MGCAC.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。