Analyzing Encoded Concepts in Transformer Language Models

25Citations
Citations of this article
49Readers
Mendeley users who have this article in their library.

Abstract

We propose a novel framework ConceptX, to analyze how latent concepts are encoded in representations learned within pre-trained language models. It uses clustering to discover the encoded concepts and explains them by aligning with a large set of human-defined concepts. Our analysis on seven transformer language models reveal interesting insights: i) the latent space within the learned representations overlap with different linguistic concepts to a varying degree, ii) the lower layers in the model are dominated by lexical concepts (e.g., affixation), whereas the core-linguistic concepts (e.g., morphological or syntactic relations) are better represented in the middle and higher layers, iii) some encoded concepts are multi-faceted and cannot be adequately explained using the existing human-defined concepts.

Cite

CITATION STYLE

APA

Sajjad, H., Durrani, N., Dalvi, F., Alam, F., Khan, A. R., & Xu, J. (2022). Analyzing Encoded Concepts in Transformer Language Models. In NAACL 2022 - 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Proceedings of the Conference (pp. 3082–3101). Association for Computational Linguistics (ACL). https://doi.org/10.18653/v1/2022.naacl-main.225

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free