Back

Benchmarking nearest neighbor retrieval of zebra finch vocalizations across development

Tomka, T.; Hao, X.; Miao, A.; Lee, K.; Basha, M.; Reimann, S.; Zai, A. T.; Hahnloser, R.

2023-09-04 animal behavior and cognition
10.1101/2023.09.04.555475 bioRxiv
Show abstract

Vocalizations are highly specialized motor gestures that regulate social interactions. The reliable detection of vocalizations from raw streams of microphone data remains an open problem even in research on widely studied animals such as the zebra finch. A promising method for finding vocal samples from potentially few labelled examples (templates) is nearest neighbor retrieval, but this method has never been extensively tested on vocal segmentation tasks. We retrieve zebra finch vocalizations as neighbors of each other in the sound spectrogram space. Based on merely 50 templates, we find excellent retrieval performance in adults (F1 score of 0.93 {+/-} 0.07) but not in juveniles (F1 score of 0.64 {+/-} 0.18), presumably due to the larger vocal variability of the latter. The performance in juveniles improves when retrieval is based on fixed-size template slices (F1 score of 0.72 {+/-} 0.10) instead of entire templates. Among the several distance metrics we tested such as the cosine and the Euclidean distance, we find that the Spearman distance largely outperforms all others. We release our expert-curated dataset of more than 50000 zebra finch vocal segments, which will enable training of data-hungry machine-learning approaches.

Matching journals

The top 5 journals account for 50% of the predicted probability mass.

50% of probability mass above

"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.