Skip to main content
QUICK REVIEW

[Paper Review] A Comparison of Five Multiple Instance Learning Pooling Functions for Sound Event Detection with Weak Labeling

Yun Wang, Juncheng Li|arXiv (Cornell University)|Oct 22, 2018
Music and Audio ProcessingComputer Science10 citations
TL;DR

This paper compares five multiple instance learning (MIL) pooling functions for weakly supervised sound event detection (SED), finding that linear softmax pooling outperforms max, average, exponential softmax, and attention pooling in localization accuracy. Using this function, the authors propose TALNet, the first model to achieve state-of-the-art audio tagging performance on AudioSet and strong localization results on DCASE 2017 without finetuning.

ABSTRACT

Sound event detection (SED) entails two subtasks: recognizing what types of sound events are present in an audio stream (audio tagging), and pinpointing their onset and offset times (localization). In the popular multiple instance learning (MIL) framework for SED with weak labeling, an important component is the pooling function. This paper compares five types of pooling functions both theoretically and experimentally, with special focus on their performance of localization. Although the attention pooling function is currently receiving the most attention, we find the linear softmax pooling function to perform the best among the five. Using this pooling function, we build a neural network called TALNet. It is the first system to reach state-of-the-art audio tagging performance on Audio Set, while exhibiting strong localization performance on the DCASE 2017 challenge at the same time.

Motivation & Objective

  • To evaluate and compare five MIL pooling functions for sound event detection under weak labeling, where only clip-level labels are available.
  • To identify the pooling function that best balances localization accuracy and frame-level prediction consistency.
  • To develop a unified deep learning model that performs well on both audio tagging and sound event localization tasks.
  • To demonstrate that linear softmax pooling enables better gradient flow and reduced false positives compared to attention-based methods.

Proposed method

  • The authors implement five pooling functions: max, average, linear softmax, exponential softmax, and attention pooling, each transforming frame-level predictions into recording-level probabilities.
  • Each pooling function is integrated into a CRNN-based neural network architecture for end-to-end training on weakly labeled audio data.
  • The linear softmax pooling function computes the weighted average of frame probabilities using linearly scaled logits, ensuring smooth gradient flow.
  • The model is trained using cross-entropy loss between predicted recording-level probabilities and weak labels from AudioSet and DCASE 2017.
  • Hyperparameters and class-specific thresholds are tuned via validation, and data balancing techniques are applied to handle class imbalance.
  • The final model, TALNet, uses the linear softmax pooling function and is evaluated on both AudioSet (for tagging) and DCASE 2017 (for localization).

Experimental results

Research questions

  • RQ1Which MIL pooling function yields the best localization performance in weakly supervised sound event detection?
  • RQ2How do different pooling functions affect the consistency between frame-level and recording-level predictions?
  • RQ3Can a single model achieve state-of-the-art performance in both audio tagging and localization tasks?
  • RQ4Why does the attention pooling function, despite its popularity, lead to higher false positive rates in localization?
  • RQ5Does the linear softmax pooling function provide better gradient flow and training stability than other pooling functions?

Key findings

  • The linear softmax pooling function achieved the best localization F1 score of 45.4 on the DCASE 2017 challenge, outperforming max pooling (42.2) and attention pooling (45.5) in F1, while also showing lower error rate (78.9) than attention (92.0).
  • TALNet achieved a mean average precision (MAP) of 0.359 on AudioSet, closely matching the state-of-the-art result of 0.360 by Yu et al. [23], and outperforming all other systems in the comparison.
  • The attention pooling function, despite its popularity, resulted in a high error rate (92.0) and excessive false positives, indicating poor frame-level localization performance.
  • The linear softmax pooling function demonstrated superior gradient flow and better balance between false negatives and false positives compared to other pooling functions.
  • TALNet is the first model known to achieve strong performance in both audio tagging (on AudioSet) and localization (on DCASE 2017) simultaneously, without finetuning.
  • Theoretical analysis confirmed that linear softmax pooling allows unobstructed gradient flow, unlike max pooling, which only backpropagates through the highest activation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.