← Tue, Dec 1 digest

Homomorphic encrypted Llama 3.1 8B at 1.7 tokens per second

read article ↗ hn thread ↗

Belfort Labs demonstrated Fully Homomorphic Encryption running Llama 3.1 8B inference at 1.7 tokens per second on a cloud service.

summary is enough The technical achievement is impressive, but the discussion provides a much sharper breakdown of FHE's practical limitations for LLMs compared to local execution.

The article could not be read automatically; this analysis is based on the title and discussion.

summary

Belfort Labs launched a demo showing Llama 3.1 8B running via Fully Homomorphic Encryption at 1.7 tokens per second. FHE allows cloud providers to compute on encrypted inputs without ever decrypting them, mathematically protecting privacy without relying on trusted hardware. However, commenters flagged massive performance overhead and practical vulnerabilities like message-length leakage, questioning why users would choose cloud FHE over running local models. The team also quickly addressed UX complaints by removing an intrusive forced-reading intro on their site.

key points

  1. The demo achieves 1.7 tokens per second for Llama 3.1 8B using Fully Homomorphic Encryption, proving FHE is becoming computationally viable for small dense LLMs.
  2. Commenters highlight that model providers can still learn message lengths, potentially exposing metadata even when the content is encrypted.
  3. Critics debate whether FHE is practical given that modern consumer hardware can run 8B models locally much faster.

who should read it

Machine learning engineers and cryptographers interested in privacy-preserving AI and the current boundaries of fully homomorphic encryption.

discussion mixed

consensus

Commenters are genuinely impressed by the cryptographic milestone of running FHE on an LLM, but heavily skeptical of its practical utility today compared to local execution or confidential computing.

pushback

A minority argue that heavily regulated sectors will eventually require mathematical guarantees over hardware trust for cloud-processed data.

best comment by jbirnick ↗

The model provider still learns the length of each message.

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 …

It highlights a subtle security vulnerability where the model provider can infer information from message lengths even under homomorphic encryption.

Generated by an LLM from the article and thread. Check the sources before relying on it.