From Models to Services: Systematizing Security Assurance for Model-as-a-Service

arXiv:2611.34623 · cs.CR, cs.AI · Submitted 2026-11-25 · Read on arXiv

Listen

Radio episode about this paper

Transcript

Introduction to the show: ident: Security Radio. Generated commentary on the latest security and cryptography papers.

Nadia: We're looking at the paper: "From Models to Services".

Title and authors: Nadia: So we're looking at this paper from arXiv titled "From Models to Services: Systematizing Security Assurance for Model-as-a-Service." It’s about how large language models are being delivered as cloud services, and the security research out there is all over the place with different threat models.

Elias: That’s right, and this paper tries to bring it together by looking at it from a service perspective. It basically says we need a unified way to study model security across these different fields.

Nadia: They take this complex area and break down the Model-as-a-Service, or MaaS, into five layers and five trust boundaries to structure the research around.

Elias: That’s the core of it; they decompose MaaS into Model supply, Inference runtime, Interface, Context assembly, and Output >

The paper's summary: Nadia: So what they actually do is define six adversary classes and six security goals to organize everything. They even point out that two of those goals have no direct match in the usual model-centric ways we look at things.

Elias: Exactly, they say service integrity and availability and cost are not standard concerns in model taxonomies, but they come straight from that commercial relationship between the customer and the provider >

Nadia: They then code one hundred twenty primary studies to see where the research effort is actually concentrated. And it turns out a lot of that work focuses on behavioral integrity against query-only users >

Elias: That’s interesting because when you look at all that coding, service integrity, availability and cost together only account for about thirteen point three percent of the research effort, while behavioral integrity takes up forty-four point two percent >

The paper's improvements: Nadia: Now they look at fifty different defenses through a unified set of criteria to see what actually works in practice. And they find that none of the cryptographic or hardware mechanisms that protect against the provider can be adopted by customers on their own >

Elias: They propose a research agenda by comparing what’s already out there with current standards and regulations, which helps point toward where we need to focus next >

Nadia: They also highlight some open problems that need addressing in future research, like the issue of isolation inside the inference runtime because things like prefix sharing and batching create channels between tenants >

Conclusion: Elias: So looking at everything, they emphasize that for system design, deployability is a huge factor. They say that whatever defenses customers can actually deploy, like sanitization or architectural isolation, all have to operate on top of an unmodified interface >

Nadia: And the biggest gap they point out from the customer’s side is goal four because what they call G4 is missing from the customer's perspective >

Elias: They also mention that while supply-chain categories cover malicious artifacts, there isn't a requirement for customers to be able to verify which model processed a request or how many tokens were billed >

Nadia: So, looking at the whole picture of "From Models to Services: Systematizing Security Assurance for Model-as-a-Service," it really shows that security research needs to move beyond just looking at the model itself and focus on the entire service pipeline.

Priya: I think it’s important that we pay close attention to how these layers interact because G4 is where the real customer risk lies >

Elias: True, and before we move on, I want to mention that this paper's framework helps us understand why some existing defenses aren't enough for the commercial reality of MaaS.

Jianming Zhou, Yang Luo, Guangpu Chen, Zhaoyu Chen, Yifeng Gao, Qingni Shen, Zhonghai Wu

School of Software and Microelectronics, Peking University · National Engineering Research Center for Software Engineering, Peking University

cs.CR, cs.AI

Submitted: 2026-11-25

Updated: 2026-11-25

License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/

Importance score: 87/100

The gist: Large language models are mainly delivered as cloud services in which the assets of different principals are coupled within a single service pipeline…

Key concepts

Model-as-a-Service (MaaS) Architecture
This framework breaks down an LLM offering into five distinct layers: Model supply, Inference runtime, Interface, Context assembly, and Output. Each layer has specific security considerations that must be managed to secure the entire service pipeline.
Adversary Classes
The research defines six types of attackers based on where they operate in the MaaS pipeline. These include users querying the model (AQ), those customizing it (AF), content injectors (AC), side-channel observers (AT), providers/intermediaries (AP), and supply-chain attackers (AS).
Security Goals
The paper identifies six security goals, such as service integrity and availability, which are crucial for the service. Notably, two goals—service integrity and cost—lack corresponding concepts in other model-centric security research.
Customer Deployability
This concept assesses whether a defense mechanism can be implemented by the end customer without needing access to or control over the underlying provider's infrastructure. The study found that most strong protections cannot be deployed unilaterally by customers.

Terminology

Summary

Large language models are mainly delivered as cloud services in which the assets of different principals are coupled within a single service pipeline, while the related security research is scattered across several fields with differing threat models. p. 0<ref:2611.34623#pg1, Large language models are mainly delivered as cloud services in which the assets of different principals are coupled within a single service pipeline, while the related security research is scattered across several fields with differing threat models #pg1>. p. 0 This paper systematizes this research from a service perspective. p. 0<ref:2611.34623#pg1, This paper systematizes this research from a service perspective>. p. 0

Systematization of the Model-as-a-Service Architecture

