Earlier quoted context omitted.
The top comment mentions a ~10^3 overhead. Am I crazy (or already old?) for thinking this is not a very large constant?
Oh I see, you’re arguing that computer growth will make this more attractive. I think it’s a decent argument, although personally I find it unconvincing. More compute will be allocated between all the existing options, and I suspect it will go towards faster/better inference, instead of encryption. For most use cases people just don’t care much about encryption, and when feature prioritization comes around it always…
Google is making private AI practical with homomorphic encryption
111–120 of 305 posts
Re: Google is making private AI practical with homomorphic encryption
#112Ideally: we will have private AI Reality: our computers will be used as distributed AI calculators
Re: Google is making private AI practical with homomorphic encryption
#113My master's thesis is on a topic in this field (Privacy Preserving ML) and from my understanding HE and other techniques have very high overheads(~10^3) on inference tasks and thus aren't very commercially viable.
Do you think that’s like a fundamental limit or something that will improve with time and new algorithms?
Homomorphic encryption got significantly efficient with the first few iterations, but I don't really see the necessary orders of magnitude savings coming soon. You could reduce this by some partial encryption schemes (e.g., for LLMs you need a handful of basic operations) but a better alternative already exists: multi-party computation.
Source: I did research in this area in the past.
Re: Google is making private AI practical with homomorphic encryption
#114This is the same Google that doesn't have e2ee on their password manager by default. Like WTF, it's a password manager.
Re: Google is making private AI practical with homomorphic encryption
#115Re: Google is making private AI practical with homomorphic encryption
#116Earlier quoted context omitted.
Commercially viable for Google boils down to can they attribute ads behaviors to it or not. Then there’s a second tier of things that just make those wheels turn and if they do or don’t make ads revenue is nominally immaterial. The teams doing this stuff at Google are purely for show, none of this makes it into any real products. There’s the narrow exception of stuff like gboard, that does use privacy preserving ML/f…
GCP exists, friend. Right now industries are locked out of AI tools due to privacy laws. If Google Cloud can offer FHE-powered tools, a hospital can run Google’s AI diagnostic models on encrypted brain scans without violating privacy laws. FHE effectively removes the primary regulatory barrier keeping enterprise customers off the cloud.
Re: Google is making private AI practical with homomorphic encryption
#117Earlier quoted context omitted.
Here’s a very simple one-time-pad style construction for homeomorphic (but not fully homeomorphic) encryption. Suppose the plaintext, ciphertext, and key, are each a natural number modulo 5. The key is selected uniformly at random. The ciphertext is obtained by adding the key to the plaintext (and as a result is also uniform random). Then the ciphertext is sent to the server. The server only has the ciphertext, which…
What does that have to do with incpa? I send this server a question encrypted. It stays encrypted yet the server distinguished my ciphertext enough to produce a coherent reply. That means there was enough information in the ciphertext for the server to perform the inference, even if it was obscured to where it looks indistinguishable, it apparently wasn't. This doesn't remove trust from the equation, it puts the trus…
The server doesn’t need any information to perform inference.
Re: Google is making private AI practical with homomorphic encryption
#118Re: Google is making private AI practical with homomorphic encryption
#119Earlier quoted context omitted.
GCP exists, friend. Right now industries are locked out of AI tools due to privacy laws. If Google Cloud can offer FHE-powered tools, a hospital can run Google’s AI diagnostic models on encrypted brain scans without violating privacy laws. FHE effectively removes the primary regulatory barrier keeping enterprise customers off the cloud.
At that kind of amount of waste putting 2U server with some GPUs in hospital would be cheaper
Re: Google is making private AI practical with homomorphic encryption
#120Earlier quoted context omitted.
Aren't there already much more efficient ways to make inference private? Using regular encryption and secure enclaves, there are already providers that are roughly 2x the cost of normal providers. For example, https://tinfoil.sh/
If I used regular encryption to send my credit card information to an AI with fraud detection, the provider still needs to decrypt that data on their side at some point before it goes into the AI. Using this other encryption, the provider has neither need nor capability to decrypt it on their end, so the user gets extra security.
the main difference is where the guarantee comes from. for FHE, it comes from math, which we trust. for secure enclave, the guarantee comes from Intel/AMD's promise that their hardware is bugless/backdoorless, and that your adversary cannot directly inspect bits in the hardware