Manuscript Offprint

arXiv:2608.30003

OPAL: Orthonormal Prototype Alignment Learning for Interpretable Image Classification

Ilán Carretero, Gustavo Jesús Angulo, Rocío del Amor, Valery Naranjo

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Ilán Carretero¹, Gustavo Jesús Angulo², Rocío del Amor¹,³, and Valery Naranjo¹,³

¹ CVBLab, HumanTech, Universitat Politècnica de València, Valencia, Spain {ilcarjuc,madeam2,vnaranjo}@upv.es

² CMA, Mines Paris, PSL University, Sophia Antipolis, France jesus.angulo_lopez@minesparis.psl.eu

³ Artikode Intelligence S.L., Valencia, Spain

Abstract. Prototypical part-based models provide explainable predictions by comparing input regions to learned prototypes. However, current approaches are burdened by complex, multi-stage training pipelines and heavily rely on auxiliary regularization to prevent prototype collapse. To overcome these limitations, we introduce Orthonormal Prototype Alignment Learning (OPAL), a single-stage, end-to-end framework that simplifies interpretable classification. Our approach anchors the latent space using predefined orthonormal bases, embedding each class within a dedicated subspace spanned by fixed part-prototypes. To achieve precise part localization, OPAL enforces spatial competition across feature maps. This mechanism isolates sparse, discriminative regions, directing each prototype to consistently attend to the same semantic concept across different images. By framing classification as a direct representation alignment task, our method eliminates the need for auxiliary losses. Extensive experiments on fine-grained benchmarks demonstrate that OPAL outperforms both its non-interpretable counterparts and state-of-the-art part-prototype methods, delivering granular visual explanations by explicitly revealing the specific image regions driving every prediction. Code is available at https://github.com/ilancarretero/OPAL.

Keywords: Explainable computer vision · Prototype-based classification · Representation alignment · Fine-grained image recognition

1 Introduction

Deep neural networks have revolutionized the field of computer vision, delivering unprecedented performance across a spectrum of complex recognition tasks [9, 12, 23, 24]. Despite these advancements, the inherent opacity of these architectures presents a fundamental challenge [4, 15, 25]. Beyond the critical trust issues arising in high-stakes deployment scenarios [6, 10], the inability to investigate the internal reasoning of a network limits the capacity to identify when and why the model fails, mitigate systematic errors, and potentially derive novel

Table 1: High-level comparison between a standard CNN and representative inherently interpretable models, including our contribution, OPAL. ✓ indicates that the method satisfies the corresponding property, and X otherwise. “Aux-loss free” denotes training without additional auxiliary regularizers beyond the standard classification objective. “External-model free” denotes no reliance on auxiliary pretrained models or external part-discovery modules.

MethodSingle-stage trainingAux-loss freeExternal-model freeInterpretable by design
Standard CNN✓✓✓✗
ProtoPNet NeurIPS '19 [3]✗✗✓✓
ProtoTree CVPR '21 [30]✗✓✓✓
ProtoPShare KDD '21 [39]✗✗✓✓
TesNet ICCV '21 [48]✗✗✓✓
ProtoPool ECCV '22 [38]✗✗✓✓
PIP-Net CVPR '23 [29]✗✗✓✓
MCPNet CVPR '24 [46]✓✗✓✓
LucidPPN ICLR '25 [33]✗✗✗✓
OPAL (Ours)✓✓✓✓

domain knowledge from learned feature representations. While post-hoc explanation methods, such as saliency maps [36, 40], attempt to interpret trained networks by highlighting relevant input regions, they have been shown to lack faithfulness to the actual decision-making process [1, 37]. Consequently, reliance on these approximations can be misleading, driving a paradigm shift towards inherently interpretable architectures where transparency is not a retrospective approximation, but a structural constraint enforced by design.

Among inherently interpretable models, Prototypical Part-based Networks (ProtoPNet) [3] and their recent variants [29, 33, 38, 39] have emerged as the dominant paradigm. These architectures ground their decision process in case-based reasoning, decomposing classification into a transparent matching process where local image regions are compared against a set of learned latent prototypes. However, despite their conceptual appeal, optimizing these frameworks involves a structural complexity significantly higher than their non-interpretable counterparts. As systematically illustrated in Tab. 1, state-of-the-art methods rely on cumbersome, multi-stage training pipelines that alternate between backbone optimization, prototype clustering, and discrete projection steps to map latent vectors to real training patches. This complexity stems fundamentally from the “moving target” problem [3, 48]: since prototypes are learnable parameters residing in a continuously shifting latent space, the model struggles to simultaneously learn discriminative features and align prototypes to them. To mitigate semantic collapse, where prototypes converge to identical features [39], existing approaches depend on multiple auxiliary regularization terms (e.g., separation, clustering, and diversity losses). This dependency significantly increases the complexity of hyperparameter tuning, as balancing these competing objectives requires meticulous dataset-specific calibration.

Figure

Fig. 1: Conceptual overview of OPAL. Prior inherently interpretable approaches typically learn prototypes in an (unconstrained latent space), where class evidence may overlap in a shared representation. OPAL instead imposes a (geometry-constrained latent space) by assigning each class cc to a dedicated orthonormal subspace Sc⊂RK\mathcal{S}_c \subset \mathbb{R}^K, shown as S∘,S△,S⋄\mathcal{S}_\circ, \mathcal{S}_\triangle, \mathcal{S}_\diamond in the figure. This structure encourages different prototype coordinates within Sc\mathcal{S}_c to capture distinct semantic attributes and supports faithful part-based evidence, visualized as the image regions selected by the corresponding prototype activations.

