Statistical Hypothesis Testing for Auditing Robustness in Language Models

Paulius Rauba, Qiyao Wei, Mihaela van der Schaar · 2025

Read Statistical Hypothesis Testing for Auditing Robustness in Language Models by Paulius Rauba, Qiyao Wei, Mihaela van der Schaar (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2506-07947.txt.

Description

Paulius Rauba, Qiyao Wei, and Mihaela van der Schaar wrote a 2025 paper on how to test whether a language model's answers truly change after some intervention. A change might be a tweak to the input or a switch of model version. Single answers cannot settle the question, since the model answers with some randomness each time.

Their framework treats the task as a classic hypothesis test. Repeated sampling builds two clouds of answers, mapped into a small space based on meaning similarity. From those clouds, the method yields clear p-values and effect sizes, with error control when many changes are tested at once. It works on any black-box model. Case studies show it can measure real changes and false alarm rates. The work gives auditors a firm tool for robustness checks.

Catalog record

CREATORPaulius Rauba, Qiyao Wei, Mihaela van der Schaar
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE64 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2506-07947

Browse the full library · About the Tower of Babel