Developer Tools

Amazon SageMaker AI + FHE enables encrypted ML inference without decryption

Run ML inference on encrypted data in the cloud, keeping it hidden from the cloud itself.

Deep Dive

Amazon SageMaker AI now integrates with fully homomorphic encryption (FHE) via the concrete-ml library, allowing ML inference to be performed on encrypted data without ever decrypting it. The blog post walks through training a concrete-ml model (compatible with scikit-learn) in a custom SageMaker container, deploying it to an endpoint, and creating a client that encrypts queries before sending them. The model processes the encrypted input and returns an encrypted prediction, which the client decrypts locally. This ensures that the cloud provider—including SageMaker itself—never sees the raw data.

Use cases span regulated industries: healthcare (predicting medical outcomes without exposing patient data), energy (analyzing satellite images of sensitive sites), and telecom (detecting spam without reading customer messages). The approach complements AWS Nitro Enclaves: while Nitro relies on hardware isolation, FHE provides mathematical security where data stays encrypted end-to-end. The solution requires data normalization to a uniform scale (e.g., [-1, 1]) and supports several model types out of the box. This marks a significant step toward practical privacy-preserving machine learning in the cloud.

Key Points
  • Uses concrete-ml, a high-level FHE library API-compatible with scikit-learn, enabling easy model training and deployment.
  • Data remains encrypted throughout the entire inference pipeline—queries, intermediate values, and predictions—even from SageMaker.
  • Targets regulated industries: healthcare (HIPAA), energy (proprietary satellite data), telecom (customer message privacy).

Why It Matters

Cloud ML without data exposure unlocks AI in regulated sectors while maintaining compliance and trust.

📬 Get the top 10 AI stories daily