Ultralytics YOLO27: Join the waitlist.
License YOLO
Back to Ultralytics Glossary

Confidential AI

Confidential AI runs training and inference inside attested hardware enclaves, keeping data and model weights encrypted even while in use.

Confidential AI is the practice of running machine learning training and inference inside hardware-based trusted execution environments (TEEs), so that data, prompts, and model weights stay protected even from the cloud provider, system administrators, and the host operating system. Encryption has long protected data at rest on disk and in transit across networks. Confidential AI closes the remaining gap, data in use, which conventional systems decrypt into CPU and GPU memory while a model processes it. It applies confidential computing, a field the Linux Foundation's Confidential Computing Consortium has promoted since 2019, to AI workloads.

How Confidential AI Works#

Three hardware mechanisms make the guarantee possible:

  • Isolated execution: CPU technologies such as Intel TDX and AMD SEV-SNP run an entire virtual machine in memory encrypted with keys the hypervisor never sees, while Intel SGX isolates smaller enclaves inside a single application. NVIDIA added a confidential computing mode to its data center GPUs starting with the Hopper generation, which encrypts data moving between CPU and GPU and blocks the host from reading GPU memory.
  • Remote attestation: Before receiving any secret, the TEE produces a signed report, rooted in keys fused into the chip, that lists the exact hardware, firmware, and software it is running. A data owner or key management service compares that report against expected values.
  • Attested key release: Decryption keys for datasets or model weights go only to environments whose attestation passes, so protected assets are readable only inside the verified workload.

The performance cost is concentrated in data movement. Encrypting memory and CPU-to-GPU transfers adds overhead, while computation inside the GPU runs at full speed, so compute-heavy jobs such as large language model inference see only modest increases in inference latency.

What It Protects Against#

The threat model is a compromised or curious infrastructure layer: a malicious insider at the cloud computing provider, a hacked hypervisor, or another tenant on the same physical server. The protection runs in both directions. Data owners can send sensitive records to a model they do not control, and model owners can deploy proprietary weights to a partner's data center or an edge site without exposing them there. Because attestation lets a customer verify who can read its data, confidential computing is also a building block for sovereign AI offerings that run on foreign-owned hardware.

Confidential AI secures the execution environment, and it pairs with controls that cover the rest of the pipeline. Model outputs can still reveal training data through membership inference attacks, which training with differential privacy limits, and the application code inside the enclave still needs standard data security practices such as access control and patching.

  • Federated learning keeps raw data on each participant's device or server and shares only model updates. Running the aggregation server in a TEE adds protection for those updates.
  • Homomorphic encryption computes directly on encrypted data with no trusted hardware at all, but it remains orders of magnitude slower than TEEs for deep learning, so it is reserved for small models and simple operations.
  • Edge AI avoids the question by processing data on the device that captured it, which works whenever the model is small enough to run there.

Where Confidential AI Is Used#

Private cloud assistants are the most visible deployments. Apple's Private Cloud Compute, introduced in 2024, handles Apple Intelligence requests too large for the device on Apple silicon servers that retain no user data after a request, give staff no privileged access, and publish their software images so independent researchers can verify what runs. Google's Private AI Compute, announced in November 2025, applies the same design to Gemini models on its own TPUs, with devices checking attestation before sending data.

Healthcare collaboration is another. Hospitals that cannot share patient records can let an outside developer validate or train a model for medical image analysis on their data inside a TEE. The hospital never sees the model weights, and the developer never sees the patients' scans, a pattern cloud providers support with services for confidential AI on Azure and elsewhere.

Vision systems also process personal data: cameras in stores, clinics, and workplaces capture faces and other information covered by data privacy law. Because confidential virtual machines run unmodified applications, an Ultralytics YOLO26 model exported to ONNX or TensorRT deploys inside one the same way it would on any GPU server, keeping each frame encrypted from the cloud operator while it is analyzed.

Explore solutions

Computer vision in sports

Computer vision in sports

Discover how Ultralytics YOLO powers sports vision with player and ball tracking, performance analytics, coaching insights, and athlete rehabilitation.
Learn more
Computer vision for aerial imagery

Computer vision for aerial imagery

Turn drone and aerial imagery into real-time insights for agriculture, aquaculture, conservation, and geospatial analysis with Ultralytics YOLO.
Learn more
Computer vision in aerospace

Computer vision in aerospace

Apply computer vision in aerospace with Ultralytics YOLO for aircraft inspection, runway FOD detection, airport ground operations, and composite defect detection.
Learn more
Computer vision in security

Computer vision in security

Protect every site with Ultralytics YOLO models. Vision AI powers perimeter monitoring, threat detection, license-plate recognition, and workplace safety.
Learn more
Computer vision in robotics

Computer vision in robotics

Power smarter machines with Ultralytics YOLO models. Vision AI in robotics drives autonomous navigation, perception, object tracking, and real-time control.
Learn more
Computer vision in logistics

Computer vision in logistics

Streamline logistics with Ultralytics YOLO models. Vision AI enables package inspection, sorting, vehicle tracking, and real-time warehouse safety monitoring.
Learn more
Computer vision in retail

Computer vision in retail

Reimagine retail with Ultralytics YOLO models. Vision AI powers inventory tracking, shelf monitoring, queue management, and smarter customer insights.
Learn more
Computer vision in healthcare

Computer vision in healthcare

Build healthcare solutions with Ultralytics YOLO models. Vision AI in healthcare powers faster medical imaging, smarter diagnostics, and patient monitoring.
Learn more
Computer vision in manufacturing

Computer vision in manufacturing

Optimize manufacturing with Ultralytics YOLO models. Vision AI drives quality control, defect detection, PPE compliance, and assembly line automation.
Learn more
Computer vision in automotive

Computer vision in automotive

Apply computer vision in automotive with Ultralytics YOLO models. Vision AI elevates road safety, driver assistance, and vehicle automation for smarter roads.
Learn more
Computer vision in agriculture

Computer vision in agriculture

Bring vision AI to smart agriculture with Ultralytics YOLO models. Power crop monitoring, livestock tracking, and precision farming for higher, smarter yields.
Learn more

Let's build the future of AI together!

Begin your journey with the future of machine learning