English

Proto-lm: A Prototypical Network-Based Framework for Built-in Interpretability in Large Language Models

Computation and Language 2023-11-14 v2

Abstract

Large Language Models (LLMs) have significantly advanced the field of Natural Language Processing (NLP), but their lack of interpretability has been a major concern. Current methods for interpreting LLMs are post hoc, applied after inference time, and have limitations such as their focus on low-level features and lack of explainability at higher level text units. In this work, we introduce proto-lm, a prototypical network-based white-box framework that allows LLMs to learn immediately interpretable embeddings during the fine-tuning stage while maintaining competitive performance. Our method's applicability and interpretability are demonstrated through experiments on a wide range of NLP tasks, and our results indicate a new possibility of creating interpretable models without sacrificing performance. This novel approach to interpretability in LLMs can pave the way for more interpretable models without the need to sacrifice performance.

Keywords

Cite

@article{arxiv.2311.01732,
  title  = {Proto-lm: A Prototypical Network-Based Framework for Built-in Interpretability in Large Language Models},
  author = {Sean Xie and Soroush Vosoughi and Saeed Hassanpour},
  journal= {arXiv preprint arXiv:2311.01732},
  year   = {2023}
}

Comments

Accepted to the Findings of EMNLP 2023

R2 v1 2026-06-28T13:10:22.526Z