paper-with-me

홈 › Papers

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

2025-09-13 · Aranyak Acharyya, Carey E. Priebe, Hayden S. Helm 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.

📄 PDF Abstract BibTeX arXiv:2509.10963

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Variable Selection with the Knockoffs: Composite Null Hypotheses

2022-03-06 · Mehrdad Pournaderi, Yu Xiang

The fixed-X knockoff filter is a flexible framework for variable selection with false discovery rate (FDR) control in linear models with arbitrary design matrices (of full column rank) and it allows for finite-sample sel…

Variable Selection

Hypothesis Testing For Densities and High-Dimensional Multinomials: Sharp Local Minimax Rates

2017-06-30 · Sivaraman Balakrishnan, Larry Wasserman

We consider the goodness-of-fit testing problem of distinguishing whether the data are drawn from a specified distribution, versus a composite alternative separated from the null in the total variation metric. In the dis…

Two-sample testing

Practically significant differences between conditional distribution functions

2025-06-06 · Holger Dette, Kathrin Möllenhoff, Dominik Wied

In the framework of semiparametric distribution regression, we consider the problem of comparing the conditional distribution functions corresponding to two samples. In contrast to testing for exact equality, we are inte…

Bootstrapped Edge Count Tests for Nonparametric Two-Sample Inference Under Heterogeneity

2023-04-26 · Trambak Banerjee, Bhaswar B. Bhattacharya, Gourab Mukherjee

Nonparametric two-sample testing is a classical problem in inferential statistics. While modern two-sample tests, such as the edge count test and its variants, can handle multivariate and non-Euclidean data, contemporary…

Two-sample testingVocal Bursts Valence Prediction

A unified framework for bandit multiple testing

2021-07-15 · NeurIPS 2021 12 · Ziyu Xu, Ruodu Wang, Aaditya Ramdas

In bandit multiple hypothesis testing, each arm corresponds to a different null hypothesis that we wish to test, and the goal is to design adaptive algorithms that correctly identify large set of interesting arms (true d…

valid