🤖 AI Summary
Existing time series concept extraction methods are limited to the time domain, require predefined numbers of concepts, and often yield concept localizations misaligned with model attention regions. This work proposes CENDRe, the first method to automatically discover concepts within a joint time-frequency framework. It adaptively determines the number of concepts via clustering in a CNN latent space guided by silhouette scores, and precisely localizes the critical time-frequency regions driving predictions through differentiable inverse mappings (e.g., Fourier transform) combined with prototype-based contrastive gradient masking. This enables concept contribution evaluation aligned with model decisions. Experiments demonstrate that CENDRe significantly improves representation fidelity and importance correctness on synthetic data and successfully identifies discriminative frequency bands in bearing fault diagnosis, offering interpretable insights inaccessible to purely time-domain approaches.
📝 Abstract
Convolutional neural networks (CNNs) are widely used for time-series classification, but their deployment in critical domains requires understanding the temporal and spectral patterns that drive their predictions. Concept extraction (CE) methods identify such patterns by analyzing representations within the models' latent space. However, existing time-series CE methods have three limitations: they operate only in the time domain and overlook frequency features, predefine the number of concepts, and produce localizations misaligned with the regions the model uses. We address these limitations by proposing CENDRe, a concept extraction method for CNNs. It first discovers concepts by clustering per-timestep latent representations in two stages, where silhouette-guided aggregation selects the number of concepts automatically. Then, it localizes each concept through gradients of a presence score that contrasts the latent representations with their prototypes, producing masks that concentrate on the regions driving the concept. These gradients, propagated through a differentiable invertible mapping of the input such as a Fourier transform, yield localizations for the same concepts in the frequency domain. Finally, each concept receives a relevance score that quantifies its contribution to each class. On synthetic benchmarks, CENDRe achieves representation correctness comparable to state-of-the-art CE methods and significantly higher importance correctness. On real bearing-fault data, CENDRe extracts the frequency bands driving the model's predictions, located in regions commonly inspected for fault diagnosis, producing evidence to assess the model that time-domain CE methods cannot.