When Meaning Stays the Same, but Models Drift: Evaluating Quality of Service under Token-Level Behavioral Instability in LLMs

Xiao Li, Joel Kreuzwieser, Alan Peters
6/11/2025
cs.CL

No official code found. Best implementation: Xiao-Vandy/LLM-Prompt-Variance-Diagnostic-Analysis (1 star, MIT, last commit 2025-06-13).

Abstract

We investigate how large language models respond to prompts that differ only in their token-level realization but preserve the same semantic intent, a phenomenon we call prompt variance. We propose Prompt-Based Semantic Shift (PBSS), a diagnostic framework for measuring behavioral drift in LLMs under semantically equivalent prompt rewordings. Applied to ten constrained tasks, PBSS reveals consistent, model-specific response shifts, suggesting statistical regularities linked to tokenization and decoding. These results highlight an overlooked dimension of model evaluation stability under rephrasing and suggest that tokenization strategies and decoding dynamics may contribute to post-training quality of service instability.

View on arXivView PDF

Code Implementations(1)

MIT

Code for When Meaning Stays the Same, but Models Drift: Evaluating Quality of Service under Token-Level Behavioral Instability in LLMs

10PythonMay 31, 20251 years agoMIT

Cite this paper

@article{li2025when,
  title  = {When Meaning Stays the Same, but Models Drift: Evaluating Quality of Service under Token-Level Behavioral Instability in LLMs},
  author = {Xiao Li and Joel Kreuzwieser and Alan Peters},
  year   = {2025},
  eprint = {2506.10095},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.10095v1}
}

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/2506.10095.svg)](https://codeofpaper.com/paper/2506.10095)

Discussion