Hybrid Losses for Hierarchical Embedding Learning

Haokun Tian, Stefan Lattner, Brian McFee, Charalampos Saitis
1/22/2025
cs.SDcs.IRcs.LG

No official code found. Best implementation: tiianhk/label-metric (4 stars, last commit 2025-01-22).

Abstract

In traditional supervised learning, the cross-entropy loss treats all incorrect predictions equally, ignoring the relevance or proximity of wrong labels to the correct answer. By leveraging a tree hierarchy for fine-grained labels, we investigate hybrid losses, such as generalised triplet and cross-entropy losses, to enforce similarity between labels within a multi-task learning framework. We propose metrics to evaluate the embedding space structure and assess the model's ability to generalise to unseen classes, that is, to infer similar classes for data belonging to unseen categories. Our experiments on OrchideaSOL, a four-level hierarchical instrument sound dataset with nearly 200 detailed categories, demonstrate that the proposed hybrid losses outperform previous works in classification, retrieval, embedding space structure, and generalisation.

View on arXivView PDF

Code Implementations(1)

41Shell, PythonJun 12, 20241 years ago

Similar Papers

Cite this paper

@article{tian2025hybrid,
  title  = {Hybrid Losses for Hierarchical Embedding Learning},
  author = {Haokun Tian and Stefan Lattner and Brian McFee and Charalampos Saitis},
  year   = {2025},
  eprint = {2501.12796},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.12796v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.12796.svg)](https://codeofpaper.com/paper/2501.12796)

Discussion