Homomorphic encrypted Llama 3.1 8B at 1.7 tokens per second

(bel.belfortlabs.com)

60 points | by solyin 4 hours ago

10 comments

  • barabaka 12 minutes ago
    What is the practical benefit of an encrypted llm compared to a local one, considering that even a phone can deliver significantly superior performance?
  • zshcoder 48 minutes ago
    Paper: https://bel.belfortlabs.com/about

    I am excited for progress in this space, but somewhat expect local/self-hosted models to be the easier tool that emerges first.

    • gr_norm 37 minutes ago
      Indeed; this is super cool, but I trust my own computers a lot more than I trust the security of a new FHE scheme.
      • larrygates 26 minutes ago
        Agree local feels easier to trust. But crypto has shown that securing your own machine is harder than it sounds. And local caps you at models that fit on it. I think there's room for both!
  • nh23423fefe 1 hour ago
    forced reading is annoying. closed tab immediately
    • Groxx 1 hour ago
      ... yeah that's particularly atrocious, isn't it. forced extremely slow, no skip or even skip-ahead.
      • morganf 1 hour ago
        I had no idea what you two were talking about, and I thought, "how can they force you to read, it will be fine" but then I clicked to read it and wow it was unbearable, I left after seconds and one click
        • nekusar 15 minutes ago
          Third. The sites gross AF. It's worse than the yearly 'sexual harassment training' work content that slow-speaks everything that you can't just skip-skip-skip done.
  • LoganDark 50 minutes ago
    I'm very skeptical. I can't verify they're actually using FHE and they haven't been audited by anyone trustworthy. And as much as I hope blind inference will become more practical in the future, I still haven't seen a way to actually verify what model they're running on your prompt, which is much scarier than leaking the prompt itself to a disinterested party.

    "128-bit" also doesn't mean much without knowing the algorithm. 128-bit ECC is far more difficult to break than 128-bit RSA for instance (even though both are easily broken -- yet another reason algorithm is important). There's a reason why the strongest standard RSA is 4096-bit and the strongest standard ECC is only 521-bit. 521-bit ECC is equivalent to around 15360-bit RSA, which is such overkill that most providers only support 384-bit ECC (similar to much hardware only supporting 2048-bit RSA).

    (This is also a side effect of an NSA Suite B omission being interpreted as an explicit recommendation against 521-bit ECC.)

    Anyway: I do hope something like this can become practical one day.

  • piishi 1 hour ago
    really interesting concept! one suggestion: i might get rid of the no-skip timed buttons on the initial pop-up because it could deter potential users. you could consider instead having a pop-up that explains the concept more succinctly and pinpoints value of software in one or two slides that they can click through at their own pace before the sign up screen.
  • jmort 1 hour ago
    "Belfort aims to have a cloud-based model that outperforms locally hosted AI models in efficiency by 2029" [1]

    And they got to this "milestone" with 18 people. Seems like the standard homomorphic encryption story: there are _some_ things for which you're willing to pay 3 orders of magnitude more. But for most things, it's way below the pareto frontier.

    [1] https://www.wired.com/story/bel-zero-end-to-end-encrypted-ll...

    • j2kun 1 hour ago
      On the other hand, they're working closely with us on FHE compilers! I look forward to turning their techniques into compiler passes.
  • kgeist 31 minutes ago
    The most secure way to run an LLM is to run it yourself, on device. Most devices can now run 8B models reasonably fast, much faster than 2 tok/sec. They probably showcase such a small model because anything bigger would make for a poor demo, at something like 1 token per hour. And if their technology doesn't scale well, then what's the point?
  • solyin 4 hours ago
    • yieldcrv 1 hour ago
      Nice, private knowledge work will be big

      Even for onprem local-ish deployments

      What does observability look like though?

  • j2kun 1 hour ago
  • yieldcrv 1 hour ago
    also bounced, don’t need the tutorial