NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Predefined Prototypes for Intra-Class Separation and Disentanglement

Antonio Almudévar, Théo Mariotte, Alfonso Ortega Giménez, Marie Tahon, Luis Vicente, Antonio Miguel, Eduardo Lleida

Predefined Prototypes for Intra-Class Separation and Disentanglement

Introduction

Prototypical learning maps inputs into an embedding space where samples cluster around class-specific "prototypes." Traditionally, these prototypes are learned or computed dynamically during training, often resulting in "black box" representations with suboptimal class separation and poor interpretability. This paper introduces Predefined Prototypes, a method where cluster centers are fixed according to human-defined criteria before training begins, ensuring both superior separation and human-explainable representations.

Methodology

The core innovation is a modified training pipeline where the prototype extractor is a fixed, non-trainable function. The model optimizes a dual-objective loss: $$L = CE(y, ilde{y}) + \lambda_p ||z - p||^2$$ where $CE$ is the standard cross-entropy loss for classification and the second term forces the extracted embedding $z$ to be close to the predefined prototype $p$.

The authors employ two primary strategies for predefining prototypes:

  1. Maximizing Separation: Prototypes are defined as an orthogonal basis (using SVD). This forces classes to be 90 degrees apart in high-dimensional space, naturally reducing inter-class confusion.
  2. Enabling Disentanglement: Specific embedding dimensions are reserved for human-understandable factors like pitch or loudness. These dimensions are "coded" (e.g., one-hot for discrete levels), while the remaining "free" dimensions capture residual variance.
Predefined prototypes for emotion recognition (IEMOCAP). Specific dimensions are mapped to discrete levels (low, med, high) of acoustic factors like pitch and loudness to guide the model toward interpretable representations.

Experimental Results

The method was evaluated on audio datasets including ESC-50, Speech Commands V2, and IEMOCAP, using state-of-the-art backbones like the Audio Spectrogram Transformer (AST) and BEATs.

Superior Classification Performance

On the ESC-50 dataset, the Predefined Prototypes method achieved 94.52% accuracy, outperforming standard cross-entropy (93.97%) and specialized alternatives like Orthogonal Projection Loss (94.11%). Because the method is a multilinear map, it remains fully compatible with data augmentation techniques like mixup, which is crucial for high-performance audio classification.

Explainable Predictions

By anchoring specific dimensions to acoustic features, the model produces human-interpretable relevance matrices. In emotion recognition tasks, these matrices reveal the underlying "reasoning" for a classification. For instance, an "Angry" classification is clearly driven by high loudness and medium pitch variability, providing a transparent path that matches human acoustic intuition.

Relevance matrices for four test samples. The heatmaps illustrate how the model's predictions (probabilities $p_{neu}, p_{hap}, p_{ang}, p_{sad}$) are influenced by specific acoustic factors and latent "other factors."

Conclusion and Future Work

Predefined Prototypes offer a robust framework for improving both model performance and transparency. While effective, the approach currently relies on manual factor selection and discretization of continuous features. Future research may address automated factor discovery and the scalability of orthogonal prototypes to larger class sets.

Summary updated

BibTeX
@inproceedings{almudevar2024predefined,
  author = {Antonio Almudévar and Théo Mariotte and Alfonso Ortega Giménez and Marie Tahon and Luis Vicente and Antonio Miguel and Eduardo Lleida},
  title = {{Predefined Prototypes for Intra-Class Separation and Disentanglement}},
  booktitle = {Interspeech},
  year = {2024},
  doi = {10.21437/interspeech.2024-825},
}
Figure