Machine Learning

Use Zama Concrete ML to leverage the power of Machine Learning while ensuring your users' privacy and data security with Fully Homomorphic Encryption (FHE).

Read Concrete ML documentation
Read Concrete ML documentation
Read Concrete ML documentation
Read Concrete ML documentation
Read Concrete ML documentation
Read Concrete ML documentation
Read Concrete ML documentation

Unlock a Myriad of New Use Cases and Collaboration Opportunities with Encrypted Computation


Improve patient care while maintaining privacy by allowing secure, confidential data sharing between healthcare providers.


Facilitate secure financial data analysis for risk management and fraud detection, keeping client information encrypted and safe.


Create targeted advertising and campaign insights in a post-cookie era, ensuring user privacy through encrypted data analysis.


Enable predictive maintenance in the cloud while keeping sensitive data confidential, enhancing efficiency and data security.


Give the ability to create user authentication applications without having to reveal their identities.


Enable governments to create digitized versions of their services without having to trust cloud providers.

Check out our real life demos (with code examples) on Hugging Face.

Implement Machine Learning Algorithms Operating
on Encrypted Data using FHE

Concrete ML enables the handling of sensitive data in a secure manner, so data scientists can leverage the power of Machine Learning for new use cases where the data needs to be protected.

Private inference

Run secure, privacy-preserving predictions using your ML models over encrypted data.

Private training

Train models over encrypted datasets, owned by parties that don't trust each other.

Secure collaboration

Collaborate on sensitive data with untrusted third parties without compromising privacy inside data clean rooms.

Private LLMs & IP protection

Unleash the power of LLMs like ChatGPT on your data while keeping important information confidential.

Want to learn more? Contact us.

Leverage the Power of FHE Without Having to Learn Cryptography

Ease of use for data-scientists
Use familiar APIs from scikit-learn and PyTorch to automatically convert machine learning models into their FHE equivalent.

Support for various models and customization
Concrete ML comes with built-in models that are ready-to-use and FHE-friendly, mimicking the user interfaces of their scikit-learn and XGBoost counterparts.

# Example for Tree-based Models
from import XGBClassifier

model = XGBClassifier(n_bits=8), y_train)
model.predict(Xtest, fhe="simulate")
model.predict(X_test, fhe="execute")

# Example for Linear Models
from import LogisticRegression

model = LogisticRegression(n_bits=12), y_train)
model.predict(X_test, fhe="simulate")
model.predict(X_test, fhe="execute")

Collaborative Secure Computation

Opening up new avenues for collaborative research and development across various sectors.

Create data clean rooms where you can encrypt and process information from multiple sources, ensuring each participant only sees the final results, not others' sensitive data. Ideal for finance, healthcare, research, and more – where collaboration is key, but data security is crucial.

def f(df_a, df_b):
  # df_a schema is {
  #     'name': pd.Series(dtype='encrypted_str'),
  #     'income_per_month': pd.Series(dtype='encrypted_uint32')
  #     'birthdate': pd.Series(dtype='encrypted_date')
  # }
  # df_b schema is {
  #     'name': pd.Series(dtype='encrypted_str'),
  #     'credit_risk': pd.Series(dtype='encrypted_uint4')
  # }
  df_join = df_a.align(df_b, join="inner", axis=1)
  df_filt = df_join.query("birthdate > 1992-01-01")
  classifier = SGDClassifier(fit_encrypted=True)
  return classifier.coef_

Machine Learning Model Support

Concrete ML provides for several of the most popular and traditional models.

Linear Models

- Linear Regression
- Logistic Regression
- Generalized Linear Models
- ElasticNet
- Lasso
- Ridge

Tree-Based Models

- Decision Trees
- Random Forest
- XGBoost

Neural Networks

- Built-in Multi-Layer Perception
- CNNs

Versatility by Design — Concrete, a Modular Framework

Concrete ML is built on-top of Concrete, Zama's open source FHE compiler, making it a very modular framework, and ready to integrate future innovations.

Read more about Concrete: Zama's FHE compiler.

More Resources

Read our latest privacy-preserving machine learning blog posts and learn more with our developer tutorials and presentations.

Talk to the Zama team to explore FHE.

Do you want to know more about Zama's privacy-preserving machine learning solutions?
We're happy to discuss your use cases and explore together what is possible.

Contact us