The authors decompose Model-as-a-Service (MaaS) into a five-layer stack and five trust boundaries.<ref:2611.34623#pg2>. These layers are Model supply, Inference runtime, Interface, Context assembly, and Output. p. 1<ref:2611.34623#pg2, L1 Model supply and customization. p. 1 This layer comprises pretraining corpora, base models, alignment through supervised fine-tuning and reinforcement learning from human feedback [36, 37] > L1 Model supply and customization. p. 1 The authors define six adversary classes and six security goals. p. 0<ref:2611.34623#pg2, we define six adversary classes and six security goals>. p. 0

Defining Adversaries and Security Goals

Six adversary classes are defined by the boundaries they cross, including AQ Query-only user, AF Customization user, AC Content injector, AT Side-channel observer, AP Provider or intermediary, and AS Supply-chain attacker.<ref:2611.34623#pg5>. Six security goals are defined as G1 through G6. p. 0<ref:2611.34623#pg5>. Two of these goals, service integrity and availability and cost, have no counterpart in model-centric taxonomies. p. 1<ref:2611.34623#pg5>.

Characterization of Research Effort

The authors code 120 primary studies to quantify the research landscape.<ref:2611.34623#pg3>. The results show that 44. p. 02% of the studies concentrate on behavioral integrity, while service integrity, availability and cost, and accountability together account for only 13. p. 03%.<ref:2611.34623#pg8>.

Assurance Mechanisms and Gaps

The paper evaluates 50 defenses under a unified set of criteria.<ref:2611.34623#pg8>. The results show that none of the cryptographic or hardware mechanisms that protect against the provider can be adopted unilaterally by customers. p. 0<ref:2611.34623#pg8>. The authors propose a research agenda by comparison with current standards and regulations. p. 0<ref:2611.34623#pg8>.

Key Findings on Research Concentration

The field is young: 108 studies (90.0%) were published in 2023 or later, and 89 (74. p. 22%) in 2024 or later. p. 6<ref:2611.34623#pg8>. Research concentrates on behavioral integrity against query-only users. p. 1<ref:2611.34623#pg8>. Service integrity, availability and cost, and accountability together appear in only 16 studies (13. p. 03%).<ref:2611.34623#pg8>.

Open Problems for Future Research

The paper identifies several open problems for future research. p. 1<ref:2611.34623#pg14>. The paper identifies several open problems for future research.<ref:2611.34623#pg14>. P2: Isolation inside the inference runtime. p. 8 Prefix sharing, batching, and speculative decoding create cross-tenant channels. p. 3<ref:2611.34623#pg14>. P7: Accountability that serves both customers and regulators. p. 0 Existing provenance mechanisms serve the provider. p. 0<ref:2611.34623#pg14, P7: Accountability that serves both customers and regulators. p. 0 Existing provenance mechanisms serve the provider>. p. 0

Lessons for System Design

The authors summarize several lessons for system design. p. 1<ref:2611.34623#pg15>. The authors summarize several lessons for system design.<ref:2611.34623#pg15>. L4: Deployability determines impact. p. 1 The defenses that customers can deploy (sanitization, guard models, architectural isolation, statistical auditing) all operate on top of an unmodified API. p. 7<ref:2611.34623#pg15>.

Conclusion on Coverage

The common gap is G4 from the customer’s perspective.<ref:2611.34623#pg13, The common gap is G4 from the customer’s perspective>. p. 1 Supply-chain categories cover malicious artifacts, but no framework requires that customers be able to verify which model processed a request or how many tokens were billed. p. 6<ref:2611.34623#pg13, Supply-chain categories cover malicious artifacts, but no framework requires that customers be able to verify which model processed a request or how many tokens were billed>. p. 6 The results show that none of the mechanisms with the strongest guarantees can be deployed unilaterally by customers. p. 0<ref:2611.34623#pg15>.

Comparison with Existing Work

The paper compares its findings with existing surveys and SoKs.<ref:2611.34623#pg7>. This paper takes the service as the object of modeling, treats the provider and co-located tenants as adversaries, introduces service integrity and cost as goals, evaluates defenses from the perspective of client deployability, and analyzes the literature quantitatively through coding. p. 1<ref:2611.34623#pg7>. The authors take this approach to systematize MaaS security. p. 0<ref:2611.34623#pg7>.

Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.

Improvements for AI systems

  1. Service integrity improvement can be achieved by implementing defenses that address service integrity, such as those that ensure what the customer receives does not match the promise of Eq. 1. This means a system can verify that the served model and the billed usage match what was contracted, preventing dishonest providers from substituting cheaper or quantized models.

  2. Confidentiality for user data can be enhanced by deploying defenses that protect against user and data confidentiality, such as DP-ICL and PromptPATE. These mechanisms allow the AI system to aggregate answers over disjoint sets of private examples so that the released output or prompt is differentially private with respect to those examples.

  3. Behavioral integrity can be strengthened by using model hardening techniques like Instruction hierarchy and Jatmo. These methods aim to make the model follow the provider's policy and instruction hierarchy, which helps prevent jailbreaks by ensuring injected instructions have no instruction-following behavior to exploit.

  4. Accountability and provenance can be improved by implementing statistical watermarks or distortion-free watermarks. These mechanisms help providers and regulators attribute outputs, helping to protect G1 (Model and application confidentiality) while providing a mechanism for auditing behavior.

  5. Architectural isolation can be enhanced by deploying defenses like IsolateGPT or Progent. These systems run each third-party app in an isolated execution context or enforce fine-grained permission policies on tool calls, preventing injected content from altering the control flow.

Sources

Related papers