semantic-features: A User-Friendly Tool for Studying Contextual Word Embeddings in Interpretable Semantic Spaces
Not on the map. Why?
Abstract (arXiv)
We introduce semantic-features, an extensible, easy-to-use library based on Chronis et al. (2023) for studying contextualized word embeddings of LMs by projecting them into interpretable spaces. We apply this tool in an experiment where we measure the contextual effect of the choice of dative construction (prepositional or double object) on the semantic interpretation of utterances (Bresnan, 2007). Specifically, we test whether "London" in "I sent London the letter." is more likely to be interpreted as an animate referent (e.g., as the name of a person) than in "I sent the letter to London." To this end, we devise a dataset of 450 sentence pairs, one in each dative construction, with recipients being ambiguous with respect to person-hood vs. place-hood. By applying semantic-features, we show that the contextualized word embeddings of three masked language models show the expected sensitivities. This leaves us optimistic about the usefulness of our tool.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 10 of its 24 references that are in the map. First posted on arXiv 6 Jun 2025.
Builds on
10 of 24 references.
References · 10
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
- 2019Optuna: A Next-generation Hyperparameter Optimization Frameworkcited by 2,501
- 2022minicons: Enabling Flexible Behavioral and Representational Analyses of Transformer Language Modelscited by 58
- 2020Investigating representations of verb bias in neural language modelscited by 22
- 2024Do Language Models Exhibit Human-like Structural Priming Effects?cited by 21
- 2023A Method for Studying Semantic Construal in Grammatical Constructions with Interpretable Contextual Embedding Spacescited by 13
- 2024A systematic framework for generating novel experimental hypotheses from language modelscited by 9
- 2022Do Language Models Learn Position-Role Mappings?cited by 5
Built on by
Citing papers per year: 2025: 1.
1 paper.