We consider the problem of quantifying how an input perturbation impacts the outputs of large language models (LLMs), a fundamental task for model reliability and post-hoc interpretability. A key obstacle in this domain is disentangling the meaningful changes in model responses from the intrinsic stochasticity of LLM outputs. To overcome this, we introduce Distribution-Based Perturbation Analysis (DBPA), a framework that reformulates LLM perturbation analysis as a frequentist hypothesis testing problem. DBPA constructs empirical null and alternative output distributions within a low-dimensional semantic similarity space via Monte Carlo sampling. Comparisons of Monte Carlo estimates in the reduced dimensionality space enables tractable frequentist inference without relying on restrictive distributional assumptions. The framework is model-agnostic, supports the evaluation of arbitrary input perturbations on any black-box LLM, yields interpretable p-values, supports multiple perturbation testing via controlled error rates, and provides scalar effect sizes for any chosen similarity or distance metric. We demonstrate the effectiveness of DBPA in evaluating perturbation impacts, showing its versatility for perturbation analysis.
Quantifying Error Tolerance in Synthetic Data: An Atomic-level Operand vs. Operator Perturbation Study
CDL, Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所CDL);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Fujian Provincial Cancer Hospital(福建省肿瘤医院);College of Computer and Data Science, Fuzhou University(福州大学计算机与数据科学学院)
Modeling the Attack: Detecting AI-Generated Text by Quantifying Adversarial Perturbations
Computer Science \& Engineering National Institute of Technology Silchar, India lekkalad\ ug\;Computer Science \& Engineering National Institute of Technology Silchar, India annepaka22\;Computer Science \& Engineering National Institute of Technology Silchar, India sangams\ ug\;Computer Science \& Engineering BML Munjal University Haryana, India;Computer Science \& Engineering National Institute of Technology Silchar, India
Quantifying the Noise of Structural Perturbations on Graph Adversarial Attacks
Department of Electrical Engineering, City University of Hong Kong(香港城市大学电气工程系);School of Computer Science and Engineering, Sun Yat-sen University(中山大学计算机科学与工程学院);School of Software Engineering, Sun Yat-sen University(中山大学软件工程学院)
Quantifying Climate Change Impacts on Renewable Energy Generation: A Super-Resolution Recurrent Diffusion Model
College of Information Science & Electronic Engineering, Zhejiang University(浙江大学信息科学与电子工程学院);Department of Engineering, King’s College London(伦敦国王学院工程系)
Quantifying Itch and its Impact on Sleep Using Machine Learning and Radio Signals
Massachusetts Institute of Technology(麻省理工学院);University of Pennsylvania(宾夕法尼亚大学);Emerald Innovations Inc.(翡翠创新公司);Washington University School of Medicine(华盛顿大学医学院);Icahn School of Medicine at Mount Sinai(西奈山伊坎医学院)