Every AI lab asks you to trust them with your data. We ask you not to.
Bel-0, the world's first end-to-end encrypted LLM, is now live 🚀
Full story in 🧵 (1/n)
Four years ago today, ChatGPT launched, and AI started reading everything we type.
Today we’re releasing Bel-0, a research preview of the first end-to-end encrypted LLM.
Your prompt and the answer stay encrypted the entire time, even while the model works on them.
Nobody but you can read them. Not us, not the cloud.
Try it in your browser: https://t.co/TovMEpWBZl
@hugolb05@laurensdp@belfortlabs@zama > The server performs encrypted (FHE) inference on the linear layers of the model.
This only encrypts the linear layers. The non-linear ones are where all the complexity sits.
If you're referring to this one https://t.co/ZElNyfvSKb, very impressive work in 2023, but they don't really compare.
2023: one attention head of 124M-parameter GPT-2, about 0.09 token/s, with the client doing the nonlinear work.
Bel-0: all of Llama 3.1 8B encrypted on the server, including the nonlinear layers, at 1.7 token/s.
@0xdasha The shared secret key was a deliberate choice to keep the online demo simple. But we already support private keys as well. @jeremyjkun (@Google) verified that as early tester and wrote about it here: https://t.co/QKxsKk0o6D
@genoneai@laurensdp@belfortlabs There's no attestation here, we don't run on secure hardware. We use encrypted computing, based on fully homomorphic encryption. The only thing you have to trust is the math.
Thanks for digging into the numbers @0xkydo. It’s not at all our intention to hide any of those.
We’re trying to be very upfront about the results and limitations. They’re the first thing you see when you open the demo, and our white paper has a full section on where Bel-0 falls short today, plus our roadmap from here: https://t.co/9we1jHjadb. Have a look. We’re happy to discuss anything in there, including the numbers you listed.
We’ve found FHE is as much a marketing problem as an engineering problem. There’s not that much awareness around the problem, and neither about the solution. It’s a lot faster than most people assume, and for many workloads it’s already practical today.
We’re releasing Bel-0 now, with those limits stated openly, because we think the field moves faster with a working system anyone can test and challenge, rather than with vague and abstract claims about what might be possible later.
And you’re definitely right that the real story is the research! Many people on our team have spent most of their careers on FHE, through PhDs, research labs and industry. Putting all of it together into a public end-to-end demo was hard on every front: cryptography, engineering and software.
There’s a long road to production, no question. More awareness is how we hope to get there faster.