arXiv Science⌕ Search

arXiv · 2610.37086

Is Your LLM Relay Serving What It Claims? A low-cost and high-power test for LLM Relay Auditing

Abstract

Relay and reseller APIs have become a common way to access large language models (LLMs), yet users cannot directly verify whether they receive the models they request and pay for. This opacity motivates LLM relay auditing, but existing methods struggle to combine low cost, robustness to benign deployment changes, and statistically interpretable decisions under black-box access. To address these limitations, we propose distributional fingerprint auditing (DFA), a statistical method that requires only textual responses from suspect and trusted reference endpoints. DFA repeatedly queries semantically simple finite-choice probes and uses the resulting categorical response distributions to construct endpoint fingerprints. It compares the suspect and reference fingerprints probe by probe and aggregates the resulting evidence using the Cauchy combination test, yielding an approximate endpoint-level $p$-value for audit decisions at a prespecified nominal significance level. Using registered fingerprints of candidate models, a likelihood-based formulation further supports model attribution under full substitution and joint estimation of substitute identity and substitution ratio under constant-ratio mixed routing. Our benchmark includes 16 proprietary and open-weight LLMs from 10 model families. Across 240 ordered full-substitution pairs, DFA achieves high detection rates at a nominal significance level of $α=0.05$, using five probes and 250 relay requests per audit with stored reference fingerprints. Configuration overrides can lead to rejection even when the served model remains unchanged, with effects varying across models and configurations. Simulations based on stored empirical fingerprints demonstrate accurate model attribution and estimate substitution ratios, with estimation error decreasing as the audit budget increases.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Fangran Miao, Shengjie Niu, Jian Huang, Ting Li. 2026-10-27. Is Your LLM Relay Serving What It Claims? A low-cost and high-power test for LLM Relay Auditing. https://arxiv.org/abs/2610.37086

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

Bayesian local clustering of age-period mortality surfaces across multiple countries

Although traditional literature on mortality modeling has focused on single countries in isolation, recent contributions have progressively moved toward joint statistical models for multiple countries. Besides favoring borrowing of information to improve age-period forecasts, this perspective has also potential to infer local similarities among countries' mortality patterns within specific age classes and periods that could unveil unexplored demographic trends, while guiding the design of targeted policies. Advancements along this direction are currently undermined by the lack of a multi-country model capable of incorporating the core structures of age-period mortality surfaces together with clustering patterns among countries that are not global, but rather vary locally across the different combinations of age classes and periods. We cover this gap by developing a novel Bayesian model for log-mortality rates that characterizes the age structure of mortality through a B-spline expansion whose country-specific dynamic coefficients encode both changes of this age structure across periods and also local clustering patterns among countries under a time-dependent random partition prior for these country-specific dynamic coefficients. While flexible, this formulation facilitates tractable posterior inference leveraging a suitably designed Gibbs sampler. The application to mortality data from 14 countries unveils local similarities which highlight both previously recognized demographic phenomena and also yet unexplored patterns.

stat.AP↗

One-sample survival tests in the presence of non-proportional hazards in oncology clinical trials

In oncology, conducting well-powered time-to-event randomised clinical trials can be challenging due to the limited number of patients. Several single-arm trial (SAT) designs have recently been proposed to overcome this issue. They rely on the (modified) one-sample log-rank test (OSLRT) under the proportional hazards assumption to compare the survival of an experimental group with that of an external control. We extend Finkelstein's formulation of the OSLRT as a score test by incorporating a piecewise exponential model to capture early, middle, and delayed treatment effects and an accelerated hazards model to accommodate crossing hazards. We further adapt the restricted mean survival time based test and propose a combination test procedure (max-Combo) for SATs. The performance of the developed tests is evaluated through a simulation study. The score tests control the type I error similarly to the OSLRT and achieve the highest power when the data-generating mechanism matches the assumed model. The max-Combo test is more powerful than the OSLRT across all considered scenarios and provides a robust alternative. Uncertainty in the estimation of the survival curve for the external control group, as well as model misspecification, may have a significant impact on performance. The proposed tests are further illustrated using three real data examples.

stat.AP↗

Analysis of Uncertain GARCH Model with the application of crude oil future prices

Time series data often exhibit variation, clustering, and persistence in uncertain environments. Based on an uncertain measure, existing studies have primarily focused on conditional mean structures while ignoring variance and persistent dynamics. To address this gap, this paper develops an uncertain generalized autoregressive conditional heteroskedasticity (UGARCH) model that incorporates lagged conditional variance terms. We first prove sufficient conditions to ensure mean stationarity of the variance process. Then, we propose recursive constrained least squares to estimate the model parameters and use cross validation to determine the orders of the mean and variance equations. In addition, we also employ uncertain hypothesis tests to determine whether a time series exhibits a UGARCH effect and to assess the goodness of fit. Point and interval forecasts are subsequently constructed from the recursively obtained next-period conditional variance and the expected value of the mean equation. Numerical simulations demonstrate the parameter estimation performance of the proposed method and show that UGARCH achieves smaller conditional-variance fitting errors than UARCH under the considered settings. In the empirical analysis, we apply the proposed method to West Texas Intermediate crude oil futures closing prices, which exhibit time-varying volatility and support short-term point and interval forecasts. Keywords: Uncertain measure, Uncertain time-series analysis, UGARCH model, hypothesis test

stat.AP↗