Non-Negative Tensor Dictionary Learning

Abraham Traoré, Maxime Berar, Alain RakotomamonjyESANN 2018

Abstract

This paper introduces a supervised Non-Negative Tensor Dictionary Learning (TDL) framework designed to capture the temporal "rhythm" of sequential data, such as audio spectrograms. By moving from matrix factorization to tensor decomposition (Tucker-2), the authors successfully learn frequency and temporal patterns simultaneously. This approach leads to more discriminative features for classification tasks, demonstrating significant performance gains even when training data is extremely limited.

Introduction

In signal processing and computer vision, Non-negative Matrix Factorization (NMF) is a standard tool for decomposing complex data into interpretable parts. However, standard NMF suffers from a significant limitation: it treats every column of a matrix independently. Shuffling the time frames of an audio clip, for instance, results in the same dictionary, meaning NMF fails to capture the inherent temporal structure—the way a sound starts, sustains, and decays. While researchers have attempted to mitigate this with "stacked" frames or convolutive NMF, these methods often face high computational complexity or struggle with pattern variability. This work restores tensor factorization as an elegant solution to preserve this vital temporal dimension.

Methodology

The authors propose shifting from 2D matrices to 3D tensors. Instead of analyzing one spectrogram at a time, multiple spectrograms are stacked into a 3rd-order tensor $\mathcal{S}$ (Samples $\times$ Frequency $\times$ Time).

Tucker-2 Decomposition

Unlike NMF, which utilizes a single dictionary, TDL learns two: $W^{(f)}$ (frequency atoms) and $W^{(t)}$ (temporal atoms). The data is approximated as a combination of these dictionaries via a core tensor $\mathcal{H}$. This allows the model to explicitly learn the "envelope" of sound energy over time.

Learned temporal atoms ($W^{(t)}$) representing different envelopes of sound energy over time, allowing the model to distinguish between varying temporal scales.

Supervised Learning and Optimization

The framework incorporates a novel supervised loss term that forces learned features to align with class labels, ensuring that dictionary atoms are discriminative rather than just descriptive. The optimization problem is solved using alternate minimization via a projected gradient method to handle non-negativity constraints and large-scale dictionary matrices.

Experimental Evaluation

The approach was evaluated on a synthetic dataset of localized sinusoids and the DCase2013 real-world acoustic scene detection benchmark.

Efficiency in Small Data Regimes

A striking finding was TDL's performance with minimal training data. In synthetic tests, it achieved high accuracy with only 3 examples per class, significantly outperforming NMF variants regardless of the pooling strategy (max, mean, or vector).

Learning curve demonstrating TDL's superior classification score compared to NMF variants, particularly in low-data regimes.

Real-World Robustness and Interpretability

On the unstructured DCase2013 dataset, TDL proved competitive with state-of-the-art NMF+max-pooling setups. The model adapted to unstructured scenes by learning temporal atoms that behave like localized mean pooling, effectively identifying relevant features wherever they occur in time. Furthermore, the learned temporal atoms are visually interpretable, reflecting the actual temporal scales of the underlying signals.

Conclusion

Non-Negative Tensor Dictionary Learning addresses the "time-blindness" of traditional matrix factorization. By explicitly modeling temporal rhythm, it provides a robust and interpretable framework for sequential data analysis. While computational complexity remains a challenge as dictionary sizes grow, future work on online learning algorithms promises to scale this approach to even larger datasets.

Summary updated

BibTeX
@inproceedings{traore2018non,
  author = {Abraham Traoré and Maxime Berar and Alain Rakotomamonjy},
  title = {{Non-Negative Tensor Dictionary Learning}},
  booktitle = {ESANN},
  year = {2018},
  url = {https://openreview.net/forum?id=QfEERdAN7H},
}
Figure