paper-with-me

홈 › Papers

ML-Decoder: Scalable and Versatile Classification Head

2021-11-25 · Tal Ridnik, Gilad Sharir, Avi Ben-Cohen, Emanuel Ben-Baruch, Asaf Noy

In this paper, we introduce ML-Decoder, a new attention-based classification head. ML-Decoder predicts the existence of class labels via queries, and enables better utilization of spatial data compared to global average pooling. By redesigning the decoder architecture, and using a novel group-decoding scheme, ML-Decoder is highly efficient, and can scale well to thousands of classes. Compared to using a larger backbone, ML-Decoder consistently provides a better speed-accuracy trade-off. ML-Decoder is also versatile - it can be used as a drop-in replacement for various classification heads, and generalize to unseen classes when operated with word queries. Novel query augmentations further improve its generalization ability. Using ML-Decoder, we achieve state-of-the-art results on several classification tasks: on MS-COCO multi-label, we reach 91.4% mAP; on NUS-WIDE zero-shot, we reach 31.1% ZSL mAP; and on ImageNet single-label, we reach with vanilla ResNet50 backbone a new top score of 80.7%, without extra data or distillation. Public code is available at: https://github.com/Alibaba-MIIL/ML_Decoder

📄 PDF Abstract BibTeX arXiv:2111.12933

Code (1)

alibaba-miil/ml_decoder 공식 구현 pytorch

Tasks

ClassificationDecoderFine-Grained Image ClassificationImage ClassificationMulti-Label ClassificationMulti-label zero-shot learningZero-Shot Learning

Similar Papers 제목 키워드 기반

Optimizing Knowledge Distillation in Transformers: Enabling Multi-Head Attention without Alignment Barriers

2025-02-11 · Zhaodong Bing, Linze Li, Jiajun Liang

Knowledge distillation (KD) in transformers often faces challenges due to misalignment in the number of attention heads between teacher and student models. Existing methods either require identical head counts or introdu…

image-classificationImage ClassificationImage GenerationKnowledge Distillation+1

MEGConformer: Conformer-Based MEG Decoder for Robust Speech and Phoneme Classification

2025-12-01 · Xabier de Zuazo, Ibon Saratxaga, Eva Navas arxiv

Decoding speech-related information from non-invasive MEG is a key step toward scalable brain-computer interfaces. We present compact Conformer-based decoders on the LibriBrain 2025 PNPL benchmark for two core tasks: Spe…

Advantages of versatile neural-network decoding for topological codes

2018-02-23 · Nishad Maskara, Aleksander Kubica, Tomas Jochym-O'Connor

Finding optimal correction of errors in generic stabilizer codes is a computationally hard problem, even for simple noise models. While this task can be simplified for codes with some structure, such as topological stabi…

Decipher-MR: A Vision-Language Foundation Model for 3D MRI Representations

2025-09-25 · Zhijian Yang, Noel DSouza, Istvan Megyeri, Xiaojian Xu 외 arxiv

Magnetic Resonance Imaging is a critical imaging modality in clinical diagnosis and research, yet its complexity and heterogeneity hinder scalable, generalizable machine learning. Although foundation models have revoluti…

Cross-Modal Retrieval

A Novel Nearest Neighbors Algorithm Based on Power Muirhead Mean

2022-09-04 · Kourosh Shahnazari, Seyed Moein Ayyoubzadeh

This paper introduces the innovative Power Muirhead Mean K-Nearest Neighbors (PMM-KNN) algorithm, a novel data classification approach that combines the K-Nearest Neighbors method with the adaptive Power Muirhead Mean op…

Classification