Bel-0, the first large language model to offer so-called fully homomorphic encryption, is comically slow and has limited capabilities. It also may represent a new way forward for fully private AI tools.

  • ☂️-@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    2 days ago

    we’re not talking to single people though, we are talking to a server. if the other end is compromised what’s the point? HTTPS is already encrypted.

    i dunno about this, dutch.

    • brucethemoose@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      2 days ago

      In this scheme, the plaintext is never actually decoded by the server. The LLM ingests the encrypted text and spits out more encrypted text; the server operator couldn’t look at it even if they tried.

      Theoretically, a hostile server could look at the activations directly with a modified Jacobian lens or something:

      (Here you can see an LLM interpreting a ^ symbol as “nose” in its inner layers)

      But that’s difficult. It’s well beyond the scope of a hack.

      • ☂️-@lemmy.ml
        link
        fedilink
        arrow-up
        1
        ·
        1 day ago

        i don’t doubt any given service can be encrypted in the server side.

        the problem is in trusting the service you are sending your prompts to actually implement whatever encryption they claim to be implementing.

        • brucethemoose@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          1 day ago

          I’m not sure you understand.

          No text is ever sent. Neither is a decryption key.

          What’s sent is data only the client can decrypt. This would be like (as an example) a cloud text editor operating on completely encrypted binary data, without decrypting it: trust is not a concern, and nothing the server does can possibly get your data, as long as the client app isn’t malicious.


          The thing I posted about Jacobian lenses is highly speculative TBH, and I’m not qualified to know if it would even work.


          If you are implying the client app could be untrustworthy… yeah, that’s very true.

    • TrollAccount69@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      2 days ago

      Hey, this is making the rounds because of the openrouter dragos thing.

      Link: https://www.dragos.com/blog/ai-supply-chain-security-canary-tokens

      The tldr is low cost inference providers on openrouter are slurping credentials and pii up in front of the model they serve to the user.

      A model that uses homomorphic encryption makes this impossible (depending on implementation!) so developing this technology is very useful for a future where that kind of marketplace and attack exists.