17 comments

  • zshcoder4 hours ago
    Paper: <a href="https:&#x2F;&#x2F;bel.belfortlabs.com&#x2F;about" rel="nofollow">https:&#x2F;&#x2F;bel.belfortlabs.com&#x2F;about</a><p>I am excited for progress in this space, but somewhat expect local&#x2F;self-hosted models to be the easier tool that emerges first.
    • gr_norm4 hours 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.
      • larrygates4 hours 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&#x27;s room for both!
  • pluralmonad56 minutes ago
    Does FHE only work as long as model interpretability remains low? Couldn&#x27;t the provider replay the message and record what activates in the weights or are those somehow encrypted too? If this is possible, I don&#x27;t see how you could protect against it.
    • j2kun8 minutes ago
      The weights are not encrypted, but once they are incorporated into the work (e.g., multiplied by a ciphertext) then the result of that sub-step becomes encrypted. This way you cannot tell what is activated and what is not.
    • Snoeprol11 minutes ago
      [dead]
  • RobCodeSlayer52 minutes ago
    With all the developments in weight-space analysis&#x2F;programming, couldn’t the model provider still “peer” into what contents the LLM is generating via the intermediate neuron activations?
    • ladberg44 minutes ago
      No, the point of homomorphic encryption is that the model provider doesn&#x27;t actually see the inputs&#x2F;outputs&#x2F;intermediates here!
  • nh23423fefe5 hours ago
    forced reading is annoying. closed tab immediately
    • laksjd3 hours ago
      Thanks for the feedback, we removed the forced reading bit!
    • Groxx5 hours ago
      ... yeah that&#x27;s particularly atrocious, isn&#x27;t it. forced extremely slow, no skip or even skip-ahead.
      • morganf5 hours ago
        I had no idea what you two were talking about, and I thought, &quot;how can they force you to read, it will be fine&quot; but then I clicked to read it and wow it was unbearable, I left after seconds and one click
        • Routine85023 hours ago
          Just when I thought all the bad ideas were already out there... human stupidity truly cannot be outdone.
        • nekusar4 hours ago
          Third. The sites gross AF. It&#x27;s worse than the yearly &#x27;sexual harassment training&#x27; work content that slow-speaks everything that you can&#x27;t just skip-skip-skip done.
          • laksjd3 hours ago
            Thanks for the feedback! Just removed the forced wait!
  • jbirnick4 hours ago
    The model provider still learns the length of each message.<p>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.<p>(The user could stop the generation late so that the model generates a lot of garbage tokens, but making every message <i>exactly</i> 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 <i>some</i> information that the model provider can learn. Still a very interesting field in my opinion.)
    • mungoman29 minutes ago
      The model provider would need to be trusted here, but their delivery to the model hoster could be a large encrypted blob. That way the hoster has no way of peeking at what’s going on.
  • skyzoidbroczky3 hours ago
    Very interesting ! The problem of homomorphic encryption was that in the current state of affairs the applications are quite algebric and mathematical in nature, and it seemed that there would have been no immediate use for higher level cases. It didn&#x27;t occur to me that it could power-up the calculus for a LLM, which is quite a jump in the number of use case that would cover secure cloud computing.
  • barabaka4 hours 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?
    • TZubiri4 hours ago
      theoretical research at least? the fact that homomorphic tech exists and it works for LlMs is quite surprising to me, I still don’t trust that it works without bugs but it’s possible
      • Joker_vD10 minutes ago
        But what&#x27;s the practical point? To quote myself:<p><pre><code> I&#x27;ve seen a paper [0] that ingeniously uses homomorphic encryption to implement arbitrary algorithmic computations, totally secret, by encoding a (custom-crafted) CPU together with RAM and then running &quot;tick a clock&quot; algorithm on them. And it works, so you can borrow some AWS huge instance and run you super-important calculations there — at 1 Hz. I am not kidding, it&#x27;s literally 1 virtual CPU instruction per second. Well, if you are okay with such speed and costs, you either have very small data — at which point just run your computation locally, or you&#x27;re really, really rich — at which point just buy your own goddamn hardware and, again, run it locally. </code></pre> [0] <a href="https:&#x2F;&#x2F;arxiv.org&#x2F;abs&#x2F;2010.09410" rel="nofollow">https:&#x2F;&#x2F;arxiv.org&#x2F;abs&#x2F;2010.09410</a>
    • unrented79773 hours ago
      None, for <i>you</i>. The hypothetical benefit is that someone could release such an encrypted model that anyone can run, but nobody can examine the weights. You can run the model, but you can&#x27;t inspect it.
      • drdaeman3 hours ago
        I could be wrong, of course, but I don’t think that’s how it works. Unless you’re serving model requests for someone else.<p>What this really does is a ZDR-like property that providers can’t figure out what’s being prompted and produced. Right now it’s all pinky promises and recent OpenRouter news suggests there are plenty of actors with GPUs that aren’t keeping them.
  • guardiangod2 hours ago
    Interesting. I have also created something like this, but only for verifying signed prompts as the first step.<p>I have the full prompt path homomorphic encryption LLM ready (once you integrate a security processor into a LLM, you can do any cryptographic operations on it, signing or encryption or decryption), but my GPU broke a few weeks ago and I couldn&#x27;t create the demo video...<p><a href="https:&#x2F;&#x2F;github.com&#x2F;moonlightelite&#x2F;secproc" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;moonlightelite&#x2F;secproc</a><p>Maybe I should do the demo on my CPU instead...
  • sabretooth14053 hours ago
    Nice to see work in this space but I am very sceptical of HE scaling for any decent model.
  • jmort5 hours ago
    &quot;Belfort aims to have a cloud-based model that outperforms locally hosted AI models in efficiency by 2029&quot; [1]<p>And they got to this &quot;milestone&quot; with 18 people. Seems like the standard homomorphic encryption story: there are _some_ things for which you&#x27;re willing to pay 3 orders of magnitude more. But for most things, it&#x27;s way below the pareto frontier.<p>[1] <a href="https:&#x2F;&#x2F;www.wired.com&#x2F;story&#x2F;bel-zero-end-to-end-encrypted-llm-research-preview&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.wired.com&#x2F;story&#x2F;bel-zero-end-to-end-encrypted-ll...</a>
    • j2kun5 hours ago
      On the other hand, they&#x27;re working closely with us on FHE compilers! I look forward to turning their techniques into compiler passes.
  • chc42 hours ago
    It is suddenly very funny to have a paragraph explaining that the FHE scheme is secure because &quot;no known algorithm solves efficiently&quot; lattice-based cryptosystems, and so it&#x27;s post-quantum.
  • piishi5 hours 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.
  • solyin8 hours ago
    <a href="https:&#x2F;&#x2F;x.com&#x2F;laurensdp&#x2F;status&#x2F;2127403163921899857" rel="nofollow">https:&#x2F;&#x2F;x.com&#x2F;laurensdp&#x2F;status&#x2F;2127403163921899857</a>
    • yieldcrv5 hours ago
      Nice, private knowledge work will be big<p>Even for onprem local-ish deployments<p>What does observability look like though?
  • kgeist4 hours 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&#x2F;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&#x27;t scale well, then what&#x27;s the point?
    • TZubiri4 hours ago
      any apps to recommend?
      • trashcan_man3 hours ago
        I think the simplest entry point on a desktop&#x2F;laptop is a free, closed-source product called LM Studio. It takes out 99% of the guesswork and shows you models that are relevant to your machine. Local, no account required.<p><a href="https:&#x2F;&#x2F;lmstudio.ai&#x2F;" rel="nofollow">https:&#x2F;&#x2F;lmstudio.ai&#x2F;</a> `LM Studio Bionic` is the &quot;agent&quot; that does things via your shell. `LM Studio` is just a chat interface like ChatGPT from 2021. They run on the same model store by default, so you can try one and then switch to the other pretty seamlessly.
        • LoganDark1 hour ago
          Seconding LM Studio. Been using it for years and while it&#x27;s unfortunately closed source and slightly stupid in areas, it&#x27;s a good all-in-one to get you started, and supports pretty much every major feature you could need.
  • yieldcrv5 hours ago
    also bounced, don’t need the tutorial
  • j2kun5 hours ago
    See also: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=50703263">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=50703263</a>
  • LoganDark4 hours ago
    I&#x27;m very skeptical. I can&#x27;t verify they&#x27;re actually using FHE and they haven&#x27;t been audited by anyone trustworthy. And as much as I hope blind inference will become more practical in the future, I still haven&#x27;t seen a way to actually verify what model they&#x27;re running on your prompt, which is much scarier than leaking the prompt itself to a disinterested party.<p>&quot;128-bit&quot; also doesn&#x27;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&#x27;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 <i>15360-bit</i> RSA, which is such overkill that most providers only support 384-bit ECC (similar to much hardware only supporting 2048-bit RSA).<p>(This is also a side effect of an NSA Suite B omission being interpreted as an explicit recommendation against 521-bit ECC.)<p>Anyway: I do hope something like this can become practical one day.
    • pcthrowaway3 hours ago
      I&#x27;m also skeptical, but I&#x27;m amazed to learn that this is even actively being worked on.<p>The thought had crossed my mind that homomorphic encryption would really make the case for hosted LLMs more compelling, but I figured if it was even possible it would be years to become an area of research.<p>Of course, there is still another benefit to self-hosted, which is that you can choose the model whose safeguards are acceptable to you (or try to train the safeguards out of a model on your own)<p>I also worry that homomorphic encryption might one day be used by those making the case for banning open-weight models, because the providers could then comply with safeguard mandates (or might be compelled to add safeguards for legal compliance on they&#x27;re own, if they&#x27;re ever found liable when one of their models breaks the law) without requiring users to give up their privacy.
    • NooneAtAll51 hour ago
      introduction straight up says that everyone shares the same encryption key that they themselves issued - so this is not supposed to be private in &quot;someone to trust&quot; sense<p>treat it more like proof of speed
      • LoganDark43 minutes ago
        Noted, but I don&#x27;t really care about that for this proof of concept anyway. Also FHE does not enable trust but rather removes a need for it. Those are two different things.
    • TZubiri4 hours ago
      you should be able to audit client side right? thats the idea, you only send the encrypted input and receive the encrypted output
      • LoganDark3 hours ago
        In theory, yes. You can&#x27;t verify what model they&#x27;re actually running on the server this way, though.
        • kennywinker2 hours ago
          But why does that matter?<p>Like if I send you a block of text I have encrypted with my private key, you can send it to claude, gemini, qwen, wherever, and none of them can read it.<p>The model matters for the quality of the response, but not for the security of the transaction.
          • LoganDark1 hour ago
            It matters because the quality of the response is the entire reason to use any model, and because not all quality issues are perceptible or always caught in time. Like a lack of security, quality issues should steer you from the provider.
            • Paracompact1 hour ago
              What I want for Christmas this year: a crowdsourced model and provider managing remote attestation and homomorphic encryption.<p>(I, being poor, have only my dreams; I have spread my dreams under your feet; Tread softly because you tread on my dreams.)
            • totetsu1 hour ago
              But that sounds like a different problem. Why is that a reason to reject this solution? Why not take things one step at a time?
              • LoganDark1 hour ago
                Reject this solution? They&#x27;re solving an important problem. I couldn&#x27;t verify all of their claims, but FHE is very important and valuable to have, even without remote attestation. Any progress is good.
    • larrygates4 hours ago
      [dead]