Towards Data Science

How Do Word Embeddings Capture Relationships Between Words?

The article explores how word embeddings encode relationships between words within a learned vector space. It explains the mechanisms by which words become related through their positions and distances in that space. The post provides insights into the underlying processes that allow embeddings to capture semantic connections.

Towards Data Science
Sep 23

From Words to Vectors: What Happens in Between?

The article "From Words to Vectors: What Happens in Between?" explores the process of converting textual data into numerical representations, focusing on techniques such as TF-IDF and vector space models. It discusses how these representations enable text classification tasks and provides a practical overview of the underlying concepts. The piece serves as a guide for readers interested in the mechanics of text preprocessing and feature extraction for machine learning.

By Nikhil Dasari
arXiv Machine Learning
Sep 21

Analysing the Linearity of Linguistic Relations in Language Model Embedding Spaces

The paper introduces a framework to assess how linearly encoded linguistic relations are within language model embeddings. Using a constrained linear approximation on related and unrelated word pairs, the authors evaluate an extended BATS dataset across inflectional, derivational, lexicographic, and encyclopedic relations in GloVe, RoBERTa, and ModernBERT. Results show near-perfect linear encoding for inflectional and derivational relations, higher errors for lexicographic and encyclopedic relations—especially in one-to-many and many-to-many cases—and that RoBERTa and ModernBERT encode relations more linearly than GloVe.

By Vasudevan Nedumpozhimana, Fathima Thekkekara, John Kelleher
arXiv Computation and Language
6d ago

Inductive Learning of Concept Embeddings from Cross-Linguistic Colexification Patterns with Textual Attributes

The paper introduces an inductive method for learning concept embeddings from cross‑linguistic colexification networks combined with short textual descriptions. Unlike previous transductive approaches, this framework can embed unseen concepts using only a brief definition. The resulting embeddings correlate with cross‑linguistic similarity measures and generalize well to new concepts.

By Arne Rubehn
arXiv Machine Learning
Sep 18

Embedding Models Measure in Peculiar Ways

The paper investigates whether embedding spaces capture objective physical measurements such as mass, distance, time, and volume. It finds that these embeddings only weakly model such measurements and instead exhibit peculiar patterns. Further analysis shows that superficial string similarity heavily influences the representation of physical measurements, and recalibrating similarity does not significantly improve alignment.

By Juri Opitz, Andrianos Michail
Towards Data Science
Aug 20

Three Kinds of RAG Corpus, and What It Costs to Build for the Wrong One

The article explains that enterprise document intelligence can be categorized into three distinct corpus types, each requiring a specific architecture. It outlines how to determine the shape of a document collection through three key questions. The piece also discusses the costs associated with building a system for the incorrect corpus type.

By angela shi