Confidential Inference
Decision framing
| Field | Scope |
|---|---|
| Protected asset | Inference inputs and model data inside the selected TEE. |
| Adversary | Infrastructure operators and other tenants outside the trusted runtime. |
| Allowed output | Predictions delivered to authorized clients; state whether the model service may also see them. See allowed output. |
| Leakage surface | Plaintext in the runtime, outputs, logs, request metadata, and hardware side channels. See leakage. |
| Assumptions | Clients verify attestation and bind the secure channel to approved code; hardware and runtime controls are trusted. |
| Non-goals | Hiding data from approved runtime code, eliminating all side channels, or preventing inference from predictions. |
Evidence and assumptions
Evidence level: Expert judgment. Source quality: Unsourced / illustrative. The framing and recommendations are editorial design guidance, not a deployment security claim. Page-specific assumptions remain below. Sources attached to individual claims support only those claims. Cost, utility, performance, and mitigation effectiveness remain Needs evidence for your workload until measured. Use the Evidence Policy and benchmark scorecards to review a candidate.
Problem
Sensitive inference needs general-purpose model execution with protection from infrastructure operators or other tenants.
When To Use
Use TEEs when performance and model flexibility matter and hardware trust is acceptable.
When Not To Use
Avoid this pattern when clients cannot verify the approved runtime before releasing inputs, or when the deployment cannot meet the hardware's threat assumptions. For example, if a party outside your trust boundary can physically access the host, require a defensible physical security boundary or evaluate client-side execution, encrypted inference, or MPC. See the tested platform examples under Side Channels.
Typical Architecture
Model code runs inside a TEE. Clients verify attestation, establish secure channels, send inputs, and receive outputs.
Threat Model
Infrastructure operators are not fully trusted. Hardware vendors and enclave implementation become part of the trust base.
Privacy Properties
Inputs and model data are protected in use, subject to hardware assumptions, enclave design, and side-channel controls.
Does not protect
- Sensitive information intentionally revealed by predictions.
- Compromised clients or approved runtime code that exports plaintext.
- Side channels outside the selected hardware threat model.
Tools And Building Blocks
TEEs, remote attestation, confidential containers, key release services, access controls, and audit logging.
Failure modes
Attestation confusion, enclave misconfiguration, side channels, logging plaintext, and weak output controls.
Open Research Problems
Attestation usability, multi-cloud portability, side-channel resilience, and composable guarantees with DP.