Preview of First Fully End-to-End Encrypted LLM Released

Preview of First Fully End-to-End Encrypted LLM Released

Today, Belfort Labs released a research preview of the first large language model that runs entirely on encrypted data, meaning none of your prompts or the results of your inputs will be visible to anyone but you.

Private AI is a multifaceted challenge. You can run models locally, in which case none of your prompts will be sent off-device and therefore won't be accessible to anyone unless they attack your machine.

But local models are much more limited in their capabilities than server-based models. If you want to access more advanced capabilities then you'll need to tap into the power of a data center.

However, your prompts and conversations with AI on all available providers will need to be decrypted server-side in order to process them.

This can be done the old-fashioned way, where once your prompt is decrypted, anyone with access to the server could theoretically also have access to your data while it's being processed.

More commonly, AI services are switching to confidential computing, which processes data in a separate area of the processor that's protected from access by other parts of the processor and has its own encrypted memory.

This method theoretically protects your data from access by third parties, but vulnerabilities have been found in many implementations that allow outside access to protected data.

End-to-end encryption provides the strongest protection against server compromise, but normal E2EE doesn't allow server-side processing of encrypted data.

However, Fully-Homomorphic Encryption (FHE) is a type of encryption that protects data while it's being processed while also allowing servers to do work on the data, at a significant performance cost.

That performance cost is so high that it's been impractical for many use cases, but Apple and Google have made use of it for various smaller functions in their products.

Bel-0 marks a significant milestone as the first LLM utilizing FHE though.

The preview is significantly slower than running the same model without FHE, the researchers say, but they're working on making it much faster and cheaper in the future.

Next year the team plans to release Bel-1 alongside dedicated hardware to help speed up processing of the encrypted data.

FHE has been worked on for many years and could represent a massive shift toward private computing in the cloud, not just for AI but for things people use every day like search engines.

Community Discussion