Skip to main content
QUICK REVIEW

[Paper Review] ProtoryNet - Interpretable Text Classification Via Prototype Trajectories

Dat Hong, Tong Wang|arXiv (Cornell University)|Jul 3, 2020
Topic ModelingComputer Science42 references7 citations
TL;DR

ProtoryNet is a novel interpretable deep neural network for text classification that uses prototype trajectories—dynamic sequences of prototypical sentences—to model semantic evolution in text. By mapping each sentence to its most similar prototype and tracking these prototype transitions via an RNN, ProtoryNet enables fine-grained, human-understandable interpretation of model decisions, achieving higher accuracy than interpretable baselines and narrowing the gap with black-box models, while using only around 20 prototypes after pruning.

ABSTRACT

We propose a novel interpretable deep neural network for text classification, called ProtoryNet, based on a new concept of prototype trajectories. Motivated by the prototype theory in modern linguistics, ProtoryNet makes a prediction by finding the most similar prototype for each sentence in a text sequence and feeding an RNN backbone with the proximity of each sentence to the corresponding active prototype. The RNN backbone then captures the temporal pattern of the prototypes, which we refer to as prototype trajectories. Prototype trajectories enable intuitive and fine-grained interpretation of the reasoning process of the RNN model, in resemblance to how humans analyze texts. We also design a prototype pruning procedure to reduce the total number of prototypes used by the model for better interpretability. Experiments on multiple public data sets show that ProtoryNet is more accurate than the baseline prototype-based deep neural net and reduces the performance gap compared to state-of-the-art black-box models. In addition, after prototype pruning, the resulting ProtoryNet models only need less than or around 20 prototypes for all datasets, which significantly benefits interpretability. Furthermore, we report a survey result indicating that human users find ProtoryNet more intuitive and easier to understand than other prototype-based methods.

Motivation & Objective

  • To address the limitations of document-level prototypes in capturing fine-grained sentiment dynamics and temporal shifts in long text sequences.
  • To improve model interpretability by replacing complex, non-intuitive attention weights or latent features with human-readable prototypical sentences.
  • To reduce the number of prototypes required for reliable performance, enhancing usability for non-technical users.
  • To design a model that is both accurate and intuitive, enabling even novice users to understand the reasoning process behind predictions.
  • To create a lightweight, efficient architecture that maintains high performance without requiring extensive hyperparameter tuning.

Proposed method

  • Define prototypes as representative sentences from the training data, selected to reflect typical expressions of each class.
  • For each input sentence, compute its semantic similarity to all prototypes using pre-trained sentence embeddings (e.g., Universal Sentence Encoder).
  • Assign each sentence to the most similar prototype, forming a sequence of active prototypes—termed 'prototype trajectories'—that reflect the evolving semantic focus of the text.
  • Feed the sequence of prototype proximities (i.e., similarity scores) into an RNN backbone to model temporal dynamics and generate final predictions.
  • Apply a prototype pruning procedure that removes redundant or low-impact prototypes based on their contribution to prediction performance, reducing model complexity.
  • Use a shared hyperparameter configuration across all datasets, minimizing the need for tuning and enhancing practical usability.

Experimental results

Research questions

  • RQ1Can prototype trajectories effectively model the dynamic evolution of sentiment and meaning in long text sequences, beyond static document-level prototypes?
  • RQ2Can a prototype-based model achieve higher accuracy than existing interpretable baselines while maintaining high interpretability?
  • RQ3To what extent does prototype pruning reduce the number of prototypes without degrading performance, and can the resulting models remain interpretable?
  • RQ4How do non-expert users perceive the interpretability of ProtoryNet compared to other prototype-based models?
  • RQ5Can the model maintain strong performance with minimal hyperparameter tuning, and is it suitable for energy-efficient or green AI applications?

Key findings

  • ProtoryNet outperforms existing interpretable baselines in predictive accuracy across multiple public text classification datasets.
  • After prototype pruning, ProtoryNet models use only around 20 prototypes on average across all datasets, significantly improving interpretability compared to baselines that require hundreds of prototypes.
  • The performance gap between ProtoryNet and state-of-the-art black-box models (e.g., Transformers) is substantially narrowed, demonstrating strong competitive performance.
  • Human evaluation shows that users find ProtoryNet more intuitive and easier to understand than other prototype-based methods, with novice users achieving comparable interpretation accuracy to experts.
  • The non-fine-tuned version of ProtoryNet already outperforms interpretable baselines and shows strong potential for Green AI due to its lightweight, energy-efficient design.
  • The model maintains consistent performance across datasets with a single, fixed hyperparameter configuration, indicating robustness and ease of deployment.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.