mlsanityData to 7 Oct 2026

Multi-Head Encoding for Extreme Label Classification

arXiv 2412.10182 ↗First posted 13 Dec 2024cs.CV cs.AI cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

The number of categories of instances in the real world is normally huge, and each instance may contain multiple labels. To distinguish these massive labels utilizing machine learning, eXtreme Label Classification (XLC) has been established. However, as the number of categories increases, the number of parameters and nonlinear operations in the classifier also rises. This results in a Classifier Computational Overload Problem (CCOP). To address this, we propose a Multi-Head Encoding (MHE) mechanism, which replaces the vanilla classifier with a multi-head classifier. During the training process, MHE decomposes extreme labels into the product of multiple short local labels, with each head trained on these local labels. During testing, the predicted labels can be directly calculated from the local predictions of each head. This reduces the computational load geometrically. Then, according to the characteristics of different XLC tasks, e.g., single-label, multi-label, and model pretraining tasks, three MHE-based implementations, i.e., Multi-Head Product, Multi-Head Cascade, and Multi-Head Sampling, are proposed to more effectively cope with CCOP. Moreover, we theoretically demonstrate that MHE can achieve performance approximately equivalent to that of the vanilla classifier by generalizing the low-rank approximation problem from Frobenius-norm to Cross-Entropy. Experimental results show that the proposed methods achieve state-of-the-art performance while significantly streamlining the training and inference processes of XLC tasks. The source code has been made public at https://github.com/Anoise/MHE.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 24 of its 63 references that are in the map. First posted on arXiv 13 Dec 2024.

Builds on

24 of 63 references.

References · 24

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2014Deep Learning Face Attributes in the Wildcited by 3,679
  6. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  7. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  8. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,973
  9. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,194
  10. 2018Subword Regularization: Improving Neural Network Translation Models with Multiple Subword Candidatescited by 632
  11. 2016MS-Celeb-1M: A Dataset and Benchmark for Large-Scale Face Recognitioncited by 621
  12. 2020CurricularFace: Adaptive Curriculum Learning Loss for Deep Face Recognitioncited by 320
12 more
  1. 2017Cross-Age LFW: A Database for Studying Cross-Age Face Recognition in Unconstrained Environmentscited by 258
  2. 2016Multi30K: Multilingual English-German Image Descriptionscited by 250
  3. 2020Partial FC: Training 10 Million Identities on a Single Machinecited by 163
  4. 2020The Emerging Trends of Multi-Label Learningcited by 99
  5. 2021ResLT: Residual Learning for Long-tailed Recognitioncited by 96
  6. 2014On Using Very Large Target Vocabulary for Neural Machine Translationcited by 80
  7. 2016DiSMEC - Distributed Sparse Machines for Extreme Multi-label Classificationcited by 70
  8. 2021LightXML: Transformer with Dynamic Negative Sampling for High-Performance Extreme Multi-label Text Classificationcited by 61
  9. 2020GroupFace: Learning Latent Groups and Constructing Group-based Representations for Face Recognitioncited by 38
  10. 2017Global Optimality in Low-rank Matrix Optimizationcited by 35
  11. 2018Accelerated Training for Massive Classification via Dynamic Class Selectioncited by 16
  12. 2015Strategies for Training Large Vocabulary Neural Language Modelscited by 14

Built on by

Not cited yet.