To Burst or Not to Burst: Generating and Quantifying Improbable Text

Kuleen Sasse, Samuel Barham, Efsun Sarioglu Kayi, Edward W. Staley
1/27/2024
cs.CL

No official code found. Best implementation: jhuapl-fomo/burst-sampling (3 stars, MIT, last commit 2025-03-07).

Abstract

While large language models (LLMs) are extremely capable at text generation, their outputs are still distinguishable from human-authored text. We explore this separation across many metrics over text, many sampling techniques, many types of text data, and across two popular LLMs, LLaMA and Vicuna. Along the way, we introduce a new metric, recoverability, to highlight differences between human and machine text; and we propose a new sampling technique, burst sampling, designed to close this gap. We find that LLaMA and Vicuna have distinct distributions under many of the metrics, and that this influences our results: Recoverability separates real from fake text better than any other metric when using LLaMA. When using Vicuna, burst sampling produces text which is distributionally closer to real text compared to other sampling techniques.

View on arXivView PDF

Code Implementations(1)

MIT

Code related to the paper https://arxiv.org/html/2401.15476v1.

31Python, Jupyter NotebookMar 7, 20251 years agoMIT

Similar Papers

Cite this paper

@article{sasse2024burst,
  title  = {To Burst or Not to Burst: Generating and Quantifying Improbable Text},
  author = {Kuleen Sasse and Samuel Barham and Efsun Sarioglu Kayi and Edward W. Staley},
  year   = {2024},
  eprint = {2401.15476},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.15476v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.15476.svg)](https://codeofpaper.com/paper/2401.15476)

Discussion