Scaling up Discovery of Latent Concepts in Deep NLP Models

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Hawasly, Majd, Dalvi, Fahim, Durrani, Nadir
Format: Preprint
Publié: 2023
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866913219343286272
author Hawasly, Majd
Dalvi, Fahim
Durrani, Nadir
author_facet Hawasly, Majd
Dalvi, Fahim
Durrani, Nadir
contents Despite the revolution caused by deep NLP models, they remain black boxes, necessitating research to understand their decision-making processes. A recent work by Dalvi et al. (2022) carried out representation analysis through the lens of clustering latent spaces within pre-trained models (PLMs), but that approach is limited to small scale due to the high cost of running Agglomerative hierarchical clustering. This paper studies clustering algorithms in order to scale the discovery of encoded concepts in PLM representations to larger datasets and models. We propose metrics for assessing the quality of discovered latent concepts and use them to compare the studied clustering algorithms. We found that K-Means-based concept discovery significantly enhances efficiency while maintaining the quality of the obtained concepts. Furthermore, we demonstrate the practicality of this newfound efficiency by scaling latent concept discovery to LLMs and phrasal concepts.
format Preprint
id arxiv_https___arxiv_org_abs_2308_10263
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Scaling up Discovery of Latent Concepts in Deep NLP Models
Hawasly, Majd
Dalvi, Fahim
Durrani, Nadir
Computation and Language
Despite the revolution caused by deep NLP models, they remain black boxes, necessitating research to understand their decision-making processes. A recent work by Dalvi et al. (2022) carried out representation analysis through the lens of clustering latent spaces within pre-trained models (PLMs), but that approach is limited to small scale due to the high cost of running Agglomerative hierarchical clustering. This paper studies clustering algorithms in order to scale the discovery of encoded concepts in PLM representations to larger datasets and models. We propose metrics for assessing the quality of discovered latent concepts and use them to compare the studied clustering algorithms. We found that K-Means-based concept discovery significantly enhances efficiency while maintaining the quality of the obtained concepts. Furthermore, we demonstrate the practicality of this newfound efficiency by scaling latent concept discovery to LLMs and phrasal concepts.
title Scaling up Discovery of Latent Concepts in Deep NLP Models
topic Computation and Language
url https://arxiv.org/abs/2308.10263