Fernández de Córdoba, P., Reyes Pérez, C. A., Sánchez Arnau, C., & Sánchez Pérez, E. A. (2025). Set-Word Embeddings and Semantic Indices: A New Contextual Model for Empirical Language Analysis. Computers, 14(1), 30. https://doi.org/10.3390/computers14010030
Abstract:
We present a new word embedding technique in a (non-linear) metric space based on the shared membership of terms in a corpus of textual documents, where the metric is naturally defined by the Boolean algebra of all subsets of the corpus and a measure µ defined on it. Once the metric space is constructed, a new term (a noun, an adjective, a classification term) can be introduced into the model and analyzed by means of semanticprojections, which in turn are defined as indexes using the measure µ and the word embedding tools. We formally define all necessary elements and prove the main results about the model, including a compatibility theorem for estimating the representability of semantically meaningful external terms in the model (which are written as real Lipschitz functions in the metric space), proving the relation between the semantic index and the metric of the space (Theorem 1). Our main result proves the universality of our word-set embedding, proving mathematically that every word embedding based on linear space can be written as a word-set embedding (Theorem 2). Since we adopt an empirical point of view for the semantic issues, we also provide the keys for the interpretation of the results using probabilistic arguments (to facilitate the subsequent integration of the model into Bayesian frameworks for the construction of inductive tools), as well as in fuzzy set-theoretic terms. We also show some illustrative examples, including a complete computational case using big-data-based computations. Thus, the main advantages of the proposed model are that the results on distances between terms are interpretable in semantic terms once the semantic index used is fixed and, although the calculations could be costly, it is possible to calculate the value of the distance between two terms without the need to calculate the whole distance matrix. “Wovon man nicht sprechen kann, darüber muss man schweigen”. Tractatus Logico-Philosophicus. L. Wittgenstein.
Aplicación:
Este artículo es un avance para Prometeo ya que convierte las proyecciones semánticas en un objeto matemático bien fundado (métrica + medida + funciones Lipschitz), mejora la robustez y explicabilidad de los indicadores textuales con los que se construyen escenarios, y habilita una interoperabilidad clara entre modelos modernos de embeddings y un marco interpretable orientado a toma de decisiones en la futurización de la Huerta.
We would like to acknowledge funding from the Generalitat Valenciana (Spain) through the PROMETEO 2024 CIPROM/2023/32 grant.
