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:
- 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.
- 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.
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.
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