objects-that-sound icon indicating copy to clipboard operation
objects-that-sound copied to clipboard

Self-supervision but actually using labels

Open pmorerio opened this issue 6 years ago • 2 comments

Hi, the work should rely on self supervision, where no labels are used for training, as stated in the README:

We DO NOT use the labels of the videos in any way during training, and only use them for evaluation.

However, labels are actually used in chosing the negative pairs for the contrastive loss. This is either a bug or not fair. However I reckon choosing negative pairs randomly should not make much difference, given the high number of classes (approx p=1/50 of taking a wrong pair).

pmorerio avatar Apr 10 '19 10:04 pmorerio

The paper (and we) interpret it as NOT using discriminative labels like "guitar", "piano", etc. and still let the neural net figure out the semantics on its own. Note that there is no clear boundary between instruments and some videos have multiple sound sources too, making the task more difficult.

I hope this answers your question. If you have any questions please let me know.

rohitrango avatar Jul 05 '19 11:07 rohitrango

Hi, I respectfully disagree. Self-supervised methods are engineered precisely to avoid labeling. If you use labels this goes against the spirit of self-supervision. Even if labels are not used directly to optimize the loss, this does not mean there is no label supervision. This is simply a different kind of supervision, where labels are used in a different way (i.e. to choose the pairs). In the paper they actually state:

The labels for the positives (matching) and negatives (mismatched) pairs are obtained directly, as videos provide an automatic alignment between the visual and the audio streams – frame and audio coming from the same time in a video are positives, while frame and audio coming from different videos are negatives.

This seem to suggest that negative pairs are simply taken from a different video with the need of no labels.

pmorerio avatar Jul 08 '19 08:07 pmorerio