Belfort Labs runs Llama 3.1 8B on homomorphically encrypted prompts at about 1.7 tokens per second
- Belfort Labs' Bel runs Llama 3.1 8B on prompts encrypted in the browser and returns encrypted answers at about 1.7 to 2 tokens per second, so the server holds neither the prompt nor the reply in the clear.
- The page splits each message into tokens, encrypts them on the device, and decrypts the reply in the browser, with the client shipped as WebAssembly.
- The site calls Bel a research preview and tells users not to submit real sensitive data, pointing to a limitations page.
- A commenter quotes Wired saying Belfort targets a cloud model that beats locally hosted AI on efficiency by 2029, built by a team of 18 people.
- Google's Jeremy Kun reproduced the encrypted inference and published the results, which commenters treat as the only outside verification so far.
Hacker News 의견들
Private knowledge work is going to be big, even for near-on-prem setups. But what does observability look like when the prompt and the answer are both encrypted?
The forced tutorial killed it for me. Unskippable, extremely slow, no skip-ahead either. Closed the tab.
Fair point, we removed the forced reading bit.
Drop the timed buttons on the intro. Let people click through two short slides at their own pace before the signup screen, otherwise you lose them before they see the value.
This is the standard homomorphic encryption story. There are a few things you will pay three orders of magnitude more for, but for most work it sits well below the pareto frontier. Wired says they want a cloud model that beats local ones on efficiency by 2029, and they got here with 18 people.
They are working closely with us on FHE compilers, so I am looking forward to turning their techniques into compiler passes.
Chatjimmy from Taalas did 30000 tokens per second as a fixed model on a chip, and AMD bought them. Even if FHE is 1000x slower, putting Opus-class models on a chip would be a game changer.
I am very skeptical. I cannot verify they are actually running FHE, nobody trustworthy has audited them, and 128-bit means nothing without the algorithm. 128-bit ECC is far harder to break than 128-bit RSA, which is why the strongest standard RSA is 4096-bit and ECC tops out at 521.
Jeremy Kun verified the results and wrote it up on his blog. That is the outside check you are asking for.
You should be able to audit client side. You only send the encrypted input and receive the encrypted output, so the model host never sees plaintext.
The intro says everyone shares the same encryption key that they themselves issued, so this is not private in the trust-someone sense. Treat it as a proof of speed.
It runs CKKS, a lattice scheme, and the client is just wasm. Jeremy Kun at Google verified it.
Local inference is the easier tool that wins first. Most devices run an 8B model faster than 2 tokens a second today. They picked a small model because anything bigger would make a terrible demo at something like a token an hour.
What is the practical benefit over a local model? A phone already beats this on speed.
Picture a clinic that wants patient data run through your model but legally cannot hand the data over. That is the case where this matters.
The other angle is that someone can release a model anyone can run but nobody can inspect. You get inference without getting the weights.
The provider still learns the length of every message, and a malicious one could train the model so length encodes information. Padding every message to a fixed length wastes too much compute.
You only need 8 B200 to run it. I have played with FHE and I fail to see the real purpose, since anything it targets gets defeated by a different channel. Here the client output is not really protected if I read it right, it is just a shared key.
What surprised me is that FHE use cases used to be algebraic and narrow. Extending it to LLM inference is a real jump for secure cloud computing. The paranoia will follow, because governments want to police what you say and read.
Good to have another tool next to local inference. My doctor is never going to set this up, but I would like them running encrypted models on my medical data. TEEs are the other option in that space.