arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2302.14487cs.CVcs.AI
收藏

融合Transformer的分级可扩展查询增强分类

Enhancing Classification with Hierarchical Scalable Query on Fusion Transformer

Samsung R&D Institute Bangalore(三星班加罗尔研发中心)

Sudeep Kumar Sahoo, Sathish Chalasani, Abhishek Joshi, Kiran Nanjunda Iyer

摘要:

基于真实世界视觉的应用需要对各种感兴趣的领域进行细粒度分类,如电子商务,移动应用,仓库管理等,其中降低错误的严重程度并提高分类准确性至关重要。本文提出了一种通过可学习的独立查询嵌入的分层方法来提高细粒度分类的方法。这是通过一个分类网络来实现的,该网络使用粗略的分类预测来以逐阶段的顺序方式提高精细分类的准确性。我们利用层次结构的思想来学习可扩展到所有级别的查询嵌入,从而使其成为一种相关的方法,即使对于极端的分类,我们有大量的类。查询初始化的加权本征图像计算从训练样本,以最好地表示和捕捉对象的方差。我们引入了Transformer块来融合中间层,查询注意力发生在这些中间层上,以增强不同尺度下特征图的空间表示。这种多尺度融合有助于提高小尺寸物体的精度。我们提出了一个双重的方法,学习查询的唯一表示。首先,在每个层次结构中,我们利用基于聚类的损失,确保类间查询嵌入之间的最大分离,并帮助学习更高维空间中更好的(查询)表示。其次,我们融合粗层次的查询与细层次的查询加权学习比例因子。我们还引入了一个新的块称为交叉注意多级查询与先验(CAMP)块,有助于减少错误传播从粗级到细级,这是一个常见的问题,在所有层次分类。我们的方法是能够优于现有的方法,在细粒度的分类约11%的改进。

英文摘要:

Real-world vision based applications require fine-grained classification for various area of interest like e-commerce, mobile applications, warehouse management, etc. where reducing the severity of mistakes and improving the classification accuracy is of utmost importance. This paper proposes a method to boost fine-grained classification through a hierarchical approach via learnable independent query embeddings. This is achieved through a classification network that uses coarse class predictions to improve the fine class accuracy in a stage-wise sequential manner. We exploit the idea of hierarchy to learn query embeddings that are scalable across all levels, thus making this a relevant approach even for extreme classification where we have a large number of classes. The query is initialized with a weighted Eigen image calculated from training samples to best represent and capture the variance of the object. We introduce transformer blocks to fuse intermediate layers at which query attention happens to enhance the spatial representation of feature maps at different scales. This multi-scale fusion helps improve the accuracy of small-size objects. We propose a two-fold approach for the unique representation of learnable queries. First, at each hierarchical level, we leverage cluster based loss that ensures maximum separation between inter-class query embeddings and helps learn a better (query) representation in higher dimensional spaces. Second, we fuse coarse level queries with finer level queries weighted by a learned scale factor. We additionally introduce a novel block called Cross Attention on Multi-level queries with Prior (CAMP) Block that helps reduce error propagation from coarse level to finer level, which is a common problem in all hierarchical classifiers. Our method is able to outperform the existing methods with an improvement of ~11% at the fine-grained classification.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