DMAP: A Distribution Map for Text
- URL: http://arxiv.org/abs/2602.11871v1
- Date: Thu, 12 Feb 2026 12:21:24 GMT
- Title: DMAP: A Distribution Map for Text
- Abstract summary: We present DMAP, a method that maps a text, via a language model, to a set of samples in the unit interval that jointly encode rank and probability information.<n>This representation enables efficient, model-agnostic analysis and supports a range of applications.
- Score: 5.2660301576695545
- License: http://creativecommons.org/licenses/by-nc-nd/4.0/
- Abstract: Large Language Models (LLMs) are a powerful tool for statistical text analysis, with derived sequences of next-token probability distributions offering a wealth of information. Extracting this signal typically relies on metrics such as perplexity, which do not adequately account for context; how one should interpret a given next-token probability is dependent on the number of reasonable choices encoded by the shape of the conditional distribution. In this work, we present DMAP, a mathematically grounded method that maps a text, via a language model, to a set of samples in the unit interval that jointly encode rank and probability information. This representation enables efficient, model-agnostic analysis and supports a range of applications. We illustrate its utility through three case studies: (i) validation of generation parameters to ensure data integrity, (ii) examining the role of probability curvature in machine-generated text detection, and (iii) a forensic analysis revealing statistical fingerprints left in downstream models that have been subject to post-training on synthetic data. Our results demonstrate that DMAP offers a unified statistical view of text that is simple to compute on consumer hardware, widely applicable, and provides a foundation for further research into text analysis with LLMs.
Related papers
- Statistical Inference via Generative Models: Flow Matching and Causal Inference [0.0]
Generative AI has achieved remarkable empirical success, but from the perspective of statistics it often remains opaque.<n>This book reinterprets generative AI in the language of statistics, using flow matching as a central example.
arXiv Detail & Related papers (2026-03-09T22:56:02Z) - AdaDetectGPT: Adaptive Detection of LLM-Generated Text with Statistical Guarantees [12.122798309971316]
We study the problem of determining whether a piece of text has been authored by a human or by a large language model (LLM)<n>Existing state of the art logits-based detectors make use of statistics derived from the log-probability of the observed text evaluated using the distribution function of a given source LLM.<n>We introduce AdaDetectGPT -- a novel classifier that adaptively learns a witness function from training data to enhance the performance of logits-based detectors.
arXiv Detail & Related papers (2025-09-29T10:04:35Z) - RepreGuard: Detecting LLM-Generated Text by Revealing Hidden Representation Patterns [50.401907401444404]
Large language models (LLMs) are crucial for preventing misuse and building trustworthy AI systems.<n>We propose RepreGuard, an efficient statistics-based detection method.<n> Experimental results show that RepreGuard outperforms all baselines with average 94.92% AUROC on both in-distribution (ID) and OOD scenarios.
arXiv Detail & Related papers (2025-08-18T17:59:15Z) - A Two-Sample Test of Text Generation Similarity [11.686503374742495]
This article proposes a novel two-sample text test for comparing similarity between two groups of documents.<n>The proposed test aims to assess text similarity by comparing the entropy of the documents.<n>Various simulation studies and a real data example demonstrated that the proposed two-sample text test maintains the nominal Type one error rate.
arXiv Detail & Related papers (2025-05-08T14:15:53Z) - Pretraining Data Detection for Large Language Models: A Divergence-based Calibration Method [108.56493934296687]
We introduce a divergence-based calibration method, inspired by the divergence-from-randomness concept, to calibrate token probabilities for pretraining data detection.<n>We have developed a Chinese-language benchmark, PatentMIA, to assess the performance of detection approaches for LLMs on Chinese text.
arXiv Detail & Related papers (2024-09-23T07:55:35Z) - Estimation of embedding vectors in high dimensions [9.660058937140734]
We consider a simple probability model for discrete data where there is some "true" but unknown embedding.<n>Under this model, it is shown that the embeddings can be learned by a variant of low-rank approximate message passing (AMP) method.<n>Our theoretical findings are validated by simulations on both synthetic data and real text data.
arXiv Detail & Related papers (2023-12-12T23:41:59Z) - LIPEx-Locally Interpretable Probabilistic Explanations-To Look Beyond
The True Class [17.12486200215929]
LIPEx is a perturbation-based multi-class explanation framework.
It provides insight into how every feature deemed to be important affects the prediction probability for each of the possible classes.
arXiv Detail & Related papers (2023-10-07T15:31:38Z) - Prototype-based Aleatoric Uncertainty Quantification for Cross-modal
Retrieval [139.21955930418815]
Cross-modal Retrieval methods build similarity relations between vision and language modalities by jointly learning a common representation space.
However, the predictions are often unreliable due to the Aleatoric uncertainty, which is induced by low-quality data, e.g., corrupt images, fast-paced videos, and non-detailed texts.
We propose a novel Prototype-based Aleatoric Uncertainty Quantification (PAU) framework to provide trustworthy predictions by quantifying the uncertainty arisen from the inherent data ambiguity.
arXiv Detail & Related papers (2023-09-29T09:41:19Z) - Interpretable Medical Diagnostics with Structured Data Extraction by
Large Language Models [59.89454513692417]
Tabular data is often hidden in text, particularly in medical diagnostic reports.
We propose a novel, simple, and effective methodology for extracting structured tabular data from textual medical reports, called TEMED-LLM.
We demonstrate that our approach significantly outperforms state-of-the-art text classification models in medical diagnostics.
arXiv Detail & Related papers (2023-06-08T09:12:28Z) - MAUVE Scores for Generative Models: Theory and Practice [95.86006777961182]
We present MAUVE, a family of comparison measures between pairs of distributions such as those encountered in the generative modeling of text or images.
We find that MAUVE can quantify the gaps between the distributions of human-written text and those of modern neural language models.
We demonstrate in the vision domain that MAUVE can identify known properties of generated images on par with or better than existing metrics.
arXiv Detail & Related papers (2022-12-30T07:37:40Z) - Sampling from Arbitrary Functions via PSD Models [55.41644538483948]
We take a two-step approach by first modeling the probability distribution and then sampling from that model.
We show that these models can approximate a large class of densities concisely using few evaluations, and present a simple algorithm to effectively sample from these models.
arXiv Detail & Related papers (2021-10-20T12:25:22Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.