arXiv AI

Contextual trajectory and incremental contextual displacement: Towards using LLMs to understand dynamic, utterance-specific meaning construction

The paper introduces token‑wise incremental trajectories, a method that tracks how contextual word embeddings evolve as each word is added to a sentence. Using garden‑path sentences, the authors show that these trajectories capture known processing disruptions and can distinguish ambiguous sentences from disambiguated controls. They propose metrics for measuring representational displacement and find that ambiguity signals are present not only in sentence‑level CLS vectors but also in individual token embeddings, suggesting distributed meaning construction across scales.

arXiv Computation and Language
Nov 2

Iterated Integrals as Lexical Fingerprints: Path Signature Embeddings for Lexical Similarity

The paper introduces a method for creating sentence embeddings using path signatures derived from Word2Vec trajectories, aiming to capture lexical and sequential structure explicitly. Experiments show that depth‑2 signatures align well with various lexical string metrics, outperforming average pooling in preserving character‑level edit distances and word order. The authors also find that most lexical variance is concentrated in a compact PCA subspace, making the approach both interpretable and computationally efficient.

By Raj Shekhar Singh, Pratham Agarwal
arXiv AI
Sep 15

LLM-Microscope: Uncovering the Hidden Role of Punctuation in Context Memory of Transformers

The paper introduces LLM-Microscope, a toolkit for measuring how Large Language Models encode contextual information at the token level. It shows that seemingly minor tokens—such as determiners, stopwords, and punctuation—carry surprisingly high contextual weight, and removing them degrades performance on benchmarks like MMLU and BABILong-4k. The study also finds a strong link between contextualization and linearity, indicating that the transformation between layers can be approximated by a single linear mapping when tokens are well contextualized.

By Anton Razzhigaev, Matvey Mikhalchuk, Temurbek Rahmatullaev, Elizaveta Goncharova, Polina Druzhinina, Ivan Oseledets, Andrey Kuznetsov
arXiv Computation and Language
Sep 28

Coupled Usage-Sense Processes: Temporal and Attributable Lexical Semantic Change

The paper introduces Coupled Usage–Sense Processes (CUSP), a method that models lexical semantic change by coupling contextual distributions through latent usage components and using Markov composition to link adjacent time periods. CUSP quantifies change magnitude and timing, separates variation into component movement and internal reorganization, and attributes changes to specific transported component pairs. The approach is validated on synthetic data, English and German corpora, and a large corpus of US court opinions, providing detailed, text‑grounded insights into how word meanings evolve over time.

By Haruka Ezoe, Ryohei Hisano
arXiv Computation and Language
Aug 27

The Changing Geometry of Grammar: Dimensionality and Neighborhood Reorganization across Transformer Layers

The paper studies how transformer representations evolve across layers by examining the intrinsic dimensionality (ID) of token embeddings and their neighborhood structures. It finds that closed‑class tokens expand and collapse earlier than open‑class tokens, and that these changes are linked to shifts in local geometry. The authors compare encoder and decoder models, showing distinct layer‑wise behaviors, and demonstrate that geometric features alone can predict a token’s part‑of‑speech and reveal how semantic content changes across layers.

By Samuele Vallisa, Federico Ravenda, Claudio Palominos, Rui He, Andrea Raballo, Antonietta Mira, Philipp Homan, Wolfram Hinzen
arXiv Computation and Language
Oct 23

Meaning Contracts: Local Semantic Geometry in Large Language Models

The paper investigates how semantic meaning is arranged locally within large language models. By using two controlled probes—one cross‑lingual and one refinement probe—on four decoder‑only LLMs, it finds that after removing dominant variance directions, sentence pairs rank by semantic relatedness, semantic factors cluster around an invariant core with structured variation, refinement tightens neighborhoods, and sentence‑level versus token‑local readouts reveal complementary geometric patterns. These results suggest that LLM semantics form local anisotropic neighborhoods that contract when meaning is refined.

By Andr\'es Daniel Godoy Ortiz
arXiv Computation and Language
Oct 22

Every Part Has Its Role: Part-of-Speech Effects in LLM Post-Training

The study investigates how augmenting training data with conceptually related alternatives—beyond nouns to include verbs and adjectives—affects large language models trained with next-token prediction. Results show that while concept augmentation consistently improves perplexity on news data regardless of part of speech, verbs yield the most reliable downstream performance gains. Representational analyses reveal that the conditions producing the largest downstream improvements do not always correspond to the greatest changes in internal representations.

By Laya Iyer, Chen Shani
arXiv AI
Sep 28

Achieving Tokenizer Flexibility in Language Models through Heuristic Adaptation and Supertoken Learning

The paper introduces TokenAdapt, a model‑agnostic tokenizer transplantation method that uses a hybrid heuristic to initialize new token embeddings, and a novel pre‑tokenization learning approach for multi‑word Supertokens to improve compression. TokenAdapt combines local subword decomposition and global semantic similarity to preserve semantics while reducing retraining needs. Empirical results show that TokenAdapt outperforms existing baselines such as Transtokenizer and ReTok, achieving lower perplexity ratios and significant compression gains.

By Shaurya Sharthak, Vinayak Pahalwan, Adithya Kamath, Adarsh Shirawalmath