Bel-0: a research preview of a chat assistant that computes on encrypted data.
99 comments
I am excited for progress in this space, but somewhat expect local/self-hosted models to be the easier tool that emerges first.
You have a valid point that there are different channels possible and FHE is only a part of making it E2E secure.
If I have eight B200, not only can I run something much better than Llama 3.1 8B, I can also run it much faster without bothering with encryption at all. And if I don't have eight B200, but I am okay with Llama 3.1 8B at about 2 tokens/s, then I can just run it locally, maybe even just on CPU only? I've just tried it with 12 threads on Ryzen 9 7900X @ 4.7 GHz, for the Q6_K version, and it gave me the speed of slightly above 7 tokens/s, so... what was the point of using FHE, again?
I mean, I guess if the user wants to use this model from their smartphone, and they want iron-clad privacy, and they're willing to bear the very slow speeds, but they don't want to drain their battery, and they're willing to pay for it as if they were paying for a much better model at much better speeds... yeah, this trade-off makes sense in this use case. Is this a realistic use case?
Not sure there is a good story how to get FHE to be efficient with larger MoE models, or if this just stays usable for dense models.
Meanwhile confidential computing provides reasonably comparable confidentiality, assuming providers give you good attestation trail - those exist, and it seems most of the confidential AI providers aren't doing that great.
If the model provider is malicious, they can learn a lot from that: They could train their model in such a way that the length of the message(s) encodes some information about the message.
(The user could stop the generation late so that the model generates a lot of garbage tokens, but making every message exactly the same length would waste way too much compute, and also they basically have to reveal the actual length when they make the next turn where they have to send the correctly trimmed message. So I think there is always some information that the model provider can learn. Still a very interesting field in my opinion.)
But also the paranoia will start - because governements want to police what you say, what you learn, what information you get.
Read the full thread on Hacker News →
Related stories
- Homomorphic Encrypted LLMbelfortlabs.comHacker News · 1 points · 2 days ago
- Hacker News · 4 points · 2 months ago
- Homomorphically Encrypted Llama3-8B at 2 tokens/secjeremykun.comHacker News · 3 points · 1 day ago
- Tokens Written, Tokens Readhci.profHacker News · 2 points · 2 months ago
- Bel-0 is the first end-to-end encrypted LLMbel.belfortlabs.comHacker News · 1 points · 2 days ago
- Bel-0 is the first end-to-end encrypted LLMbel.belfortlabs.comHacker News · 2 points · about 7 hours ago