mlsanityData to 14 Oct 2026

Testing for LLM response differences: the case of a composite null consisting of semantically irrelevant query perturbations

arXiv 2509.10963 ↗First posted 13 Sep 2025math.ST cs.AI stat.MEcited by 1

Not on the map. Why?

Abstract (arXiv)

Given an input query, generative models such as large language models produce a random response drawn from a response distribution. Given two input queries, it is natural to ask if their response distributions are the same. While traditional statistical hypothesis testing is designed to address this question, the response distribution induced by an input query is often sensitive to semantically irrelevant perturbations to the query, so much so that a traditional test of equality might indicate that two semantically equivalent queries induce statistically different response distributions. As a result, the outcome of the statistical test may not align with the user's requirements. In this paper, we address this misalignment by incorporating into the testing procedure consideration of a collection of semantically similar queries. In our setting, the mapping from the collection of user-defined semantically similar queries to the corresponding collection of response distributions is not known a priori and must be estimated, with a fixed budget. Although the problem we address is quite general, we focus our analysis on the setting where the responses are binary, show that the proposed test is asymptotically valid and consistent, and discuss important practical considerations with respect to power and computation.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 14 of its 28 references that are in the map. First posted on arXiv 13 Sep 2025.

Builds on

14 of 28 references.

References · 14

  1. 2023GPT-4 Technical Reportcited by 18,396
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2023Detecting Pretraining Data from Large Language Modelscited by 387
  4. 2023Can Generalist Foundation Models Outcompete Special-Purpose Tuning? Case Study in Medicinecited by 329
  5. 2024Aya Model: An Instruction Finetuned Open-Access Multilingual Language Modelcited by 295
  6. 2024Adding Error Bars to Evals: A Statistical Approach to Language Model Evaluationscited by 148
  7. 2023From CLIP to DINO: Visual Encoders Shout in Multi-modal Large Language Modelscited by 98
  8. 2024Premise Order Matters in Reasoning with Large Language Modelscited by 72
  9. 2023A Short Survey of Viewing Large Language Models in Legal Aspectcited by 52
  10. 2024MedFuzz: Exploring the Robustness of Large Language Models in Medical Question Answeringcited by 26
  11. 2024Language Models are Surprisingly Fragile to Drug Names in Biomedical Benchmarkscited by 17
  12. 2024Statistical inference on black-box generative models in the data kernel perspective spacecited by 9
2 more
  1. 2025PCS-UQ: Uncertainty Quantification via the Predictability-Computability-Stability Frameworkcited by 9
  2. 2023A Statistical Turing Test for Generative Modelscited by 8

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.