arXiv:2610.31093cs.SDOct 2026

Manuscript Offprint

arXiv:2610.31093

HARMONY: Hierarchical Anchor Retrieval on Manifold for Oblivious-source Machinery Acoustic Anomaly Detection

Yuhang Zhang, Yang Li, Qiang Wu, Mingyuan Li

Abstract

In standard acoustic anomaly detection (ASD), models are usually trained separately for each machine or domain using explicit metadata. However, in realistic deployments, machine identifiers are incomplete, unreliable, or simply unavailable. Thus, metadata-free machinery ASD asks a single model to monitor mixed machine populations without machine IDs. In this paper, we argue that the main failure mode is not a weak detector family, but representation entanglement. The heterogeneous normal modes overlap in frozen pre-trained feature spaces, making anomaly scoring and approximate retrieval unreliable. We study this problem directly and propose HARMONY (Hierarchical Anchor Retrieval on Manifold for Oblivious-source acoustic aNomalY detection), an anchor-guided geometric repartitioning framework that reorganizes mixed-source features into compact Voronoi regions and reuses this structure for hierarchical retrieval. On DCASE 2020, HARMONY improves mean AUC from 75.40% to 90.00% (14.60 percentage points) over the strongest unified baseline and from 83.90% to 90.00% over a strong foundation-feature baseline. On a single CPU, its hierarchical retrieval achieves a 7.8×7.8\times speedup over exhaustive search with only a 0.20 percentage-point AUC drop. These results suggest that incorporating explicit geometric partitioning can improve both detection accuracy and retrieval efficiency for ASD. Code is available at https://github.com/Zzyh0208/HARMONY.

1 Introduction

In standard acoustic anomaly detection (ASD), models are usually trained separately for each machine or domain using explicit metadata [17]. This assumption breaks down in realistic deployments, where machine identifiers are incomplete, unreliable, or simply unavailable. The resulting metadata-free machinery ASD setting asks a single model to detect anomalies across a mixed stream of machine sounds without knowing which machine generated each sample. This is the practically relevant setting, but it is also where many strong detectors collapse.

A common interpretation is that the solution requires a stronger anomaly detector. We take a different view. When normal data from multiple machine types are pooled together, the dominant problem is

*Corresponding authors: Qiang Wu (wuq17@lzu.edu.cn) and Mingyuan Li (mingyl@utu.fi).

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

often representational: pre-trained feature spaces entangle heterogeneous normal modes, so nearest-neighbor, density-estimation, and regression-based detectors all operate on an ambiguous geometry. Under this mixture, even approximate retrieval structures such as HNSW [20] only accelerate access to the same entangled neighborhoods. They improve lookup, not the structure being queried.

This leads to the central claim of the paper: in metadata-free machinery ASD, the missing ingredient is not another detector head, but an explicit geometry-aware partition of the mixed normal distribution. If the representation can be reorganized into compact, mode-consistent regions before retrieval, then anomaly scoring becomes more reliable and efficient search becomes possible in the same learned space.

We instantiate this claim with HARMONY, a framework that couples anchor-guided geometric repartitioning with hierarchical retrieval. HARMONY learns a projection that maps mixed-source features into compact Voronoi regions on the hypersphere, then reuses this learned topology as an index that reduces the candidate search space. Rather than treating retrieval as a post-hoc engineering layer, HARMONY makes partitioning and retrieval part of the same modeling decision.

Contributions. Our goal is not to develop a new audio foundation backbone. Instead, we investigate a stricter question: when machine identities are unavailable, can explicit repartitioning of a frozen normal feature space restore the separability and efficiency lost in standard unified pipelines? Our main contributions are: (1) Problem Formulation: We formulate metadata-free machinery ASD as a representation partitioning problem, providing evidence that manifold entanglement is a bottleneck shared by several detector families. (2) HARMONY Framework: We propose an anchor-guided geometric repartitioning framework that reorganizes mixed-source normal data into compact Voronoi regions, intrinsically coupling this structure with hierarchical retrieval. (3) SoTA Performance and Efficiency: We provide rigorous analytical and empirical evidence for our approach. On DCASE 2020, HARMONY improves mean AUC by 14.60 percentage points over the strongest unified baseline and by 6.10 percentage points over a foundation-feature baseline, while its hierarchical retrieval achieves a 7.8×7.8 \times CPU speedup over exhaustive search with only a 0.20 percentage-point AUC drop.

References (26)