Statistical Depth for Ranking and Characterizing Transformer-Based Text Embeddings
Not on the map. Why?
Abstract (arXiv)
The popularity of transformer-based text embeddings calls for better statistical tools for measuring distributions of such embeddings. One such tool would be a method for ranking texts within a corpus by centrality, i.e. assigning each text a number signifying how representative that text is of the corpus as a whole. However, an intrinsic center-outward ordering of high-dimensional text representations is not trivial. A statistical depth is a function for ranking k-dimensional objects by measuring centrality with respect to some observed k-dimensional distribution. We adopt a statistical depth to measure distributions of transformer-based text embeddings, transformer-based text embedding (TTE) depth, and introduce the practical use of this depth for both modeling and distributional inference in NLP pipelines. We first define TTE depth and an associated rank sum test for determining whether two corpora differ significantly in embedding space. We then use TTE depth for the task of in-context learning prompt selection, showing that this approach reliably improves performance over statistical baseline approaches across six text classification tasks. Finally, we use TTE depth and the associated rank sum test to characterize the distributions of synthesized and human-generated corpora, showing that five recent synthetic data augmentation processes cause a measurable distributional shift away from associated human-generated text.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 23 of its 39 references that are in the map. First posted on arXiv 23 Oct 2023.
Builds on
23 of 39 references.
References · 23
- 2017Attention Is All You Needcited by 60,361
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2019The Curious Case of Neural Text Degenerationcited by 2,916
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,173
- 2015A large annotated corpus for learning natural language inferencecited by 1,847
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
- 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 1,001
- 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 981
11 more
- 2018Neural Network Acceptability Judgmentscited by 958
- 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 470
- 2019Multi-News: a Large-Scale Multi-Document Summarization Dataset and Abstractive Hierarchical Modelcited by 431
- 2019SemEval-2019 Task 6: Identifying and Categorizing Offensive Language in Social Media (OffensEval)cited by 207
- 2020Syntactic Data Augmentation Increases Robustness to Inference Heuristicscited by 86
- 2021SpartQA: : A Textual Question Answering Benchmark for Spatial Reasoningcited by 77
- 2021Generate, Annotate, and Learn: NLP with Synthetic Textcited by 42
- 2022Generate, Discriminate and Contrast: A Semi-Supervised Sentence Representation Learning Frameworkcited by 19
- 2023TextDescriptives: A Python package for calculating a large variety of metrics from textcited by 13
- 2023Using Semantic Information for Defining and Detecting OOD Inputscited by 6
- 2021Tukey's Depth for Object Datacited by 4
Built on by
Citing papers per year: 2024: 3; 2025: 0; 2026: 2.
5 papers.
- 2024In-Context Learning for Preserving Patient Privacy: A Framework for Synthesizing Realistic Patient Portal Messagescited by 2
- 2026Measuring Distribution Shift in User Prompts and Its Effects on LLM Performancecited by 1
- 2024Large Language Models for Document-Level Event-Argument Data Augmentation for Challenging Role Typescited by 0
- 2024Depth F1: Improving Evaluation of Cross-Domain Text Classification by Measuring Semantic Generalizabilitycited by 0
- 2026The Conundrum of Trustworthy Research on Attacking Personally Identifiable Information Removal Techniquescited by 0
- 2026Measuring Distribution Shift in User Prompts and Its Effects on LLM Performance19 Apr 2026
- 2026The Conundrum of Trustworthy Research on Attacking Personally Identifiable Information Removal Techniques9 Mar 2026
- 2024In-Context Learning for Preserving Patient Privacy: A Framework for Synthesizing Realistic Patient Portal Messages10 Nov 2024
- 2024Depth F1: Improving Evaluation of Cross-Domain Text Classification by Measuring Semantic Generalizability20 Jun 2024
- 2024Large Language Models for Document-Level Event-Argument Data Augmentation for Challenging Role Types5 Mar 2024