TransWikia.com

Multi-label classification based on single-label dataset

Data Science Asked by Neongelb on May 28, 2021

I’m looking for a solution to detect different moods/styles expressed by an image. Unfortunately, there is no multi-labeled dataset for this task.

The scenario of defining a multi-label classification model based on single labeled data doesn’t seem too absurd to me but still I couldn’t find any publications or other sources addressing this problem.

So I’m very thankful for any hint how scenarios like this could be tackled (e.g. deriving a multi-labeled dataset from available single label datasets in a weakly supervised manner).

3 Answers

I would train it using the loss appropriate for multi-label (sigmoid activation/binary cross-entropy loss instead of softmax activation/categorial cross-entropy loss). The model will give you probabilities per label, so it's up to you to decide how to interpret them in your application.

Having said that, some multi-label problems have mostly single labels, much fewer double labels, and almost no labels beyond that. For problems like this, you could try a single-label model and see if it works better than a multi-label one. Or have an ensemble :)

Correct answer by Andris Birkmanis on May 28, 2021

If you go the route suggested by @andris (the only option you may have), the multi label classes remain arbitrary, with probability cut points chosen by you. This would not seem to add true value

Answered by HEITZ on May 28, 2021

Two possible approaches:

  1. Treat it as a supervised learning problem by tagging each image with mood/style labels.

  2. Treat it as an unsupervised learning problem by applying topic modeling. Each image would probabilistically belong to a topic. Then label each topic with a mood/style.

Answered by Brian Spiering on May 28, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP