Embedding Cosine Measures Text Length Before It Measures Homogenization
Fengming Liu, Mingyu Shu
Abstract
Mean pairwise cosine similarity between transformer embeddings is a standard measure of whether online discourse is converging under generative AI. When the embeddings are mean-pooled outputs of an encoder never trained for sentence similarity, this measure mostly tracks text length. In 6.06 million Reddit comments, an uncentered DeBERTa-v3 measure had suggested that only conservative discourse broke toward homogeneity after late 2022. Truncating the same comments from 10 to 150 words raises their mean cosine by eight times the reported break. A placebo that swaps every comment for a random one of equal length reproduces 81% of the asymmetry, and a fixed-content simulation reproduces 78%. The leading principal direction carries 99.9% of raw DeBERTa homogeneity, and once length is handled the asymmetry disappears under every encoder. On 575,000 Stack Exchange answers the measure reports a post-ChatGPT homogenization of technical sites that the placebo fully reproduces, although answers grew longer. A census of 31 studies locates the risk where anisotropic encoders meet time-series or length-unequal designs. A reverse control on a well-known experiment shows that centering with renormalization can reverse a genuine effect. We propose a low-cost diagnostic protocol. Corrected measures show that the two political camps converged between 2019 and 2022 and stopped converging before ChatGPT. Cross-camp replies engage their targets more closely than same-camp replies.
Create a lesson
Related papers
Know Your Context Bank: Repairing Inconsistency and Measuring Generalization in Context-Aware Text-to-SQL
Shared title terminology · Hailong Li, Mohammadreza Pourreza, Tal Neiman et al.
Visibility Graph Representations of Word Embeddings for Text Classification
Shared title terminology · Elif Dorukbaşı, İlker Türker
How Many Bytes Has a BPE Model Seen? Estimating Byte-Token Exposure in Pretraining from Corpus Statistics and Embedding Norms
Shared title terminology · Liwei Zhang, ZhiMing Tong, Mochen Guan et al.
Explicit Style Extraction for Personalized Long-Form Text Generation
Shared title terminology · Jenitha Reddy Patel, Sameeksha Kini, Amulya Rayasam et al.
Do Senior Agents Do Their Job? Measuring Role Integrity in How LLM Agents Use Subordinate Material
Shared title terminology · Jinxiang Xie, Xinyi Zhang, Changjiang Jiang et al.
Twice-Told Critiques: Claim-Level Homogenization of Peer Review in the LLM Era
Shared title terminology · Ilya Gusev