Evaluating Inference-time Algorithms for Semantic Sound Scene Segmentation

Sripathi Sridhar, Gordon Wichern, Yoshiki Masuyama, Mark Cartwright, Jonathan Le RouxarXiv 2026 · arXiv

TL;DR

This paper explores how to fix errors in sound scene segmentation by "thinking twice" at inference time. By generating alternative label hypotheses and using a "fitness function" to evaluate the resulting audio extractions, the authors significantly improve performance on difficult audio clips where standard models typically fail.

What Problem Does This Paper Address?

Spatial Semantic Segmentation of Sound Scenes (S5) is a complex task that requires a system to both identify what sounds are present in a mixture (e.g., a dog barking, a car horn) and extract those specific sounds into separate audio files.

Most current systems use a two-stage pipeline: a classifier detects the sounds, and an extractor pulls them out based on those detections. The problem is error propagation. If the classifier misses a sound or misidentifies a dog bark as a vacuum cleaner, the extractor has no way to fix it—it simply extracts the wrong thing or nothing at all. This paper investigates "inference-time algorithms" that allow the system to reconsider its initial classification and refine its output without needing to be retrained.

Methods

The authors propose a multi-stage setup using a multichannel extraction model called Mc-TUSS. The core of their approach involves three main components:

  1. Relabelers: Instead of just trusting the first classification, the system generates a set of alternative label hypotheses. They compared a Naïve Confusion Matrix (CM) approach (swapping labels based on common mistakes) with a Conditional Confusion Matrix (CCM) approach. The CCM is more powerful because it can change the number of predicted sources, not just their names.
  2. Source Estimate Evaluation Models: For every label hypothesis, the system extracts the audio and then "judges" it. They tested three judges: the original M2D classifier, a version fine-tuned on clean single sources (M2D-SC), and an off-the-shelf "audio judge" (SAM Audio Judge) trained on human quality ratings.
  3. Fitness Functions: These are the scoring metrics the judges use. They combined Binary Cross-Entropy (BCE) (how well does the audio match the label?) with Mixture Consistency (MC) (does the sum of the extracted parts equal the original mixture?).

Finally, they implemented Gating Functions. Since refining every single clip is computationally expensive and can sometimes introduce new errors, gating uses entropy (uncertainty) to decide which clips actually need a second look.

Datasets

The study uses the DCASE 2025 Task 4 dataset. This benchmark involves multichannel spatial audio mixtures containing up to three simultaneous target sound events from a vocabulary of 18 classes (like speech, dog, cat, etc.), set against background noise.

Key Insights and Ideas

  • The "Oracle Gap" is huge: The authors found that if the system could just pick the correct labels from its list of hypotheses, performance would skyrocket (an "Oracle" improvement of up to 14.84 dB in some cases). This proves the extraction models are often capable; they just need the right prompts.
  • Refinement is a double-edged sword: Applying these algorithms to every clip indiscriminately actually decreases overall performance. This is because the system might "fix" a clip that was already correct, accidentally introducing a new error.
  • CCM is the superior hypothesis generator: By allowing the model to change the number of predicted sources, the Conditional Confusion Matrix (CCM) provides much better candidates for the fitness function to evaluate compared to simple label swapping.
  • Entropy is a great "Check Engine" light: Using the entropy (uncertainty) of the initial classifier is an effective way to trigger the refinement process only when the model is likely to have made a mistake.

Key Results

The best-performing combination was CCM + BCE + MC + M2D.

Fig. 1: Delta CA-SDRi vs. baseline CA-SDRi on the full test set for M2D with conditional CM relabeler and BCE+MC fitness function.

As shown in Figure 1 above, the algorithm significantly improves performance on clips where the baseline was poor (the blue dots representing "Wrong $\rightarrow$ Correct" transitions). Specifically, for clips with a baseline performance $\le$ 10 dB, the method improved the primary metric (CA-SDRi) by 1.56 dB.

Quantitative comparisons across different strategies are detailed in Table 1:

Table 1: Performance of various prompt relabeling strategies, fitness functions, and evaluation models on the DCASE 2025 Task 4 test set. CM: Na¨ıve Confusion matrix, CCM: Conditional Confusion matrix, BCE: Binary cross entropy, MC: Mixture consistency, M2D: Multilabel classifier, M2D-SC: Single-class classifier, SAJ: SAM Audio Judge. ∆refers to improvement over the baseline CA-SDRi, while Oracle is the theoretical maximum improvement from the hypotheses evaluated given an ideal fitness function, i.e., computing CA-SDRi against ground truth. Bold indicates best performance; underline indicates second best.

On the held-out evaluation set, entropy-based gating (specifically Hnorm) successfully identified candidates for refinement, leading to a small but statistically significant overall gain of +0.032 dB, driven by a +0.18 dB improvement on the gated (difficult) clips.

Limitations and Future Work

The current setup has a few constraints:

  • Source Counting: The system currently assumes only one source per target class. In real-world scenes, you might have two different dogs barking, which this model isn't yet designed to handle.
  • Fitness Function Bottleneck: While the relabelers generate great hypotheses, the "judges" (fitness functions) aren't always perfect at picking the best one. Improving these judges is a key area for future research.
  • Zero-Source Scenes: The authors noted that future work should explore relaxing the label hypothesis space to better handle scenes with no target sources at all.

Summary updated

Abstract

Spatial semantic segmentation of sound scenes (S5) involves the detection and extraction of target sound events in audio files. However, in typical detection-extraction pipelines, errors in the detection module propagate to the extraction module, degrading overall performance. In this work, we develop a multichannel detection-extraction model and evaluate inference-time algorithms to improve the class detection and target sound extraction in a multi-stage setup. We evaluate two fitness functions: binary cross entropy and mixture consistency; two relabeling strategies: naive and conditional confusion matrix relabeling; and three source estimate evaluation models: a multi-label classifier, a fine-tuned single-source classifier, and an off-the-shelf audio judge. We thoroughly evaluate the impact of these design choices on the DCASE 2025 Task 4 dataset, and validate entropy-based gating of inference-time updates on the held-out evaluation set, laying the groundwork for inference-time updates of S5 systems in real-world scenarios.
BibTeX
@misc{sridhar2026evaluating,
  author = {Sripathi Sridhar and Gordon Wichern and Yoshiki Masuyama and Mark Cartwright and Jonathan Le Roux},
  title = {{Evaluating Inference-time Algorithms for Semantic Sound Scene Segmentation}},
  year = {2026},
  eprint = {2610.03602},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.03602},
}
Figure