In this work, we introduce a geometry-driven formulation for interpretable prototype-based classification that replaces unconstrained prototype discovery with structured subspace alignment. Leveraging the principle that fixed, maximally separable geometric constraints induce robust and transferable feature representations [8, 13, 26, 34], we introduce Orthonormal Prototype Alignment Learning (OPAL). As illustrated in Fig. 1, OPAL anchors each class to a pre-assigned orthonormal subspace and represents interpretability as alignment within this fixed geometry, rather than as the optimization of free prototype locations. This design decouples prototype geometry from representation learning and turns classification into a direct alignment task in a stable, theoretically grounded coordinate system.

To translate this geometric alignment into granular visual explanations, OPAL incorporates an intrinsic spatial competition mechanism. Unlike traditional approaches that rely on soft attention maps or auxiliary concentration losses to localize parts [21, 51], our method enforces exclusiveness through channel-wise normalization followed by global feature selection. By compelling feature maps to compete for activation at each spatial location, OPAL prevents semantic concepts from overlapping. Consequently, a specific image region cannot simultaneously represent multiple distinct prototypes. This “winner-takes-all” dynamic, combined with the structural stability of the orthonormal basis, naturally drives the network to discover sparse and highly discriminative object parts without requiring part-level annotations or complex bounding-box supervision [32, 52].

The main contributions of this work are summarized as follows:

  • We introduce OPAL, a geometry-constrained approach to interpretable prototype based classification that moves from unconstrained prototype discovery to structured alignment in a predefined orthonormal space. This design enables a single-stage, end-to-end training pipeline without warm-up phases or alternating optimization steps.

  • We identify that imposing strict orthogonality on the output space, combined with an explicit spatial competition mechanism, is sufficient to induce semantic sparsity, eliminating the need for the auxiliary regularization terms (e.g., separation, clustering, or diversity losses) required by prior art to prevent prototype collapse. This results in a minimalist architecture that naturally isolates discriminative image regions by projecting them onto exclusive, preassigned semantic axes.

  • We conduct an extensive evaluation across five fine-grained benchmarks, where OPAL attains leading performance among inherently interpretable models on most datasets. Moreover, OPAL consistently outperforms the corresponding non-interpretable CNN backbones across diverse architectures and model capacities. Qualitative results further indicate that prototype slots align with distinct semantic parts, yielding granular and conceptually meaningful visual explanations.

References (51)

  • Sanity checks for saliency maps
  • Epic: Explanation of pretrained image classification networks via prototypes
  • This looks like that: deep learning for interpretable image recognition
  • Icev2: Interpretability, comprehensiveness, and explainability in vision transformer: H. choi et al. International Journal of Computer Vision **133**(5), 2487–2504
  • Describing textures in the wild
  • End-to-end driving via conditional imitation learning
  • Imagenet: A large-scale hierarchical image database
  • Arcface: Additive angular margin loss for deep face recognition
  • An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Dermatologist-level classification of skin cancer with deep neural networks
  • One-shot learning of object categories
  • Deep residual learning for image recognition
  • Fix your classifier: the marginal value of training the last weight layer (opens arXiv in a new tab)
  • Evaluation and improvement of interpretability for self-explainable part-prototype networks
  • Explainability and vision foundation models: A survey
  • Novel dataset for fine-grained image categorization: Stanford dogs
  • Supervised contrastive learning
  • Proxy anchor loss for deep metric learning
  • 3d object representations for fine-grained categorization
  • Tropical optimal transport and wasserstein distances
  • Deep grouping model for unified perceptual parsing
  • Sphereface: Deep hypersphere embedding for face recognition
  • Swin transformer: Hierarchical vision transformer using shifted windows
  • A convnet for the 2020s
  • Explainable artificial intelligence (xai) 2.0: A manifesto of open challenges and interdisciplinary research directions
  • Hyperspherical prototype networks
  • No fuss distance metric learning using proxies
  • Trivialaugment: Tuning-free yet state-of-the-art data augmentation
  • Pip-net: Patch-based intuitive prototypes for interpretable image classification
  • Neural prototype trees for interpretable fine-grained image recognition
  • Automated flower classification over a large number of classes
  • Is object localization for free?-weakly-supervised learning with convolutional neural networks
  • LucidPPN: Unambiguous prototypical parts network for user-centric interpretable computer vision
  • Prevalence of neural collapse during the terminal phase of deep learning training
  • Cats and dogs
  • why should i trust you?
  • Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead
  • Interpretable image classification with differentiable prototypes assignment
  • Protopshare: Prototypical parts sharing for similarity discovery in interpretable image classification
  • Grad-cam: Visual explanations from deep networks via gradient-based localization
  • Post-hoc part-prototype networks
  • Efficientnetv2: Smaller models and faster training
  • Proxynca++: Revisiting and revitalizing proxy neighborhood component analysis
  • Pdisconet: Semantically consistent part discovery for fine-grained recognition
  • The caltech-ucsd birds-200-2011 dataset
  • Mcpnet: An interpretable classifier via multilevel concept prototypes
  • Cosface: Large margin cosine loss for deep face recognition
  • Interpretable image recognition by constructing transparent embedding space
  • Understanding contrastive representation learning through alignment and uniformity on the hypersphere
  • Sun database: Large-scale scene recognition from abbey to zoo
  • Learning multi-attention convolutional neural network for fine-grained image recognition