Original source

Author(s): Zhang, Yuewei, Zhi-Hai, Qin, Hanzhang
Title: Which Model Is Actually Serving You? IRIS: Budgeted Black-Box Auditing of Model Substitution and Routing Dilution in LLM Gateways
Published in: arXiv.org
Date: 2026-07-23
Original: https://arxiv.org/abs/2607.20860

This is a plain-text archive kept so the wiki’s notes can be checked against the source. Images, scripts and embedded media were removed. All rights stay with the original author(s); read and cite the original at the link above.

Notes on this source: Source note Themes: Evals and agent quality, Agent design patterns Why it was archived: How do teams keep an audit trail of which model served each request in a routed deployment, and what does that trail look like?

Archived text

Computer Science > Cryptography and Security

[Submitted on 23 Jul 2026]

Title:Which Model Is Actually Serving You? IRIS: Budgeted Black-Box Auditing of Model Substitution and Routing Dilution in LLM Gateways

View PDF HTML (experimental)

        Abstract:Commercial LLM gateways mediate access to hosted models, but the served backend may not match the advertised one: it may substitute a cheaper model on every request or route only a fraction \$\epsilon\$ of requests to it. Prior black-box auditors often need a privileged signal (log-probabilities, token ranks, or reference samples) or a target-specific probe, fix the query budget in advance, and return a yes/no verdict. We present \$\mathrm{IRIS}\$, an audit that needs only the returned text: it asks endpoints to generate random numbers or strings, fingerprints the backend, and is the first to combine, in one text-only audit, detection of whole-stream substitution and fractional dilution, attribution of the served backend, routing-fraction (\$\epsilon\$) estimation, and a query budget it sizes itself. A cheap pilot fits the exponential query-error decay and freezes that budget before any suspect query is issued. On an intra-family Qwen3 ladder \$\mathrm{IRIS}\$ verifies the backend at \$0.99\$ AUROC and sharpens attribution as queries accumulate; across a commercial OpenRouter library it catches \$\epsilon{=}0.3\$ dilution on margin-qualified pairs at \$0.85\$ mean power (\$0.017\$ false-positive rate) and recovers \$\epsilon\$ to within \$0.04\$ for enrolled diluents; and a live cross-provider audit flags \$14\$ of \$15\$ same-model provider pairs by genuine quantization and kernel deviations, corroborated on third-party MET traces. Against comparable black-box auditors, \$\mathrm{IRIS}\$ matches or beats detection on shared tasks, and adaptive allocation lifts the matched-budget target-hit rate from \$73\$% to \$87\$%. Further experiments cover adversarial gateways, knob identifiability, unseen diluents, and false-positive control.

Additional Features

References & Citations

Loading...

Bibliographic and Citation Tools

        Bibliographic Explorer (What is the Explorer?)
      
        Connected Papers (What is Connected Papers?)
      
        Litmaps (What is Litmaps?)
      
        scite Smart Citations (What are Smart Citations?)
      

Code, Data and Media Associated with this Article

        alphaXiv (What is alphaXiv?)
      
        CatalyzeX Code Finder for Papers (What is CatalyzeX?)
      
        DagsHub (What is DagsHub?)
      
        Gotit.pub (What is GotitPub?)
      
        Hugging Face (What is Huggingface?)
      
        ScienceCast (What is ScienceCast?)
      

Demos

Recommenders and Search Tools

          Influence Flower (What are Influence Flowers?)
        
          CORE Recommender (What is CORE?)
        

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv’s community? Learn more about arXivLabs.