Abstract
One of the main methods for computational interpretation of a text is mapping it into a vector in some embedding space. Such vectors can then be used for a variety of textual processing tasks. Recently, most embedding spaces are a product of training large language models (LLMs). One major drawback of this type of representation is their incomprehensibility to humans. Understanding the embedding space is crucial for several important needs, including the need to debug the embedding method and compare it to alternatives, and the need to detect biases hidden in the model. In this paper, we present a novel method of understanding embeddings by transforming a latent embedding space into a comprehensible conceptual space. We present an algorithm for deriving a conceptual space with dynamic on-demand granularity. We devise a new evaluation method, using either human rater or LLM-based raters, to show that the conceptualized vectors indeed represent the semantics of the original latent ones. We show the use of our method for various tasks, including comparing the semantics of alternative models and tracing the layers of the LLM. The code is available online https://github.com/adiSimhi/Interpreting-Embedding-Spaces-by-Conceptualization.- Anthology ID:
- 2023.emnlp-main.106
- Volume:
- Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing
- Month:
- December
- Year:
- 2023
- Address:
- Singapore
- Editors:
- Houda Bouamor, Juan Pino, Kalika Bali
- Venue:
- EMNLP
- SIG:
- Publisher:
- Association for Computational Linguistics
- Note:
- Pages:
- 1704–1719
- Language:
- URL:
- https://aclanthology.org/2023.emnlp-main.106
- DOI:
- 10.18653/v1/2023.emnlp-main.106
- Cite (ACL):
- Adi Simhi and Shaul Markovitch. 2023. Interpreting Embedding Spaces by Conceptualization. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 1704–1719, Singapore. Association for Computational Linguistics.
- Cite (Informal):
- Interpreting Embedding Spaces by Conceptualization (Simhi & Markovitch, EMNLP 2023)
- PDF:
- https://preview.aclanthology.org/corrections-2024-05/2023.emnlp-main.106.pdf